/*
 * eChina News — Master stylesheet
 * Consolidated from ana_sayfa.html + detay_tasarim_3_dergi.html
 * Section index:
 *   1. Design tokens (CSS variables, dark/light themes)
 *   2. Reset & base
 *   3. Hero + theme toggle
 *   4. Sticky nav bar (categories + search)
 *   5. Homepage main grid (article cards + pagination)
 *   6. Footer
 *   7. Detail page (breadcrumb, mod cards, paragraphs, related, comments)
 *   8. Utility classes
 *   9. Responsive breakpoints
 */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
	--bg-primary:        #0A1628;
	--bg-secondary:      #0D1B33;
	--bg-card:           rgba(255, 255, 255, 0.03);
	--bg-card-elevated:  rgba(255, 255, 255, 0.045);
	--bg-card-hover:     rgba(255, 255, 255, 0.06);
	--border-subtle:     rgba(249, 115, 22, 0.18);
	--border-medium:     rgba(249, 115, 22, 0.42);
	--border-strong:     rgba(249, 115, 22, 0.65);
	--gold:              #F97316;
	--gold-bright:       #FB923C;
	--gold-soft:         rgba(249, 115, 22, 0.1);
	--gold-deeper:       rgba(249, 115, 22, 0.18);
	--text-primary:      #E8EBF0;
	--text-secondary:    #9CA3AF;
	--text-tertiary:     #6B7280;
	--shadow-card:       0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
	--shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(249, 115, 22, 0.25);
	--shadow-glow:       0 0 24px rgba(249, 115, 22, 0.2);
	--shadow-glow-strong: 0 0 40px rgba(249, 115, 22, 0.4), 0 0 16px rgba(249, 115, 22, 0.25);
	--font-serif:        'Playfair Display', Georgia, serif;
	--font-sans:         'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--max-w:             1500px;
	--gutter:            32px;
}

/* Light theme override — toggled via [data-theme="light"] on <html> or
   .echina-theme-light on <body> (server-side via PHP cookie). */
[data-theme="light"],
.echina-theme-light {
	--bg-primary:        #F5F1E8;
	--bg-secondary:      #FAF6ED;
	--bg-card:           rgba(255, 255, 255, 0.7);
	--bg-card-elevated:  rgba(255, 255, 255, 0.9);
	--bg-card-hover:     rgba(255, 255, 255, 1);
	--border-subtle:     rgba(194, 65, 12, 0.22);
	--border-medium:     rgba(194, 65, 12, 0.5);
	--border-strong:     rgba(194, 65, 12, 0.7);
	--gold:              #C2410C;
	--gold-bright:       #EA580C;
	--gold-soft:         rgba(194, 65, 12, 0.08);
	--gold-deeper:       rgba(194, 65, 12, 0.15);
	--text-primary:      #1A1A1A;
	--text-secondary:    #4A4A4A;
	--text-tertiary:     #6B6B6B;
	--shadow-card:       0 8px 28px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
	--shadow-card-hover: 0 18px 50px rgba(194, 65, 12, 0.2), 0 0 30px rgba(194, 65, 12, 0.15);
	--shadow-glow:       0 0 22px rgba(194, 65, 12, 0.25);
	--shadow-glow-strong: 0 0 32px rgba(194, 65, 12, 0.4);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	font-family: var(--font-sans);
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	transition: background 0.4s ease, color 0.4s ease;
	overflow-x: hidden;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
		radial-gradient(circle at 85% 60%, rgba(249, 115, 22, 0.03) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* WP-specific defaults */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. HERO + THEME TOGGLE (homepage / archive only)
   ========================================================================== */
.hero {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	border-bottom: 1px solid var(--border-subtle);
	padding: 60px var(--gutter) 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	opacity: 0.6;
	z-index: 0;
}
[data-theme="light"] .hero-bg,
.echina-theme-light .hero-bg {
	opacity: 0.6;
	filter: sepia(0.55) saturate(1.35) brightness(0.85) hue-rotate(-12deg);
}

.hero-bg::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(10, 22, 40, 0.15) 0%,
		rgba(10, 22, 40, 0.10) 40%,
		rgba(10, 22, 40, 0.55) 88%,
		var(--bg-primary) 100%);
}
[data-theme="light"] .hero-bg::after,
.echina-theme-light .hero-bg::after {
	background: linear-gradient(180deg,
		rgba(245, 241, 232, 0.25) 0%,
		rgba(245, 241, 232, 0.15) 45%,
		rgba(245, 241, 232, 0.7)  92%,
		var(--bg-primary) 100%);
}

.hero-corner {
	position: absolute;
	width: 60px; height: 60px;
	border: 2px solid var(--gold);
	opacity: 0.6;
	z-index: 2;
}
.hero-corner.tl { top: 20px; left: 24px;  border-right: none; border-bottom: none; }
.hero-corner.tr { top: 20px; right: 24px; border-left: none;  border-bottom: none; }

.hero-content { position: relative; z-index: 3; }

.hero-logo {
	font-family: var(--font-serif);
	font-size: clamp(40px, 5.5vw, 72px);
	font-weight: 700;
	letter-spacing: -2px;
	line-height: 1;
	color: var(--gold);
	text-shadow: 0 0 32px rgba(249, 115, 22, 0.5), 0 2px 12px rgba(0, 0, 0, 0.6);
	margin-bottom: 14px;
}
[data-theme="light"] .hero-logo,
.echina-theme-light .hero-logo {
	text-shadow: 0 0 30px rgba(194, 65, 12, 0.3);
}

.hero-subtitle {
	font-family: var(--font-serif);
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 400;
	color: var(--text-primary);
	letter-spacing: 0.5px;
}

.theme-toggle {
	position: absolute;
	top: 24px; right: 100px;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-medium);
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	z-index: 10;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.theme-toggle:hover {
	transform: scale(1.08) rotate(15deg);
	box-shadow: var(--shadow-glow-strong);
}

/* When there's no big hero (detail/single pages), the theme toggle floats
   in the nav bar instead. The .theme-toggle--in-nav modifier handles that. */
.theme-toggle--in-nav {
	position: relative;
	top: auto; right: auto;
	width: 36px; height: 36px;
	flex-shrink: 0;
}

/* ==========================================================================
   4. STICKY NAV BAR (categories + search) — universal
   ========================================================================== */
.nav-bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 22, 40, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-subtle);
	transition: background 0.4s ease;
}
[data-theme="light"] .nav-bar,
.echina-theme-light .nav-bar { background: rgba(245, 241, 232, 0.92); }

.nav-inner {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 16px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.nav-categories {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
	flex: 1;
}

.nav-cat {
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 1px;
	color: var(--text-secondary);
	padding: 10px 14px;
	border-radius: 6px;
	transition: all 0.25s ease;
	position: relative;
	background: transparent;
	border: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	display: inline-block;
}
.nav-cat:hover {
	color: var(--gold-bright);
	background: var(--gold-soft);
}
.nav-cat.is-active,
.nav-cat.active { color: var(--gold); }
.nav-cat.is-active::after,
.nav-cat.active::after {
	content: '';
	position: absolute;
	bottom: 0; left: 14px; right: 14px;
	height: 2px;
	background: var(--gold);
	box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
	border-radius: 2px;
}

.search-wrap {
	position: relative;
	width: 300px;
	flex-shrink: 0;
}
.search-input {
	width: 100%;
	padding: 11px 16px 11px 42px;
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-primary);
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	transition: all 0.25s ease;
}
.search-input::placeholder { color: var(--text-tertiary); }
.search-input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-glow);
	background: var(--bg-card-hover);
}
.search-icon {
	position: absolute;
	left: 14px; top: 50%;
	transform: translateY(-50%);
	color: var(--gold);
	pointer-events: none;
	display: flex;
}

/* ==========================================================================
   5. HOMEPAGE MAIN GRID
   ========================================================================== */
.echina-main {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 40px var(--gutter) 80px;
}

.results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border-subtle);
	flex-wrap: wrap;
	gap: 12px;
}
.results-count {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-secondary);
	letter-spacing: 0.3px;
}
.results-count strong { color: var(--gold); font-weight: 700; }

.sort-dropdown {
	font-family: var(--font-sans);
	font-size: 12px;
	color: var(--text-secondary);
	background: transparent;
	border: 1px solid var(--border-subtle);
	border-radius: 6px;
	padding: 7px 12px;
	cursor: pointer;
	transition: all 0.25s ease;
}
.sort-dropdown:hover {
	border-color: var(--border-medium);
	color: var(--gold);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.article-card {
	position: relative;
	background: var(--bg-card-elevated);
	border: 2px solid #F97316;
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	box-shadow: var(--shadow-card);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.4s ease,
	            border-color 0.25s ease,
	            border-width 0.25s ease;
	display: flex;
	flex-direction: column;
}
.article-card:hover {
	transform: translateY(-6px);
	border-color: #F97316;
	border-width: 4px;
	/* Compensate for the 2px border growth so layout doesn't reflow. */
	margin: -2px;
	box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15),
	            0 12px 28px rgba(249, 115, 22, 0.35),
	            var(--shadow-card-hover);
}
.article-card:hover .article-image img { transform: scale(1.06); }
.article-card:hover .article-title { color: var(--gold); }

.article-image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg-secondary);
}
.article-image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-badge {
	position: absolute;
	top: 12px; left: 12px;
	background: rgba(10, 22, 40, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--gold);
	font-family: var(--font-sans);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px 10px;
	border: 1px solid var(--border-medium);
	border-radius: 4px;
	z-index: 2;
}
[data-theme="light"] .article-badge,
.echina-theme-light .article-badge { background: rgba(255, 255, 255, 0.92); }

.article-badge.premium {
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
	color: #0A1628;
	border-color: var(--gold-bright);
	box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
}

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

.article-cat {
	font-family: var(--font-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 10px;
}

.article-title {
	font-family: var(--font-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.28;
	color: var(--text-primary);
	margin-bottom: 12px;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-excerpt {
	font-family: var(--font-sans);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--text-secondary);
	margin-bottom: 16px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-sans);
	font-size: 12px;
	color: var(--text-tertiary);
	padding-top: 14px;
	border-top: 1px solid var(--border-subtle);
}
.article-meta svg { color: var(--gold); flex-shrink: 0; }

/* Pagination */
.pagination, .echina-pagination {
	margin-top: 56px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.page-btn, .echina-pagination a, .echina-pagination span {
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	color: var(--text-secondary);
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-decoration: none;
}
.page-btn:hover:not(.active):not(:disabled),
.echina-pagination a:hover {
	color: var(--gold);
	border-color: var(--border-medium);
	background: var(--bg-card-hover);
	transform: translateY(-1px);
}
.page-btn.active,
.echina-pagination .current {
	color: #0A1628;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
	border-color: var(--gold);
	box-shadow: var(--shadow-glow);
}
[data-theme="light"] .page-btn.active,
[data-theme="light"] .echina-pagination .current,
.echina-theme-light .page-btn.active,
.echina-theme-light .echina-pagination .current { color: #FFF; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-dots { color: var(--text-tertiary); padding: 0 4px; font-weight: 600; }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.site-footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-subtle);
	padding: 50px var(--gutter) 30px;
	text-align: center;
}
.footer-logo {
	font-family: var(--font-serif);
	font-size: 28px;
	font-weight: 700;
	color: var(--gold);
	margin-bottom: 8px;
}
.footer-tagline {
	font-family: var(--font-serif);
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 28px;
}
.footer-links {
	display: flex;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.footer-links a {
	font-family: var(--font-sans);
	font-size: 12.5px;
	color: var(--text-secondary);
	letter-spacing: 0.5px;
	transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
	font-family: var(--font-sans);
	font-size: 11.5px;
	color: var(--text-tertiary);
	padding-top: 24px;
	border-top: 1px solid var(--border-subtle);
	max-width: var(--max-w);
	margin: 0 auto;
}

/* ==========================================================================
   7. DETAIL PAGE — Dergi (Card-Heavy) layout
   ========================================================================== */

/* === BREADCRUMB === */
  .breadcrumb {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 32px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
  }
  .breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color 0.25s ease; }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb .current { color: var(--gold); }
  .breadcrumb .sep { color: var(--text-tertiary); }

  
/* === MAIN GRID === */
  .container {
    max-width: 1500px;
    margin: 24px auto 80px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  
/* === CARD BASE === */
  .mod-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    position: relative;
  }
  .mod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--gold-deeper), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .mod-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-medium);
  }
  .mod-card:hover::before { opacity: 1; }

  
/* === HERO CARD === */
  .hero-card {
    height: 460px;
    position: relative;
    border-radius: 20px;
  }
  .hero-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.85) 100%),
      linear-gradient(135deg, rgba(10,22,40,0.4) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-overlay-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10,22,40,0.7);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
  }
  .hero-overlay-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
  }
  .hero-bottom-bar {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #DDD;
    font-size: 13px;
    flex-wrap: wrap;
  }
  .hero-bottom-bar > div { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;}
  .hero-bottom-bar svg { color: var(--gold); }
  .hero-bottom-bar .item { display: inline-flex; align-items: center; gap: 6px; }

  
/* === HEADER ROW === */
  .header-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }

  .title-card {
    padding: 40px 44px;
  }
  .title-card .cat {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  .title-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .title-card .deco-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
  }
  .title-card .deco-line::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
  }

  .meta-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .meta-card .label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .meta-row { display: flex; align-items: center; gap: 12px; }
  .meta-row svg { color: var(--gold); flex-shrink: 0; }
  .meta-row strong { color: var(--text-primary); font-weight: 600; }
  .author-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
  }
  .author-mini .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
  }

  
/* === CONTENT GRID === */
  .content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
  }

  .content-stack {
    display: grid;
    gap: 20px;
  }

  
/* === PARAGRAPH CARDS - DERGI === */
  .para-card {
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
  }
  .para-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    text-align: center;
    background: var(--gold-soft);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.4s ease;
  }
  .para-card:hover .num {
    background: var(--gold);
    color: var(--bg-primary);
    transform: rotate(-3deg) scale(1.05);
  }
  .para-card .text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
  }

  /* Wide paragraph (variation) */
  .para-card.wide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px;
  }
  .para-card.wide .num {
    margin: 0 auto 16px;
    font-size: 72px;
    width: 100px;
  }
  .para-card.wide .text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    max-width: 680px;
    margin: 0 auto;
  }

  
/* === SIDEBAR === */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    align-self: start;
  }

  .related-card-wrap {
    padding: 24px;
  }
  .section-h {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .section-h h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
  }
  .section-h .view-all {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.25s ease;
  }
  .section-h .view-all:hover { opacity: 0.75; }

  .related-grid {
    display: grid;
    gap: 14px;
  }
  .related-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
  }
  .related-card:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-elevated);
    box-shadow: var(--shadow-glow);
    transform: translateX(2px);
  }
  .related-card img {
    width: 90px; height: 70px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
  }
  .related-card:hover img { transform: scale(1.04); }
  .related-card .rc-title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
    transition: color 0.25s ease;
  }
  .related-card:hover .rc-title { color: var(--gold); }
  .related-card .rc-meta {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
  }

  .ad-card {
    padding: 24px;
    text-align: center;
  }
  .ad-card .label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 14px;
  }
  .ad-card .promo-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .ad-card .promo-title span { color: var(--gold); }
  .ad-card .promo-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .ad-card .btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
  }
  .ad-card .btn:hover { box-shadow: var(--shadow-glow-strong); transform: translateY(-1px); }

  
/* === COMMENTS CARD === */
  .comments-card {
    padding: 36px;
  }
  .comm-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .comm-h h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
  }
  .comm-h h3 span { color: var(--gold); }
  .comm-controls { display: flex; align-items: center; gap: 14px; }
  .comm-controls select {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 7px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
  }
  .btn-add {
    padding: 9px 18px;
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-add:hover { box-shadow: var(--shadow-glow-strong); transform: translateY(-1px); }

  .comments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .comment-mini {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.35s ease;
  }
  .comment-mini:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
  }
  .cm-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
  .cm-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    flex-shrink: 0;
  }
  .cm-name { font-size: 13px; font-weight: 600; color: var(--gold); }
  .cm-time { font-size: 11px; color: var(--text-tertiary); }
  .cm-body { font-size: 14px; color: var(--text-primary); line-height: 1.55; margin-bottom: 12px; }
  .cm-actions { display: flex; gap: 14px; font-size: 11px; color: var(--text-secondary); }
  .cm-actions button {
    background: none; border: none; color: inherit; cursor: pointer;
    font-family: inherit; font-size: inherit;
    display: inline-flex; align-items: center; gap: 4px;
    transition: color 0.2s ease;
  }
  .cm-actions button:hover { color: var(--gold); }

  

/* === DETAIL PAGE RESPONSIVE === */
/* === RESPONSIVE === */
  @media (max-width: 1024px) {
    .header-row { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .nav { display: none; }
    .comments-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .container, .header-inner, .breadcrumb { padding-left: 16px; padding-right: 16px; }
    .hero-card { height: 280px; border-radius: 14px; }
    .title-card { padding: 24px; }
    .para-card { padding: 20px; grid-template-columns: 60px 1fr; gap: 14px; }
    .para-card .num { font-size: 36px; padding: 8px; }
    .para-card.wide .text { font-size: 17px; }
    .meta-card, .related-card-wrap, .comments-card, .ad-card { padding: 20px; }
    .header-row { gap: 16px; }
    .container { gap: 16px; }
  }


/* ==========================================================================
   8. UTILITY CLASSES
   ========================================================================== */
.echina-hidden { display: none !important; }
.echina-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.3s ease; }

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
	.news-grid { grid-template-columns: repeat(3, 1fr); }
	.search-wrap { width: 100%; order: -1; }
}
@media (max-width: 880px) {
	.news-grid { grid-template-columns: repeat(2, 1fr); }
	.hero { min-height: 260px; padding: 50px 20px 30px; }
	.nav-inner { padding: 14px 20px; gap: 12px; }
	.nav-categories {
		gap: 2px;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 4px;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.nav-categories::-webkit-scrollbar { display: none; }
	.nav-cat { font-size: 11.5px; padding: 9px 11px; }
	.echina-main { padding: 28px 20px 60px; }
	.theme-toggle { right: 20px; top: 18px; }
	.hero-corner { width: 40px; height: 40px; }
	.container { padding: 24px 20px 60px; gap: 28px; }
	.title-card { padding: 24px 24px; }
	.para-card { padding: 24px 24px; gap: 16px; }
	.para-card .num { font-size: 42px; min-width: 48px; }
	.comments-section { padding: 24px 20px; }
}
@media (max-width: 560px) {
	.news-grid { grid-template-columns: 1fr; gap: 18px; }
	.hero-logo { font-size: 52px; }
	.hero-subtitle { font-size: 16px; }
	.results-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================================
   10. COMMENT FORM (WP native fields, styled to match Dergi cards)
   ========================================================================== */
.comment-form-echina {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.comment-form-echina .comment-form-author,
.comment-form-echina .comment-form-email,
.comment-form-echina .comment-form-comment {
	margin: 0;
}
.comment-form-echina input[type="text"],
.comment-form-echina input[type="email"],
.comment-form-echina input[type="url"],
.comment-form-echina textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--text-primary);
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 6px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.comment-form-echina textarea {
	min-height: 100px;
	resize: vertical;
	font-family: var(--font-sans);
	line-height: 1.5;
}
.comment-form-echina input:focus,
.comment-form-echina textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-soft);
	background: var(--bg-card-hover);
}
.comment-form-echina input::placeholder,
.comment-form-echina textarea::placeholder {
	color: var(--text-tertiary);
}
.comment-form-echina .form-submit { margin: 4px 0 0; }
.comment-form-echina .form-submit button:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-glow-strong);
}
.comment-form-echina .comment-notes,
.comment-form-echina .comment-form-cookies-consent { display: none; }

/* "Reply" form when threaded */
#cancel-comment-reply-link {
	color: var(--text-tertiary);
	font-size: 12px;
	margin-left: 12px;
	text-decoration: none;
}
#cancel-comment-reply-link:hover { color: var(--gold); }

/* The comment-respond container WP wraps around the form */
.comment-respond .comment-reply-title {
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 14px;
}

/* Threaded reply nesting — WP's <div class="children"> */
.comment-mini .children {
	margin-top: 12px;
	padding-left: 18px;
	border-left: 2px solid var(--border-subtle);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Subtle pings/trackbacks (rare but possible) */
.comment-mini.pingback,
.comment-mini.trackback {
	font-size: 12px;
	color: var(--text-tertiary);
	font-style: italic;
}

/* ==========================================================================
   11. AUTH FORMS + ACCOUNT DASHBOARD + PAYWALL (Phase 6)
   ========================================================================== */

/* Generic auth card — used on /login/, /signup/ pages */
.echina-auth-card {
	max-width: 460px;
	margin: 60px auto;
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	padding: 44px 40px;
	box-shadow: var(--shadow-card);
	text-align: center;
}
.echina-auth-icon {
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold-deeper));
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-glow);
}
.echina-auth-card h2 {
	font-family: var(--font-serif);
	font-size: 28px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}
.echina-auth-sub {
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-secondary);
	margin-bottom: 24px;
}

.echina-auth-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}
.echina-auth-form input[type="email"] {
	width: 100%;
	padding: 14px 18px;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--text-primary);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	text-align: center;
}
.echina-auth-form input[type="email"]:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-soft);
}
.echina-auth-form input[type="email"]::placeholder { color: var(--text-tertiary); }

.echina-auth-alt {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-secondary);
	margin-top: 16px;
}
.echina-auth-alt a { color: var(--gold); font-weight: 600; }
.echina-auth-alt a:hover { text-decoration: underline; }

.echina-auth-tos {
	font-family: var(--font-sans);
	font-size: 11.5px;
	color: var(--text-tertiary);
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--border-subtle);
	line-height: 1.5;
}
.echina-auth-tos a { color: var(--text-secondary); text-decoration: underline; }
.echina-auth-tos a:hover { color: var(--gold); }

/* Generic notice block (used by auth + future flows) */
.echina-notice {
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
	font-family: var(--font-sans);
	font-size: 13.5px;
	line-height: 1.5;
	text-align: left;
}
.echina-notice.success {
	background: rgba(76, 175, 80, 0.08);
	border: 1px solid rgba(76, 175, 80, 0.3);
	color: #6FCF7B;
}
.echina-notice.error {
	background: rgba(244, 67, 54, 0.08);
	border: 1px solid rgba(244, 67, 54, 0.35);
	color: #F08080;
}

/* Big primary CTA button used in auth + paywall + dashboard */
.paywall-btn {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--text-primary);
	background: transparent;
	border: 1px solid var(--border-medium);
	padding: 13px 26px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: center;
	text-decoration: none;
}
.paywall-btn:hover {
	color: var(--gold);
	border-color: var(--gold);
	transform: translateY(-1px);
}
.paywall-btn.primary {
	color: #0A1628;
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
	border-color: var(--gold);
	box-shadow: var(--shadow-glow);
}
.paywall-btn.primary:hover {
	color: #0A1628;
	box-shadow: var(--shadow-glow-strong);
}
[data-theme="light"] .paywall-btn.primary,
.echina-theme-light .paywall-btn.primary { color: #FFF; }
[data-theme="light"] .paywall-btn.primary:hover,
.echina-theme-light .paywall-btn.primary:hover { color: #FFF; }

/* === ACCOUNT DASHBOARD === */
.echina-account-grid {
	max-width: 1100px;
	margin: 60px auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
@media (max-width: 700px) {
	.echina-account-grid { grid-template-columns: 1fr; padding: 0 20px; margin: 32px auto; }
}
.echina-account-card { padding: 32px 28px; text-align: center; }
.acc-avatar {
	width: 72px; height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
	color: #0A1628;
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: 28px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-glow);
}
.echina-account-card h2 {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 4px;
}
.acc-email {
	font-family: var(--font-sans);
	font-size: 13.5px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}
.acc-since {
	font-family: var(--font-sans);
	font-size: 11.5px;
	color: var(--text-tertiary);
	margin-bottom: 18px;
}
.acc-status-row {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.acc-status {
	font-family: var(--font-sans);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	padding: 5px 11px;
	border-radius: 100px;
}
.acc-status.premium {
	color: #0A1628;
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
}
.acc-status.free {
	color: var(--text-secondary);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
}
.acc-status.verified {
	color: #6FCF7B;
	background: rgba(76, 175, 80, 0.08);
	border: 1px solid rgba(76, 175, 80, 0.25);
}
.acc-status.unverified {
	color: #F08080;
	background: rgba(244, 67, 54, 0.08);
	border: 1px solid rgba(244, 67, 54, 0.25);
}

/* === PAYWALL CARD === */
.paywall-card {
	padding: 50px 40px !important;
	text-align: center;
	background: linear-gradient(135deg,
		rgba(249, 115, 22, 0.06) 0%,
		rgba(249, 115, 22, 0.02) 100%) !important;
	border-color: var(--border-medium) !important;
	border-style: solid;
	border-width: 1px;
}
.paywall-lock {
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold-deeper));
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-glow);
}
.paywall-label {
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--gold);
	margin-bottom: 12px;
}
.paywall-title {
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 12px;
	line-height: 1.25;
	letter-spacing: -0.4px;
}
.paywall-desc {
	font-family: var(--font-sans);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 26px;
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}
.paywall-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* Nav account button (login/avatar) */
.nav-account {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-family: var(--font-sans);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gold);
	background: var(--gold-soft);
	border: 1px solid var(--border-medium);
	border-radius: 6px;
	transition: all 0.25s ease;
	flex-shrink: 0;
	white-space: nowrap;
}
.nav-account:hover {
	color: var(--gold-bright);
	background: var(--gold-deeper);
	box-shadow: var(--shadow-glow);
	transform: translateY(-1px);
}
.nav-account svg { color: var(--gold); flex-shrink: 0; }
.nav-account--guest { padding: 8px 16px; }

/* ==========================================================================
   12. ADMIN-BAR COMPATIBILITY (Hotfix v1.0.1)
   ========================================================================== */
/* When WP admin bar is visible, push the hero down so the logo/toggle/corners
   don't get clipped by the 32px (or 46px on mobile) admin bar. */
.admin-bar .hero {
	padding-top: 92px;            /* 60 base + 32 admin bar */
}
.admin-bar .hero-corner.tl,
.admin-bar .hero-corner.tr {
	top: 52px;                    /* 20 base + 32 admin bar */
}
.admin-bar .theme-toggle {
	top: 56px;                    /* 24 base + 32 admin bar */
}
@media (max-width: 782px) {
	.admin-bar .hero { padding-top: 96px; }     /* admin bar 46px on mobile */
	.admin-bar .hero-corner.tl,
	.admin-bar .hero-corner.tr { top: 66px; }
	.admin-bar .theme-toggle { top: 70px; }
}

/* Sticky nav: account for admin bar height so it doesn't slide UNDER the bar. */
.admin-bar .nav-bar { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .nav-bar { top: 46px; }
}

/* Detail page: breadcrumb top offset under admin bar. */
.admin-bar .breadcrumb { margin-top: 36px; }

/* ==========================================================================
   13. DETAIL-PAGE BANNER (Hotfix v1.0.2)
   Full-bleed Shanghai skyline at the top of single-haber pages,
   with a pill-style breadcrumb overlaid in the top-left.
   ========================================================================== */
.detail-banner {
	position: relative;
	height: 240px;
	overflow: hidden;
	border-bottom: 1px solid var(--border-subtle);
	display: flex;
	align-items: flex-start;
	padding: 28px 32px;
}
.detail-banner-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 60%;
	background-repeat: no-repeat;
	z-index: 0;
}
.detail-banner-bg::after {
	/* Thin top vignette so the breadcrumb pill stays readable */
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(10, 22, 40, 0.5) 0%,
		rgba(10, 22, 40, 0.05) 28%,
		rgba(10, 22, 40, 0)    60%,
		rgba(10, 22, 40, 0.4)  100%);
	pointer-events: none;
}
[data-theme="light"] .detail-banner-bg,
.echina-theme-light .detail-banner-bg {
	filter: sepia(0.45) saturate(1.25) brightness(0.9) hue-rotate(-10deg);
}
[data-theme="light"] .detail-banner-bg::after,
.echina-theme-light .detail-banner-bg::after {
	background: linear-gradient(180deg,
		rgba(245, 241, 232, 0.45) 0%,
		rgba(245, 241, 232, 0.05) 28%,
		rgba(245, 241, 232, 0)    60%,
		rgba(245, 241, 232, 0.45) 100%);
}

/* Pill-style breadcrumb shown on the banner */
.breadcrumb--pill {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 18px;
	background: rgba(10, 22, 40, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-medium);
	border-radius: 100px;
	font-family: var(--font-sans);
	font-size: 12.5px;
	letter-spacing: 0.3px;
}
[data-theme="light"] .breadcrumb--pill,
.echina-theme-light .breadcrumb--pill { background: rgba(255, 255, 255, 0.75); }
.breadcrumb--pill a {
	color: var(--text-primary);
	text-decoration: none;
	transition: color 0.25s ease;
}
.breadcrumb--pill a:hover { color: var(--gold); }
.breadcrumb--pill .sep { color: var(--gold); opacity: 0.7; }
.breadcrumb--pill .current { color: var(--gold); font-weight: 600; }

@media (max-width: 880px) {
	.detail-banner { height: 160px; padding: 20px; }
	.breadcrumb--pill { font-size: 11.5px; padding: 8px 14px; }
}

/* Container needs less top margin now that the banner ate it */
.detail-banner + .container { margin-top: 32px; }

/* ==========================================================================
   14. AUTH FORM v2 — password field + show/hide toggle (Phase 9)
   ========================================================================== */
.echina-auth-form input[type="email"],
.echina-auth-form input[type="password"],
.echina-auth-form input[type="text"] {
	width: 100%;
	padding: 14px 18px;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--text-primary);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	text-align: center;
}
.echina-auth-form input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-soft);
}
.echina-auth-form input::placeholder { color: var(--text-tertiary); }

/* Password input + eye toggle */
.echina-pwd-wrap {
	position: relative;
}
.echina-pwd-wrap input[type="password"],
.echina-pwd-wrap input[type="text"] {
	padding-right: 48px;          /* leave space for the toggle button */
}
.echina-pwd-toggle {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	color: var(--text-tertiary);
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, background 0.2s ease;
}
.echina-pwd-toggle:hover {
	color: var(--gold);
	background: var(--gold-soft);
}
.echina-pwd-toggle.is-on { color: var(--gold); }

.echina-pwd-hint {
	font-family: var(--font-sans);
	font-size: 11.5px;
	color: var(--text-tertiary);
	margin: -6px 0 4px;
	text-align: left;
	padding-left: 4px;
}

/* Pro variant card has a subtle gold border + glow accent */
.echina-auth-card--pro {
	border-color: var(--border-medium);
	box-shadow: var(--shadow-card), 0 0 30px rgba(249, 115, 22, 0.12);
}
.echina-auth-card--pro .echina-auth-icon {
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
	color: #0A1628;
}

/* Pro variant of the primary button — slightly more saturated glow */
.paywall-btn.primary.pro {
	box-shadow: 0 0 24px rgba(249, 115, 22, 0.45),
	            0 4px 14px rgba(249, 115, 22, 0.25);
}

/* Resend-verification inline form */
.echina-resend-form button { width: auto; padding: 10px 18px; font-size: 11.5px; }

/* ==========================================================================
   15. NAV BUTTONS v2 — Member Login / Pro Login / Avatar / Logout
   ========================================================================== */
.nav-account.nav-account--member,
.nav-account.nav-account--pro {
	min-width: 110px;
	justify-content: center;
	padding: 8px 16px;
}

.nav-account.nav-account--member {
	color: #000;
	background: #E3E3E6;
	border: 1px solid #E3E3E6;
}
.nav-account.nav-account--member:hover {
	color: #000;
	background: #FFF;
	border-color: #FFF;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav-account.nav-account--pro {
	color: #0A1628;
	background: linear-gradient(135deg, var(--gold), var(--gold-bright));
	border-color: var(--gold);
	box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}
.nav-account.nav-account--pro:hover {
	box-shadow: 0 0 18px rgba(249, 115, 22, 0.55), 0 -1px 0 rgba(255,255,255,0.15) inset;
	transform: translateY(-1px);
}
[data-theme="light"] .nav-account.nav-account--pro,
.echina-theme-light .nav-account.nav-account--pro { color: #FFF; }

.nav-account.nav-account--logout {
	color: var(--text-secondary);
	background: transparent;
	border: 1px solid var(--border-subtle);
}
.nav-account.nav-account--logout:hover {
	color: #F08080;
	border-color: rgba(244, 67, 54, 0.4);
	background: rgba(244, 67, 54, 0.06);
}

/* Pro user's avatar gets the gold ring treatment */
.nav-account.nav-account--pro-user {
	color: var(--gold);
	background: var(--gold-soft);
	border-color: var(--gold);
	box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.18);
}

/* On smaller screens, allow these buttons to wrap below categories */
@media (max-width: 880px) {
	.nav-account { font-size: 10.5px; padding: 7px 10px; }
}

/* ==========================================================================
   16. STATIC PAGE TEMPLATE (page.php)
   ========================================================================== */
.echina-page { padding-top: 24px; }
.echina-page-article { max-width: 100%; }
.echina-page-header {
	max-width: 740px;
	margin: 0 auto 28px;
	padding: 0 var(--gutter);
}
.echina-page-title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.5px;
	line-height: 1.2;
}
.echina-page-content {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-secondary);
}
.echina-page-content p { margin-bottom: 1.2em; }
.echina-page-content h2,
.echina-page-content h3 {
	font-family: var(--font-serif);
	color: var(--text-primary);
	margin: 1.6em 0 0.5em;
	letter-spacing: -0.3px;
}
.echina-page-content h2 { font-size: 26px; }
.echina-page-content h3 { font-size: 21px; }
.echina-page-content a {
	color: var(--gold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.echina-page-content a:hover { color: var(--gold-bright); }

/* When the page IS a shortcode, the shortcode owns its own layout — strip the
   container constraints so the auth card can center itself naturally. */
.echina-page-content > .echina-auth-card,
.echina-page-content > .echina-account-grid {
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

/* Generic empty-state block (used by index.php fallback) */
.empty-state-card {
	max-width: 480px;
	margin: 60px auto;
	padding: 48px 36px;
	text-align: center;
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	box-shadow: var(--shadow-card);
}
.empty-state-icon {
	width: 64px; height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--gold-soft);
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
}
.empty-state-title {
	font-family: var(--font-serif);
	font-size: 22px;
	color: var(--text-primary);
	margin-bottom: 8px;
}
.empty-state-desc {
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--text-secondary);
}

/* ==========================================================================
   17. NAVIGATION — "MORE" DROPDOWN (v1.2.0)
   ========================================================================== */
.nav-more {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.nav-more-btn {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	font: inherit;
	color: inherit;
	padding: 0;
	/* inherits .nav-cat: padding/font/letter-spacing/border-bottom on hover */
}

.nav-more-chevron {
	transition: transform 0.2s ease;
	color: var(--text-tertiary);
	margin-top: 1px;
}
.nav-more-btn:hover .nav-more-chevron,
.nav-more-btn.is-active .nav-more-chevron,
.nav-more-btn[aria-expanded="true"] .nav-more-chevron {
	color: var(--gold);
}
.nav-more-btn[aria-expanded="true"] .nav-more-chevron {
	transform: rotate(180deg);
}

/* Dropdown panel */
.nav-more-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%) translateY(-4px);
	min-width: 180px;
	padding: 6px;
	background: var(--bg-card-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	box-shadow: var(--shadow-card), 0 8px 28px rgba(0, 0, 0, 0.35);
	display: none;
	flex-direction: column;
	gap: 2px;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-more-dropdown[data-open="true"] {
	display: flex;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Subtle pointer arrow above the panel */
.nav-more-dropdown::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 10px;
	height: 10px;
	background: var(--bg-card-elevated);
	border-left: 1px solid var(--border-subtle);
	border-top: 1px solid var(--border-subtle);
}

/* Items inside the dropdown */
.nav-more-item {
	display: block !important;
	padding: 10px 14px !important;
	border-radius: 7px;
	border-bottom: none !important;       /* override the underline-on-hover */
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--text-secondary) !important;
	text-align: left;
	white-space: nowrap;
}
.nav-more-item:hover,
.nav-more-item.is-active {
	background: var(--gold-soft);
	color: var(--gold) !important;
}

/* Mobile: the dropdown anchors to the right edge of the screen */
@media (max-width: 700px) {
	.nav-more-dropdown {
		left: auto;
		right: 0;
		transform: translateY(-4px);
	}
	.nav-more-dropdown[data-open="true"] {
		transform: translateY(0);
	}
	.nav-more-dropdown::before {
		left: auto;
		right: 28px;
		transform: rotate(45deg);
	}
}

/* ==========================================================================
   18. RSS FEED ATTRIBUTION (v1.3.0)
   ========================================================================== */
.echina-source-attribution {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--border-subtle);
	font-family: var(--font-sans);
	font-size: 12.5px;
	color: var(--text-tertiary);
	letter-spacing: 0.2px;
}
.echina-source-attribution a {
	color: var(--gold);
	text-decoration: none;
	transition: color 0.2s ease;
}
.echina-source-attribution a:hover { color: var(--gold-bright); text-decoration: underline; }

/* "Read full article" callout inside imported drafts */
.echina-feed-readmore {
	margin-top: 18px;
	padding: 14px 18px;
	background: var(--gold-soft);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	font-family: var(--font-sans);
	font-size: 13.5px;
}
.echina-feed-readmore a {
	color: var(--gold);
	font-weight: 600;
	text-decoration: none;
}
.echina-feed-readmore a:hover { text-decoration: underline; }

/* ==========================================================================
   19. NEWSLETTER (CPT) — archive + single + nav button (v1.7.0)
   ========================================================================== */

/* Nav button — same shell as nav-cat but with a subtle gold pill accent */
.nav-cat.nav-newsletter {
	display: inline-flex;
	align-items: center;
	color: var(--gold);
	border-bottom: 1px solid transparent;
}
.nav-cat.nav-newsletter:hover {
	color: var(--gold-bright);
	border-bottom-color: var(--gold);
}
.nav-cat.nav-newsletter.is-active {
	color: var(--gold);
	border-bottom-color: var(--gold);
}

/* === Archive: hero + grid === */
.echina-newsletter-archive { padding-top: 12px; }

.newsletter-hero {
	max-width: 720px;
	margin: 0 auto 36px;
	padding: 36px 28px 28px;
	text-align: center;
}
.newsletter-hero-icon {
	width: 76px; height: 76px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold-deeper));
	color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-glow);
}
.newsletter-hero-title {
	font-family: var(--font-serif);
	font-size: clamp(30px, 4.5vw, 44px);
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}
.newsletter-hero-sub {
	font-family: var(--font-sans);
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--text-secondary);
	max-width: 540px;
	margin: 0 auto;
}

.newsletter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 22px;
	margin-bottom: 40px;
}
.newsletter-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-card-elevated);
	border: 2px solid #F97316;
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	box-shadow: var(--shadow-card);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 0.3s ease, border-width 0.25s ease;
	text-decoration: none;
}
.newsletter-card:hover {
	transform: translateY(-6px);
	border-width: 4px;
	margin: -2px;
	box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15),
	            0 12px 28px rgba(249, 115, 22, 0.35),
	            var(--shadow-card-hover);
}
.newsletter-card-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg-card);
}
.newsletter-card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.newsletter-card:hover .newsletter-card-thumb img { transform: scale(1.05); }

.newsletter-card-body {
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.newsletter-card-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}
.newsletter-issue {
	color: var(--gold);
	background: var(--gold-soft);
	padding: 3px 9px;
	border-radius: 100px;
	border: 1px solid var(--border-medium);
}
.newsletter-date { color: var(--text-tertiary); }

.newsletter-card-title {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.3px;
	line-height: 1.3;
	margin-bottom: 10px;
}
.newsletter-card:hover .newsletter-card-title { color: var(--gold); }

.newsletter-card-tagline,
.newsletter-card-excerpt {
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-secondary);
	margin-bottom: 18px;
	flex: 1;
}
.newsletter-card-cta {
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--gold);
}

/* === Single Newsletter === */
.echina-newsletter-single { padding-top: 12px; }

.newsletter-article {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.newsletter-article-head { text-align: center; margin: 8px 0 32px; }
.newsletter-article-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.newsletter-issue-large {
	color: var(--gold);
	background: var(--gold-soft);
	padding: 5px 14px;
	border-radius: 100px;
	border: 1px solid var(--border-medium);
}
.newsletter-article-date { color: var(--text-tertiary); }

.newsletter-article-title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 5vw, 46px);
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.6px;
	line-height: 1.15;
	margin-bottom: 14px;
}
.newsletter-article-tagline {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(16px, 2vw, 19px);
	color: var(--text-secondary);
	line-height: 1.5;
	max-width: 600px;
	margin: 0 auto;
}

.newsletter-cover {
	margin: 0 calc(-1 * var(--gutter)) 32px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow-card);
}
.newsletter-cover img {
	width: 100%; height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.newsletter-body {
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-secondary);
	margin-bottom: 50px;
}
.newsletter-body p { margin-bottom: 1.3em; }
.newsletter-body h2,
.newsletter-body h3 {
	font-family: var(--font-serif);
	color: var(--text-primary);
	margin: 1.8em 0 0.6em;
	letter-spacing: -0.3px;
	line-height: 1.25;
}
.newsletter-body h2 { font-size: 28px; }
.newsletter-body h3 { font-size: 22px; }
.newsletter-body a {
	color: var(--gold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.newsletter-body a:hover { color: var(--gold-bright); }
.newsletter-body blockquote {
	border-left: 3px solid var(--gold);
	padding: 6px 0 6px 22px;
	margin: 1.6em 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1.1em;
	color: var(--text-primary);
}
.newsletter-body ul,
.newsletter-body ol { margin: 1.2em 0 1.2em 1.4em; }
.newsletter-body li { margin-bottom: 0.5em; }
.newsletter-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1.2em 0;
}

.newsletter-article-foot {
	border-top: 1px solid var(--border-subtle);
	padding-top: 24px;
	margin-bottom: 40px;
	text-align: center;
}
.newsletter-back-link {
	font-family: var(--font-sans);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: var(--gold);
	text-decoration: none;
}
.newsletter-back-link:hover { color: var(--gold-bright); text-decoration: underline; }

@media (max-width: 700px) {
	.newsletter-hero { padding: 24px 16px 20px; }
	.newsletter-grid { grid-template-columns: 1fr; gap: 18px; }
	.newsletter-cover { margin-left: 0; margin-right: 0; }
	.newsletter-body { font-size: 16px; }
}

/* === Newsletter PDF integration (v1.7.1) === */

/* Download bar — sits between cover image and editor body */
.newsletter-pdf-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 22px;
	margin: -8px 0 28px;
	background: linear-gradient(135deg, var(--gold-soft), var(--bg-card-elevated));
	border: 1px solid var(--border-medium);
	border-radius: 12px;
	flex-wrap: wrap;
}
.newsletter-pdf-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 200px;
}
.newsletter-pdf-icon {
	width: 40px; height: 40px;
	border-radius: 8px;
	background: var(--gold);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.newsletter-pdf-label {
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.3;
}
.newsletter-pdf-label small {
	font-weight: 400;
	color: var(--text-tertiary);
	margin-left: 2px;
}
.newsletter-pdf-download {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	background: var(--gold);
	color: #fff !important;
	border-radius: 100px;
	font-family: var(--font-sans);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}
.newsletter-pdf-download:hover {
	background: var(--gold-bright);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
	color: #fff !important;
}

/* Embedded PDF viewer — below the article body */
.newsletter-pdf-embed {
	margin: 30px 0 50px;
	padding: 24px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
}
.newsletter-pdf-embed-title {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 18px;
	letter-spacing: -0.3px;
}
.newsletter-pdf-frame-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;     /* portrait — typical PDF orientation */
	max-height: 900px;
	border-radius: 10px;
	overflow: hidden;
	background: #2a2a2a;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.newsletter-pdf-frame-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.newsletter-pdf-fallback {
	margin-top: 14px;
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--text-tertiary);
	text-align: center;
}
.newsletter-pdf-fallback a {
	color: var(--gold);
	text-decoration: none;
	font-weight: 600;
	margin-left: 4px;
}
.newsletter-pdf-fallback a:hover { text-decoration: underline; }

/* PDF rosette on archive cards */
.newsletter-card-thumb { position: relative; }
.newsletter-card-pdf-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(20, 20, 20, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--gold);
	border: 1px solid var(--gold);
	padding: 4px 10px;
	border-radius: 100px;
	font-family: var(--font-sans);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1px;
}

/* Mobile tweaks */
@media (max-width: 700px) {
	.newsletter-pdf-bar { flex-direction: column; align-items: stretch; padding: 14px 16px; }
	.newsletter-pdf-download { justify-content: center; }
	.newsletter-pdf-frame-wrap { aspect-ratio: 3 / 4; max-height: 70vh; }
	.newsletter-pdf-embed { padding: 16px; }
}

/* === Footer office cards (v1.7.4) — 3-column grid, mobile-stacked === */
.footer-offices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
	max-width: 1080px;
	margin: 28px auto 32px;
	padding: 0 var(--gutter, 20px);
}
.footer-office {
	background: var(--bg-card, rgba(255,255,255,0.02));
	border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
	border-radius: 10px;
	padding: 18px 18px 16px;
	font-family: var(--font-sans);
	font-size: 13px;
	line-height: 1.55;
	color: var(--text-secondary);
	text-align: left;
}
.footer-office-flag {
	font-size: 20px;
	line-height: 1;
	margin-bottom: 8px;
}
.footer-office-name {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.3px;
	color: var(--gold);
	margin-bottom: 8px;
}
.footer-office-addr {
	color: var(--text-secondary);
	margin-bottom: 10px;
	font-size: 12.5px;
	line-height: 1.55;
}
.footer-office-line {
	font-size: 12.5px;
	margin-bottom: 3px;
}
.footer-office-line a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}
.footer-office-line a:hover { color: var(--gold); }

@media (max-width: 700px) {
	.footer-offices { grid-template-columns: 1fr; gap: 14px; margin: 22px auto 24px; }
	.footer-office { padding: 16px; }
}

/* === Contact page (v1.7.4) — 3-office grid + intro === */
.contact-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 8px 0 28px;
}
.contact-intro {
	font-family: var(--font-serif);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.6;
	color: var(--text-secondary);
	max-width: 720px;
	margin: 0 auto 36px;
	text-align: center;
	font-style: italic;
}
.contact-offices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}
.contact-office {
	background: var(--bg-card-elevated, rgba(255,255,255,0.03));
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	padding: 24px 22px 20px;
	font-family: var(--font-sans);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.contact-office:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
}
.contact-office-flag {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 12px;
}
.contact-office-name {
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--gold);
	margin-bottom: 12px;
	letter-spacing: 0.2px;
	line-height: 1.3;
}
.contact-office-addr {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 14px;
}
.contact-office-line {
	font-size: 13.5px;
	margin-bottom: 6px;
	color: var(--text-secondary);
	line-height: 1.5;
}
.contact-office-line strong {
	color: var(--text-primary);
	font-weight: 600;
	margin-right: 4px;
}
.contact-office-line a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}
.contact-office-line a:hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 700px) {
	.contact-offices { grid-template-columns: 1fr; gap: 16px; }
	.contact-office { padding: 20px 18px 16px; }
	.contact-intro { margin-bottom: 24px; padding: 0 12px; }
}
