/*
Theme Name: DO666 Themes
Theme URI: https://do666.bet/
Author: DO666
Author URI: https://do666.bet/
Description: WordPress theme for the DO666 homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: do666themes
*/

:root {
  --page-bg: #050505;
  --surface: rgba(17, 17, 15, 0.86);
  --surface-soft: rgba(18, 16, 13, 0.72);
  --text: #f5f3ef;
  --muted: #c7c0b8;
  --muted-soft: #aaa39b;
  --gold: #f3a72d;
  --gold-soft: #ffc65e;
  --gold-dark: #9c4a0a;
  --line: rgba(210, 133, 30, 0.42);
  --line-soft: rgba(179, 123, 54, 0.25);
  --shadow: rgba(0, 0, 0, 0.48);
  --container: min(93.5vw, 98.125rem);
  --page-gutter: clamp(0.875rem, 3.25vw, 3.4375rem);
  --radius-sm: 0.5625rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.0625rem;
  --header-h: 8.5rem;
  --hero-h: 27rem;
  --benefit-h: 5.9375rem;
  --card-h: 14.9375rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page-bg);
  overflow-x: hidden;
}

body::before {
  display: none;
}

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

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-inline: var(--page-gutter);
  padding-bottom: 1.625rem;
  background: var(--page-bg);
}

.site-header,
.hero,
.benefits,
.game-grid,
.news-section,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 18;
  display: grid;
  grid-template-columns: minmax(13.5rem, 17rem) minmax(0, 1fr) minmax(16rem, 21.875rem);
  align-items: center;
  min-height: var(--header-h);
  background: transparent;
  transition: background 180ms ease, box-shadow 180ms ease;
}

body.has-scrolled .site-header,
body.nav-open .site-header {
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding-right: clamp(1rem, 2vw, 1.75rem);
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: min(100%, 17.25rem);
  max-height: 6.35rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0.25rem 0.625rem var(--shadow));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.35rem, 2.85vw, 3rem);
  min-width: 0;
  height: 100%;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.primary-menu li.menu-item-has-children::before,
.primary-menu li.nav-drop::before {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 1rem;
  content: "";
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  z-index: 12;
  display: none;
  min-width: 13rem;
  margin: 0;
  padding: 0.625rem;
  list-style: none;
  border: 0.0625rem solid rgba(212, 134, 34, 0.45);
  border-radius: var(--radius-md);
  background: rgba(8, 8, 6, 0.98);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: grid;
  gap: 0.25rem;
}

.menu-button,
.menu-close,
.nav-backdrop {
  display: none;
}

.nav-link {
  position: relative;
  color: #c9c3bd;
  font-size: clamp(0.95rem, 0.9vw + 0.35rem, 1.0625rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link:hover,
.primary-menu > .menu-item > .nav-link.active {
  color: var(--gold-soft);
}

.primary-menu > .menu-item > .nav-link.active::before {
  position: absolute;
  inset-inline: 0;
  bottom: -1.375rem;
  height: 0.1875rem;
  content: "";
  border-radius: 999rem;
  background: var(--gold);
  box-shadow: 0 0 0.625rem rgba(242, 167, 46, 0.5);
}

.nav-drop::after {
  display: inline-block;
  width: 0.55em;
  aspect-ratio: 1;
  margin-left: 0.6em;
  content: "";
  border-right: 0.125rem solid currentColor;
  border-bottom: 0.125rem solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.375rem;
  padding-inline: clamp(1rem, 1.75vw, 1.8125rem);
  color: var(--gold-soft);
  border: 0.0625rem solid #d48622;
  border-radius: var(--radius-sm);
  font-size: clamp(0.9rem, 0.75vw + 0.35rem, 1.0625rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0.0625rem 0.125rem #000;
  white-space: nowrap;
}

.btn .fa-solid {
  width: 1.45em;
  font-size: 1.12em;
  line-height: 1;
  text-align: center;
}

.btn-outline,
.hero-secondary {
  background: rgba(4, 4, 4, 0.5);
  box-shadow: inset 0 0 0 0.0625rem rgba(255, 203, 112, 0.08);
}

.btn-primary,
.hero-primary {
  color: #fff3ce;
  border-color: #f2a529;
  background: linear-gradient(180deg, #d9942e, var(--gold-dark));
  box-shadow:
    inset 0 0.0625rem 0 rgba(255, 255, 255, 0.33),
    inset 0 -0.75rem 1.375rem rgba(109, 45, 1, 0.4),
    0 0.5625rem 1.25rem rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(34rem, 46.5625rem) minmax(0, 1fr);
  min-height: var(--hero-h);
  overflow: visible;
}

.hero::before {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 0.6875rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.6875rem;
  padding-inline: 0.9rem 1.25rem;
  color: #bbb2a9;
  border: 0.0625rem solid rgba(199, 126, 28, 0.33);
  border-radius: 999rem;
  background: rgba(18, 17, 14, 0.9);
  font-size: clamp(0.8rem, 0.7vw + 0.35rem, 1.0625rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.trust-pill .fa-solid {
  color: var(--gold);
  font-size: 1.2em;
}

h1 {
  max-width: 44.75rem;
  margin: 1.3125rem 0 0.9375rem;
  color: #ffffff;
  font-size: clamp(3rem, 3.3vw, 3.5rem);
  font-weight: 1000;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow:
    0 0.125rem 0 rgba(0, 0, 0, 0.55),
    0 0 1rem rgba(255, 255, 255, 0.1);
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #ffed9a 0%, #f7b83b 34%, #c96b12 76%, #6d2d05 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  max-width: 45.625rem;
  margin: 0;
  color: #cfc9c0;
  font-size: clamp(1rem, 0.75vw + 0.45rem, 1.125rem);
  font-weight: 500;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  gap: 1.4375rem;
  margin-top: 1.6875rem;
}

.hero-actions .btn {
  min-width: min(15.625rem, 48%);
  min-height: 3.875rem;
  font-size: clamp(1.05rem, 1vw + 0.45rem, 1.3125rem);
}

.hero-secondary {
  min-width: 11.4375rem !important;
  color: var(--gold);
}

.hero-art {
  position: relative;
  min-width: 0;
}

.image-slot {
  position: absolute;
  transform: translateY(-10%);
  z-index: -1;
  border: 0;
}

.image-slot img,
.game-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  inset-block-start: -1.15rem;
  inset-inline-end: -3.25rem;
  width: min(100vw, 60rem);
  border-radius: 0;
}

.hero-image img {
  object-fit: contain;
  object-position: right bottom;
}

.benefits {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: var(--benefit-h);
  margin-bottom: 0.75rem;
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
  box-shadow: none;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 1.4vw, 1.3125rem);
  min-width: 0;
  padding-inline: clamp(1.1rem, 2.6vw, 2.6875rem);
}

.benefit-item:not(:last-child) {
  border-right: 0.0625rem solid rgba(170, 127, 75, 0.24);
}

.benefit-icon,
.game-icon {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 4.25rem;
  aspect-ratio: 1;
  color: #e9a02b;
  border: 0.0625rem solid rgba(220, 152, 46, 0.44);
  border-radius: 50%;
  background: #171410;
  box-shadow: none;
}

.game-icon {
  border: none;
}

.benefit-icon .fa-solid {
  font-size: 1.9rem;
  line-height: 1;
}

.benefit-item h2 {
  margin: 0 0 0.75rem;
  color: #f4f2ee;
  font-size: clamp(0.95rem, 0.8vw + 0.35rem, 1.125rem);
  font-weight: 900;
  line-height: 1;
}

.benefit-item p {
  margin: 0;
  color: var(--muted-soft);
  font-size: clamp(0.75rem, 0.58vw + 0.34rem, 0.875rem);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.45rem, 0.65vw, 0.625rem);
}

.game-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: var(--card-h);
  border: 0.125rem solid #cf8121;
  border-radius: 0.625rem;
  background: #0c0a08;
  box-shadow:
    inset 0 0 0 0.0625rem rgba(255, 206, 117, 0.11),
    0 0.625rem 1.125rem rgba(0, 0, 0, 0.38);
}

.game-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: center;
}

.game-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.86) 100%),
    radial-gradient(circle at 12% 18%, rgba(235, 153, 36, 0.33) 0 0.0625rem, transparent 0.125rem),
    radial-gradient(circle at 75% 15%, rgba(235, 153, 36, 0.33) 0 0.0625rem, transparent 0.125rem),
    radial-gradient(circle at 88% 49%, rgba(235, 153, 36, 0.24) 0 0.0625rem, transparent 0.125rem);
}

.game-card-footer {
  position: absolute;
  inset-inline: 5.5%;
  bottom: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.game-card-label {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(0.55rem, 0.7vw, 0.75rem);
}

.game-card .game-title {
  padding-top: 0.75rem;
  color: #f2f0e7;
  font-size: 1.2rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 0.125rem 0.5rem #000;
  white-space: nowrap;
}

.game-icon {
  width: clamp(3.75rem, 4vw, 4.25rem);
  border-width: 0.125rem;
  overflow: hidden;
  background: rgba(15, 12, 8, 0.78);
}

.image-icon img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}

.game-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.5625rem;
  aspect-ratio: 1;
  color: #f2bf62;
  border: 0.0625rem solid #e4a13a;
  border-radius: 50%;
  background: rgba(20, 16, 11, 0.82);
  box-shadow: inset 0 0 0.75rem rgba(223, 142, 31, 0.13);
}

.game-arrow .fa-solid {
  font-size: 1.125rem;
  line-height: 1;
}

@media (max-width: 75rem) {
  :root {
    --hero-h: auto;
  }

  .site-header {
    grid-template-columns: minmax(11rem, 13.125rem) minmax(0, 1fr);
    gap: 0 1rem;
    min-height: auto;
    padding-block: 1.125rem;
  }

  .brand {
    border-right: 0;
  }

  .main-nav {
    justify-content: flex-end;
    gap: clamp(1rem, 2.2vw, 1.5625rem);
  }

  .primary-menu {
    gap: inherit;
  }

  .header-actions {
    grid-column: 2;
    margin-top: 0.875rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 48rem;
    overflow: hidden;
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: min(100%, 52rem);
    height: 26rem;
    margin-left: auto;
  }

  .benefits,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-item:nth-child(2) {
    border-right: 0;
  }

  .benefit-item:nth-child(-n + 2) {
    border-bottom: 0.0625rem solid rgba(170, 127, 75, 0.24);
  }
}

@media (max-width: 47.5rem) {
  :root {
    --container: 100%;
    --page-gutter: 0.875rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
  }

  .brand {
    width: auto;
    height: 6.25rem;
    justify-content: center;
    padding-right: 0;
  }

  .brand-logo {
    width: min(58vw, 15rem);
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 3rem;
    aspect-ratio: 1;
    color: var(--gold-soft);
    border: 0.0625rem solid #d48622;
    border-radius: var(--radius-sm);
    background: rgba(4, 4, 4, 0.5);
    font-size: 1.25rem;
    cursor: pointer;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: block;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .menu-close {
    display: grid;
    place-items: center;
    align-self: flex-end;
    width: 2.75rem;
    aspect-ratio: 1;
    margin-bottom: 1.25rem;
    color: var(--gold-soft);
    border: 0.0625rem solid rgba(212, 134, 34, 0.7);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.38);
    font-size: 1.25rem;
    cursor: pointer;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
    box-shadow: -1.25rem 0 2rem rgba(0, 0, 0, 0.45);
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

  .header-actions .btn {
    min-height: 2.625rem;
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(82vw, 21rem);
    height: 100vh;
    padding: 1.25rem;
    gap: 0.25rem;
    overflow-y: auto;
    background: #080806;
    border-left: 0.0625rem solid rgba(212, 134, 34, 0.45);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .primary-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .primary-menu .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .primary-menu li.menu-item-has-children::before,
  .primary-menu li.nav-drop::before {
    display: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    padding-inline: 0.9rem;
    border-bottom: 0.0625rem solid rgba(212, 134, 34, 0.16);
    font-size: 1rem;
  }

  .primary-menu > .menu-item > .nav-link.active::before {
    left: 0.9rem;
    right: auto;
    bottom: 0.55rem;
    width: 3.5rem;
  }

  .hero {
    min-height: 44rem;
    overflow: hidden;
  }

  .hero-copy {
    width: min(100%, 21rem);
    max-width: 21rem;
    padding-top: 0.7rem;
    margin-inline: auto;
    text-align: center;
  }

  .trust-pill {
    max-width: 100%;
    font-size: 0.78rem;
    justify-content: center;
  }

  h1 {
    max-width: 21rem;
    font-size: clamp(2rem, 8.2vw, 2.25rem);
    line-height: 1.16;
  }

  .hero-copy p {
    max-width: 21rem;
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
    width: min(100%, 20rem);
    margin-inline: auto;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    min-width: 0;
    min-height: 3.25rem;
    padding-inline: 0.75rem;
    font-size: 0.9rem;
    flex: 1 1 0;
  }

  .hero-actions .btn .fa-solid {
    display: none;
  }

  .hero-image {
    width: min(100%, 22rem);
    height: 17.5rem;
    margin-inline: auto;
  }

  .benefits,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .benefits {
    min-height: auto;
  }

  .benefit-item {
    min-height: 5.75rem;
    border-right: 0 !important;
    border-bottom: 0.0625rem solid rgba(170, 127, 75, 0.24);
  }

  .benefit-item:last-child {
    border-bottom: 0;
  }

  .benefit-item p {
    white-space: normal;
  }

.game-card {
  min-height: 13.75rem;
  }
}

.news-section {
  margin-top: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 1.35vw, 2rem);
  font-weight: 1000;
  line-height: 1.1;
}

.section-button {
  min-height: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(13, 13, 12, 0.94);
}

.news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(64, 35, 10, 0.85), rgba(14, 14, 12, 0.9)),
    rgba(10, 10, 10, 0.9);
}

.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.035);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.news-content h3 {
  margin: 0;
  color: #f2efe9;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

.news-content h3 a:hover {
  color: var(--gold-soft);
}

.news-content p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.news-card-empty {
  grid-column: 1 / -1;
}

.news-actions {
  display: none;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 75rem) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.5rem) {
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .section-button {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-actions {
    display: flex;
  }
}

.content-page {
  width: var(--container);
  margin: 1.5rem auto 0;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.content-page-header {
  margin-bottom: 1.25rem;
}

.content-page-title {
  max-width: 60rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 1000;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow:
    0 0.125rem 0 rgba(0, 0, 0, 0.55),
    0 0 1rem rgba(255, 255, 255, 0.1);
}

.content-page-thumb {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 0.125rem solid #cf8121;
  border-radius: var(--radius-md);
  background: #0c0a08;
}

.content-page-thumb img {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.content-page-body {
  color: #d7d0c7;
  font-size: clamp(1rem, 0.75vw + 0.45rem, 1.125rem);
  line-height: 1.75;
}

.content-page-body > *:first-child {
  margin-top: 0;
}

.content-page-body > *:last-child {
  margin-bottom: 0;
}

.content-page-body h2,
.content-page-body h3,
.content-page-body h4 {
  color: #f4f2ee;
  line-height: 1.25;
}

.content-page-body a {
  color: var(--gold-soft);
  font-weight: 800;
}

.content-page-body img {
  height: auto;
  border-radius: var(--radius-md);
}

.content-page-body ul,
.content-page-body ol {
  padding-left: 1.25rem;
}

.content-page-links {
  margin-top: 1.5rem;
  color: var(--gold-soft);
  font-weight: 900;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.content-section {
  position: relative;
  margin-top: 1.5rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.content-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.content-section-inner {
  position: relative;
  min-width: 0;
}

.js .content-section:not(.is-expanded) .content-section-inner {
  max-height: min(28rem, 56vh);
  overflow: hidden;
}

.js .content-section:not(.is-expanded) .content-section-inner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7rem;
  content: "";
  background: linear-gradient(180deg, rgba(13, 13, 12, 0), rgba(13, 13, 12, 0.98));
  pointer-events: none;
}

.content-section .section-heading > div {
  min-width: 0;
}

.content-section-actions {
  display: none;
  justify-content: center;
  margin-top: 1.25rem;
}

.js .content-section.is-collapsible .content-section-actions {
  display: flex;
}

.content-section-toggle {
  cursor: pointer;
}

.content-section-less,
.content-section.is-expanded .content-section-more {
  display: none;
}

.content-section.is-expanded .content-section-less {
  display: inline;
}

.content-section .section-heading .section-kicker {
  margin-bottom: 1rem;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6 {
  color: #f4f2ee;
  line-height: 1.25;
}

.content-section p,
.content-section li {
  color: #d7d0c7;
  font-size: clamp(1rem, 0.75vw + 0.45rem, 1.125rem);
  line-height: 1.75;
}

.content-section a {
  color: var(--gold-soft);
  font-weight: 800;
}

.content-section img {
  height: auto;
  border-radius: var(--radius-md);
}

.content-section ul,
.content-section ol {
  padding-left: 1.25rem;
}

.content-section > *:first-child,
.content-section .section-heading > div > *:first-child {
  margin-top: 0;
}

.content-section > *:last-child,
.content-section .section-heading > div > *:last-child {
  margin-bottom: 0;
}

.aligncenter,
.wp-block-image.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

img.aligncenter,
.wp-caption.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.alignleft {
  float: left;
  margin-right: 1.25rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-bottom: 1rem;
  margin-left: 1.25rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
  margin: 0.625rem 0 0;
  color: var(--muted-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.content-page-body::after,
.content-section::after,
.single-post-content::after {
  display: table;
  clear: both;
  content: "";
}

.category-archive {
  margin-top: 1.5rem;
}

.category-header {
  margin-bottom: 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.category-title {
  max-width: 60rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 1000;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow:
    0 0.125rem 0 rgba(0, 0, 0, 0.55),
    0 0 1rem rgba(255, 255, 255, 0.1);
}

.category-description {
  max-width: 58rem;
  margin-top: 1rem;
  color: #d7d0c7;
  font-size: 1rem;
  line-height: 1.7;
}

.category-description > *:first-child {
  margin-top: 0;
}

.category-description > *:last-child {
  margin-bottom: 0;
}

.category-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 12, 0.94);
}

.category-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(64, 35, 10, 0.85), rgba(14, 14, 12, 0.9)),
    rgba(10, 10, 10, 0.9);
}

.category-thumb img,
.category-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.category-thumb img {
  object-fit: cover;
  transition: transform 180ms ease;
}

.category-card:hover .category-thumb img {
  transform: scale(1.035);
}

.category-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.category-card-title {
  margin: 0;
  color: #f2efe9;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.4;
}

.category-card-title a:hover {
  color: var(--gold-soft);
}

.category-card-meta {
  color: var(--muted-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.category-card-excerpt {
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.category-card-excerpt p {
  margin: 0;
}

.category-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 900;
}

.category-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.category-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.category-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  color: var(--gold-soft);
  border: 0.0625rem solid rgba(212, 134, 34, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 7, 0.82);
  font-weight: 900;
}

.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
  color: #fff3ce;
  border-color: #f2a529;
  background: linear-gradient(180deg, #d9942e, var(--gold-dark));
}

.category-empty {
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
  text-align: center;
}

.category-empty h2 {
  margin: 0 0 0.75rem;
  color: #f4f2ee;
  font-size: 1.5rem;
}

.category-empty p {
  margin: 0;
  color: var(--muted-soft);
  line-height: 1.65;
}

@media (max-width: 75rem) {
  .category-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.5rem) {
  .category-posts {
    grid-template-columns: 1fr;
  }

  .category-header {
    text-align: center;
  }
}

.single-post {
  margin-top: 1.5rem;
}

.single-post-header {
  max-width: 60rem;
  margin-bottom: 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.single-post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.single-post-cats a,
.single-post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding-inline: 0.85rem;
  color: var(--gold-soft);
  border: 0.0625rem solid rgba(212, 134, 34, 0.55);
  border-radius: 999rem;
  background: rgba(8, 8, 7, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.single-post-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 1000;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow:
    0 0.125rem 0 rgba(0, 0, 0, 0.55),
    0 0 1rem rgba(255, 255, 255, 0.1);
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: var(--muted-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.single-post-meta span {
  position: relative;
}

.single-post-meta span::before {
  margin-right: 1rem;
  color: rgba(212, 134, 34, 0.7);
  content: "/";
}

.single-post-meta a {
  color: var(--muted-soft);
}

.single-post-meta a:hover {
  color: var(--gold-soft);
}

.single-post-thumb {
  margin: 0 0 1rem;
  overflow: hidden;
  border: 0.125rem solid #cf8121;
  border-radius: var(--radius-md);
  background: #0c0a08;
}

.single-post-thumb img {
  display: block;
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
}

.single-post-content {
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
  color: #d7d0c7;
  font-size: clamp(1rem, 0.75vw + 0.45rem, 1.125rem);
  line-height: 1.75;
}

.single-post-content > *:first-child {
  margin-top: 0;
}

.single-post-content > *:last-child {
  margin-bottom: 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  color: #f4f2ee;
  line-height: 1.25;
}

.single-post-content a {
  color: var(--gold-soft);
  font-weight: 800;
}

.single-post-content img {
  height: auto;
  border-radius: var(--radius-md);
}

.single-post-content blockquote {
  margin-inline: 0;
  padding: 1rem 1.25rem;
  border-left: 0.25rem solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 7, 0.62);
  color: #f2efe9;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.25rem;
}

.single-post-links,
.single-post-tags {
  margin-top: 1.5rem;
  color: var(--gold-soft);
  font-weight: 900;
}

.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid rgba(170, 127, 75, 0.24);
}

.single-post-tags span {
  color: #f4f2ee;
}

.author-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.author-box-avatar,
.author-header-avatar {
  display: block;
  overflow: hidden;
  width: 6rem;
  aspect-ratio: 1;
  border: 0.125rem solid #cf8121;
  border-radius: 50%;
  background: #0c0a08;
}

.author-box-avatar img,
.author-header-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box-content {
  min-width: 0;
}

.author-box-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-box-name {
  margin: 0;
  color: #f4f2ee;
  font-size: 1.35rem;
  font-weight: 1000;
  line-height: 1.2;
}

.author-box-name a:hover {
  color: var(--gold-soft);
}

.author-box-description {
  margin: 0.6rem 0 0;
  color: var(--muted-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.author-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 900;
}

.single-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
}

.single-post-nav-item a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 5rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 12, 0.94);
}

.single-post-nav-item span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.single-post-nav-item strong {
  color: #f2efe9;
  font-size: 1rem;
  line-height: 1.35;
}

.single-post-nav-next {
  text-align: right;
}

@media (max-width: 47.5rem) {
  .single-post-header {
    text-align: center;
  }

  .single-post-cats,
  .single-post-meta,
  .single-post-tags {
    justify-content: center;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .single-post-nav-next {
    text-align: left;
  }
}

.author-archive {
  margin-top: 1.5rem;
}

.author-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.author-header-avatar {
  width: clamp(6rem, 10vw, 8rem);
}

.author-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 1000;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow:
    0 0.125rem 0 rgba(0, 0, 0, 0.55),
    0 0 1rem rgba(255, 255, 255, 0.1);
}

.author-description {
  max-width: 58rem;
  margin: 1rem 0 0;
  color: #d7d0c7;
  font-size: 1rem;
  line-height: 1.7;
}

.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

.author-meta span,
.author-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding-inline: 0.85rem;
  color: var(--gold-soft);
  border: 0.0625rem solid rgba(212, 134, 34, 0.55);
  border-radius: 999rem;
  background: rgba(8, 8, 7, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 47.5rem) {
  .author-box,
  .author-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .author-meta {
    justify-content: center;
  }
}

.error-page {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  min-height: min(42rem, 72vh);
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.error-page-art {
  display: grid;
  place-items: center;
  min-width: 0;
}

.error-page-art img {
  display: block;
  width: min(100%, 34rem);
  max-height: 34rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.75rem rgba(0, 0, 0, 0.45));
}

@media (max-width: 47.5rem) {
  .error-page {
    text-align: center;
  }

  .error-page-actions {
    justify-content: center;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(15rem, 1.15fr) minmax(18rem, 1.35fr) minmax(13rem, 0.95fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: 1.5rem clamp(1rem, 2vw, 1.5rem);
  border: 0.0625rem solid rgba(151, 110, 58, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(13, 13, 12, 0.94);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}

.footer-logo {
  width: min(100%, 12.5rem);
  max-height: 4.75rem;
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #e8dfd4;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding-inline: 0.95rem;
  color: #f2e8da;
  border: 0.0625rem solid rgba(212, 134, 34, 0.55);
  border-radius: 999rem;
  background: rgba(8, 8, 7, 0.82);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 75rem) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 47.5rem) {
  .site-footer {
    margin-top: 1rem;
    padding: 1.125rem 1rem;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    object-position: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-badges {
    justify-content: center;
  }
}
