/*
Theme Name: CEOS Magazine
Theme URI: https://ceos.ag
Author: CEOS
Description: Dark, gold-accented editorial theme for CEOS Magazine, migrated from the original Next.js design. Built as a classic WordPress theme (no page builder required).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ceos
*/

/* ───────────────────────── Design tokens ───────────────────────── */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-gold: #C9A84C;
  --color-gold-light: #E8C97A;
  --color-muted: #888888;
  --color-white: #ffffff;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
}

/* ───────────────────────── Reset / base ───────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--color-gold); color: var(--color-bg); }
*:focus-visible { outline: none; box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 4px var(--color-gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--color-gold); color: var(--color-bg);
  padding: .6rem 1rem; border-radius: 4px; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.uppercase-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold);
}

.gold-divider {
  display: flex; align-items: center; gap: 2rem; margin: 4rem 0; padding: 0 1.5rem;
}
.gold-divider::before, .gold-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(201,168,76,.3);
}
.gold-divider span {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .4em; color: var(--color-gold); white-space: nowrap;
}

.gold-line { width: 6rem; height: 1px; background: var(--color-gold); margin: 1.5rem 0; }

/* ───────────────────────── Header / Nav ───────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.5rem 0; transition: all .3s ease;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(10,10,10,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,.2); padding: 1rem 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; position: relative; }

.menu-toggle {
  background: none; border: 0; cursor: pointer; color: var(--color-muted);
  display: flex; flex-direction: column; gap: 5px; padding: .25rem;
}
.menu-toggle:hover { color: var(--color-gold); }
.menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--color-gold); letter-spacing: .2em;
}
.site-logo:hover { color: var(--color-gold-light); }
.header-spacer { width: 2rem; height: 1.5rem; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--color-bg);
  display: flex; flex-direction: column; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: 0;
  font-size: 2rem; line-height: 1; color: var(--color-muted); cursor: pointer;
}
.nav-overlay-close:hover { color: var(--color-gold); }
.nav-overlay-logo { padding-top: 1.5rem; text-align: center; }
.nav-overlay-links {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.nav-overlay-links a {
  font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; color: var(--color-white);
  transition: color .3s ease;
}
.nav-overlay-links a:hover { color: var(--color-gold); }
.nav-categories-toggle {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; color: var(--color-white);
}
.nav-categories-toggle.is-open { color: var(--color-gold); }
.nav-categories-list {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  max-height: 0; overflow: hidden; opacity: 0; transition: all .3s ease; margin-top: 0;
}
.nav-categories-list.is-open { max-height: 24rem; opacity: 1; margin-top: 1rem; }
.nav-categories-list a { font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.nav-categories-list a:hover { color: var(--color-gold); }
.nav-overlay-bottom { height: 1px; width: 100%; background: rgba(201,168,76,.2); }

/* ───────────────────────── Hero ───────────────────────── */
.hero-full {
  position: relative; min-height: 700px; height: 100vh; display: flex; align-items: flex-end; overflow: hidden;
}
.hero-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, rgba(10,10,10,.6) 55%, rgba(10,10,10,.1) 100%);
}
.hero-full .container { position: relative; z-index: 1; padding-bottom: 5rem; width: 100%; }
.hero-full h1 {
  font-family: var(--font-display); font-weight: 700; color: var(--color-white);
  font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; max-width: 55rem; margin: 1.5rem 0 0;
}
.hero-full p { margin-top: 1.5rem; max-width: 36rem; color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.6; }
.hero-full .read-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem; }

.category-badge {
  display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  padding: .35rem .9rem; border: 1px solid var(--color-gold); color: var(--color-gold);
  transition: all .3s ease;
}
.category-badge:hover { background: var(--color-gold); color: var(--color-bg); }

.gold-link {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold); padding-bottom: .2rem; transition: color .3s ease;
}
.gold-link:hover { color: var(--color-gold-light); border-color: var(--color-gold-light); }

.reading-time { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); }

/* ───────────────────────── Category Row (home sections) ───────────────────────── */
.category-row { padding: 4rem 0; background: var(--color-bg); }
.category-row-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.category-row-header .title { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); white-space: nowrap; }
.category-row-header .rule { flex: 1; height: 1px; background: rgba(201,168,76,.3); }
.category-row-header .view-all { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); white-space: nowrap; }
.category-row-header .view-all:hover { color: var(--color-gold); }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.tile { display: block; }
.tile-image { position: relative; aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1rem; background: var(--color-surface); }
.tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile-image img { transform: scale(1.05); }
.tile .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); margin: 0 0 .5rem; }
.tile h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; transition: color .3s ease; }
.tile:hover h3 { color: var(--color-gold); }
.tile .date { font-size: .72rem; color: var(--color-muted); margin: 0; }

/* ───────────────────────── Full-width banner ───────────────────────── */
.full-banner {
  position: relative; overflow: hidden; height: 70vh;
  background-size: cover; background-position: center; background-attachment: fixed;
}
@media (max-width: 768px) { .full-banner { height: 50vh; background-attachment: scroll; } }
.full-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.full-banner .banner-content {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem;
}
.full-banner .banner-content .uppercase-label { margin-bottom: 1rem; }
.full-banner h2 { font-family: var(--font-display); font-weight: 700; color: var(--color-white); font-size: clamp(2rem, 5vw, 3.75rem); max-width: 48rem; margin: 0 0 2rem; }
.btn-outline-gold {
  display: inline-block; border: 1px solid var(--color-gold); color: var(--color-gold);
  padding: .8rem 2rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  transition: all .3s ease; background: none; cursor: pointer;
}
.btn-outline-gold:hover { background: var(--color-gold); color: var(--color-bg); }
.btn-solid-gold {
  display: inline-block; background: var(--color-gold); color: var(--color-bg);
  padding: .8rem 2rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  transition: all .3s ease;
}
.btn-solid-gold:hover { background: var(--color-gold-light); }

/* ───────────────────────── CTA highlight ───────────────────────── */
.cta-highlight { background: var(--color-surface); border-top: 1px solid var(--color-gold); border-bottom: 1px solid var(--color-gold); padding: 6rem 1.5rem; }
.cta-highlight .inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.cta-highlight h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,3rem); margin: 0 0 1.5rem; }
.cta-highlight p.lead { color: var(--color-muted); margin-bottom: 2.5rem; }
.cta-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ───────────────────────── Article card ───────────────────────── */
.article-card { display: flex; flex-direction: column; height: 100%; transition: transform .3s ease; }
.article-card:hover { transform: translateY(-2px); }
.article-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.article-card.large .thumb { aspect-ratio: 16/10; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .meta-row { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 .75rem; }
.article-card h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; font-size: 1.35rem; margin: 0; transition: color .3s ease; }
.article-card.large h2 { font-size: 1.85rem; }
.article-card h2:hover { color: var(--color-gold-light); }
.article-card p.excerpt { margin: .75rem 0 0; color: var(--color-muted); font-size: .92rem; line-height: 1.6; flex: 1; }
.article-card .bottom-row { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.article-card .bottom-row .date { font-size: .72rem; color: rgba(136,136,136,.6); text-transform: uppercase; letter-spacing: .2em; }
.article-card .bottom-row .read-more { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); display: inline-flex; gap: .5rem; }

/* Small article card (related articles) */
.article-card-small { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; transition: border-color .3s ease; }
.article-card-small:hover { border-color: rgba(201,168,76,.4); }
.article-card-small .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 1rem; }
.article-card-small .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.article-card-small:hover .thumb img { transform: scale(1.05); }
.article-card-small h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: .75rem 0 .5rem; }
.article-card-small h3:hover { color: var(--color-gold-light); }
.article-card-small p { margin: 0; color: var(--color-muted); font-size: .88rem; line-height: 1.5; }
.article-card-small .foot { display: flex; justify-content: space-between; margin-top: 1rem; font-size: .72rem; color: rgba(136,136,136,.5); text-transform: uppercase; letter-spacing: .2em; }

/* ───────────────────────── Filter bar ───────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.filter-bar a { padding: .5rem 1.25rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; border: 1px solid rgba(201,168,76,.5); color: var(--color-muted); transition: all .3s ease; }
.filter-bar a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.filter-bar a.is-active { background: var(--color-gold); color: var(--color-bg); border-color: var(--color-gold); }

/* ───────────────────────── Category hero ───────────────────────── */
.category-hero { position: relative; min-height: 50vh; height: 60vh; display: flex; align-items: center; }
.category-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-hero .overlay { position: absolute; inset: 0; background: rgba(10,10,10,.7); }
.category-hero.no-image .overlay { background: var(--color-surface); }
.category-hero .container { position: relative; z-index: 1; padding: 6rem 1.5rem; max-width: 60rem; }
.category-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem,6vw,4.5rem); margin: 1rem 0 0; }
.category-hero p.desc { margin-top: 1.5rem; max-width: 40rem; color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.6; }

/* ───────────────────────── Single article ───────────────────────── */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 2px; background: rgba(255,255,255,.05); }
.reading-progress-bar { height: 100%; width: 0; background: var(--color-gold); transition: width .15s ease-out; }

.article-hero { position: relative; height: 70vh; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--color-bg), rgba(10,10,10,.5) 60%, transparent); }
.article-hero .container { position: relative; z-index: 1; max-width: 56rem; padding-bottom: 4rem; }
.article-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,5vw,3.75rem); line-height: 1.2; margin: 1rem 0 0; }
.article-meta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.article-meta-row .author { display: flex; align-items: center; gap: .75rem; }
.article-meta-row .author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,168,76,.3); }
.article-meta-row .author span, .article-meta-row .date { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.8); }
.article-meta-row .sep { color: rgba(136,136,136,.4); }

/* Table of contents */
.toc-wrap { max-width: 42rem; margin: 0 auto; padding: 2rem 1.5rem 1rem; }
.toc-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; background: none;
  border: 0; border-bottom: 1px solid rgba(201,168,76,.3); color: var(--color-gold);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; padding: .75rem 0; cursor: pointer;
}
.toc-toggle:hover { color: var(--color-gold-light); }
.toc-toggle .arrow { transition: transform .3s ease; }
.toc-toggle.is-open .arrow { transform: rotate(180deg); }
.toc-list { max-height: 0; overflow: hidden; transition: all .3s ease; }
.toc-list.is-open { max-height: 24rem; }
.toc-list ul { padding: 1rem 0; }
.toc-list li { margin-bottom: .5rem; }
.toc-list a { font-size: .92rem; color: var(--color-muted); display: block; padding: .25rem 0; }
.toc-list a:hover { color: var(--color-gold); }
.toc-mobile { display: none; }
@media (max-width: 767px) {
  .toc-desktop { display: none; }
  .toc-mobile {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: var(--color-surface); border-top: 1px solid rgba(201,168,76,.2);
    box-shadow: 0 -4px 20px rgba(0,0,0,.5);
  }
  .toc-mobile .toc-toggle { padding: 1rem 1.5rem; }
  .toc-mobile .toc-list.is-open { max-height: 60vh; overflow-y: auto; }
  .toc-mobile .toc-list ul { padding: 0 1.5rem 1.5rem; }
}

/* Article body / prose */
.article-body { max-width: 42rem; margin: 0 auto; padding: 3rem 1.5rem; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.85); }
.article-body > p:first-of-type { font-size: 1.2rem; color: rgba(255,255,255,.92); }
.article-body h2 { font-family: var(--font-display); font-weight: 700; color: var(--color-gold); font-size: 1.6rem; margin: 3rem 0 1.5rem; scroll-margin-top: 6rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.5rem; }
.article-body a { color: var(--color-gold); }
.article-body a:hover { color: var(--color-gold-light); }
.article-body img { margin: 1rem 0; }
.article-body ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.5rem; }
.article-body ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.5rem; }
.article-body blockquote { margin: 0; }
/* Hide the "Easy Table of Contents" plugin's own box embedded in post content —
 * the theme already renders its own equivalent TOC ("Contents" toggle) above
 * the article body, so this plugin-inserted duplicate is redundant clutter. */
.article-body #ez-toc-container { display: none !important; }

.editorial-quote { max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.editorial-quote .mark { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: rgba(201,168,76,.4); margin-bottom: 1rem; }
.editorial-quote blockquote { font-family: var(--font-display); font-style: italic; color: var(--color-gold); font-size: clamp(1.4rem,3vw,1.85rem); line-height: 1.5; margin: 0; }
.editorial-quote cite { display: block; margin-top: 1.5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .3em; color: var(--color-muted); font-style: normal; }


/* Share row */
.share-row { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); margin: 2rem 0; }
.share-row .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); }
.share-icons { display: flex; align-items: center; gap: 1rem; }
.share-icons a, .share-icons button { color: var(--color-muted); background: none; border: 0; cursor: pointer; display: flex; }
.share-icons a:hover, .share-icons button:hover { color: var(--color-gold); }

/* Author card */
.author-card { border-top: 2px solid var(--color-gold); padding-top: 2rem; margin-top: 3rem; display: flex; gap: 1.5rem; align-items: flex-start; }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,168,76,.3); flex-shrink: 0; }
.author-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: .25rem 0; }
.author-card .role { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); margin-bottom: .75rem; }
.author-card p.bio { font-size: .92rem; color: var(--color-muted); line-height: 1.6; margin: 0; }
.author-card .more-link { display: inline-flex; gap: .5rem; margin-top: 1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); }

/* Author archive header */
.author-header { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 4rem; text-align: center; }
.author-header img { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,.4); }
.author-header h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,3rem); margin: .5rem 0; }
@media (min-width: 768px) { .author-header { flex-direction: row; align-items: flex-start; text-align: left; } }

/* ───────────────────────── Blog / archive layouts ───────────────────────── */
.page-header-hero { text-align: center; padding: 9rem 1.5rem 0; }
.page-header-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem,10vw,6rem); margin: 0; }
.page-header-hero .kicker { font-size: .85rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); margin-top: 1rem; }

.pagination-row { display: flex; align-items: center; justify-content: center; gap: 2rem; margin: 5rem 0 2rem; }
.pagination-row a, .pagination-row span { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); }
.pagination-row a:hover { color: var(--color-gold); }
.pagination-row .current { color: var(--color-gold); }
.pagination-row .sep { width: 1px; height: 1rem; background: rgba(255,255,255,.2); }

.empty-state { text-align: center; padding: 6rem 0; color: var(--color-muted); }

/* ───────────────────────── Generic page content ───────────────────────── */
.page-content { max-width: 48rem; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.page-content h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,3rem); margin: 0 0 1rem; }
.page-content .entry-content h2 { font-family: var(--font-display) !important; font-weight: 700 !important; color: var(--color-gold) !important; font-size: 1.5rem !important; margin: 0 0 1.25rem !important; }
.page-content .entry-content h3 { font-family: var(--font-display) !important; font-size: 1.2rem !important; margin: 2rem 0 1rem !important; }
.page-content .entry-content p { margin: 0 0 1.5rem !important; line-height: 1.75 !important; color: rgba(255,255,255,.85) !important; }
.page-content .entry-content a { color: var(--color-gold) !important; }
.page-content .entry-content ul { list-style: disc !important; padding-left: 1.5rem !important; margin: 0 0 1.5rem !important; }
.page-content .entry-content li { margin-bottom: 1rem !important; }
.page-content .entry-content strong { color: var(--color-white) !important; }

/* ───────────────────────── Footer ───────────────────────── */
.site-footer { background: var(--color-surface); border-top: 1px solid rgba(201,168,76,.3); margin-top: 6rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-muted); margin: 0 0 1.5rem; }
.footer-grid ul li { margin-bottom: .75rem; }
.footer-grid ul a { font-size: .88rem; color: var(--color-muted); }
.footer-grid ul a:hover { color: var(--color-gold-light); }
.footer-brand p { margin-top: 1rem; color: var(--color-muted); font-size: .88rem; line-height: 1.6; max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(201,168,76,.1); padding: 2rem 0; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(136,136,136,.6); }

/* ───────────────────────── 404 ───────────────────────── */
.error-404 { text-align: center; padding: 10rem 1.5rem; }
.error-404 h1 { font-family: var(--font-display); font-size: clamp(4rem,12vw,8rem); color: var(--color-gold); margin: 0; }
.error-404 p { color: var(--color-muted); margin: 1rem 0 2rem; }

/* ───────────────────────── Elementor-authored page content compatibility ─────────────────────────
 * Some WordPress pages (e.g. "About") were built with the Elementor page
 * builder on the source site. We don't load Elementor's own CSS/JS, so
 * this neutralizes its grid wrappers and re-styles the specific widgets
 * that show up in practice (images, spacers, author grids, FAQ accordion,
 * section titles) to match the CEOS look.
 */
.entry-content .elementor-container,
.entry-content .elementor-column,
.entry-content .elementor-widget-wrap,
.entry-content .elementor-widget-container,
.entry-content .elementor-section,
.entry-content .elementor-top-column {
  display: block;
  width: auto !important;
  margin: 0;
  padding: 0;
}
.entry-content .elementor-widget-spacer .elementor-spacer-inner { height: 2rem; display: block; }
.entry-content .elementor-widget-image img { width: 100%; height: auto; margin-bottom: 1rem; }

/* Author grid ("Die Redaktion" team cards) */
.entry-content .author-grid-title {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--color-white);
  margin: 2.5rem 0 1.5rem;
}
.entry-content .author-grid-widget { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.entry-content .author-card {
  flex: 1 1 200px; text-align: center; border-top: 1px solid rgba(201,168,76,.2); padding-top: 1.5rem;
}
.entry-content .author-photo img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1rem; border: 1px solid rgba(201,168,76,.3);
}
.entry-content .author-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-white); margin: 0 0 .5rem; }
.entry-content .author-bio { font-size: .85rem; color: var(--color-muted); line-height: 1.5; margin: 0 0 .75rem; }
.entry-content .author-link { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--color-gold); }
.entry-content .author-link:hover { color: var(--color-gold-light); }

/* Section title widget (used for "FAQ") */
.entry-content .sc_item_title_wrap { display: flex; align-items: center; gap: 1.5rem; margin: 3rem 0 2rem; }
.entry-content .sc_item_title_line_left,
.entry-content .sc_item_title_line_right { flex: 1; height: 1px; background: rgba(201,168,76,.3); display: block; }
.entry-content .sc_item_title_text {
  font-family: var(--font-display); font-weight: 700; color: var(--color-gold);
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap;
}


/* FAQ (Elementor accordion) — displayed flat/expanded, matching the original site.
 * !important is required here because the Elementor plugin auto-loads its own
 * accordion CSS/JS (border boxes, +/- icon font) whenever it detects Elementor-authored
 * content on the page, and that stylesheet otherwise overrides the theme's CSS. */
.entry-content .elementor-accordion-item {
  border: none !important;
  background: none !important;
  margin-bottom: 2rem !important;
}
.entry-content .elementor-tab-title {
  all: unset !important;
  display: block !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--color-gold) !important;
  font-size: 1.05rem !important;
  margin-bottom: .5rem !important;
  cursor: default !important;
}
.entry-content .elementor-accordion-icon,
.entry-content .elementor-accordion-icon i { display: none !important; }
.entry-content .elementor-tab-content {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  color: rgba(255,255,255,.85) !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}
/* ───────────────────────── Responsive helpers ───────────────────────── */
@media (max-width: 640px) {
  .hero-full { min-height: 600px; }
}
