/*
Theme Name: ATHENS.GOLD Child
Description: Passive public information theme for ATHENS.GOLD.
Author: Athena
Version: 1.1.1
Template: astra
Text Domain: athens-gold-child
*/

:root {
  --athena-ink: #12202d;
  --athena-muted: #52606d;
  --athena-paper: #f4f1e8;
  --athena-surface: #fffdf7;
  --athena-primary: #153e5c;
  --athena-primary-soft: #dce9ec;
  --athena-gold: #a67c22;
  --athena-accent: #1f7168;
  --athena-border: #d8d1c1;
  --athena-shadow: 0 20px 55px rgba(18, 32, 45, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--athena-ink);
  background: var(--athena-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--athena-primary);
  text-underline-offset: 0.18em;
}

.ast-primary-header-bar {
  background: rgba(255, 253, 247, 0.97);
  border-bottom: 1px solid var(--athena-border);
}

.site-title a,
.main-header-menu .menu-link {
  color: var(--athena-ink);
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .menu-link:hover,
.main-header-menu .menu-link:focus {
  color: var(--athena-gold);
}

.site-content .ast-container {
  max-width: 100%;
  padding: 0;
}

.site-main,
.entry-content,
.entry-content > .wp-block-group {
  margin: 0;
}

.entry-header {
  display: none;
}

.athens-hero,
.athens-page-head,
.athens-section {
  padding: clamp(3.5rem, 8vw, 7rem) max(1.25rem, calc((100vw - 1120px) / 2));
}

.athens-hero,
.athens-page-head {
  color: #fffdf7;
  background:
    radial-gradient(circle at 82% 14%, rgba(166, 124, 34, 0.36), transparent 26rem),
    linear-gradient(135deg, #0d2536 0%, #153e5c 58%, #1f7168 140%);
}

.athens-section {
  background: var(--athena-paper);
}

.athens-kicker {
  margin: 0 0 1rem;
  color: #efd38d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.athens-hero h1,
.athens-page-head h1 {
  max-width: 880px;
  margin: 0;
  color: #fffdf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.athens-page-head h1 {
  font-size: clamp(2.45rem, 6vw, 4.65rem);
}

.athens-lead {
  max-width: 760px;
  margin: 1.6rem 0 0;
  color: #dce9ec;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.wp-block-buttons {
  margin-top: 2rem;
  gap: 0.75rem;
}

.wp-block-button__link {
  border: 1px solid #efd38d;
  border-radius: 999px;
  background: #efd38d;
  color: #12202d;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
  transform: translateY(-1px);
  background: #fff0bd;
  color: #12202d;
}

.is-style-outline .wp-block-button__link {
  border-color: rgba(255, 253, 247, 0.55);
  background: transparent;
  color: #fffdf7;
}

.athens-section h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.athens-section h2:not(:first-child) {
  margin-top: 3.25rem;
}

.athena-notice {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--athena-border);
  border-left: 4px solid var(--athena-accent);
  border-radius: 0.8rem;
  background: var(--athena-surface);
}

.athena-risk-notice {
  border-left-color: var(--athena-gold);
}

.athena-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 1.15rem;
  margin: 2rem 0;
}

.athena-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--athena-border);
  border-radius: 1.1rem;
  background: var(--athena-surface);
  box-shadow: var(--athena-shadow);
}

.athena-card h3 {
  margin-top: 0;
  color: var(--athena-primary);
}

.site-footer {
  border-top: 1px solid var(--athena-border);
}

.athens-mobile-nav {
  display: none;
}

@media (max-width: 921px) {
  .ast-button-wrap {
    display: none;
  }

  .athens-mobile-nav {
    display: block;
    border-bottom: 1px solid var(--athena-border);
    background: var(--athena-surface);
  }

  .athens-mobile-nav details {
    width: 100%;
  }

  .athens-mobile-nav summary {
    position: relative;
    padding: 0.85rem 3.5rem 0.85rem 1.25rem;
    color: var(--athena-ink);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
  }

  .athens-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .athens-mobile-nav summary::after {
    position: absolute;
    right: 1.25rem;
    content: "+";
    color: var(--athena-primary);
    font-size: 1.25rem;
    line-height: 1;
  }

  .athens-mobile-nav details[open] summary::after {
    content: "−";
  }

  .athens-mobile-nav ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 1.25rem 1rem;
    list-style: none;
  }

  .athens-mobile-nav a {
    display: block;
    padding: 0.72rem 0;
    border-top: 1px solid var(--athena-border);
    color: var(--athena-ink);
    text-decoration: none;
  }

  .athens-mobile-nav a:hover,
  .athens-mobile-nav a:focus {
    color: var(--athena-gold);
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu {
    background: var(--athena-surface);
  }

  .athens-hero,
  .athens-page-head,
  .athens-section {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wp-block-button__link {
    transition: none;
  }
}
