/*
Theme Name: FX Capital Blog
Theme URI: https://fxcapitalindia.in/blog
Description: Professional blog theme for FX Capital India with treasury insights, market analysis, and case studies
Author: FX Capital India
Author URI: https://fxcapitalindia.in
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fxcapital-blog
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: blog, treasury, finance, responsive, dark, professional

FX Capital Blog Theme
Copyright 2026 FX Capital India

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
*/

/* ════════════════════════════════════════════════════════════════ */
/* RESET & VARIABLES                                               */
/* ════════════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  --navy: #0B1628;
  --navy-deep: #080f1c;
  --gold: #C9A84C;
  --gold-bright: #E6C976;
  --cream: #FAF7F2;
  --white: #fff;
  --ink: #0B1628;
  --muted: #4A5568;
  --line: rgba(11, 22, 40, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 20px rgba(11, 22, 40, 0.12);
  --shadow-lg: 0 14px 32px rgba(11, 22, 40, 0.18);
  --transition: all 0.3s ease;
}

/* ════════════════════════════════════════════════════════════════ */
/* TYPOGRAPHY & BASE STYLES                                        */
/* ════════════════════════════════════════════════════════════════ */

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════════════════════ */
/* SKIP LINK (ACCESSIBILITY)                                       */
/* ════════════════════════════════════════════════════════════════ */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 4px 0;
}

.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* ════════════════════════════════════════════════════════════════ */
/* TOP UTILITY BAR                                                 */
/* ════════════════════════════════════════════════════════════════ */

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--gold-bright);
}

.topbar svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════ */
/* NAVIGATION                                                      */
/* ════════════════════════════════════════════════════════════════ */

nav {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-star {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.nav-brand .name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
}

.nav-brand .tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-portal {
  font-size: 12.5px;
  padding: 8px 15px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-bright);
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn-portal:hover {
  background: rgba(201, 168, 76, 0.12);
}

.btn-portal.demo {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 500;
}

.btn-portal.demo:hover {
  background: var(--gold-bright);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.nav-menu-row {
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.nav-menu-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: inline-block;
  padding: 13px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--gold-bright);
}

.nav-menu > li > a.active {
  border-bottom: 2px solid var(--gold);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--navy-deep);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  min-width: 250px;
  padding: 8px 0;
  display: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.nav-menu > li:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-bright);
}

/* ════════════════════════════════════════════════════════════════ */
/* MOBILE MENU                                                     */
/* ════════════════════════════════════════════════════════════════ */

.mobile-menu {
  display: none;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.mobile-menu.open {
  display: block;
}

.mob-portals {
  display: flex;
  gap: 10px;
  padding: 16px 24px 8px;
}

.mob-portals a {
  flex: 1;
  text-align: center;
  font-size: 13px;
  padding: 10px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-bright);
}

.mob-portals a.demo {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 500;
}

.mobile-menu > a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu > a.sub {
  padding-left: 40px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-menu .mob-head {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 16px;
}

/* ════════════════════════════════════════════════════════════════ */
/* BLOG HERO SECTION                                               */
/* ════════════════════════════════════════════════════════════════ */

.blog-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 40px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.blog-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════ */
/* CATEGORIES SECTION                                              */
/* ════════════════════════════════════════════════════════════════ */

.categories-section {
  padding: 60px 40px;
  background: var(--cream);
}

.categories-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.categories-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 36px);
  color: var(--ink);
  margin-bottom: 44px;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.category-box {
  position: relative;
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  display: block;
  text-decoration: none;
}

.category-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 22, 40, 0.72) 0%, rgba(11, 22, 40, 0.48) 100%);
}

.category-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px;
  color: #fff;
}

.category-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.category-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.category-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin-bottom: 16px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-bright);
  text-decoration: none;
  transition: gap 0.2s;
}

.category-link:hover {
  gap: 10px;
}

.category-link::after {
  content: '→';
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════ */
/* FOOTER                                                          */
/* ════════════════════════════════════════════════════════════════ */

.page-footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 40px 32px;
}

.footer-cols {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-star {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 4px;
}

.footer-brand-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-social a:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.footer-social .linkedin { background: #0A66C2; }
.footer-social .x { background: #000; }
.footer-social .youtube { background: #FF0000; }
.footer-social .substack { background: #FF6719; }
.footer-social .facebook { background: #1877F2; }
.footer-social .whatsapp { background: #25D366; }

.footer-col-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

.sub-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 16px;
  margin-bottom: 8px;
}

.footer-copy {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy a:hover {
  color: var(--gold-bright);
}

/* ════════════════════════════════════════════════════════════════ */
/* FLOATING CTA BUTTON                                             */
/* ════════════════════════════════════════════════════════════════ */

.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
  transition: all 0.3s;
  z-index: 499;
  display: inline-block;
}

.float-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.5);
}

/* ════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                               */
/* ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-box {
    height: 320px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu > li > a {
    font-size: 13px;
    padding: 12px 0;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .topbar-inner {
    padding: 6px 20px;
    gap: 12px;
  }

  .nav-topbar,
  .nav-menu-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-hero {
    padding: 40px 20px;
  }

  .categories-section {
    padding: 40px 20px;
  }

  .float-cta {
    bottom: 16px;
    right: 16px;
    font-size: 13px;
    padding: 12px 18px;
  }
}

@media (max-width: 640px) {
  .hamburger {
    display: block;
  }

  .nav-menu-row {
    display: none;
  }

  .nav-menu-row.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-menu > li {
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .nav-menu > li > a {
    display: block;
    padding: 12px 0;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    flex-direction: column;
    text-align: center;
  }

  .category-box {
    height: 280px;
  }

  .category-name {
    font-size: 20px;
  }

  .category-desc {
    font-size: 13px;
  }

  .blog-hero h1 {
    font-size: clamp(24px, 4vw, 32px);
  }

  .categories-title {
    font-size: clamp(22px, 3vw, 28px);
  }
}

@media (max-width: 480px) {
  .nav-topbar {
    padding: 12px 16px;
    gap: 8px;
  }

  .nav-star {
    width: 40px;
    height: 40px;
  }

  .nav-brand .name {
    font-size: 18px;
  }

  .category-content {
    padding: 24px;
  }

  .category-name {
    font-size: 18px;
  }

  .category-icon {
    font-size: 28px;
  }

  .categories-section {
    padding: 30px 16px;
  }

  .blog-hero {
    padding: 30px 16px;
  }

  .float-cta {
    bottom: 12px;
    right: 12px;
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* ════════════════════════════════════════════════════════════════ */
/* UTILITY CLASSES                                                 */
/* ════════════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: BREADCRUMB                                             */
/* ════════════════════════════════════════════════════════════════ */

.breadcrumb {
  font-size: 13px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.crumb-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.crumb-current {
  color: var(--gold-bright);
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: CATEGORY ARCHIVE HERO                                  */
/* ════════════════════════════════════════════════════════════════ */

.archive-hero {
  background: var(--navy);
  color: #fff;
  padding: 50px 40px 46px;
  text-align: center;
}

.archive-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.archive-hero .breadcrumb {
  justify-content: center;
  display: flex;
  align-items: center;
}

.archive-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.archive-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.archive-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: ARCHIVE SECTION & ARTICLE GRID                         */
/* ════════════════════════════════════════════════════════════════ */

.archive-section {
  padding: 56px 40px 80px;
  background: var(--cream);
}

.archive-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.article-card-image-link {
  display: block;
}

.article-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}

.article-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.article-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-card-cat {
  color: var(--gold);
  font-weight: 500;
}

.article-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.article-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.article-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
}

.article-card-readmore::after {
  content: '→';
}

.article-card-readmore:hover {
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: PAGINATION                                              */
/* ════════════════════════════════════════════════════════════════ */

.archive-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.archive-pagination .page-numbers:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.archive-pagination .page-numbers.current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: EMPTY STATE                                             */
/* ════════════════════════════════════════════════════════════════ */

.archive-empty {
  text-align: center;
  padding: 60px 20px;
  max-width: 480px;
  margin: 0 auto;
}

.archive-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.archive-empty h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}

.archive-empty p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.archive-empty-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.archive-empty-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: SINGLE ARTICLE HERO                                    */
/* ════════════════════════════════════════════════════════════════ */

.post-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 60px 40px 50px;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,22,40,.88) 0%, rgba(11,22,40,.78) 100%);
}

.post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.post-breadcrumb {
  margin-bottom: 18px;
}

.post-hero-cat {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.post-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.post-hero-meta {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.meta-dot {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: SINGLE ARTICLE CONTENT                                 */
/* ════════════════════════════════════════════════════════════════ */

.post-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px 40px;
}

.post-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
}

.post-content p {
  margin-bottom: 22px;
}

.post-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--ink);
}

.post-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 14px;
  color: var(--ink);
}

.post-content ul,
.post-content ol {
  margin: 0 0 22px 22px;
}

.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-content img {
  border-radius: 6px;
  margin: 28px 0;
}

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
}

.post-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.post-content strong {
  font-weight: 500;
  color: var(--ink);
}

.post-tags-share {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
}

.post-cat-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: PREV/NEXT POST NAVIGATION                               */
/* ════════════════════════════════════════════════════════════════ */

.post-nav {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.post-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.post-nav-link {
  padding: 26px 40px;
  text-decoration: none;
  transition: var(--transition);
}

.post-nav-link:hover {
  background: rgba(201, 168, 76, 0.08);
}

.post-nav-prev {
  text-align: left;
  border-right: 1px solid var(--line);
}

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

.post-nav-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}

.post-nav-title {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: RELATED ARTICLES                                       */
/* ════════════════════════════════════════════════════════════════ */

.related-section {
  padding: 56px 40px 80px;
  background: var(--cream);
}

.related-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.related-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 32px;
  color: var(--ink);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ════════════════════════════════════════════════════════════════ */
/* PHASE 2: RESPONSIVE                                             */
/* ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .articles-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .archive-hero {
    padding: 40px 20px 36px;
  }

  .archive-section,
  .related-section {
    padding: 40px 20px 56px;
  }

  .post-hero {
    padding: 44px 20px 36px;
  }

  .post-content-wrap {
    padding: 40px 20px 30px;
  }

  .post-nav-link {
    padding: 20px 20px;
  }
}

@media (max-width: 640px) {
  .articles-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .post-nav-prev {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

  .post-content {
    font-size: 15.5px;
  }

  .related-title {
    font-size: 22px;
  }
}

/* ════════════════════════════════════════════════════════════════ */
/* END STYLESHEET                                                  */
/* ════════════════════════════════════════════════════════════════ */
