/* ===========================
   NOZNA.NET — MAIN STYLESHEET
   Wine palette · Lora + Source Sans 3 · Vanilla CSS
   =========================== */

:root {
  --bg:        #0D0A0B;
  --surface:   #1C1317;
  --surface2:  #261B20;
  --brand:     #8B1A2C;
  --brand-dk:  #6A1321;
  --gold:      #C9992A;
  --gold-lt:   #E0B84A;
  --text:      #F0EAEB;
  --muted:     #9E8E90;
  --border:    #2D2025;
  --green:     #2E7D5E;
  --radius:    4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max-w:     1200px;
  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }
ul, ol { padding-left: 1.4em; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.25; color: var(--text); }
p { margin-bottom: 1em; }

/* UTILITIES */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section-title { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); margin-bottom: 1.25rem; position: relative; padding-left: 1rem; }
.section-title::before { content: ''; position: absolute; left: 0; top: 0.15em; height: 1em; width: 4px; background: var(--brand); border-radius: 2px; }
.btn-primary { display: inline-block; background: var(--brand); color: #fff; padding: .55rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-size: .9rem; transition: background .2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--brand-dk); color: #fff; }
.btn-gold { display: inline-block; background: var(--gold); color: #0D0A0B; padding: .55rem 1.4rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem; transition: background .2s; border: none; cursor: pointer; }
.btn-gold:hover { background: var(--gold-lt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* SCORE TICKER */
.score-ticker { background: var(--brand); display: flex; align-items: center; height: 32px; overflow: hidden; font-size: .78rem; font-weight: 600; letter-spacing: .03em; }
.ticker-label { background: #0D0A0B; color: var(--gold); padding: 0 .75rem; height: 100%; display: flex; align-items: center; white-space: nowrap; font-size: .7rem; letter-spacing: .08em; }
.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-inner { display: inline-block; white-space: nowrap; animation: tickerScroll 40s linear infinite; }
@keyframes tickerScroll { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* HEADER */
.site-header { background: var(--surface); border-bottom: 2px solid var(--brand); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.site-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--text); line-height: 1; }
.logo-dot { color: var(--gold); }
.logo-tagline { font-size: .65rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { flex: 1; }
.nav-menu { list-style: none; display: flex; gap: .15rem; padding: 0; margin: 0; }
.nav-menu a { display: block; padding: .4rem .7rem; font-size: .88rem; font-weight: 600; color: var(--text); border-radius: var(--radius); transition: color .15s, background .15s; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a[aria-current] { color: var(--gold); background: rgba(139,26,44,.25); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: .2s; }
.header-search { display: flex; align-items: center; background: var(--surface2); border: 1px solid var(--border); border-radius: 20px; padding: .25rem .25rem .25rem .85rem; gap: .4rem; flex-shrink: 0; }
.header-search input { background: none; border: none; outline: none; color: var(--text); font-size: .85rem; width: 140px; }
.header-search input::placeholder { color: var(--muted); }
.header-search button { background: var(--brand); border: none; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; }

/* BREAKING BAR */
.breaking-bar { background: var(--surface2); border-bottom: 1px solid var(--border); display: flex; align-items: center; min-height: 38px; padding: 0; overflow: hidden; }
.breaking-label { background: var(--gold); color: #0D0A0B; padding: 0 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; flex-shrink: 0; align-self: stretch; display: flex; align-items: center; }
.breaking-items { flex: 1; position: relative; overflow: hidden; min-height: 38px; }
.breaking-item { display: none; padding: 0 1rem; font-size: .84rem; align-items: center; height: 38px; }
.breaking-item.active { display: flex; }
.breaking-item a { color: var(--text); font-weight: 500; }
.breaking-item a:hover { color: var(--gold); }

/* HOMEPAGE HERO */
.hero-featured { margin: 0; }
.hero-featured .hero-inner { position: relative; aspect-ratio: 21/9; overflow: hidden; min-height: 320px; }
.hero-featured img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,10,11,.97) 0%, rgba(13,10,11,.5) 55%, transparent 100%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 2.5rem; }
.hero-cat { display: inline-block; background: var(--brand); color: #fff; padding: .2rem .65rem; border-radius: var(--radius); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; }
.hero-title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; color: #fff; margin-bottom: .5rem; max-width: 700px; }
.hero-meta { font-size: .82rem; color: rgba(240,234,235,.7); display: flex; gap: .75rem; }
.hero-read-more { margin-top: .85rem; }

/* LATEST GRID */
.latest-section { padding: 2.5rem 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.card-cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .07em; text-transform: uppercase; margin-bottom: .4rem; }
.card-title { font-family: var(--font-head); font-size: 1rem; margin-bottom: .5rem; line-height: 1.3; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--gold); }
.card-excerpt { font-size: .83rem; color: var(--muted); flex: 1; margin-bottom: .75rem; }
.card-meta { font-size: .75rem; color: var(--muted); display: flex; gap: .6rem; margin-top: auto; }

/* ARTICLE BODY */
.article-body h2 { font-size: 1.45rem; margin: 1.75rem 0 .7rem; color: var(--text); padding-bottom: .35rem; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; color: var(--gold); }
.article-body p { margin-bottom: 1.1em; }
.article-body a { color: var(--gold); border-bottom: 1px solid rgba(201,153,42,.35); }
.article-body a:hover { color: var(--gold-lt); }
.article-body ul, .article-body ol { margin-bottom: 1em; }
.article-body li { margin-bottom: .3em; }
.article-body blockquote { border-left: 4px solid var(--brand); background: var(--surface2); padding: .9rem 1.2rem; margin: 1.5rem 0; font-style: italic; color: var(--muted); border-radius: 0 var(--radius) var(--radius) 0; }
/* Custom callout — NOT the standard border-l-4 + bg-opacity pattern */
.article-body .info-box { border: 1px solid var(--gold); background: rgba(201,153,42,.07); padding: 1rem 1.2rem; border-radius: var(--radius-md); position: relative; margin: 1.5rem 0; }
.article-body .info-box::before { content: '⚽'; position: absolute; top: -.6rem; left: 1rem; background: var(--bg); padding: 0 .4rem; font-size: .9rem; }

/* FAQ — custom accordion, NOT <details> */
.faq-section { margin: 2rem 0; }
.faq-section h2 { margin-bottom: 1rem; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: .9rem 1rem; font-family: var(--font-head); font-size: .95rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.faq-question .faq-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; transition: transform .25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 1rem .9rem; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 400px; }

/* TOOL SECTION — Kalkulator Tabeli */
.tool-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; margin: 2.5rem 0; }
.tool-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.tool-icon { width: 48px; height: 48px; background: var(--brand); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.tool-desc { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; }
.tool-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tool-input-area label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .3rem; font-weight: 600; letter-spacing: .04em; }
.tool-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: .4rem; align-items: center; margin-bottom: .45rem; font-size: .83rem; }
.tool-row input { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); padding: .3rem .5rem; font-size: .83rem; width: 100%; text-align: center; }
.tool-row input:focus { outline: none; border-color: var(--gold); }
.tool-row input[type=text] { text-align: left; }
.tool-row .col-head { font-weight: 700; font-size: .72rem; color: var(--muted); letter-spacing: .05em; }
.tool-controls { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.table-result { overflow-x: auto; }
.league-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.league-table th { background: var(--surface2); padding: .5rem .6rem; text-align: left; font-size: .72rem; color: var(--muted); letter-spacing: .05em; border-bottom: 1px solid var(--border); }
.league-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--border); }
.league-table tr:last-child td { border-bottom: none; }
.league-table .pos { width: 28px; color: var(--muted); font-weight: 700; font-size: .75rem; }
.league-table .team-name { font-weight: 600; }
.league-table .pts { font-weight: 700; color: var(--gold); }
.league-table tr:nth-child(1) td:first-child,
.league-table tr:nth-child(2) td:first-child,
.league-table tr:nth-child(3) td:first-child { border-left: 3px solid var(--green); }

/* GAME SECTION — Zgadnij Piłkarza */
.game-section { background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; margin: 2.5rem 0; position: relative; overflow: hidden; }
.game-section::before { content: '⚽'; position: absolute; right: -1rem; top: -1rem; font-size: 8rem; opacity: .05; transform: rotate(-15deg); pointer-events: none; }
.game-header { margin-bottom: 1.5rem; }
.game-badge { display: inline-block; background: var(--gold); color: #0D0A0B; padding: .2rem .65rem; border-radius: var(--radius); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.game-score-bar { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; }
.game-score-label { font-size: .8rem; color: var(--muted); }
.game-score-val { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); min-width: 3rem; }
.game-round { font-size: .8rem; color: var(--muted); }
.clues-area { background: var(--bg); border-radius: var(--radius-md); padding: 1.25rem; margin-bottom: 1.25rem; min-height: 140px; }
.clue-item { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.clue-item:last-child { border-bottom: none; }
.clue-num { width: 24px; height: 24px; background: var(--brand); border-radius: 50%; color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem; }
.clue-text { font-size: .88rem; }
.clue-item.hidden { opacity: 0; height: 0; overflow: hidden; padding: 0; margin: 0; border: none; }
.game-input-row { display: flex; gap: .6rem; }
.game-input-row input { flex: 1; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md); color: var(--text); padding: .55rem .9rem; font-size: .9rem; transition: border-color .15s; }
.game-input-row input:focus { outline: none; border-color: var(--gold); }
.game-feedback { margin-top: .75rem; padding: .55rem .9rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600; display: none; }
.game-feedback.correct { background: rgba(46,125,94,.25); color: #4ecb9a; border: 1px solid var(--green); display: block; }
.game-feedback.wrong   { background: rgba(139,26,44,.2); color: #e87a8a; border: 1px solid var(--brand); display: block; }
.game-feedback.reveal  { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); display: block; }
.game-end { text-align: center; padding: 1.5rem 0; }
.final-score { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--gold); }

/* INFOGRAPHIC SECTION */
.infographic-section { padding: 2.5rem 0; }
.infographic-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.infographic-credit { font-size: .72rem; color: var(--muted); margin-top: .75rem; text-align: right; }

/* MATCH CALENDAR */
.calendar-section { padding: 2.5rem 0; }
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .85rem; }
.match-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; transition: border-color .2s; }
.match-card:hover { border-color: var(--brand); }
.match-date-badge { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem; }
.match-league { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }
.match-teams { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
.match-vs { font-size: .7rem; color: var(--muted); font-weight: 400; }
.match-time { font-size: .75rem; color: var(--brand); font-weight: 600; }
.countdown-badge { display: inline-block; background: var(--brand); color: #fff; font-size: .65rem; padding: .1rem .45rem; border-radius: 20px; margin-top: .35rem; font-weight: 600; }

/* EKSTRAKLASA TABLE WIDGET */
.table-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.table-widget-title { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.league-badge { background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--radius); letter-spacing: .05em; }

/* TWO-COL HOMEPAGE LAYOUT */
.home-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; padding: 2.5rem 0; }
.home-main { min-width: 0; }
.home-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* SINGLE ARTICLE */
.single-main { padding: 2rem 0; }
.article-header { margin-bottom: 1.5rem; }
.article-cat { display: inline-block; background: var(--brand); color: #fff; padding: .2rem .65rem; border-radius: var(--radius); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; }
.article-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.article-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .6rem; flex-wrap: wrap; }
.article-hero { margin-bottom: 1.5rem; border-radius: var(--radius-md); overflow: hidden; }
.article-hero img { width: 100%; }
.article-hero figcaption { font-size: .75rem; color: var(--muted); padding: .4rem .5rem; background: var(--surface); }
.article-footer { border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 2rem; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.art-nav-prev, .art-nav-next { display: flex; flex-direction: column; gap: .25rem; max-width: 45%; }
.art-nav-next { text-align: right; margin-left: auto; }
.nav-dir { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.nav-title { font-family: var(--font-head); font-size: .9rem; color: var(--text); }
.art-nav-prev:hover .nav-title, .art-nav-next:hover .nav-title { color: var(--gold); }

/* RELATED POSTS */
.related-posts { margin-top: 2.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card { display: flex; flex-direction: column; gap: .5rem; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: border-color .2s; }
.related-card:hover { border-color: var(--brand); }
.related-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.related-title { font-family: var(--font-head); font-size: .88rem; color: var(--text); padding: .6rem .75rem; line-height: 1.3; }
.related-card:hover .related-title { color: var(--gold); }

/* PAGINATION */
.pagination { padding: 1.5rem 0; display: flex; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pagination a, .pagination .current { padding: .45rem .8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--text); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }

/* FOOTER */
.site-footer { background: var(--surface); border-top: 2px solid var(--brand); margin-top: 3rem; padding: 2.5rem 0 0; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem 2rem; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h3 { font-family: var(--font-head); font-size: .9rem; color: var(--gold); margin-bottom: .65rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { font-size: .83rem; color: var(--muted); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: .85rem 1.25rem; max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--text); }

/* ERROR PAGE */
.error-main { padding: 4rem 0; }
.error-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.error-icon { opacity: .5; }
.error-title { font-size: 6rem; color: var(--brand); line-height: 1; }
.error-msg { font-size: 1.1rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .home-grid { grid-template-columns: 1fr; }
  .home-sidebar { flex-direction: row; flex-wrap: wrap; }
  .home-sidebar > * { flex: 1 1 300px; }
  .tool-body { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
/* ==============================
   About / O nas page
   ============================== */
.about-hero { background: var(--surface); border-bottom: 3px solid var(--brand); padding: 3rem 0 2.5rem; }
.about-hero .page-title { font: 600 2.4rem/1.2 var(--font-head); color: var(--gold); margin-bottom: .6rem; }
.about-hero .page-intro { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; }
.about-wrap { padding: 3rem 1rem 4rem; display: flex; flex-direction: column; gap: 3.5rem; }
.about-mission h2, .about-team h2, .about-topics h2, .about-contact h2 { font: 600 1.6rem/1.2 var(--font-head); color: var(--gold); margin-bottom: 1rem; }
.about-mission p, .about-contact p { color: var(--text-muted); line-height: 1.8; max-width: 720px; }
.about-contact strong { color: var(--text); }

/* Stats row */
.stats-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.stat-item { background: var(--surface); border: 1px solid rgba(201,153,42,.15); border-radius: 8px; padding: 1.25rem 1.75rem; text-align: center; min-width: 120px; }
.stat-num { display: block; font: 700 2rem/1 var(--font-head); color: var(--gold); }
.stat-label { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .3rem; text-transform: uppercase; letter-spacing: .06em; }

/* Author card (large) */
.author-card--large { display: flex; gap: 2.5rem; align-items: flex-start; background: var(--surface); border-radius: 12px; padding: 2rem; border: 1px solid rgba(201,153,42,.15); }
.author-card__photo { flex-shrink: 0; width: 160px; height: 160px; border-radius: 50%; padding: 4px; background: conic-gradient(var(--gold) 0deg, var(--brand) 120deg, var(--gold) 240deg, var(--brand) 360deg); }
.author-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--bg); }
.author-card__name { font: 600 1.4rem/1.2 var(--font-head); color: var(--text); margin-bottom: .3rem; }
.author-card__role { display: block; font-size: .85rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.author-card__bio { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; font-size: .95rem; }
.author-card__meta { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.author-card__link { display: inline-block; color: var(--gold); font-size: .9rem; text-decoration: none; border-bottom: 1px solid rgba(201,153,42,.4); }
.author-card__link:hover { border-color: var(--gold); }

/* Topics grid */
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem; }
.topic-item { background: var(--surface); border-radius: 8px; padding: 1.5rem; border: 1px solid rgba(201,153,42,.1); }
.topic-item svg { stroke: var(--brand); margin-bottom: .75rem; }
.topic-item h3 { font: 600 1rem/1.2 var(--font-head); color: var(--text); margin-bottom: .5rem; }
.topic-item p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* Author bio on single post */
.post-author-bio { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); border-radius: 10px; padding: 1.5rem; margin-top: 2.5rem; border: 1px solid rgba(201,153,42,.12); }
.post-author-bio__avatar { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--gold) 0deg, var(--brand) 120deg, var(--gold) 240deg, var(--brand) 360deg); }
.post-author-bio__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--bg); }
.post-author-bio__name { font: 600 1rem/1 var(--font-head); color: var(--text); margin-bottom: .3rem; }
.post-author-bio__role { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .5rem; }
.post-author-bio__text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.post-author-bio a { color: var(--gold); text-decoration: none; }
.post-author-bio a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .articles-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: .75rem 0; border-bottom: 2px solid var(--brand); gap: 0; z-index: 200; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .hero-content { padding: 1.25rem 1rem; }
  .tool-row { grid-template-columns: 1fr 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .35rem; text-align: center; }
}
