/*
Theme Name: SabisCareers
Theme URI: https://sabiscareers.com
Author: SabisCareers Team
Author URI: https://sabiscareers.com
Description: A custom WordPress theme for SabisCareers — the definitive authority on international teaching careers in the Middle East. Built for SEO performance, job board integration, and affiliate content across 9 semantic clusters targeting 6 GCC countries.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
License URI: https://sabiscareers.com/license
Text Domain: sabiscareers
Tags: education, careers, international-teaching, middle-east, seo, custom-theme
*/

/* ==========================================================================
   DESIGN TOKENS — "DESERT LUXE EDITORIAL"
   ========================================================================== */

:root {
    /* Backgrounds — warm dark tones with amber undertone */
    --sc-bg-primary: #0F1114;
    --sc-bg-secondary: #161820;
    --sc-bg-tertiary: #1D1F28;
    --sc-bg-card: #1F222C;
    --sc-bg-card-hover: #272A35;
    --sc-border: rgba(212, 180, 120, 0.06);
    --sc-border-light: rgba(212, 180, 120, 0.12);

    /* Gold Accent Palette — richer, warmer gold */
    --sc-gold: #C9985A;
    --sc-gold-light: #E4B86A;
    --sc-gold-dark: #A67B3D;
    --sc-gold-glow: rgba(201, 152, 90, 0.12);
    --sc-gold-gradient: linear-gradient(135deg, #A67B3D 0%, #C9985A 30%, #E4B86A 60%, #D4A853 100%);
    --sc-gold-shimmer: linear-gradient(90deg, #A67B3D, #E4B86A, #C9985A, #E4B86A, #A67B3D);

    /* Desert Rose Accent */
    --sc-rose: #C06C5C;
    --sc-rose-light: #D88A7C;
    --sc-rose-glow: rgba(192, 108, 92, 0.12);

    /* Text Colors */
    --sc-text-primary: #EDE6DB;
    --sc-text-secondary: #9A9489;
    --sc-text-muted: #6D675E;
    --sc-text-inverse: #0F1114;

    /* Status Colors */
    --sc-success: #5DAE72;
    --sc-info: #6BA3D6;
    --sc-warning: #D4A048;

    /* Typography — Fraunces (editorial serif) + Hanken Grotesk (geometric sans) */
    --sc-font-heading: 'Fraunces', Georgia, serif;
    --sc-font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --sc-font-mono: 'DM Mono', 'Menlo', monospace;

    /* Type Scale — more dramatic contrast */
    --sc-text-xs: 0.75rem;
    --sc-text-sm: 0.875rem;
    --sc-text-base: 1rem;
    --sc-text-lg: 1.125rem;
    --sc-text-xl: 1.25rem;
    --sc-text-2xl: 1.5rem;
    --sc-text-3xl: 2rem;
    --sc-text-4xl: 2.5rem;
    --sc-text-5xl: 3.25rem;
    --sc-text-6xl: 4.25rem;
    --sc-text-7xl: 5.5rem;

    /* Spacing */
    --sc-space-xs: 0.25rem;
    --sc-space-sm: 0.5rem;
    --sc-space-md: 1rem;
    --sc-space-lg: 1.5rem;
    --sc-space-xl: 2rem;
    --sc-space-2xl: 3rem;
    --sc-space-3xl: 4rem;
    --sc-space-4xl: 6rem;
    --sc-space-5xl: 8rem;

    /* Radius */
    --sc-radius-sm: 6px;
    --sc-radius-md: 12px;
    --sc-radius-lg: 18px;
    --sc-radius-xl: 28px;
    --sc-radius-full: 9999px;

    /* Shadows — warmer tones */
    --sc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --sc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --sc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --sc-shadow-gold: 0 4px 24px rgba(201, 152, 90, 0.15), 0 1px 6px rgba(201, 152, 90, 0.1);
    --sc-shadow-glow: 0 0 40px rgba(201, 152, 90, 0.08);

    /* Transitions — spring-inspired */
    --sc-transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
    --sc-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --sc-transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --sc-transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --sc-container-width: 1200px;
    --sc-container-wide: 1400px;
    --sc-header-height: 72px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: var(--sc-gold-dark) var(--sc-bg-secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--sc-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sc-gold-dark), var(--sc-gold));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sc-gold-light);
}

body {
    font-family: var(--sc-font-body);
    font-size: var(--sc-text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--sc-text-primary);
    background-color: var(--sc-bg-primary);
    overflow-x: hidden;
}

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

a {
    color: var(--sc-gold);
    text-decoration: none;
    transition: color var(--sc-transition-fast);
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--sc-font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--sc-text-primary);
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
}

h1 {
    font-size: var(--sc-text-5xl);
    font-weight: 700;
}

h2 {
    font-size: var(--sc-text-4xl);
}

h3 {
    font-size: var(--sc-text-3xl);
}

h4 {
    font-size: var(--sc-text-2xl);
}

h5 {
    font-size: var(--sc-text-xl);
}

h6 {
    font-size: var(--sc-text-lg);
}

p {
    margin-bottom: var(--sc-space-md);
    color: var(--sc-text-secondary);
}

::selection {
    background: var(--sc-gold);
    color: var(--sc-text-inverse);
}

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

.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
    position: fixed;
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border-radius: var(--sc-radius-sm);
    background: var(--sc-gold);
    color: var(--sc-text-inverse);
    z-index: 2000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sc-gold);
    outline-offset: 3px;
}

/* ==========================================================================
   NOISE/GRAIN OVERLAY
   ========================================================================== */

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    mix-blend-mode: overlay;
}

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sc-gold-gradient);
    z-index: 10001;
    transition: width 50ms linear;
    box-shadow: 0 0 8px rgba(201, 152, 90, 0.4);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--sc-container-width);
    margin: 0 auto;
    padding: 0 var(--sc-space-lg);
}

.container--wide {
    max-width: var(--sc-container-wide);
}

.section {
    padding: var(--sc-space-5xl) 0;
    position: relative;
}

.section--sm {
    padding: var(--sc-space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--sc-space-3xl);
}

.section-header h2 {
    margin-bottom: var(--sc-space-md);
    font-weight: 700;
}

.section-header p {
    max-width: 580px;
    margin: 0 auto;
    font-size: var(--sc-text-lg);
    line-height: 1.6;
}

.gold-line {
    width: 48px;
    height: 2px;
    background: var(--sc-gold-gradient);
    border: none;
    margin: var(--sc-space-md) auto;
    border-radius: var(--sc-radius-full);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-sm);
    padding: 14px 34px;
    font-family: var(--sc-font-body);
    font-size: var(--sc-text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--sc-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--sc-transition-slow);
    text-decoration: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--sc-gold-gradient);
    color: var(--sc-text-inverse);
    box-shadow: var(--sc-shadow-gold);
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--sc-transition-base);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 152, 90, 0.3), 0 2px 8px rgba(201, 152, 90, 0.2);
    color: var(--sc-text-inverse);
}

.btn--primary:hover::after {
    opacity: 1;
}

.btn--outline {
    background: transparent;
    color: var(--sc-gold);
    border: 1.5px solid rgba(201, 152, 90, 0.4);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: rgba(201, 152, 90, 0.1);
    border-color: var(--sc-gold);
    color: var(--sc-gold-light);
    transform: translateY(-3px);
}

.btn--sm {
    padding: 10px 22px;
    font-size: var(--sc-text-xs);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--sc-header-height);
    background: rgba(15, 17, 20, 0.7);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--sc-border);
    transition: all var(--sc-transition-slow);
}

.site-header.scrolled {
    height: 60px;
    background: rgba(15, 17, 20, 0.92);
    border-bottom-color: var(--sc-border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(201, 152, 90, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Branding */
.site-branding {
    flex-shrink: 0;
}

.site-branding .site-title {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-xl);
    font-weight: 700;
    color: var(--sc-text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.site-branding .site-title span {
    background: var(--sc-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--sc-space-xs);
}

.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

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

.main-navigation .nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-sm);
    font-weight: 500;
    transition: color var(--sc-transition-fast);
    white-space: nowrap;
    position: relative;
}

.main-navigation .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--sc-gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--sc-transition-slow);
}

.main-navigation .nav-menu > li > a:hover::after,
.main-navigation .nav-menu > li:hover > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-navigation .nav-menu > li > a:hover,
.main-navigation .nav-menu > li:hover > a {
    color: var(--sc-text-primary);
}

.main-navigation .nav-menu > li > a .nav-arrow {
    font-size: 10px;
    transition: transform var(--sc-transition-fast);
    opacity: 0.5;
}

.main-navigation .nav-menu > li:hover > a .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menus */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: rgba(31, 34, 44, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sc-border-light);
    border-radius: var(--sc-radius-md);
    padding: var(--sc-space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--sc-transition-base);
    box-shadow: var(--sc-shadow-lg), 0 0 0 1px rgba(201, 152, 90, 0.04);
    z-index: 1001;
}

.main-navigation .nav-menu > li:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-navigation .nav-menu > li:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-navigation .nav-menu > li:focus-within > a .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--sc-space-sm);
    padding: 10px 14px;
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-sm);
    border-radius: var(--sc-radius-sm);
    transition: all var(--sc-transition-fast);
}

.nav-dropdown a:hover {
    background: rgba(201, 152, 90, 0.08);
    color: var(--sc-text-primary);
}

.nav-dropdown a:focus-visible,
.main-navigation .nav-menu > li > a:focus-visible,
.menu-toggle:focus-visible {
    background: rgba(201, 152, 90, 0.08);
    color: var(--sc-text-primary);
}

.nav-dropdown .dropdown-emoji {
    font-size: 18px;
}

/* Header CTA */
.header-cta {
    margin-left: var(--sc-space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--sc-text-primary);
    border-radius: 2px;
    transition: all var(--sc-transition-base);
}

.menu-toggle.active .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--sc-header-height) + var(--sc-space-4xl)) var(--sc-space-lg) var(--sc-space-4xl);
    overflow: hidden;
}

/* Layered gradient background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201, 152, 90, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(192, 108, 92, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 90% 50% at 50% 90%, rgba(201, 152, 90, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(107, 163, 214, 0.03) 0%, transparent 40%);
    z-index: 0;
}

/* Bottom fade to primary background */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, var(--sc-bg-primary), transparent);
    z-index: 1;
}

/* Subtle dot grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(201, 152, 90, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-sm);
    padding: 8px 22px;
    background: rgba(201, 152, 90, 0.06);
    border: 1px solid rgba(201, 152, 90, 0.15);
    border-radius: var(--sc-radius-full);
    color: var(--sc-gold);
    font-family: var(--sc-font-mono);
    font-size: var(--sc-text-xs);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: var(--sc-space-2xl);
    backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--sc-gold);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(201, 152, 90, 0.5);
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, var(--sc-text-7xl));
    line-height: 1.05;
    margin-bottom: var(--sc-space-xl);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero h1 .highlight {
    background: var(--sc-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, var(--sc-text-lg));
    color: var(--sc-text-secondary);
    max-width: 560px;
    margin: 0 auto var(--sc-space-2xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--sc-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating elements — organic shapes */
.hero-float {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.4;
    z-index: 0;
    filter: blur(1px);
}

.hero-float--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 152, 90, 0.07) 0%, transparent 70%);
    top: 8%;
    right: -8%;
    animation: morphFloat1 12s ease-in-out infinite;
}

.hero-float--2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(192, 108, 92, 0.06) 0%, transparent 70%);
    bottom: 15%;
    left: -5%;
    animation: morphFloat2 15s ease-in-out infinite;
}

/* Golden particles container (populated by JS) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--sc-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat var(--particle-duration, 8s) var(--particle-delay, 0s) infinite;
    box-shadow: 0 0 6px rgba(201, 152, 90, 0.3);
}

/* ==========================================================================
   TRUST STRIP / STATS BAR
   ========================================================================== */

.trust-strip {
    position: relative;
    z-index: 2;
    background: var(--sc-bg-secondary);
    border-top: 1px solid var(--sc-border);
    border-bottom: 1px solid var(--sc-border);
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-strip__item {
    text-align: center;
    padding: var(--sc-space-xl) var(--sc-space-md);
    border-right: 1px solid var(--sc-border);
    transition: background var(--sc-transition-base);
    position: relative;
}

.trust-strip__item:last-child {
    border-right: none;
}

.trust-strip__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--sc-gold-gradient);
    transform: scaleX(0);
    transition: transform var(--sc-transition-slow);
}

.trust-strip__item:hover::after {
    transform: scaleX(1);
}

.trust-strip__item:hover {
    background: rgba(201, 152, 90, 0.03);
}

.trust-strip__number {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-3xl);
    font-weight: 800;
    color: var(--sc-gold);
    line-height: 1;
    margin-bottom: var(--sc-space-xs);
}

.trust-strip__label {
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    color: var(--sc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* ==========================================================================
   COUNTRY CARDS
   ========================================================================== */

.country-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sc-space-lg);
}

.country-card {
    position: relative;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    padding: var(--sc-space-2xl);
    transition: all var(--sc-transition-slow);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

/* Animated gradient border on hover */
.country-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--sc-radius-lg);
    background: var(--sc-gold-shimmer);
    background-size: 300% 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--sc-transition-slow);
}

/* Inner glow */
.country-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sc-radius-lg);
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 152, 90, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--sc-transition-slow);
}

.country-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 152, 90, 0.25);
    box-shadow: var(--sc-shadow-gold), var(--sc-shadow-glow);
    background: var(--sc-bg-card-hover);
}

.country-card:hover::before {
    opacity: 1;
    animation: shimmer 3s linear infinite;
}

.country-card:hover::after {
    opacity: 1;
}

.country-card__flag {
    font-size: 44px;
    margin-bottom: var(--sc-space-md);
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.country-card__name {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-xl);
    font-weight: 600;
    color: var(--sc-text-primary);
    margin-bottom: var(--sc-space-md);
    position: relative;
    z-index: 1;
}

.country-card__stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--sc-space-lg);
    position: relative;
    z-index: 1;
}

.country-card__stat {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.country-card__stat strong {
    font-family: var(--sc-font-mono);
    color: var(--sc-gold);
    font-weight: 500;
    font-size: var(--sc-text-xs);
}

.country-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-sm);
    color: var(--sc-gold);
    font-size: var(--sc-text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    transition: gap var(--sc-transition-slow);
}

.country-card:hover .country-card__link {
    gap: var(--sc-space-md);
    color: var(--sc-gold-light);
}

/* ==========================================================================
   POST CARDS / ARTICLES GRID
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sc-space-lg);
}

.post-card {
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    transition: all var(--sc-transition-slow);
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--sc-border-light);
    box-shadow: var(--sc-shadow-md), var(--sc-shadow-glow);
}

.post-card__thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sc-bg-tertiary);
}

.post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--sc-transition-slow), filter var(--sc-transition-slow);
}

.post-card:hover .post-card__thumbnail img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* Gradient overlay on hover */
.post-card__thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 17, 20, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--sc-transition-base);
}

.post-card:hover .post-card__thumbnail::after {
    opacity: 1;
}

.post-card__category {
    position: absolute;
    top: var(--sc-space-md);
    left: var(--sc-space-md);
    padding: 4px 14px;
    background: rgba(15, 17, 20, 0.7);
    backdrop-filter: blur(8px);
    color: var(--sc-gold);
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--sc-radius-full);
    border: 1px solid rgba(201, 152, 90, 0.15);
    z-index: 1;
}

.post-card__content {
    padding: var(--sc-space-lg) var(--sc-space-xl);
}

.post-card__title {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-lg);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--sc-space-sm);
}

.post-card__title a {
    color: var(--sc-text-primary);
    text-decoration: none;
    transition: color var(--sc-transition-fast);
}

.post-card__title a:hover {
    color: var(--sc-gold);
}

.post-card__excerpt {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sc-space-md);
}

.post-card__excerpt p {
    margin: 0;
    font-size: inherit;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--sc-space-md);
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    color: var(--sc-text-muted);
    padding-top: var(--sc-space-sm);
    border-top: 1px solid var(--sc-border);
}

.post-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-sm);
    color: var(--sc-gold);
    font-size: var(--sc-text-sm);
    font-weight: 600;
}

.post-card__read-more:hover {
    gap: var(--sc-space-md);
}

/* ==========================================================================
   POPULAR GUIDES SECTION
   ========================================================================== */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sc-space-lg);
}

.guide-card {
    display: flex;
    align-items: center;
    gap: var(--sc-space-xl);
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    padding: var(--sc-space-xl) var(--sc-space-2xl);
    text-decoration: none;
    transition: all var(--sc-transition-slow);
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sc-gold-gradient);
    opacity: 0;
    transition: opacity var(--sc-transition-base);
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 152, 90, 0.2);
    box-shadow: var(--sc-shadow-gold);
}

.guide-card:hover::before {
    opacity: 1;
}

.guide-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 152, 90, 0.06);
    border: 1px solid rgba(201, 152, 90, 0.1);
    border-radius: var(--sc-radius-md);
    font-size: 24px;
    transition: all var(--sc-transition-slow);
}

.guide-card:hover .guide-card__icon {
    background: rgba(201, 152, 90, 0.12);
    border-color: rgba(201, 152, 90, 0.2);
    transform: scale(1.08);
}

.guide-card__content h3 {
    font-size: var(--sc-text-lg);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--sc-text-primary);
}

.guide-card__content p {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    position: relative;
    background: var(--sc-bg-secondary);
    border: 1px solid rgba(201, 152, 90, 0.12);
    border-radius: var(--sc-radius-xl);
    padding: var(--sc-space-4xl) var(--sc-space-3xl);
    text-align: center;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 152, 90, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(192, 108, 92, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 152, 90, 0.03) 0%, transparent 40%);
}

/* Decorative corner accents */
.cta-box::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--sc-radius-xl);
    background: conic-gradient(from 45deg, transparent 0%, rgba(201, 152, 90, 0.1) 10%, transparent 20%, transparent 50%, rgba(201, 152, 90, 0.1) 60%, transparent 70%);
    z-index: -1;
}

.cta-box h2 {
    position: relative;
    font-size: var(--sc-text-4xl);
    margin-bottom: var(--sc-space-md);
    font-weight: 700;
}

.cta-box p {
    position: relative;
    font-size: var(--sc-text-lg);
    max-width: 500px;
    margin: 0 auto var(--sc-space-2xl);
    line-height: 1.6;
}

.cta-box .btn {
    position: relative;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--sc-bg-secondary);
    border-top: 1px solid var(--sc-border);
    padding-top: var(--sc-space-4xl);
    position: relative;
}

/* Subtle gradient separator line */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--sc-gold-gradient);
    opacity: 0.3;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sc-space-3xl);
    padding-bottom: var(--sc-space-3xl);
}

.footer-brand {
    padding-right: var(--sc-space-xl);
}

.footer-brand .footer-logo {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-xl);
    font-weight: 700;
    color: var(--sc-text-primary);
    margin-bottom: var(--sc-space-md);
    letter-spacing: -0.03em;
}

.footer-brand .footer-logo span {
    background: var(--sc-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: var(--sc-text-sm);
    line-height: 1.7;
    margin-bottom: var(--sc-space-lg);
}

.footer-social {
    display: flex;
    gap: var(--sc-space-sm);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 152, 90, 0.04);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-sm);
    color: var(--sc-text-muted);
    font-size: var(--sc-text-sm);
    transition: all var(--sc-transition-base);
}

.footer-social a:hover {
    background: var(--sc-gold);
    color: var(--sc-text-inverse);
    border-color: var(--sc-gold);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sc-text-secondary);
    margin-bottom: var(--sc-space-lg);
    padding-bottom: var(--sc-space-sm);
    border-bottom: 1px solid rgba(201, 152, 90, 0.2);
    display: inline-block;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--sc-space-sm);
}

.footer-column a {
    color: var(--sc-text-muted);
    font-size: var(--sc-text-sm);
    transition: all var(--sc-transition-fast);
}

.footer-column a:hover {
    color: var(--sc-text-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--sc-border);
    padding: var(--sc-space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--sc-space-lg);
}

.footer-bottom-links a {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-muted);
}

.footer-bottom-links a:hover {
    color: var(--sc-gold);
}

/* ==========================================================================
   SINGLE POST / ARTICLE
   ========================================================================== */

.article-header {
    padding: calc(var(--sc-header-height) + var(--sc-space-4xl)) 0 var(--sc-space-3xl);
    text-align: center;
    background: var(--sc-bg-secondary);
    border-bottom: 1px solid var(--sc-border);
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: var(--sc-gold-gradient);
    opacity: 0.2;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, var(--sc-text-5xl));
    max-width: 800px;
    margin: 0 auto var(--sc-space-lg);
    font-weight: 700;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sc-space-lg);
    color: var(--sc-text-muted);
    font-family: var(--sc-font-mono);
    font-size: 0.75rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--sc-space-xs);
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--sc-space-3xl) var(--sc-space-lg);
}

.article-content h2 {
    font-size: var(--sc-text-3xl);
    margin: var(--sc-space-3xl) 0 var(--sc-space-lg);
    padding-top: var(--sc-space-lg);
    border-top: 1px solid var(--sc-border);
}

.article-content h3 {
    font-size: var(--sc-text-2xl);
    margin: var(--sc-space-2xl) 0 var(--sc-space-md);
}

.article-content p {
    font-size: var(--sc-text-lg);
    line-height: 1.85;
    color: var(--sc-text-secondary);
}

.article-content ul,
.article-content ol {
    margin: var(--sc-space-lg) 0;
    padding-left: var(--sc-space-xl);
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: var(--sc-space-sm);
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-lg);
    line-height: 1.7;
}

.article-content blockquote {
    margin: var(--sc-space-2xl) 0;
    padding: var(--sc-space-xl) var(--sc-space-2xl);
    border-left: 3px solid var(--sc-gold);
    background: rgba(201, 152, 90, 0.03);
    border-radius: 0 var(--sc-radius-md) var(--sc-radius-md) 0;
}

.article-content blockquote p {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-xl);
    font-style: italic;
    color: var(--sc-text-primary);
    line-height: 1.5;
}

.article-content a {
    color: var(--sc-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(201, 152, 90, 0.3);
    transition: text-decoration-color var(--sc-transition-fast);
}

.article-content a:hover {
    text-decoration-color: var(--sc-gold);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--sc-space-2xl) 0;
}

.article-content th,
.article-content td {
    padding: var(--sc-space-md);
    border: 1px solid var(--sc-border);
    text-align: left;
    font-size: var(--sc-text-sm);
}

.article-content th {
    background: var(--sc-bg-secondary);
    color: var(--sc-gold);
    font-family: var(--sc-font-mono);
    font-weight: 500;
    font-size: var(--sc-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-content td {
    color: var(--sc-text-secondary);
}

/* Featured image */
.article-featured-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow-md);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
    padding: var(--sc-space-md) 0;
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    color: var(--sc-text-muted);
    letter-spacing: 0.02em;
}

.breadcrumbs a {
    color: var(--sc-text-muted);
}

.breadcrumbs a:hover {
    color: var(--sc-gold);
}

.breadcrumbs .separator {
    margin: 0 var(--sc-space-sm);
    color: var(--sc-text-muted);
    opacity: 0.4;
}

.breadcrumbs .current {
    color: var(--sc-text-secondary);
}

/* ==========================================================================
   PILLAR PAGE TEMPLATE
   ========================================================================== */

.pillar-hero {
    padding: calc(var(--sc-header-height) + var(--sc-space-4xl)) 0 var(--sc-space-3xl);
    background: var(--sc-bg-secondary);
    border-bottom: 1px solid var(--sc-border);
    position: relative;
}

.pillar-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: var(--sc-gold-gradient);
    opacity: 0.2;
}

.pillar-hero h1 {
    font-size: clamp(2rem, 5vw, var(--sc-text-6xl));
    margin-bottom: var(--sc-space-md);
    font-weight: 800;
}

.pillar-hero .pillar-description {
    font-size: var(--sc-text-xl);
    color: var(--sc-text-secondary);
    max-width: 700px;
    line-height: 1.6;
}

.pillar-toc {
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    padding: var(--sc-space-xl);
    margin: var(--sc-space-2xl) 0;
    position: relative;
}

.pillar-toc::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sc-gold-gradient);
    border-radius: var(--sc-radius-lg) 0 0 var(--sc-radius-lg);
}

.pillar-toc h3 {
    font-size: var(--sc-text-lg);
    margin-bottom: var(--sc-space-md);
    display: flex;
    align-items: center;
    gap: var(--sc-space-sm);
}

.pillar-toc ol {
    list-style: decimal;
    padding-left: var(--sc-space-xl);
}

.pillar-toc li {
    margin-bottom: var(--sc-space-sm);
}

.pillar-toc a {
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-sm);
    transition: color var(--sc-transition-fast);
}

.pillar-toc a:hover {
    color: var(--sc-gold);
}

.related-articles {
    margin-top: var(--sc-space-4xl);
    padding-top: var(--sc-space-3xl);
    border-top: 1px solid var(--sc-border);
}

.related-articles h2 {
    margin-bottom: var(--sc-space-2xl);
}

/* ==========================================================================
   AUTHOR BOX
   ========================================================================== */

.author-box {
    display: flex;
    gap: var(--sc-space-xl);
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    padding: var(--sc-space-xl);
    margin: var(--sc-space-3xl) 0;
}

.author-box__avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201, 152, 90, 0.3);
}

.author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box__name {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-lg);
    font-weight: 600;
    margin-bottom: var(--sc-space-xs);
}

.author-box__bio {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   E-E-A-T: ENHANCED AUTHOR BOX
   ========================================================================== */

.author-box--enhanced {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.author-box__header {
    background: linear-gradient(135deg, rgba(201, 152, 90, 0.08) 0%, rgba(201, 152, 90, 0.02) 100%);
    padding: var(--sc-space-sm) var(--sc-space-xl);
    border-bottom: 1px solid var(--sc-border);
}

.author-box__label {
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sc-gold);
}

.author-box--enhanced .author-box__main {
    display: flex;
    gap: var(--sc-space-xl);
    padding: var(--sc-space-xl);
}

.author-box--enhanced .author-box__avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201, 152, 90, 0.3);
    transition: transform var(--sc-transition-base);
}

.author-box--enhanced .author-box__avatar:hover {
    transform: scale(1.05);
}

.author-box--enhanced .author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box__name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sc-space-sm);
    margin-bottom: var(--sc-space-xs);
}

.author-box--enhanced .author-box__name {
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-lg);
    font-weight: 600;
    color: var(--sc-text-primary);
    text-decoration: none;
    margin-bottom: 0;
}

.author-box--enhanced .author-box__name:hover {
    color: var(--sc-gold);
}

.author-box__credentials {
    display: flex;
    gap: var(--sc-space-xs);
    flex-wrap: wrap;
}

.author-box__title {
    font-size: var(--sc-text-sm);
    color: var(--sc-gold);
    margin-bottom: var(--sc-space-sm);
}

.author-box--enhanced .author-box__bio {
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sc-space-md);
}

.author-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sc-space-md);
    margin-bottom: var(--sc-space-md);
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    color: var(--sc-text-muted);
}

.author-box__meta-item::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--sc-gold);
    vertical-align: middle;
    margin-right: var(--sc-space-xs);
}

.author-box__meta-item:first-child::before {
    display: none;
}

.author-box__expertise {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sc-space-xs);
    margin-bottom: var(--sc-space-md);
}

.author-box__expertise-label {
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--sc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.author-box__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sc-space-md);
}

.author-box__more {
    font-size: var(--sc-text-sm);
    font-weight: 600;
    color: var(--sc-gold);
    text-decoration: none;
    transition: color var(--sc-transition-fast);
}

.author-box__more:hover {
    color: var(--sc-gold-light);
}

.author-box__socials {
    display: flex;
    gap: var(--sc-space-sm);
}

.author-box__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sc-bg-tertiary);
    color: var(--sc-text-muted);
    transition: all var(--sc-transition-fast);
}

.author-box__socials a:hover {
    background: var(--sc-gold);
    color: var(--sc-bg-primary);
}

/* ==========================================================================
   E-E-A-T: BADGES AND TAGS
   ========================================================================== */

.eeat-badge {
    display: inline-block;
    padding: 2px 8px;
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    border-radius: 4px;
    background: rgba(201, 152, 90, 0.08);
    color: var(--sc-gold);
    border: 1px solid rgba(201, 152, 90, 0.15);
    line-height: 1.4;
}

.eeat-badge--lg {
    padding: 4px 12px;
    font-size: var(--sc-text-xs);
}

.eeat-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 12px;
    background: var(--sc-bg-tertiary);
    color: var(--sc-text-secondary);
    border: 1px solid var(--sc-border);
}

.eeat-tag--lg {
    padding: 4px 14px;
    font-size: var(--sc-text-xs);
}

/* ==========================================================================
   E-E-A-T: EDITORIAL TRANSPARENCY STRIP
   ========================================================================== */

.editorial-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sc-space-md);
    margin-top: var(--sc-space-md);
    padding: var(--sc-space-sm) var(--sc-space-md);
    background: rgba(201, 152, 90, 0.04);
    border: 1px solid rgba(201, 152, 90, 0.08);
    border-radius: var(--sc-radius-md);
    font-size: var(--sc-text-sm);
}

.editorial-strip__item {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-xs);
    color: var(--sc-text-secondary);
}

.editorial-strip__item svg {
    color: var(--sc-gold);
    flex-shrink: 0;
}

.editorial-strip__item a {
    color: var(--sc-text-primary);
    text-decoration: none;
}

.editorial-strip__item a:hover {
    color: var(--sc-gold);
}

.editorial-strip__reviewer-title {
    color: var(--sc-text-muted);
    font-size: var(--sc-text-xs);
}

.editorial-strip__policy {
    margin-left: auto;
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--sc-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--sc-transition-fast);
}

.editorial-strip__policy:hover {
    color: var(--sc-gold);
}

/* ==========================================================================
   E-E-A-T: CONTENT DISCLAIMER
   ========================================================================== */

.content-disclaimer {
    padding: var(--sc-space-lg);
    background: rgba(201, 152, 90, 0.03);
    border: 1px solid var(--sc-border);
    border-left: 3px solid var(--sc-gold);
    border-radius: var(--sc-radius-md);
    margin: var(--sc-space-2xl) 0;
    font-size: var(--sc-text-sm);
    color: var(--sc-text-secondary);
    line-height: 1.7;
}

.content-disclaimer p {
    margin: 0;
}

.content-disclaimer a {
    color: var(--sc-gold);
    text-decoration: none;
    font-weight: 500;
}

.content-disclaimer a:hover {
    text-decoration: underline;
}

.article-meta__title {
    font-size: var(--sc-text-xs);
    color: var(--sc-text-muted);
}

/* ==========================================================================
   E-E-A-T: AUTHOR ARCHIVE / PROFILE PAGE
   ========================================================================== */

.author-profile {
    padding: var(--sc-space-3xl) 0 var(--sc-space-2xl);
    background: var(--sc-bg-secondary);
}

.author-profile__card {
    display: flex;
    gap: var(--sc-space-2xl);
    align-items: flex-start;
}

.author-profile__avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(201, 152, 90, 0.3);
    box-shadow: 0 0 40px rgba(201, 152, 90, 0.1);
}

.author-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile__name {
    font-size: var(--sc-text-3xl);
    margin-bottom: var(--sc-space-xs);
}

.author-profile__title {
    font-size: var(--sc-text-lg);
    color: var(--sc-gold);
    margin-bottom: var(--sc-space-md);
}

.author-profile__credentials {
    display: flex;
    gap: var(--sc-space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--sc-space-lg);
}

.author-profile__stats {
    display: flex;
    gap: var(--sc-space-2xl);
    margin-bottom: var(--sc-space-xl);
}

.author-profile__stat {
    text-align: center;
}

.author-profile__stat-number {
    display: block;
    font-family: var(--sc-font-heading);
    font-size: var(--sc-text-xl);
    font-weight: 700;
    color: var(--sc-text-primary);
}

.author-profile__stat-label {
    display: block;
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    color: var(--sc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.author-profile__bio {
    font-size: var(--sc-text-base);
    color: var(--sc-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sc-space-xl);
}

.author-profile__bio p {
    margin-bottom: var(--sc-space-md);
}

.author-profile__expertise {
    margin-bottom: var(--sc-space-xl);
}

.author-profile__expertise h3 {
    font-family: var(--sc-font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sc-text-muted);
    margin-bottom: var(--sc-space-sm);
}

.author-profile__expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sc-space-sm);
}

.author-profile__socials {
    display: flex;
    gap: var(--sc-space-md);
}

.author-profile__social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-xs);
    padding: var(--sc-space-sm) var(--sc-space-md);
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-md);
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-sm);
    text-decoration: none;
    transition: all var(--sc-transition-fast);
}

.author-profile__social-link:hover {
    border-color: var(--sc-gold);
    color: var(--sc-gold);
}

/* ==========================================================================
   E-E-A-T: TRUST PAGE TEMPLATE
   ========================================================================== */

.trust-page-header {
    padding: var(--sc-space-3xl) 0 var(--sc-space-xl);
    background: var(--sc-bg-secondary);
    text-align: center;
}

.trust-page-header__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sc-space-xs);
    padding: var(--sc-space-xs) var(--sc-space-md);
    background: rgba(201, 152, 90, 0.06);
    border: 1px solid rgba(201, 152, 90, 0.12);
    border-radius: 20px;
    font-family: var(--sc-font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--sc-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sc-space-lg);
}

.trust-page-header__badge svg {
    color: var(--sc-gold);
}

.trust-page-header h1 {
    margin-bottom: var(--sc-space-md);
}

.trust-page-header__desc {
    max-width: 600px;
    margin: 0 auto var(--sc-space-lg);
    color: var(--sc-text-secondary);
    font-size: var(--sc-text-lg);
}

.trust-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sc-space-xs);
    padding: var(--sc-space-lg) 0;
    margin-bottom: var(--sc-space-xl);
    border-bottom: 1px solid var(--sc-border);
}

.trust-nav__link {
    padding: var(--sc-space-sm) var(--sc-space-md);
    font-size: var(--sc-text-sm);
    font-weight: 500;
    color: var(--sc-text-secondary);
    text-decoration: none;
    border-radius: var(--sc-radius-md);
    transition: all var(--sc-transition-fast);
}

.trust-nav__link:hover {
    background: rgba(201, 152, 90, 0.06);
    color: var(--sc-text-primary);
}

.trust-nav__link--active {
    background: rgba(201, 152, 90, 0.08);
    color: var(--sc-gold);
    font-weight: 600;
}

/* ==========================================================================
   E-E-A-T: TEAM GRID
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sc-space-xl);
}

.team-card {
    display: flex;
    gap: var(--sc-space-lg);
    padding: var(--sc-space-xl);
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    transition: all var(--sc-transition-slow);
}

.team-card:hover {
    border-color: var(--sc-border-light);
    transform: translateY(-3px);
    box-shadow: var(--sc-shadow-lg);
}

.team-card__avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201, 152, 90, 0.25);
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: var(--sc-text-base);
    margin-bottom: var(--sc-space-2xs);
}

.team-card__name a {
    color: var(--sc-text-primary);
    text-decoration: none;
}

.team-card__name a:hover {
    color: var(--sc-gold);
}

.team-card__title {
    font-size: var(--sc-text-sm);
    color: var(--sc-gold);
    margin-bottom: var(--sc-space-xs);
}

.team-card__location {
    font-size: var(--sc-text-xs);
    color: var(--sc-text-muted);
    margin-bottom: var(--sc-space-sm);
}

.team-card__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: var(--sc-space-sm);
}

.team-card__expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* ==========================================================================
   E-E-A-T: FOOTER TRUST BADGE
   ========================================================================== */

.footer-trust-badge {
    display: flex;
    align-items: flex-start;
    gap: var(--sc-space-xs);
    margin-top: var(--sc-space-md);
    padding: var(--sc-space-sm) var(--sc-space-md);
    background: rgba(201, 152, 90, 0.04);
    border: 1px solid rgba(201, 152, 90, 0.08);
    border-radius: var(--sc-radius-md);
    font-size: 0.7rem;
    color: var(--sc-text-muted);
    line-height: 1.5;
}

.footer-trust-badge svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--sc-gold);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination,
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sc-space-sm);
    margin-top: var(--sc-space-3xl);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-sm);
    color: var(--sc-text-secondary);
    font-family: var(--sc-font-mono);
    font-size: var(--sc-text-sm);
    font-weight: 500;
    transition: all var(--sc-transition-fast);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--sc-gold);
    color: var(--sc-text-inverse);
    border-color: var(--sc-gold);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(201, 152, 90, 0.5);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 16px rgba(201, 152, 90, 0.2);
    }
}

@keyframes morphFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
        border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
    }
    50% {
        transform: translate(-10px, -15px) rotate(-3deg);
        border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
    }
    75% {
        transform: translate(15px, 10px) rotate(4deg);
        border-radius: 60% 40% 50% 50% / 30% 70% 30% 70%;
    }
}

@keyframes morphFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
    }
    33% {
        transform: translate(-20px, 20px) rotate(-4deg);
        border-radius: 40% 60% 30% 70% / 50% 50% 50% 50%;
    }
    66% {
        transform: translate(15px, -10px) rotate(3deg);
        border-radius: 50% 50% 60% 40% / 60% 40% 60% 40%;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(var(--particle-drift, 20px));
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: 300% 50%;
    }
    100% {
        background-position: -300% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll animations — more refined */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.08s; }
.animate-delay-2 { transition-delay: 0.16s; }
.animate-delay-3 { transition-delay: 0.24s; }
.animate-delay-4 { transition-delay: 0.32s; }
.animate-delay-5 { transition-delay: 0.40s; }
.animate-delay-6 { transition-delay: 0.48s; }

/* ==========================================================================
   E-E-A-T: RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .author-box--enhanced .author-box__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-box__name-row {
        justify-content: center;
    }

    .author-box__meta {
        justify-content: center;
    }

    .author-box__expertise {
        justify-content: center;
    }

    .author-box__actions {
        flex-direction: column;
        align-items: center;
    }

    .author-profile__card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-profile__stats {
        justify-content: center;
    }

    .author-profile__socials {
        justify-content: center;
    }

    .author-profile__expertise-tags {
        justify-content: center;
    }

    .editorial-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .editorial-strip__policy {
        margin-left: 0;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-card__credentials,
    .team-card__expertise {
        justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .main-navigation .nav-menu {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile menu overlay */
    .main-navigation .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 17, 20, 0.98);
        backdrop-filter: blur(20px);
        padding: calc(var(--sc-header-height) + var(--sc-space-xl)) var(--sc-space-xl) var(--sc-space-xl);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }

    .main-navigation .nav-menu.active > li > a {
        font-size: var(--sc-text-lg);
        padding: var(--sc-space-md) 0;
        border-bottom: 1px solid var(--sc-border);
        color: var(--sc-text-primary);
    }

    .main-navigation .nav-menu.active > li > a::after {
        display: none;
    }

    .main-navigation .nav-menu.active .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 var(--sc-space-lg);
        display: none;
        min-width: auto;
        backdrop-filter: none;
    }

    .main-navigation .nav-menu.active .nav-dropdown.mobile-open {
        display: block;
    }

    .country-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sc-space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --sc-header-height: 64px;
    }

    .hero {
        min-height: 85vh;
        padding-top: calc(var(--sc-header-height) + var(--sc-space-3xl));
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: var(--sc-text-base);
    }

    .trust-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip__item {
        padding: var(--sc-space-lg) var(--sc-space-md);
    }

    .trust-strip__item:nth-child(2) {
        border-right: none;
    }

    .trust-strip__number {
        font-size: var(--sc-text-2xl);
    }

    .country-cards {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--sc-space-3xl) 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--sc-space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--sc-space-md);
        text-align: center;
    }

    .article-content {
        padding: var(--sc-space-2xl) var(--sc-space-lg);
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-box {
        padding: var(--sc-space-3xl) var(--sc-space-xl);
    }

    .cta-box h2 {
        font-size: var(--sc-text-3xl);
    }

    .article-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--sc-space-sm);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-strip__inner {
        grid-template-columns: 1fr;
    }

    .trust-strip__item {
        border-right: none;
        border-bottom: 1px solid var(--sc-border);
        padding: var(--sc-space-md);
    }

    .trust-strip__item:last-child {
        border-bottom: none;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Offset anchors for fixed header */
.site-main {
    padding-top: var(--sc-header-height);
}

/* Front page does NOT need padding-top — hero handles it */
.home .site-main {
    padding-top: 0;
}

/* WordPress alignments */
.alignwide {
    max-width: var(--sc-container-wide);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* No-results fallback */
.no-results {
    text-align: center;
    padding: var(--sc-space-5xl) var(--sc-space-lg);
}

.no-results h1 {
    margin-bottom: var(--sc-space-md);
}

/* ==========================================================================
   THEMATIC IMAGES (Auto-Injected)
   ========================================================================== */

.sabis-thematic-image {
    margin: var(--sc-space-2xl) 0;
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow-md);
    transition: all var(--sc-transition-slow);
    animation: imageReveal 0.6s ease both;
}

.sabis-thematic-image:hover {
    border-color: rgba(201, 152, 90, 0.2);
    box-shadow: var(--sc-shadow-gold);
    transform: translateY(-2px);
}

.sabis-thematic-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform var(--sc-transition-slow);
}

.sabis-thematic-image:hover img {
    transform: scale(1.02);
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
