/*
Theme Name: IndianCabs
Theme URI: http://localhost:8080/indiancabs/
Author: IndianCabs Team
Author URI: http://localhost:8080/indiancabs/
Description: Custom WordPress theme for IndianCabs — a premium taxi booking service. Includes three mega menus (Outstation, Local, Airport), animated hero section, gradient amber theme, and full responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indiancabs
Tags: taxi, cab, transportation, mega-menu, custom-menu, responsive
*/

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: #1B1F3B;
    background: #F8F9FC;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom scrollbar (road-themed gold) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F0F1F5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D72638 0%, #D72638 50%, #A81E2C 100%);
    border-radius: 10px;
    border: 2px solid #F0F1F5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #D72638 0%, #A81E2C 100%);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll Progress Bar (road) ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #D72638, #D72638, #A81E2C);
    z-index: 200;
    box-shadow: 0 0 10px rgba(215, 38, 56, 0.6);
    transition: width 0.1s ease-out;
}

/* ===== Top Strip ===== */
.top-strip {
    background: linear-gradient(90deg, #0b1220 0%, #1B1F3B 50%, #0b1220 100%);
    color: #d1d5db;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

.top-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(215, 38, 56, 0.08), transparent);
    transform: translateX(-100%);
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.top-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* Live "Available 24/7" pulse dot */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-contact a {
    margin-left: 18px;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.top-contact a:hover {
    color: #D72638;
    transform: translateY(-1px);
}

.top-contact a i {
    margin-right: 4px;
    font-size: 11px;
    transition: transform 0.3s ease;
}

.top-contact a:hover i {
    transform: rotate(-12deg) scale(1.15);
}

/* ===== Main Header ===== */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Subtle road-stripe under header — sliding dashes */
.main-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(215, 38, 56, 0.55) 0,
        rgba(215, 38, 56, 0.55) 18px,
        transparent 18px,
        transparent 36px
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: roadDash 1.6s linear infinite;
    pointer-events: none;
}

.main-header.scrolled::after {
    opacity: 0.8;
}

.main-header.scrolled .nav-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 24px;
    transition: padding 0.3s ease;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1B1F3B;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 26px;
    background: linear-gradient(135deg, #D72638 0%, #D72638 50%, #A81E2C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
    animation: taxiWobble 0.6s ease-in-out;
}

@keyframes taxiWobble {
    0%   { transform: translateX(0) rotate(0deg); }
    25%  { transform: translateX(3px) rotate(-6deg); }
    50%  { transform: translateX(-2px) rotate(4deg); }
    75%  { transform: translateX(2px) rotate(-3deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

.logo-text span {
    background: linear-gradient(135deg, #D72638 0%, #A81E2C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Main Nav ===== */
.main-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-list > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #5C6273;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

/* Gradient underline that grows on hover */
.nav-list > li > a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, #D72638, #D72638, #A81E2C);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-list > li > a:hover {
    color: #A81E2C;
    background: linear-gradient(180deg, #FFF5F6 0%, #FFF5F6 100%);
}

.nav-list > li > a:hover::after {
    transform: scaleX(1);
}

.arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-mega-menu:hover .arrow {
    transform: rotate(180deg);
}

/* Book Now Button */
.book-btn {
    position: relative;
    background: linear-gradient(135deg, #D72638 0%, #D72638 50%, #A81E2C 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-position 0.5s ease, transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(215, 38, 56, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}

/* Shine sweep across button */
.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: -1;
}

.book-btn:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(215, 38, 56, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: none;
}

.book-btn:hover::before {
    left: 130%;
}

.book-btn:active {
    transform: translateY(0);
}

/* Gentle attention pulse — runs in idle state to draw the eye */
.book-btn {
    animation: bookAttention 3.4s ease-in-out infinite;
}

@keyframes bookAttention {
    0%, 100% { box-shadow: 0 4px 14px rgba(215, 38, 56, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
    50%      { box-shadow: 0 4px 18px rgba(215, 38, 56, 0.55), 0 0 0 6px rgba(215, 38, 56, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1B1F3B;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== Standard Dropdown (Corporate Taxi etc.) ===== */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #D72638, #D72638, #A81E2C) 1;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.3s;
    z-index: 99;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.has-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #5C6273;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a i {
    width: 18px;
    text-align: center;
    color: #D72638;
    font-size: 14px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, #FFF5F6 0%, #FECDD3 100%);
    color: #A81E2C;
    transform: translateX(3px);
}

.dropdown-menu li a:hover i {
    transform: scale(1.18) rotate(-6deg);
    color: #A81E2C;
}

/* Mobile: dropdown collapses inline */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .has-dropdown:hover .dropdown-menu {
        visibility: hidden;
        max-height: 0;
        padding: 0;
    }

    .has-dropdown.active .dropdown-menu {
        visibility: visible;
        max-height: 500px;
        padding: 8px 0 8px 16px;
    }
}

/* ===== MEGA MENU ===== */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #D72638, #D72638, #A81E2C) 1;
    padding: 28px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
    z-index: 99;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

/* Mega Menu Header */
.mega-menu-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F1F5;
}

.mega-menu-header h3 {
    font-size: 20px;
    color: #1B1F3B;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mega-menu-header p {
    font-size: 14px;
    color: #5C6273;
}

/* Mega Menu Grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    perspective: 800px;
}

.mega-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    overflow: hidden;
    isolation: isolate;
}

/* Sliding gradient wash on hover */
.mega-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 245, 246, 0.6) 0%, rgba(254, 205, 211, 0.85) 100%);
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.mega-item:hover {
    border-color: #FECDD3;
    transform: translateY(-3px) rotateX(4deg);
    box-shadow: 0 12px 22px rgba(215, 38, 56, 0.22);
}

.mega-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.mega-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5F6 0%, #FECDD3 100%);
    border-radius: 10px;
    font-size: 18px;
    color: #A81E2C;
    transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.mega-item:hover .mega-icon {
    background: linear-gradient(135deg, #D72638 0%, #D72638 50%, #A81E2C 100%);
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 6px 14px rgba(215, 38, 56, 0.45);
}

.mega-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1B1F3B;
    margin-bottom: 2px;
    transition: color 0.25s ease;
}

.mega-item:hover .mega-text h4 {
    color: #A81E2C;
}

.mega-text span {
    font-size: 12px;
    color: #5C6273;
}

/* Mega Menu Footer */
.mega-menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #F0F1F5;
    font-size: 14px;
    color: #5C6273;
}

.mega-cta {
    color: #D72638;
    font-weight: 600;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mega-cta:hover {
    color: #A81E2C;
    letter-spacing: 0.3px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 100px 0 140px;
    text-align: center;
    background:
        radial-gradient(1000px 500px at 80% -10%, rgba(215, 38, 56, 0.18), transparent 60%),
        radial-gradient(800px 400px at 0% 110%, rgba(215, 38, 56, 0.14), transparent 60%),
        linear-gradient(135deg, #FFF5F6 0%, #ffffff 60%, #FFF5F6 100%);
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    color: #1B1F3B;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero p {
    font-size: 17px;
    color: #5C6273;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Decorative gradient blobs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #D72638, transparent 70%);
    top: -120px;
    right: -80px;
    transform: translateY(var(--parY, 0));
    animation: floatBlob 12s ease-in-out infinite;
    will-change: transform;
}

.hero::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #D72638, transparent 70%);
    bottom: -100px;
    left: -60px;
    transform: translateY(var(--parYRev, 0));
    animation: floatBlob 14s ease-in-out infinite reverse;
    will-change: transform;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -20px) scale(1.08); }
}

/* Road + driving taxi */
.hero-road {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-road::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #D72638 0,
        #D72638 30px,
        transparent 30px,
        transparent 60px
    );
    border-radius: 2px;
    animation: roadDash 1.6s linear infinite;
    opacity: 0.55;
}

.hero-road::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 31, 59, 0.12), transparent);
}

@keyframes roadDash {
    from { background-position: 0 0; }
    to   { background-position: -60px 0; }
}

.hero-taxi {
    position: absolute;
    bottom: 22px;
    font-size: 36px;
    color: #D72638;
    filter: drop-shadow(0 6px 8px rgba(215, 38, 56, 0.45));
    animation: driveAcross 9s linear infinite, taxiBob 0.5s ease-in-out infinite alternate;
}

@keyframes driveAcross {
    0%   { left: -60px; }
    100% { left: calc(100% + 60px); }
}

@keyframes taxiBob {
    from { transform: translateY(0); }
    to   { transform: translateY(-3px); }
}

/* ===== Reveal-on-scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered mega-item reveal on first hover */
.has-mega-menu:hover .mega-item,
.has-mega-menu.active .mega-item {
    animation: itemFadeIn 0.45s ease both;
}

.has-mega-menu:hover .mega-item:nth-child(1)  { animation-delay: 0.02s; }
.has-mega-menu:hover .mega-item:nth-child(2)  { animation-delay: 0.04s; }
.has-mega-menu:hover .mega-item:nth-child(3)  { animation-delay: 0.06s; }
.has-mega-menu:hover .mega-item:nth-child(4)  { animation-delay: 0.08s; }
.has-mega-menu:hover .mega-item:nth-child(5)  { animation-delay: 0.10s; }
.has-mega-menu:hover .mega-item:nth-child(6)  { animation-delay: 0.12s; }
.has-mega-menu:hover .mega-item:nth-child(7)  { animation-delay: 0.14s; }
.has-mega-menu:hover .mega-item:nth-child(8)  { animation-delay: 0.16s; }
.has-mega-menu:hover .mega-item:nth-child(9)  { animation-delay: 0.18s; }
.has-mega-menu:hover .mega-item:nth-child(10) { animation-delay: 0.20s; }
.has-mega-menu:hover .mega-item:nth-child(11) { animation-delay: 0.22s; }
.has-mega-menu:hover .mega-item:nth-child(12) { animation-delay: 0.24s; }
.has-mega-menu:hover .mega-item:nth-child(13) { animation-delay: 0.26s; }
.has-mega-menu:hover .mega-item:nth-child(14) { animation-delay: 0.28s; }
.has-mega-menu:hover .mega-item:nth-child(15) { animation-delay: 0.30s; }
.has-mega-menu:hover .mega-item:nth-child(16) { animation-delay: 0.32s; }

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

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .hero-taxi, .hero-road::before, .hero::before, .hero::after { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 4px;
    }

    .nav-list > li > a {
        width: 100%;
        justify-content: space-between;
    }

    .nav-list > li > a::after {
        display: none;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-mega-menu.active .mega-menu {
        visibility: visible;
        max-height: 2000px;
        padding: 16px;
    }

    .has-mega-menu:hover .mega-menu {
        visibility: hidden;
        max-height: 0;
        padding: 0;
    }

    .has-mega-menu.active:hover .mega-menu,
    .has-mega-menu.active .mega-menu {
        visibility: visible;
        max-height: 2000px;
        padding: 16px;
    }

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

    .book-btn {
        display: none;
    }
}

@media (max-width: 560px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero {
        padding: 70px 0 110px;
    }

    .top-strip-inner {
        justify-content: center;
        text-align: center;
    }

    .top-contact a {
        margin-left: 10px;
    }
}

/* ===== Site Main (WordPress content area) ===== */
.site-main {
    padding: 60px 0;
}

.site-main-inner {
    max-width: 860px;
}

.site-post {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0F1F5;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.site-post:hover {
    box-shadow: 0 6px 18px rgba(215, 38, 56, 0.10);
    transform: translateY(-2px);
}

.site-post h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1B1F3B;
}

.site-post h2 a {
    color: inherit;
    transition: color 0.2s ease;
}

.site-post h2 a:hover {
    color: #A81E2C;
}

.site-post p {
    color: #5C6273;
    font-size: 15px;
}

/* ===== Site Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #0b1220 0%, #1B1F3B 100%);
    color: #d1d5db;
    margin-top: 80px;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 60px 24px 40px;
}

.site-footer .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.site-footer-col h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.site-footer-col ul li a {
    color: #9ca3af;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer-col ul li a:hover {
    color: #D72638;
    padding-left: 4px;
}

.site-footer-col ul li a i {
    color: #D72638;
    font-size: 12px;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #5C6273;
}

@media (max-width: 768px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 24px 30px;
    }
}

/* =====================================================================
   GENERIC PAGE / POST / ARCHIVE TEMPLATES
   ===================================================================== */

/* ---- Shared inner-page hero (smaller than homepage hero) ---- */
.post-hero,
.page-hero,
.archive-hero {
    position: relative;
    padding: 70px 0 60px;
    text-align: center;
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(215, 38, 56, 0.20), transparent 60%),
        radial-gradient(700px 350px at 0% 100%, rgba(215, 38, 56, 0.14), transparent 60%),
        linear-gradient(135deg, #FFF5F6 0%, #ffffff 60%, #FFF5F6 100%);
    overflow: hidden;
}
.post-hero-title,
.page-hero-title,
.archive-hero-title {
    font-size: 38px;
    line-height: 1.2;
    color: #1B1F3B;
    margin: 8px auto 14px;
    max-width: 900px;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.post-hero-sub,
.page-hero-sub,
.archive-hero-sub {
    font-size: 16px;
    line-height: 28px;
    color: #5C6273;
    max-width: 760px;
    margin: 0 auto;
}
.archive-hero-eyebrow {
    color: #A81E2C;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 12px;
    margin-bottom: 8px;
}

/* ---- Single post ---- */
.post-hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    color: #5C6273;
    font-size: 13px;
    margin-bottom: 14px;
}
.post-hero-cat {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.post-hero-date,
.post-hero-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-featured-wrap {
    padding: 0 0 8px;
}
.post-featured-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.post-main {
    padding-top: 40px;
}
.post-content-container {
    max-width: 860px;
}
.post-article {
    background: #fff;
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0F1F5;
}
.post-content {
    color: #5C6273;
    font-size: 17px;
    line-height: 1.85;
}
.post-content h2 {
    font-size: 26px;
    margin: 28px 0 14px;
    color: #1B1F3B;
}
.post-content h3 {
    font-size: 21px;
    margin: 24px 0 12px;
    color: #1B1F3B;
}
.post-content p { margin-bottom: 16px; }
.post-content a { color: #A81E2C; text-decoration: underline; }
.post-content a:hover { color: #A81E2C; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 18px 0; }
.post-content ul, .post-content ol { margin: 12px 0 18px 24px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
    border-left: 4px solid #D72638;
    padding: 8px 18px;
    color: #5C6273;
    background: #FFF5F6;
    margin: 18px 0;
    border-radius: 4px;
}
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #F0F1F5;
}
.post-back-link,
.outstation-back-link {
    color: #A81E2C;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.post-back-link:hover,
.outstation-back-link:hover { color: #A81E2C; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag {
    background: #FFF5F6;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}
.post-tag:hover { background: #FECDD3; }

/* ---- Related posts ---- */
.related-posts { margin-top: 48px; }
.related-posts-title {
    font-size: 24px;
    color: #1B1F3B;
    margin-bottom: 18px;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #F0F1F5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(215, 38, 56, 0.14);
}
.related-post-img { aspect-ratio: 16/10; overflow: hidden; background: #F0F1F5; }
.related-post-img img { width: 100%; height: 100%; object-fit: cover; }
.related-post-body { padding: 16px 18px 20px; }
.related-post-body h3 {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #1B1F3B;
}
.related-post-date { font-size: 12px; color: #5C6273; }

/* ---- Page template ---- */
.page-main { padding-top: 50px; }
.page-content-container { max-width: 1000px; }
.page-article {
    background: #fff;
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #F0F1F5;
}
.page-featured { margin-bottom: 26px; }
.page-featured-img {
    width: 100%;
    border-radius: 10px;
    max-height: 420px;
    object-fit: cover;
}
.page-content {
    color: #5C6273;
    font-size: 16px;
    line-height: 1.8;
}
.page-content h2 { font-size: 28px; color: #1B1F3B; margin: 26px 0 12px; }
.page-content h3 { font-size: 22px; color: #1B1F3B; margin: 22px 0 10px; }
.page-content p { margin-bottom: 14px; }
.page-content a { color: #A81E2C; }
.page-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* ---- Archive grid ---- */
.archive-main { padding: 50px 0 60px; }
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.archive-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #F0F1F5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(215, 38, 56, 0.14);
}
.archive-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.archive-card-img { aspect-ratio: 16/10; overflow: hidden; background: #F0F1F5; }
.archive-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.archive-card:hover .archive-card-img img { transform: scale(1.04); }
.archive-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.archive-card-cat {
    display: inline-block;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    align-self: flex-start;
}
.archive-card-title {
    font-size: 18px;
    color: #1B1F3B;
    line-height: 1.35;
    margin-bottom: 8px;
}
.archive-card-excerpt {
    color: #5C6273;
    font-size: 14px;
    line-height: 22px;
    flex: 1;
    margin-bottom: 12px;
}
.archive-card-date {
    color: #9ca3af;
    font-size: 12px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.archive-empty { text-align: center; padding: 60px 0; color: #5C6273; }
.archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 8px;
    background: #fff;
    color: #5C6273;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-weight: 600;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    border-color: transparent;
}

/* =====================================================================
   OUTSTATION CPT
   ===================================================================== */

.outstation-hero {
    position: relative;
    padding: 90px 0 80px;
    text-align: center;
    background:
        radial-gradient(900px 450px at 85% -10%, rgba(215, 38, 56, 0.30), transparent 60%),
        radial-gradient(750px 380px at -5% 110%, rgba(215, 38, 56, 0.22), transparent 60%),
        linear-gradient(135deg, #FFF5F6 0%, #ffffff 50%, #FFF5F6 100%);
    overflow: hidden;
}
.outstation-hero-eyebrow {
    color: #A81E2C;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
    margin-bottom: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.outstation-hero-title {
    font-size: 48px;
    line-height: 1.15;
    color: #1B1F3B;
    margin: 0 auto 18px;
    max-width: 920px;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.outstation-hero-sub {
    font-size: 17px;
    line-height: 30px;
    color: #5C6273;
    max-width: 820px;
    margin: 0 auto 26px;
}
.outstation-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(215, 38, 56, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.outstation-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(215, 38, 56, 0.40);
    color: #fff;
}

.outstation-main { padding: 60px 0 80px; }
.outstation-section-head { text-align: center; margin-bottom: 30px; }
.outstation-section-heading {
    font-size: 30px;
    line-height: 1.25;
    color: #1B1F3B;
    margin-bottom: 10px;
}
.outstation-section-sub { color: #5C6273; font-size: 16px; }

.outstation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}
.outstation-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F1F5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.outstation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(215, 38, 56, 0.18);
    color: inherit;
}
.outstation-card-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #FFF5F6;
}
.outstation-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.outstation-card:hover .outstation-card-img { transform: scale(1.06); }
.outstation-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #D72638 0%, #A81E2C 100%);
    color: #fff;
    font-size: 60px;
}
.outstation-card-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(27, 31, 59, 0.85);
    color: #D72638;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    backdrop-filter: blur(6px);
}
.outstation-card-badge i { font-size: 10px; }
.outstation-card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.outstation-card-title {
    font-size: 17px;
    line-height: 1.35;
    color: #1B1F3B;
    margin-bottom: 12px;
    flex: 1;
    font-weight: 700;
}
.outstation-card-link {
    color: #A81E2C;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.outstation-empty { text-align: center; padding: 50px 0; color: #5C6273; }

/* ---- Why book section ---- */
.outstation-why-row { margin-top: 20px; text-align: center; }
.outstation-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 28px;
    text-align: left;
}
.outstation-why-card {
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 14px;
    padding: 26px 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.outstation-why-card:hover {
    border-color: #D72638;
    transform: translateY(-3px);
}
.outstation-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
    color: #A81E2C;
    margin-bottom: 14px;
    font-size: 20px;
}
.outstation-why-card h4 {
    font-size: 17px;
    color: #1B1F3B;
    margin-bottom: 8px;
    font-weight: 700;
}
.outstation-why-card p {
    font-size: 14px;
    line-height: 22px;
    color: #5C6273;
}

/* ---- Single outstation page ---- */
.outstation-single-hero {
    position: relative;
    background-color: #0b1220;
    background-size: cover;
    background-position: center;
    padding: 140px 0 120px;
    color: #fff;
    overflow: hidden;
}
.outstation-single-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,18,32,0.85) 0%, rgba(11,18,32,0.55) 60%, rgba(11,18,32,0.35) 100%);
}
.outstation-single-hero-inner { position: relative; z-index: 2; }
.outstation-single-eyebrow {
    color: #D72638;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
    margin-bottom: 14px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.outstation-single-title {
    font-size: 56px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
    max-width: 820px;
}
.outstation-single-sub {
    font-size: 17px;
    line-height: 30px;
    color: #d1d5db;
    margin-bottom: 26px;
    max-width: 680px;
}
.outstation-single-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    padding: 15px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 14px 30px rgba(215, 38, 56, 0.40);
}
.outstation-single-cta:hover {
    background: linear-gradient(135deg, #D72638, #D72638);
    color: #fff;
    transform: translateY(-2px);
}

.outstation-single-main { padding: 60px 0 80px; }
.outstation-single-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.outstation-single-content {
    background: #fff;
    border-radius: 14px;
    padding: 36px 38px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #F0F1F5;
    color: #5C6273;
    font-size: 16px;
    line-height: 1.8;
}
.outstation-single-content h2 {
    font-size: 28px;
    margin: 36px 0 14px;
    color: #1B1F3B;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    position: relative;
    padding-left: 16px;
    line-height: 1.3;
}
.outstation-single-content h2::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #D72638, #A81E2C);
    -webkit-text-fill-color: initial;
}
.outstation-single-content h3 {
    font-size: 21px;
    margin: 26px 0 12px;
    color: #1B1F3B;
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}
.outstation-single-content h3::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(215, 38, 56, 0.18);
}
.outstation-single-content p  { margin-bottom: 14px; }
.outstation-single-content ul,
.outstation-single-content ol { margin: 12px 0 16px 24px; }
.outstation-single-content a  { color: #A81E2C; text-decoration: underline; text-decoration-color: rgba(215, 38, 56, 0.4); text-underline-offset: 3px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.outstation-single-content a:hover { color: #A81E2C; text-decoration-color: #A81E2C; }
.outstation-back-row { margin-top: 28px; padding-top: 22px; border-top: 1px solid #F0F1F5; }

/* ===== Route Stat Bar (4 stat boxes near top) ===== */
.outstation-single-content .route-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 0 32px;
    padding: 0;
}
.outstation-single-content .route-stat {
    background: linear-gradient(135deg, #ffffff 0%, #FFF5F6 100%);
    border: 1px solid #FECDD3;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.outstation-single-content .route-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(215, 38, 56, 0.18);
    border-color: #D72638;
}
.outstation-single-content .route-stat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
    color: #A81E2C;
    border-radius: 50%;
    font-size: 16px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.outstation-single-content .route-stat:hover i {
    background: linear-gradient(135deg, #D72638, #D72638, #A81E2C);
    color: #fff;
    transform: rotate(-8deg) scale(1.06);
}
.outstation-single-content .route-stat strong {
    display: block;
    font-size: 17px;
    color: #1B1F3B;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}
.outstation-single-content .route-stat span {
    display: block;
    font-size: 12px;
    color: #5C6273;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Route Tables (distance, fare) ===== */
.outstation-single-content .route-table-wrap {
    margin: 0 0 22px;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #FECDD3;
    box-shadow: 0 4px 14px rgba(215, 38, 56, 0.08);
}
.outstation-single-content .route-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}
.outstation-single-content .route-table thead {
    background: linear-gradient(135deg, #D72638 0%, #D72638 50%, #A81E2C 100%);
    color: #fff;
}
.outstation-single-content .route-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.outstation-single-content .route-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #FFF5F6;
    color: #5C6273;
    vertical-align: top;
}
.outstation-single-content .route-table tbody tr:last-child td { border-bottom: none; }
.outstation-single-content .route-table tbody tr {
    transition: background 0.25s ease;
}
.outstation-single-content .route-table tbody tr:hover {
    background: linear-gradient(90deg, #FFF5F6, #FFF5F6);
}
.outstation-single-content .route-table.fare-table td:nth-child(5),
.outstation-single-content .route-table.fare-table td:nth-child(6) {
    font-weight: 700;
    color: #A81E2C;
    white-space: nowrap;
}

/* ===== Route FAQs (<details> in the post body) ===== */
.outstation-single-content .route-faq {
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.outstation-single-content .route-faq::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #D72638, #D72638, #A81E2C);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.outstation-single-content .route-faq:hover {
    border-color: #FECDD3;
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(215, 38, 56, 0.08);
}
.outstation-single-content .route-faq[open] {
    border-color: #FECDD3;
    background: linear-gradient(180deg, #fff, #FFF5F6);
    box-shadow: 0 12px 28px rgba(215, 38, 56, 0.16);
}
.outstation-single-content .route-faq[open]::before { transform: scaleY(1); }

.outstation-single-content .route-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 15px;
    color: #1B1F3B;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.25s ease;
}
.outstation-single-content .route-faq summary::-webkit-details-marker { display: none; }
.outstation-single-content .route-faq summary::after {
    content: '+';
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
    color: #A81E2C;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.outstation-single-content .route-faq:hover summary { color: #A81E2C; }
.outstation-single-content .route-faq:hover summary::after {
    background: linear-gradient(135deg, #D72638, #D72638);
    color: #fff;
    transform: scale(1.05);
}
.outstation-single-content .route-faq[open] summary { color: #A81E2C; }
.outstation-single-content .route-faq[open] summary::after {
    background: linear-gradient(135deg, #A81E2C, #A81E2C);
    color: #fff;
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(215, 38, 56, 0.4);
}
.outstation-single-content .route-faq p {
    padding: 0 22px 18px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: #5C6273;
    animation: faqFade 0.3s ease;
}
@keyframes faqFade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Related Routes list ===== */
.outstation-single-content ul.related-routes {
    list-style: none;
    margin: 12px 0 16px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.outstation-single-content ul.related-routes li {
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    font-size: 14px;
}
.outstation-single-content ul.related-routes li::before {
    content: '\f061'; /* fa-arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #A81E2C;
    margin-right: 8px;
    font-size: 11px;
}
.outstation-single-content ul.related-routes li:hover {
    border-color: #FECDD3;
    background: linear-gradient(90deg, #FFF5F6, #FFF5F6);
    transform: translateX(3px);
}
.outstation-single-content ul.related-routes li a { text-decoration: none; font-weight: 600; color: #1B1F3B; }
.outstation-single-content ul.related-routes li a:hover { color: #A81E2C; }

/* ===== Bottom CTA Box ===== */
.outstation-single-content .route-cta-box {
    margin: 40px 0 10px;
    padding: 36px 32px;
    background: linear-gradient(135deg, #1B1F3B 0%, #0b1220 100%);
    border-radius: 18px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 18, 32, 0.25);
}
.outstation-single-content .route-cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(215, 38, 56, 0.30), transparent 65%);
    pointer-events: none;
}
.outstation-single-content .route-cta-box h3 {
    color: #D72638;
    background: none;
    -webkit-text-fill-color: #D72638;
    margin: 0 0 8px;
    padding: 0;
    font-size: 24px;
    position: relative;
}
.outstation-single-content .route-cta-box h3::before { display: none; }
.outstation-single-content .route-cta-box p {
    color: #d1d5db;
    margin-bottom: 18px;
    position: relative;
}
.outstation-single-content .route-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.outstation-single-content .route-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.outstation-single-content .route-cta-btn.primary {
    background: linear-gradient(135deg, #D72638, #D72638, #A81E2C);
    color: #1B1F3B;
    box-shadow: 0 6px 16px rgba(215, 38, 56, 0.4);
}
.outstation-single-content .route-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(215, 38, 56, 0.55);
    color: #1B1F3B;
}
.outstation-single-content .route-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.outstation-single-content .route-cta-btn.secondary:hover {
    background: rgba(37, 211, 102, 0.92);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .outstation-single-content .route-stats { grid-template-columns: repeat(2, 1fr); }
    .outstation-single-content .route-table { font-size: 13px; }
    .outstation-single-content .route-table th,
    .outstation-single-content .route-table td { padding: 10px 12px; }
    .outstation-single-content ul.related-routes { grid-template-columns: 1fr; }
    .outstation-single-content .route-cta-box { padding: 28px 22px; }
}
@media (max-width: 480px) {
    .outstation-single-content .route-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .outstation-single-content .route-stat { padding: 14px 10px; }
    .outstation-single-content .route-stat strong { font-size: 15px; }
}

.outstation-sidebar {
    background: linear-gradient(180deg, #0b1220 0%, #1B1F3B 100%);
    color: #fff;
    padding: 30px 26px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.20);
    position: sticky;
    top: 100px;
}
.outstation-sidebar h3 {
    color: #D72638;
    font-size: 20px;
    margin-bottom: 10px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.outstation-sidebar p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
}
.outstation-sidebar-cta {
    display: inline-block;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(215, 38, 56, 0.40);
}
.outstation-sidebar-cta:hover { background: linear-gradient(135deg, #D72638, #D72638); color: #fff; }
.outstation-sidebar-note { font-size: 12px; color: #9ca3af !important; margin-top: 14px !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .related-posts-grid,
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .outstation-grid,
    .outstation-why-grid { grid-template-columns: repeat(2, 1fr); }
    .outstation-single-grid { grid-template-columns: 1fr; }
    .outstation-sidebar { position: static; }
}
@media (max-width: 640px) {
    .post-hero-title,
    .page-hero-title,
    .archive-hero-title { font-size: 28px; }
    .outstation-hero-title { font-size: 32px; }
    .outstation-single-title { font-size: 32px; line-height: 1.2; }
    .post-article,
    .page-article,
    .outstation-single-content { padding: 24px 20px; }
    .related-posts-grid,
    .archive-grid,
    .outstation-grid,
    .outstation-why-grid { grid-template-columns: 1fr; }
    .post-hero,
    .page-hero,
    .archive-hero { padding: 50px 0 40px; }
    .outstation-hero { padding: 60px 0 50px; }
    .outstation-single-hero { padding: 90px 0 70px; }
    .post-featured-img { margin-top: 0; }
}

/* =====================================================================
   IMPRESSIVE SINGLE-POST DESIGN  (overrides legacy .post-* above)
   ===================================================================== */

/* --- Reading progress (top bar) --- */
.reading-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #D72638, #D72638, #A81E2C);
    z-index: 9999;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(215, 38, 56, 0.55);
}

/* --- Magazine hero --- */
.single-hero {
    position: relative;
    min-height: 560px;
    padding: 140px 0 90px;
    background-color: #0b1220;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.single-hero.no-image {
    background:
        radial-gradient(900px 450px at 90% 0%, rgba(215, 38, 56, 0.30), transparent 60%),
        radial-gradient(750px 380px at 0% 100%, rgba(215, 38, 56, 0.22), transparent 60%),
        linear-gradient(135deg, #0b1220 0%, #1B1F3B 60%, #1B1F3B 100%);
    min-height: 420px;
    padding: 130px 0 60px;
}
.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11,18,32,0.20) 0%,
        rgba(11,18,32,0.45) 45%,
        rgba(11,18,32,0.85) 85%,
        rgba(11,18,32,0.95) 100%);
}
.single-hero.no-image .single-hero-overlay { display: none; }

.single-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}
.single-hero-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(215, 38, 56, 0.35);
    animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.single-hero-title {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
.single-hero-sub {
    font-size: 18px;
    line-height: 30px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 700px;
    animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}
.single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}
.single-hero-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.single-hero-avatar {
    border-radius: 50%;
    border: 2px solid rgba(215,38,56,0.6);
}
.single-hero-date,
.single-hero-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.single-hero-meta-dot {
    color: rgba(255,255,255,0.4);
}

/* --- Two-column body layout --- */
.single-main {
    background: linear-gradient(180deg, #FFF5F6 0%, #ffffff 200px);
    padding: 70px 0 40px;
}
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
    position: relative;
}

/* --- Floating share (left side, desktop) --- */
.single-share-floating {
    position: fixed;
    /* Sit in the empty margin to the LEFT of the 1280px container,
       with ~16px breathing room between the share bar and the article. */
    left: calc((100vw - 1280px) / 2 - 70px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 50;
    padding: 18px 8px;
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.single-share-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A81E2C;
    margin-bottom: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.single-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #F8F9FC;
    color: #5C6273;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.single-share-btn:hover {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    transform: translateY(-2px);
}
.single-copy-btn.is-copied {
    background: #10b981 !important;
    color: #fff !important;
}

/* --- Article content --- */
.single-content-col { min-width: 0; }
.single-content.prose {
    font-size: 18px;
    line-height: 1.85;
    color: #1B1F3B;
    font-family: 'Poppins', sans-serif;
}
.single-content.prose > p:first-of-type::first-letter {
    float: left;
    font-size: 64px;
    line-height: 56px;
    padding: 6px 12px 0 0;
    color: #A81E2C;
    font-weight: 700;
    background: linear-gradient(135deg, #A81E2C 0%, #D72638 60%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.single-content.prose p { margin-bottom: 22px; }
.single-content.prose h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 50px 0 18px;
    color: #1B1F3B; /* fallback for browsers without background-clip */
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 18px;
    scroll-margin-top: 90px;
}
.single-content.prose h2::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, #D72638, #A81E2C);
    -webkit-text-fill-color: initial; /* keep the bar visible */
}
.single-content.prose h3 {
    font-size: 24px;
    line-height: 1.3;
    margin: 38px 0 14px;
    color: #1B1F3B; /* fallback */
    background: linear-gradient(90deg, #1C75BC 0%, #1C75BC 38%, #D72638 62%, #D72638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    padding-left: 16px;
}
.single-content.prose h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(215, 38, 56, 0.18);
}
.single-content.prose h4 {
    font-size: 19px;
    margin: 30px 0 12px;
    color: #1B1F3B;
    font-weight: 700;
}
.single-content.prose a {
    color: #A81E2C;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1.5px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: color 0.2s ease, background-size 0.2s ease;
}
.single-content.prose a:hover {
    color: #A81E2C;
    background-size: 100% 2px;
}
.single-content.prose strong { color: #1B1F3B; font-weight: 700; }
.single-content.prose ul,
.single-content.prose ol {
    margin: 0 0 22px 4px;
    padding-left: 22px;
}
.single-content.prose ul { list-style: none; padding-left: 0; }
.single-content.prose ul > li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}
.single-content.prose ul > li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    box-shadow: 0 0 0 3px #FFF5F6;
}
.single-content.prose ol > li { margin-bottom: 10px; padding-left: 6px; }
.single-content.prose ol > li::marker { color: #A81E2C; font-weight: 700; }
.single-content.prose blockquote {
    border: none;
    margin: 32px 0;
    padding: 26px 30px 26px 60px;
    background: linear-gradient(135deg, #FFF5F6 0%, #FFF5F6 100%);
    border-radius: 14px;
    position: relative;
    font-size: 19px;
    line-height: 1.7;
    color: #78350f;
    font-style: italic;
    box-shadow: 0 4px 14px rgba(215, 38, 56, 0.10);
}
.single-content.prose blockquote::before {
    content: '"';
    position: absolute;
    left: 18px;
    top: 0px;
    font-size: 80px;
    line-height: 1;
    color: #D72638;
    font-family: Georgia, serif;
    font-weight: 900;
}
.single-content.prose img,
.single-content.prose figure {
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    max-width: 100%;
    height: auto;
}
.single-content.prose figure img { margin: 0; box-shadow: none; border-radius: 14px 14px 0 0; }
.single-content.prose figcaption {
    background: #F8F9FC;
    color: #5C6273;
    font-size: 14px;
    padding: 10px 16px;
    text-align: center;
    font-style: italic;
}
.single-content.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.single-content.prose th,
.single-content.prose td {
    padding: 12px 16px;
    border-bottom: 1px solid #F0F1F5;
    text-align: left;
}
.single-content.prose th {
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
    color: #92400e;
    font-weight: 700;
}
.single-content.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D72638, transparent);
    margin: 40px 0;
}
.single-content.prose code {
    background: #FFF5F6;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.92em;
}

/* --- Tags --- */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 32px 0 12px;
    color: #A81E2C;
    font-weight: 600;
}
.single-tag-chip {
    background: #FFF5F6;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}
.single-tag-chip:hover {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
}

/* --- Inline share row (mobile / bottom of article) --- */
.single-share-inline {
    display: none;
    margin-top: 28px;
    padding: 18px 22px;
    background: #FFF5F6;
    border-radius: 14px;
    border: 1px solid #FECDD3;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.single-share-inline-label {
    font-weight: 700;
    color: #78350f;
    font-size: 14px;
}
.single-share-inline-btns { display: flex; gap: 8px; }

/* --- Author bio card --- */
.single-author-card {
    margin-top: 36px;
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 16px;
    padding: 24px 26px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.single-author-avatar {
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(215,38,56,0.20);
    border: 3px solid #FFF5F6;
}
.single-author-body { flex: 1; }
.single-author-eyebrow {
    color: #A81E2C;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.single-author-name { font-size: 20px; color: #1B1F3B; margin: 4px 0 8px; }
.single-author-bio { color: #5C6273; font-size: 15px; line-height: 1.7; margin: 0; }

/* --- Sticky sidebar --- */
.single-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.single-side-card {
    background: #fff;
    border: 1px solid #F0F1F5;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

/* CTA card */
.single-side-cta {
    background: linear-gradient(160deg, #0b1220 0%, #1B1F3B 100%);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}
.single-side-cta::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(215,38,56,0.35), transparent 70%);
    pointer-events: none;
}
.single-side-cta-eyebrow {
    color: #D72638;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.single-side-cta h4 {
    color: #fff;
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 8px;
}
.single-side-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 18px;
}
.single-side-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff !important;
    padding: 13px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 24px rgba(215, 38, 56, 0.40);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.single-side-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(215, 38, 56, 0.55);
}
.single-side-cta-link {
    display: block;
    text-align: center;
    color: #D72638;
    font-size: 13px;
    margin-top: 14px;
    text-decoration: none;
    font-weight: 600;
}
.single-side-cta-link:hover { color: #fff; }

/* TOC */
.single-side-toc h4 {
    font-size: 14px;
    color: #78350f;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}
.single-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.single-toc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #5C6273;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
    border-left: 3px solid transparent;
}
.single-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #FFF5F6;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease;
}
.single-toc-link:hover {
    background: #FFF5F6;
    color: #1B1F3B;
}
.single-toc-link.is-active {
    background: linear-gradient(90deg, #FFF5F6 0%, transparent 100%);
    color: #92400e;
    border-left-color: #A81E2C;
    font-weight: 600;
}
.single-toc-link.is-active .single-toc-num {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
}

/* --- Related posts --- */
.single-related {
    background: linear-gradient(180deg, #ffffff 0%, #FFF5F6 100%);
    padding: 70px 0;
}
.single-related-head { text-align: center; margin-bottom: 36px; }
.single-related-eyebrow {
    color: #A81E2C;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}
.single-related-title {
    font-size: 34px;
    color: #1B1F3B;
    margin-top: 8px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.single-related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    border: 1px solid #F0F1F5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.single-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(215, 38, 56, 0.20);
    color: inherit;
}
.single-related-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
}
.single-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.single-related-card:hover .single-related-img img { transform: scale(1.07); }
.single-related-body { padding: 20px 22px 24px; flex: 1; }
.single-related-cat {
    display: inline-block;
    background: linear-gradient(135deg, #FFF5F6, #FECDD3);
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.single-related-body h3 {
    font-size: 18px;
    line-height: 1.4;
    color: #1B1F3B;
    margin-bottom: 14px;
    font-weight: 700;
}
.single-related-date {
    color: #9ca3af;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Bottom CTA banner --- */
.single-bottom-cta {
    background:
        radial-gradient(900px 400px at 90% 50%, rgba(215,38,56,0.18), transparent 60%),
        linear-gradient(135deg, #0b1220 0%, #1B1F3B 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.single-bottom-cta::before {
    content: '\f1ba'; /* fa-taxi */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -30px; bottom: -40px;
    font-size: 280px;
    color: rgba(215,38,56,0.07);
    pointer-events: none;
}
.single-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.single-bottom-cta-text h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.single-bottom-cta-text p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 26px;
    max-width: 540px;
}
.single-bottom-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.single-bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.single-bottom-cta-btn.primary {
    background: linear-gradient(135deg, #D72638, #A81E2C);
    color: #fff;
    box-shadow: 0 12px 30px rgba(215,38,56,0.45);
}
.single-bottom-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(215,38,56,0.55);
    color: #fff;
}
.single-bottom-cta-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.single-bottom-cta-btn.secondary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1430px) {
    /* Below ~1430px there isn't enough margin space on the left for the
       floating share without it overlapping the article content. Hide it
       and let the inline share row (bottom of the article) take over. */
    .single-share-floating { display: none; }
    .single-share-inline   { display: flex; }
}
@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; gap: 40px; }
    .single-sidebar { position: static; }
    .single-related-grid { grid-template-columns: repeat(2, 1fr); }
    .single-hero-title { font-size: 42px; }
}
@media (max-width: 640px) {
    .single-hero { min-height: 480px; padding: 110px 0 70px; }
    .single-hero-title { font-size: 30px; line-height: 1.18; }
    .single-hero-sub { font-size: 15px; line-height: 26px; }
    .single-hero-meta { gap: 8px; font-size: 13px; }
    .single-hero-meta-dot { display: none; }
    .single-main { padding: 40px 0 20px; }
    .single-content.prose { font-size: 16px; line-height: 1.78; }
    .single-content.prose h2 { font-size: 24px; margin: 36px 0 14px; padding-left: 14px; }
    .single-content.prose h3 { font-size: 20px; }
    .single-content.prose > p:first-of-type::first-letter { font-size: 52px; line-height: 48px; }
    .single-content.prose blockquote { padding: 22px 22px 22px 50px; font-size: 17px; }
    .single-related-grid { grid-template-columns: 1fr; }
    .single-related-title { font-size: 26px; }
    .single-bottom-cta { padding: 50px 0; }
    .single-bottom-cta-text h2 { font-size: 24px; }
    .single-bottom-cta-inner { gap: 20px; }
    .single-author-card { flex-direction: column; gap: 14px; }
}


