@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Pridi:wght@400;500;600&display=swap');

:root {
  --accent: #4e555d;
  --dark: #1b1c1e;
  --paper: #f5f6f8;
  --ink: #2d3136;
  --line: #e1e3e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.8 Kanit, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 11px max(22px, calc((100% - 1180px) / 2));
  background: color-mix(in srgb, var(--dark) 96%, transparent);
  color: #fff;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 116px;
  height: 46px;
}

.logo-image {
  display: block;
  max-width: 138px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.text-logo {
  color: #fff;
  font: 700 28px/1 Kanit, sans-serif;
  letter-spacing: -.06em;
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex: 1;
  font-size: 14px;
}

.site-header nav > a:not(.nav-cta) {
  color: #dce1ec;
}

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-cta:hover, .button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
}

.hero {
  min-height: 570px;
  padding: 90px max(22px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 80px;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  width: 550px;
  height: 550px;
  right: -100px;
  top: -260px;
  border: 1px solid color-mix(in srgb, var(--accent) 80%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 70px color-mix(in srgb, var(--accent) 8%, transparent), 0 0 0 140px color-mix(in srgb, var(--accent) 5%, transparent);
}

.hero-copy, .hero aside {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font: 500 11px/1.2 monospace;
  letter-spacing: .16em;
}

.hero h1, .inner-hero h1, .article-hero h1 {
  margin: 0;
  font: 600 clamp(52px, 7vw, 92px)/.94 Pridi, serif;
  letter-spacing: -.06em;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy > p:not(.kicker) {
  max-width: 660px;
  margin: 25px 0 30px;
  color: #d3d8e4;
  font-size: 18px;
}

.hero aside {
  padding: 30px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, .05);
}

.hero aside span {
  color: var(--accent);
  font: 700 48px/1 Pridi, serif;
}

.hero aside strong {
  display: block;
  margin: 20px 0 8px;
  font-size: 19px;
}

.hero aside p {
  margin: 0;
  color: #bac3d2;
  font-size: 14px;
}

.service-ribbon {
  width: min(1180px, calc(100% - 44px));
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 23, 35, .14);
}

.service-ribbon article {
  padding: 25px 22px;
  border-right: 1px solid var(--line);
}

.service-ribbon article:last-child {
  border: 0;
}

.service-ribbon span, .section-number {
  color: var(--accent);
  font: 500 12px monospace;
}

.service-ribbon h3 {
  margin: 14px 0 5px;
  font: 500 24px/1.1 Pridi, serif;
}

.service-ribbon p {
  margin: 0;
  color: #687080;
  font-size: 13px;
  line-height: 1.6;
}

.home-content {
  width: min(1040px, calc(100% - 44px));
  margin: 95px auto;
}

.content-section {
  display: block;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}

.section-number {
  display: block;
  font-family: Pridi, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}

.content-section h2, .reading h2, .faq h2 {
  margin: 0 0 14px;
  font: 600 clamp(34px, 4.8vw, 56px)/1.08 Pridi, serif;
  letter-spacing: -.04em;
  color: var(--dark);
}

.content-section .lead {
  margin: 0 0 18px;
  color: #3a4250;
  font: 500 23px/1.55 Pridi, serif;
}

.content-section p:not(.lead), .reading p {
  max-width: 770px;
  margin: 0 0 20px;
  color: #4e5665;
}

.content-section .button {
  margin-top: 4px;
}

.faq {
  padding: 74px max(22px, calc((100% - 1040px) / 2));
  background: #e9ebef;
}

.faq details {
  max-width: 850px;
  border-top: 1px solid #cbd0d8;
  padding: 17px 0;
}

.faq summary {
  cursor: pointer;
  font: 500 21px/1.4 Pridi, serif;
}

.faq details p {
  margin: 11px 0 2px;
  color: #576171;
}

.faq .button {
  margin-top: 22px;
}

.inner-hero, .article-hero {
  padding: 105px max(22px, calc((100% - 1040px) / 2)) 80px;
  background: linear-gradient(130deg, var(--dark), color-mix(in srgb, var(--dark) 70%, var(--accent)));
  color: #fff;
}

.inner-hero h1, .article-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 6vw, 78px);
}

.inner-hero > p:not(.kicker), .article-hero > p:not(.kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: #d5dceb;
  font-size: 18px;
}

.reading {
  width: min(820px, calc(100% - 44px));
  padding: 76px 0 100px;
  margin: 0 auto;
}

.reading h2 {
  margin-top: 42px;
  font-size: 38px;
}

.callout, .article-cta {
  margin: 42px 0;
  padding: 25px 28px;
  background: #fff;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 32px rgba(15, 22, 34, .07);
}

.callout p, .article-cta p {
  margin: 7px 0 0;
}

.article-list {
  width: min(1100px, calc(100% - 44px));
  margin: 70px auto 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-list article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 20px rgba(15, 22, 34, .06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 380px;
}

.article-list article:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
  border-top-color: #d4af37;
}

.article-list-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1b1c1e;
}

.article-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-list article:hover .article-list-img {
  transform: scale(1.06);
}

.article-list span {
  display: inline-block;
  margin: 16px 20px 0;
  color: var(--accent);
  font: 12px monospace;
}

.article-list h2 {
  margin: 12px 20px 8px !important;
  font: 500 22px/1.15 Pridi, serif !important;
}

.article-list p {
  margin: 0 20px 20px !important;
  color: #687080;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.article-list article > a {
  margin: 0 20px 20px;
  font-weight: 600;
}

footer {
  padding: 65px max(22px, calc((100% - 1180px) / 2)) 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  background: var(--dark);
  color: #d3d9e5;
}

footer strong {
  color: #fff;
  font: 600 34px Pridi, serif;
}

footer p {
  max-width: 390px;
  margin: 7px 0;
  font-size: 14px;
}

footer div:nth-child(2) {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 14px;
}

footer small {
  grid-column: 1/-1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #8e9ab0;
}

.mobile-dock {
  display: none;
}

.layout-1 .hero {
  grid-template-columns: 300px minmax(0, 1fr);
}

.layout-1 .hero-copy {
  grid-column: 2;
}

.layout-1 .hero aside {
  grid-column: 1;
  grid-row: 1;
}

.layout-1 .service-ribbon {
  margin-top: 0;
  box-shadow: none;
  border: 1px solid var(--line);
}

.layout-1 .home-content {
  width: min(1180px, calc(100% - 44px));
}

.layout-2 .hero {
  min-height: 490px;
  grid-template-columns: 1fr;
}

.layout-2 .hero aside {
  position: absolute;
  right: max(22px, calc((100% - 1180px) / 2));
  bottom: 55px;
  width: 260px;
}

.layout-2 .service-ribbon {
  transform: translateY(-30px);
}

.layout-2 .content-section {
  display: block;
}

.layout-2 .section-number {
  font-size: 24px;
  align-self: start;
}

.layout-3 .hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  background: linear-gradient(145deg, var(--accent), var(--dark));
}

.layout-3 .hero h1 em {
  color: #fff;
}

.layout-3 .service-ribbon {
  grid-template-columns: repeat(2, 1fr);
  width: min(920px, calc(100% - 44px));
  margin-top: -35px;
}

.layout-3 .content-section {
  background: #fff;
  margin-bottom: 24px;
  padding: 45px;
  box-shadow: 0 8px 24px rgba(15, 22, 34, .05);
}

/* Custom Additions & Redesign Override Styles */

.brand-token {
  color: #c5a059 !important;
  font-weight: 700;
}
.hero .brand-token, .inner-hero .brand-token, .article-hero .brand-token {
  color: #d4af37 !important;
}
.hero h1 .brand-token {
  color: #d4af37 !important;
}
.article-list .brand-token {
  color: #c5a059 !important;
}

/* Premium Gold Accent Theme Overrides */
.hero h1, .inner-hero h1, .article-hero h1 {
  background: linear-gradient(135deg, #f9f5db 0%, #d4af37 50%, #aa7c11 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.hero h1 em {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.content-section h2, .reading h2, .faq h2, .quick-nav-container h2 {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #b8860b !important;
}
.content-section .section-number, .layout-2 .section-number {
  color: #d4af37 !important;
}

/* Golden Link Color Rules */
.reading a:not(.button), 
.content-section a:not(.button), 
.home-content a:not(.button),
.sidebar-widget ul li a,
.related-card .read-more {
  color: #aa7c11 !important;
  font-weight: 500;
  transition: color 0.2s ease;
}
.reading a:not(.button):hover, 
.content-section a:not(.button):hover, 
.home-content a:not(.button):hover,
.sidebar-widget ul li a:hover,
.related-card:hover .read-more {
  color: #d4af37 !important;
  text-decoration: underline !important;
}

/* Golden Key Terms inside copy */
.content-section strong, .reading strong, .home-content strong, .quick-nav-card strong {
  color: #c5a059 !important;
}
.content-section .button, .nav-cta, .button, .mobile-dock .dock-cta {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
  color: #1b1c1e !important;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: all 0.25s ease;
}
.content-section .button:hover, .nav-cta:hover, .button:hover, .mobile-dock .dock-cta:hover {
  background: linear-gradient(135deg, #e5c158 0%, #c5a059 100%) !important;
  color: #1b1c1e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  opacity: 1 !important;
}

/* Quick Navigation Hub Styles */
.quick-nav-hub {
  padding: 60px max(22px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #fff 0%, #f4f6fa 100%);
  border-bottom: 1px solid var(--line);
}
.quick-nav-container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--dark);
  font-family: Pridi, serif;
}
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quick-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}
.quick-nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(78, 85, 93, 0.12);
  border-color: rgba(78, 85, 93, 0.3);
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(78, 85, 93, 0.06), transparent 40%);
  z-index: -1;
  pointer-events: none;
}
.quick-nav-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-family: Pridi, serif;
  color: var(--dark);
}
.quick-nav-card p {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #576171;
  line-height: 1.6;
  flex-grow: 1;
}
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s ease;
}
.quick-nav-card:hover .card-link {
  color: #1a1a1a;
}

/* Game Grid Styles */
.game-grid-container {
  margin: 40px 0;
}
.game-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(78, 85, 93, 0.2);
}
.game-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #09152e;
}
.game-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-card-img {
  transform: scale(1.05);
}
.game-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.game-card-content h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-family: Pridi, serif;
  color: var(--dark);
}
.game-card-content p {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #576171;
  line-height: 1.6;
  flex-grow: 1;
}
.game-card-btn {
  align-self: flex-start;
  text-align: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}

/* Article Banners */
.banner-wrapper {
  margin: 0 0 35px 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.article-banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Footer Sponsor Styling */
.footer-sponsor {
  width: min(1180px, calc(100% - 44px));
  margin: 40px auto 20px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-left: 4px solid #1a1a1a;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}
.footer-sponsor p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4e5665;
}
.footer-sponsor a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.footer-sponsor a:hover {
  color: var(--accent);
}

/* Redesign Desktop Sidebar Layout Grid Rules (min-width: 960px) */
@media(min-width: 960px) {
  body {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background: var(--paper);
  }
  .site-header {
    grid-column: 1;
    grid-row: 1 / -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 40px 24px;
    z-index: 100;
    backdrop-filter: none;
  }
  .brand {
    margin-bottom: 40px;
    height: auto;
    min-width: 0;
  }
  .logo-image {
    max-width: 100%;
    max-height: 52px;
    object-position: left center;
  }
  .site-header nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    align-items: stretch;
  }
  .site-header nav a {
    color: #a0aec0;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
  }
  .site-header nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .site-header nav a.nav-cta {
    background: var(--accent);
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    margin-top: auto;
    border-radius: 8px;
  }
  .menu-button {
    display: none !important;
  }
  main {
    grid-column: 2;
    grid-row: 2;
    background: #ffffff;
    min-height: calc(100vh - 200px);
    margin-left: 0;
    padding: 0;
  }
  .hero {
    min-height: 500px;
  }
  .hero-copy > p:not(.kicker) {
    max-width: 580px;
  }
  /* Footer sponsor desktop alignment */
  .footer-sponsor {
    grid-column: 2;
    margin: 40px auto 20px;
    width: min(100% - 60px, 960px) !important;
  }
  /* Footer desktop placement */
  footer {
    grid-column: 2;
    grid-row: 3;
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
    padding: 40px 60px;
  }
  .mobile-dock {
    display: none !important;
  }
}

/* Extra Large Screens Content Centering overrides */
@media(min-width: 1440px) {
  .hero {
    padding-left: 60px;
    padding-right: 60px;
  }
  .home-content, .reading, .article-list, .faq {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Custom Magazine Spacing & Overrides */
.content-section, .layout-2 .content-section, .layout-3 .content-section {
  display: block !important;
  padding: 60px 0 !important;
  border-top: 1px solid var(--line);
}
.content-section:first-of-type {
  border-top: none;
}
.content-section .section-number, .layout-2 .section-number {
  display: block;
  font-family: Pridi, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: flex-start;
}
.content-section > div, .layout-2 .content-section > div {
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Hero color styling for grey background colors */
.hero, .inner-hero, .article-hero {
  background: linear-gradient(135deg, #2b303c 0%, #1c1e22 100%) !important;
}
.inner-hero, .article-hero {
  background: linear-gradient(135deg, #3c4048 0%, #202227 100%) !important;
}

/* Responsive styles mobile viewports (< 960px) */
@media(max-width: 959px) {
  body {
    padding-bottom: 64px;
  }
  .site-header {
    padding: 9px 16px;
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    background: var(--dark);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--dark);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-header nav.open {
    display: flex;
  }
  .menu-button {
    display: grid;
    gap: 4px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #fff;
    font: 12px Kanit;
    cursor: pointer;
  }
  .menu-button i {
    width: 24px;
    height: 2px;
    background: #fff;
  }
  .brand {
    height: 42px;
  }
  .logo-image {
    max-width: 112px;
    max-height: 42px;
  }
  .hero, .layout-1 .hero {
    min-height: 520px;
    padding: 65px 22px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero aside, .layout-1 .hero aside, .layout-2 .hero aside {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    padding: 18px;
  }
  .layout-1 .hero-copy {
    grid-column: auto;
  }
  .hero aside span {
    font-size: 35px;
  }
  .service-ribbon, .layout-3 .service-ribbon {
    width: calc(100% - 32px);
    grid-template-columns: 1fr 1fr;
    margin-top: -20px;
  }
  .service-ribbon article {
    padding: 17px 14px;
  }
  .service-ribbon h3 {
    font-size: 20px;
  }
  .service-ribbon p {
    font-size: 12px;
  }
  .home-content {
    margin: 40px auto;
    width: calc(100% - 32px);
  }
  .content-section, .layout-2 .content-section, .layout-3 .content-section {
    display: block !important;
    padding: 40px 0 !important;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-top: 1px solid var(--line);
  }
  .section-number {
    margin-bottom: 12px;
    font-size: 22px;
  }
  .content-section .lead {
    font-size: 18px;
  }
  .inner-hero, .article-hero {
    padding: 60px 22px 45px;
  }
  .article-list {
    grid-template-columns: 1fr;
    margin: 30px auto 60px;
    width: calc(100% - 32px);
  }
  .reading {
    padding: 40px 0 60px;
    width: calc(100% - 32px);
  }
  .reading h2 {
    font-size: 28px;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 40px 22px 20px;
    margin-left: 0;
    width: 100%;
  }
  .mobile-dock {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -5px 20px rgba(15, 22, 34, .1);
  }
  .mobile-dock a {
    padding: 9px 2px;
    color: #596273;
    text-align: center;
    font-size: 10px;
  }
  .mobile-dock .dock-cta {
    margin-top: -14px;
    padding: 13px 2px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
  }
}

/* Magazine Related Articles Grid */
.magazine-related {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.magazine-related h3 {
  font-family: Pridi, serif;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  text-decoration: none;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--accent);
}
.related-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.related-card h4 {
  margin: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark);
  flex-grow: 1;
}
.read-more {
  margin: 0 16px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Magazine Sidebar Widgets */
.sidebar-wrapper-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  border-top: 1px dashed var(--line);
  padding-top: 30px;
}
.magazine-sidebar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sidebar-widget {
  background: #f7f8fa;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.sidebar-widget h3 {
  font-family: Pridi, serif;
  font-size: 18px;
  color: var(--dark);
  margin: 0 0 16px 0;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget ul li {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.sidebar-widget ul li a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sidebar-widget ul li a:hover {
  color: var(--dark);
  text-decoration: underline;
}
.cat-list .cat-name {
  display: inline-block;
  padding: 4px 8px;
  background: #edf2f7;
  color: #4a5568;
  border-radius: 4px;
  font-weight: 500;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-item {
  font-size: 12px;
  background: #ffffff;
  color: #4a5568;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  cursor: pointer;
}
.tag-item:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

@media(max-width: 760px) {
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sidebar-wrapper-article {
    grid-template-columns: 1fr;
  }
  .magazine-sidebar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}