/* ==========================================================================
   TODAY TAKA RATE (todaytakarate.com) - BRANDING & DESIGN SYSTEM
   Theme centered around the Official National Green & Crimson Red Doel Logo
   ========================================================================== */

/* CSS Reset & Brand Color Palette */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Hind Siliguri', 'Outfit', sans-serif;

    /* Logo Brand Palette */
    --bd-green: #009A44;         /* Outer Teardrop Emerald Green */
    --bd-green-hover: #008239;
    --bd-green-glow: rgba(0, 154, 68, 0.3);

    --bd-red: #E41E3F;           /* Center Circle Crimson Red */
    --bd-red-hover: #C71432;
    --bd-red-glow: rgba(228, 30, 63, 0.3);

    --bd-cream: #FFFDF5;         /* Doel Bird Chest Cream Accent */
    --bd-gold: #F59E0B;          /* Remittance Bonus Gold */

    /* Dark Theme Variables (Centered around Deep Emerald-Forest Tint) */
    --bg-dark: #07120D;
    --bg-card: rgba(13, 27, 20, 0.85);
    --bg-card-hover: rgba(20, 38, 28, 0.95);
    --border-color: rgba(0, 154, 68, 0.18);
    --border-highlight: rgba(228, 30, 63, 0.4);

    --primary: var(--bd-green);
    --primary-hover: var(--bd-green-hover);
    --primary-glow: var(--bd-green-glow);

    --accent-red: var(--bd-red);
    --accent-gold: var(--bd-gold);

    --text-primary: #F8FAFC;
    --text-secondary: #A0B2A6;
    --text-muted: #627A6C;

    --badge-bg: rgba(0, 154, 68, 0.15);
    --badge-text: #22C55E;

    --up-green: #22C55E;
    --down-red: #EF4444;

    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   THEME VARIABLES: DARK MODE (DEFAULT) & LIGHT MODE
   ========================================================================== */
:root, [data-theme="dark"] {
    --bg-dark: #07120D;
    --bg-card: rgba(13, 27, 20, 0.92);
    --bg-card-hover: rgba(20, 38, 28, 0.98);
    --border-color: rgba(0, 154, 68, 0.25);
    --border-highlight: rgba(0, 255, 102, 0.45);

    --primary: var(--bd-green);
    --primary-hover: var(--bd-green-hover);
    --primary-glow: var(--bd-green-glow);

    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --badge-bg: rgba(0, 154, 68, 0.2);
    --badge-text: #00FF66;

    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
    --bg-dark: #F4F6F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --border-color: #E2E8F0;
    --border-highlight: rgba(0, 154, 68, 0.4);

    --primary: #008744;
    --primary-hover: #007038;
    --primary-glow: rgba(0, 135, 68, 0.2);

    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;

    --badge-bg: rgba(0, 135, 68, 0.1);
    --badge-text: #008744;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-highlight);
}

/* Top Bar / Ticker Header */
.top-bar {
    background: rgba(5, 15, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--badge-text);
    background: var(--badge-bg);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(0, 154, 68, 0.2);
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: var(--bd-red);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(228, 30, 63, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 30, 63, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(228, 30, 63, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 30, 63, 0); }
}

.live-ticker-wrap {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 600px;
}

/* Sticky Header & Zero Top Space Overrides */
html, body, .wp-site-blocks {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: var(--bg-dark);
}

.wp-site-blocks {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

html {
    margin-top: 0px !important;
}

#wpadminbar {
    display: none !important;
}

.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(7, 18, 13, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    width: 100% !important;
}

.ticker-label-btn {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    background: linear-gradient(135deg, #009A44, #00C853) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-family: var(--font-body);
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    margin-right: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3) !important;
    transition: var(--transition);
}

.top-bar {
    background: #040C08 !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.2) !important;
    padding: 8px 0 !important;
    width: 100% !important;
}

.top-bar-right .last-updated {
    color: #94A3B8 !important;
    font-size: 0.85rem !important;
}

/* Live Rate Clock Ticker Badge: Hidden on Desktop (since full marquee is visible), Visible on Mobile & Tablet */
#liveRatesClockTickerWrap {
    display: none !important;
    align-items: center;
    background: rgba(0, 255, 102, 0.12);
    border: 1px solid rgba(0, 255, 102, 0.4);
    border-radius: 20px;
    padding: 3px 12px;
    margin-left: 8px;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
    transition: all 0.3s ease;
}

.ticker-label-btn:hover {
    transform: scale(1.05);
    box-shadow: 4px 0 20px rgba(5, 15, 10, 0.95), 0 4px 14px rgba(228, 30, 63, 0.5);
}

.ticker-scroll-window {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, black 15px, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15px, black 92%, transparent 100%);
}

.ticker-label-btn.spinning .btn-refresh-icon {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bd-green);
    color: #FFF;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.ticker-items {
    display: flex;
    gap: 20px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.ticker-item strong {
    color: var(--text-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--bd-red);
}

/* Main Navigation */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img, img.brand-logo-img, .brand-logo img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0, 154, 68, 0.4)) !important;
    transition: var(--transition);
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

/* Universal Dark Glassmorphism Cards (Dark Mode only) */
:root:not([data-theme="light"]) .glass-card,
:root:not([data-theme="light"]) .chart-card,
:root:not([data-theme="light"]) .gold-card,
:root:not([data-theme="light"]) .feature-card,
:root:not([data-theme="light"]) .cluster-card,
:root:not([data-theme="light"]) .grounding-card,
:root:not([data-theme="light"]) .bank-card,
:root:not([data-theme="light"]) .testimonial-card,
:root:not([data-theme="light"]) .incentive-banner-box,
[data-theme="dark"] .glass-card,
[data-theme="dark"] .chart-card,
[data-theme="dark"] .gold-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .cluster-card,
[data-theme="dark"] .grounding-card,
[data-theme="dark"] .bank-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .incentive-banner-box {
    background: rgba(13, 27, 20, 0.95) !important;
    border: 1px solid rgba(0, 154, 68, 0.3) !important;
    color: #F8FAFC !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
    border-radius: 16px !important;
}

.chart-card h2, .chart-card h3, .gold-card h2, .gold-card h3, .section-title {
    color: #FFFFFF !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: var(--bd-red);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--bd-green);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--bd-green), var(--bd-red));
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--bd-green), var(--bd-green-hover));
    color: #FFFFFF;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px var(--bd-green-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 154, 68, 0.45);
}

/* Hero Section */
.hero-section {
    padding: 40px 0 30px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 36px;
    align-items: stretch;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 154, 68, 0.15);
    color: #00FF66;
    border: 1px solid rgba(0, 154, 68, 0.35);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    width: fit-content;
}

.emd-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(228, 30, 63, 0.12);
    color: var(--bd-red);
    border: 1px solid rgba(228, 30, 63, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.highlight-text {
    background: linear-gradient(135deg, var(--bd-green), #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: #CBD5E1;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Rates Showcase Card */
.rates-showcase-card {
    background: rgba(13, 27, 20, 0.85);
    border: 1px solid rgba(0, 154, 68, 0.28);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.rates-showcase-card:hover {
    border-color: rgba(0, 255, 102, 0.4);
}

/* Region Filter Tabs */
.rates-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rates-tabs::-webkit-scrollbar {
    display: none;
}

.rates-tab {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    outline: none;
}

.rates-tab:hover {
    background: rgba(0, 154, 68, 0.2);
    color: #FFFFFF;
    border-color: rgba(0, 154, 68, 0.4);
}

.rates-tab.active {
    background: linear-gradient(135deg, #009A44, #00C853);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4);
    font-weight: 700;
}

/* Featured Rates Grid Cards */
.featured-rates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.featured-chip {
    background: rgba(7, 18, 13, 0.85);
    border: 1px solid rgba(0, 154, 68, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.featured-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 102, 0.5);
    box-shadow: 0 8px 22px rgba(0, 154, 68, 0.25);
    background: rgba(13, 27, 20, 0.95);
}

.chip-country {
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chip-rate {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.chip-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.chip-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8;
    font-family: var(--font-heading);
}

.chip-change {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.chip-change.up {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.chip-change.down {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rates-updated-footer {
    margin-top: 14px;
    font-size: 0.8rem;
    color: #94A3B8;
    text-align: right;
}

.rate-chip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.rate-chip-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.chip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.flag-icon {
    font-size: 1.2rem;
}

.chip-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Remittance Converter Card */
.converter-card {
    padding: 24px;
    border: 1px solid rgba(0, 154, 68, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-title h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.live-pill {
    background: rgba(228, 30, 63, 0.15);
    color: var(--bd-red);
    border: 1px solid rgba(228, 30, 63, 0.4);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Incentive Toggle Box */
.incentive-box {
    background: rgba(228, 30, 63, 0.08);
    border: 1px solid rgba(228, 30, 63, 0.25);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.incentive-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.incentive-badge {
    background: var(--bd-red);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 6px;
}

.incentive-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Switch Toggle Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--text-muted);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--bd-red);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Converter Inputs */
.input-box {
    width: 100%;
}

.input-box label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.input-field-wrap {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.input-field-wrap:focus-within {
    border-color: var(--bd-green);
    box-shadow: 0 0 0 3px var(--bd-green-glow);
}

.input-field-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    outline: none;
    width: 100%;
}

.input-field-wrap select {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-left: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0 12px;
    font-family: var(--font-body);
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.result-wrap {
    background: rgba(0, 154, 68, 0.08);
    border-color: rgba(0, 154, 68, 0.35);
}

.currency-tag {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: rgba(0, 154, 68, 0.2);
    color: var(--bd-green);
    font-weight: 700;
    font-family: var(--font-heading);
}

.swap-divider {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.btn-swap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--bd-green);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-swap:hover {
    transform: rotate(180deg) scale(1.1);
    border-color: var(--bd-red);
    color: var(--bd-red);
}

.calc-breakdown {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    font-size: 0.88rem;
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.breakdown-line.incentive-line {
    color: var(--bd-red);
    font-weight: 600;
}

.breakdown-line.total-line {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.breakdown-line.total-line strong {
    color: var(--bd-green);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* Probashi Flight Secondary App Promo Card */
.probashi-flight-promo-card {
    margin-top: 18px;
    background: linear-gradient(135deg, rgba(8, 28, 20, 0.95), rgba(13, 38, 28, 0.88));
    border: 1px solid rgba(0, 255, 102, 0.28);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.probashi-flight-promo-card:hover {
    border-color: rgba(0, 255, 102, 0.5);
    box-shadow: 0 12px 32px rgba(0, 255, 102, 0.18);
    transform: translateY(-2px);
}

.flight-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 102, 0.12);
    border: 1px solid rgba(0, 255, 102, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.flight-badge-pulse {
    width: 6px;
    height: 6px;
    background: #00FF66;
    border-radius: 50%;
    box-shadow: 0 0 6px #00FF66;
    animation: pulseGlow 1.5s infinite;
}

.flight-badge-text {
    color: #00FF66;
    font-size: 0.76rem;
    font-weight: 700;
}

.flight-promo-content {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.flight-app-logo {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 14px;
    border: 1.5px solid rgba(0, 255, 102, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    background: #07120D;
    padding: 4px;
}

.flight-promo-text {
    flex: 1;
}

.flight-promo-title {
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.flight-promo-desc {
    color: #94A3B8;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

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

.btn-flight-download {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #009A44, #00C853);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
    transition: all 0.25s ease;
}

.btn-flight-download:hover {
    background: linear-gradient(135deg, #00B04E, #00E676);
    box-shadow: 0 6px 20px rgba(0, 255, 102, 0.45);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.btn-flight-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-flight-web:hover {
    background: rgba(0, 255, 102, 0.15);
    border-color: rgba(0, 255, 102, 0.4);
    color: #00FF66;
}

/* Sections General */
.main-content {
    padding: 40px 20px 80px;
}

.content-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bd-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Data Table & WordPress Theme High-Specificity Overrides */
html, body, .site, #page, #content, .entry-content, .wp-site-blocks {
    background-color: var(--bg-dark) !important;
    color: var(--text-primary) !important;
}

.table-search-box input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary) !important;
    outline: none;
    font-family: var(--font-body);
    width: 280px;
    transition: var(--transition);
}

.table-search-box input:focus {
    border-color: var(--bd-green);
}

.table-responsive {
    overflow-x: auto;
}

.data-table, table.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.data-table th {
    background: rgba(0, 154, 68, 0.22) !important;
    padding: 16px;
    font-size: 0.88rem;
    color: #F8FAFC !important;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color) !important;
}

.data-table tr {
    background: transparent !important;
}

.data-table tr:hover {
    background: rgba(0, 154, 68, 0.08) !important;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 0.95rem;
    background: transparent !important;
    color: var(--text-primary) !important;
}

.currency-name-wrap {
    color: var(--text-primary) !important;
    font-weight: 700;
}

.currency-sub {
    color: var(--text-secondary) !important;
}

.rate-val {
    color: var(--text-primary) !important;
    font-weight: 700;
}

.rate-bonus {
    color: var(--bd-gold) !important;
    font-weight: 700;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(0, 154, 68, 0.05);
}

.currency-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.currency-name {
    display: flex;
    flex-direction: column;
}

.currency-symbol {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Bank Comparison Grid */
.bank-tabs {
    display: flex;
    gap: 8px;
}

.bank-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.bank-tab-btn.active, .bank-tab-btn:hover {
    background: var(--bd-green);
    color: #fff;
    border-color: var(--bd-green);
}

.bank-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.bank-card {
    padding: 20px;
}

.bank-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bank-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.bank-rate-display {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bd-green);
    margin-bottom: 8px;
}

.bank-rate-bonus {
    font-size: 0.82rem;
    color: var(--bd-red);
    font-weight: 700;
    background: rgba(228, 30, 63, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Two Column Grid (Chart & Gold) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.chart-card, .gold-card {
    padding: 20px;
    height: 100%;
}

.chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.88rem;
}

.trend-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 154, 68, 0.2);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.trend-chip.active, .trend-chip:hover {
    background: linear-gradient(135deg, #009A44, #00C853) !important;
    color: #FFFFFF !important;
    border-color: #00FF66 !important;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.period-badge {
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.period-badge.active, .period-badge:hover {
    background: var(--bd-green);
    color: #fff;
}

.canvas-container {
    width: 100%;
}

/* Gold Table */
.gold-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.gold-icon {
    font-size: 2rem;
}

.sub-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.gold-table {
    width: 100%;
    border-collapse: collapse;
}

.gold-table th, .gold-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.carat-pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.k22 { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.k21 { background: rgba(234, 179, 8, 0.2); color: #EAB308; }
.k18 { background: rgba(168, 85, 247, 0.2); color: #C084FC; }
.trad { background: rgba(148, 163, 184, 0.2); color: #CBD5E1; }

.gold-price {
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

/* Google Grounding Section */
.grounding-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 154, 68, 0.08), rgba(228, 30, 63, 0.05));
    border: 1px solid var(--border-highlight);
}

.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(228, 30, 63, 0.12);
    color: var(--bd-red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.g-symbol {
    font-weight: 800;
    font-family: var(--font-heading);
}

.grounding-search-box {
    display: flex;
    gap: 12px;
    margin: 20px 0 14px;
}

.grounding-search-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.preset-queries {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover {
    border-color: var(--bd-green);
    color: var(--bd-green);
}

.grounding-result-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.result-status {
    color: var(--up-green);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.result-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.citation-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
}

.cite-tag {
    color: var(--text-muted);
}

.citation-links a {
    color: #60A5FA;
    text-decoration: none;
}

/* Cluster Grid */
.clusters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cluster-card {
    padding: 24px;
}

.cluster-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cluster-links {
    list-style: none;
}

.cluster-links li {
    margin-bottom: 10px;
}

.cluster-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.cluster-links a:hover {
    color: var(--bd-green);
    padding-left: 4px;
}

/* FAQ 2-Column Responsive Grid */
.faq-2col-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.faq-card-column {
    background: linear-gradient(135deg, rgba(8, 22, 16, 0.95), rgba(12, 32, 24, 0.85));
    border: 1px solid rgba(0, 154, 68, 0.25);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.faq-card-column:hover {
    border-color: rgba(0, 255, 102, 0.4);
    box-shadow: 0 14px 36px rgba(0, 255, 102, 0.12);
}

.faq-card-column .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card-column .faq-item {
    background: rgba(13, 27, 20, 0.75);
    border: 1px solid rgba(0, 154, 68, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-card-column .faq-item:hover {
    border-color: rgba(0, 255, 102, 0.35);
    background: rgba(16, 36, 26, 0.85);
}

.faq-card-column .faq-item.active {
    border-color: rgba(0, 255, 102, 0.5);
    background: rgba(10, 30, 20, 0.95);
    box-shadow: 0 6px 20px rgba(0, 255, 102, 0.12);
}

.faq-card-column .faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 18px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-card-column .faq-icon {
    color: #00FF66;
    font-size: 1.25rem;
    font-weight: 700;
    margin-left: 10px;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-card-column .faq-item.active .faq-icon {
    color: #FF5252;
}

.faq-card-column .faq-answer {
    padding: 0 18px 16px;
    color: #CBD5E1;
    display: none;
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 154, 68, 0.15);
    margin-top: 4px;
    padding-top: 10px;
}

.faq-card-column .faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.main-footer {
    background: #040A07;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-links-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 20px;
    margin-top: 10px;
}

.footer-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

/* Bordered Glass Footer Cards (Reference Layout) */
.footer-card {
    background: rgba(13, 27, 20, 0.75);
    border: 1px solid rgba(0, 154, 68, 0.22);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: var(--transition);
    box-sizing: border-box;
    height: 100%;
}

.footer-card:hover {
    border-color: rgba(0, 255, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.footer-card.brand-col {
    justify-content: space-between;
}

.footer-card h4, .footer-col h4 {
    font-family: var(--font-heading);
    color: #10B981;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.footer-card ul, .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-card ul li, .footer-col ul li {
    margin: 0;
    line-height: 1.5;
}

.footer-card ul a, .footer-col ul a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.footer-card ul a:hover, .footer-col ul a:hover {
    color: #00FF66;
    transform: translateX(4px);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 14px 0;
}

.trust-badge-footer {
    color: var(--up-green);
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(0, 154, 68, 0.12);
    border: 1px solid rgba(0, 154, 68, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   5 NEW CUSTOM CONTAINERS (Channel Rates, How-To, Why Choose Us, Testimonials, Subscribe)
   ========================================================================== */

/* 1. Mobile Banking & Money Transfer Channel Rates */
.center-header {
    text-align: center;
    flex-direction: column;
    align-items: center !important;
}

.center-header .section-title {
    font-size: 2rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.channel-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.channel-card {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.channel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.channel-badge {
    background: rgba(0, 154, 68, 0.12);
    color: var(--bd-green);
    border: 1px solid rgba(0, 154, 68, 0.25);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.channel-rate-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bd-green);
    margin-top: 6px;
}

.unit-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.channel-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* 2. How to Send Remittance (4 Steps) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    padding: 24px;
    text-align: center;
}

.step-num-circle {
    width: 44px;
    height: 44px;
    background: var(--bd-green);
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px var(--bd-green-glow);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 3. Why Choose Today Taka Rate */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 24px;
    text-align: center;
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 154, 68, 0.15);
    color: var(--bd-green);
    border: 1px solid rgba(0, 154, 68, 0.3);
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 4. User Testimonials Carousel Slider */
.testimonials-section {
    position: relative;
    overflow: hidden;
    max-width: 1240px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.testimonials-slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 36px;
    box-sizing: border-box;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 18px;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 16px;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - (4 * 16px)) / 5); /* 5 cards in Desktop */
    background: linear-gradient(135deg, rgba(8, 24, 18, 0.95), rgba(12, 34, 26, 0.85));
    border: 1px solid rgba(0, 154, 68, 0.25);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 220px;
}

.testimonial-card:hover {
    border-color: rgba(0, 255, 102, 0.45);
    box-shadow: 0 12px 32px rgba(0, 255, 102, 0.15);
    transform: translateY(-3px);
}

.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.star-rating {
    color: #FFD700;
    font-size: 0.92rem;
    letter-spacing: 2px;
}

.verified-badge {
    color: #00FF66;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(0, 255, 102, 0.12);
    border: 1px solid rgba(0, 255, 102, 0.3);
    padding: 2px 6px;
    border-radius: 12px;
}

.testimonial-quote {
    font-size: 0.86rem;
    color: #E2E8F0;
    line-height: 1.55;
    margin-bottom: 14px;
    font-style: italic;
    flex: 1;
}

.user-info {
    border-top: 1px solid rgba(0, 154, 68, 0.18);
    padding-top: 10px;
}

.user-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.user-location {
    font-size: 0.76rem;
    color: #94A3B8;
}

/* Slider Nav Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7, 18, 13, 0.92);
    border: 1px solid rgba(0, 255, 102, 0.4);
    color: #00FF66;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.slider-nav-btn:hover {
    background: #00FF66;
    color: #07120D;
    border-color: #00FF66;
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.prev-btn {
    left: 0;
}

.slider-nav-btn.next-btn {
    right: 0;
}

/* Slider Pagination Dots */
.slider-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #00FF66;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
}

/* 5. Subscribe Banner (Centered Container) */
main.main-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.subscribe-section {
    background: transparent !important;
    padding: 30px 20px !important;
    margin: 30px auto !important;
    width: 100% !important;
    max-width: 1240px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.subscribe-banner {
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: linear-gradient(135deg, rgba(0, 154, 68, 0.25), rgba(7, 18, 13, 0.95)) !important;
    border: 1px solid rgba(0, 255, 102, 0.35) !important;
    padding: 44px 32px !important;
    text-align: center !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

footer.main-footer {
    margin-top: 0 !important;
    background: #040A07 !important;
}

/* Global Dark Theme & Wide Full-Screen Overrides for WordPress Pages & Posts */
html, body, .wp-site-blocks, main, article, section, .entry-content, .post-content, .page-content, .is-layout-constrained, .wp-block-post-content, .wp-block-group, .entry-header {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Hind Siliguri', 'Outfit', sans-serif !important;
}

/* Hide unstyled WordPress default block headers, titles, and footers */
header.wp-block-template-part, 
footer.wp-block-template-part, 
h1.wp-block-post-title, 
.entry-header h1.entry-title,
.site-title,
.wp-block-site-title {
    display: none !important;
}

/* Full Width Desktop Viewport Rules */
.is-layout-constrained > *, 
.entry-content > *, 
.wp-block-post-content > *,
.page-container,
.legal-card {
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Legal Cards Glassmorphism styling */
.legal-card {
    background: rgba(7, 26, 17, 0.85) !important;
    border: 1px solid rgba(0, 154, 68, 0.3) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* Ensure images in cards are styled and centered */
.legal-card img, .brand-logo-img {
    max-width: 100% !important;
    height: auto !important;
}

.subscribe-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.subscribe-subtitle {
    font-size: 1.05rem;
    color: #D1FAE5;
    margin-bottom: 26px;
}

.subscribe-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 540px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    background: #FFFFFF;
    border: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: #0F172A;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.subscribe-btn {
    background: var(--bd-red);
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(228, 30, 63, 0.4);
}

.subscribe-btn:hover {
    background: #C71432;
    transform: translateY(-2px);
}

/* 6. 2.5% Remittance Incentive Feature Banner */
.incentive-banner-box {
    background: linear-gradient(135deg, #053D21, #0A4E2B);
    border: 1px solid rgba(0, 154, 68, 0.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.incentive-tag-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #A7F3D0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 14px;
}

.incentive-banner-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 14px;
}

.incentive-banner-desc {
    font-size: 0.95rem;
    color: #D1FAE5;
    line-height: 1.6;
    margin-bottom: 20px;
}

.incentive-bullets {
    list-style: none;
}

.incentive-bullets li {
    font-size: 0.9rem;
    color: #ECFDF5;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.incentive-bullets li span.check-icon {
    color: #34D399;
    font-weight: 800;
}

/* White Calc Box inside Incentive Banner */
.incentive-card-white {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    color: #0F172A;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card-white-label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 600;
}

.card-white-amount {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #0F172A;
    margin: 4px 0 12px;
}

.card-white-arrow {
    color: #059669;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.card-white-bonus-title {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.card-white-bonus-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #059669;
    margin: 2px 0 8px;
}

.card-white-total {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
    border-top: 1px solid #E2E8F0;
    padding-top: 8px;
}

.banner-footer-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* 7. Latest Economic News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-date {
    font-size: 0.8rem;
    color: var(--bd-red);
    font-weight: 700;
    margin-bottom: 12px;
}

.news-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .two-col-grid {
        grid-template-columns: 1fr !important;
    }
    .clusters-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .footer-4col-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .featured-rates-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
    .channel-cards-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .steps-grid, .features-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .testimonials-grid, .news-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    #liveRatesClockTickerWrap {
        display: inline-flex !important;
    }
    .testimonials-slider-container {
        padding: 0 32px !important;
    }
    .testimonial-card {
        flex: 0 0 calc((100% - (2 * 14px)) / 3) !important;
    }
    .testimonials-track {
        gap: 14px !important;
    }
    .incentive-banner-box {
        grid-template-columns: 1fr !important;
        padding: 30px 20px !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .hero-title {
        font-size: 2.1rem !important;
    }
    .hero-desc {
        font-size: 0.95rem !important;
        margin-bottom: 18px !important;
    }
    .rates-showcase-card {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    .rates-tabs {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
        margin-bottom: 14px !important;
    }
    .rates-tab {
        padding: 6px 12px !important;
        font-size: 0.82rem !important;
    }
    .featured-rates-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .featured-chip {
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }
    .chip-country {
        font-size: 0.8rem !important;
    }
    .chip-rate {
        font-size: 1.25rem !important;
    }
    .clusters-grid {
        grid-template-columns: 1fr !important;
    }
    .faq-2col-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .faq-card-column {
        padding: 16px 14px !important;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .footer-4col-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .footer-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .footer-card h4 {
        font-size: 0.92rem !important;
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
    }
    .footer-card ul {
        gap: 8px !important;
    }
    .footer-card ul a {
        font-size: 0.82rem !important;
    }
    .top-bar-content {
        flex-wrap: wrap !important;
    }
    .live-ticker-wrap {
        display: none !important;
    }
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .grounding-search-box {
        flex-direction: column !important;
    }
    .channel-cards-grid, .steps-grid, .features-grid, .testimonials-grid, .news-grid {
        grid-template-columns: 1fr !important;
    }
    .testimonials-slider-container {
        padding: 0 28px !important;
    }
    .testimonial-card {
        flex: 0 0 calc((100% - (2 * 12px)) / 3) !important;
        padding: 14px 12px !important;
        min-height: 200px !important;
    }
    .testimonials-track {
        gap: 12px !important;
    }
    .testimonial-quote {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }
    .subscribe-section {
        padding: 0 16px !important;
        margin: 30px auto !important;
    }
    .subscribe-banner {
        padding: 32px 18px !important;
        border-radius: 16px !important;
    }
    .subscribe-title {
        font-size: 1.55rem !important;
    }
    .subscribe-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    .subscribe-form {
        flex-direction: column !important;
        width: 100% !important;
    }
    .subscribe-input, .subscribe-btn {
        width: 100% !important;
    }
    .incentive-banner-box {
        grid-template-columns: 1fr !important;
    }
    .footer-bottom-flex {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .footer-4col-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .featured-rates-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .chip-country {
        font-size: 0.75rem !important;
    }
    .chip-rate {
        font-size: 1.15rem !important;
    }
    .chip-code {
        font-size: 0.7rem !important;
    }
    .hero-title {
        font-size: 1.85rem !important;
    }
    .subscribe-banner {
        padding: 26px 14px !important;
    }
    .probashi-flight-promo-card {
        padding: 14px !important;
        margin-top: 14px !important;
    }
    .flight-promo-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .btn-flight-download, .btn-flight-web {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   FULL WIDTH 10-COUNTRY TREND VISUALIZER CONTAINER
   ========================================================================== */
#chart-section {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto 40px auto !important;
}

#chart-section .chart-card {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   TODAY TAKA RATE - COMPLETE UNIVERSAL DARK & LIGHT MODE SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DARK THEME STYLING (Default / [data-theme="dark"])
   -------------------------------------------------------------------------- */
html[data-theme="dark"],
html:not([data-theme="light"]),
body[data-theme="dark"],
:root:not([data-theme="light"]) {
    --bg-dark: #07120D;
    --bg-card: rgba(13, 27, 20, 0.92);
    --bg-card-hover: rgba(20, 38, 28, 0.98);
    --border-color: rgba(0, 154, 68, 0.25);
    --border-highlight: rgba(0, 255, 102, 0.45);
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
}

html[data-theme="dark"] body,
html:not([data-theme="light"]) body {
    background-color: #07120D !important;
    color: #F8FAFC !important;
}

html[data-theme="dark"] section,
html[data-theme="dark"] main,
html[data-theme="dark"] .main-content,
html[data-theme="dark"] .hero-section,
html[data-theme="dark"] .content-section,
html:not([data-theme="light"]) section,
html:not([data-theme="light"]) main,
html:not([data-theme="light"]) .main-content,
html:not([data-theme="light"]) .hero-section,
html:not([data-theme="light"]) .content-section {
    background-color: #07120D !important;
}

html[data-theme="dark"] .top-bar,
html:not([data-theme="light"]) .top-bar {
    background: #040C08 !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.2) !important;
}

html[data-theme="dark"] .main-nav,
html:not([data-theme="light"]) .main-nav {
    background: rgba(7, 18, 13, 0.95) !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.2) !important;
}

html[data-theme="dark"] .brand-title,
html:not([data-theme="light"]) .brand-title {
    color: #F8FAFC !important;
}

html[data-theme="dark"] .hero-title,
html:not([data-theme="light"]) .hero-title {
    color: #F8FAFC !important;
}

html[data-theme="dark"] .hero-desc,
html:not([data-theme="light"]) .hero-desc {
    color: #A0B2A6 !important;
}

html[data-theme="dark"] .rates-showcase-card,
html[data-theme="dark"] .converter-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .gold-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .channel-card,
html[data-theme="dark"] .cluster-card,
html[data-theme="dark"] .faq-card-column,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .footer-card,
html[data-theme="dark"] .legal-card,
html:not([data-theme="light"]) .rates-showcase-card,
html:not([data-theme="light"]) .converter-card,
html:not([data-theme="light"]) .glass-card,
html:not([data-theme="light"]) .chart-card,
html:not([data-theme="light"]) .gold-card,
html:not([data-theme="light"]) .step-card,
html:not([data-theme="light"]) .feature-card,
html:not([data-theme="light"]) .channel-card,
html:not([data-theme="light"]) .cluster-card,
html:not([data-theme="light"]) .faq-card-column,
html:not([data-theme="light"]) .testimonial-card,
html:not([data-theme="light"]) .news-card,
html:not([data-theme="light"]) .footer-card,
html:not([data-theme="light"]) .legal-card {
    background: rgba(13, 27, 20, 0.95) !important;
    border: 1px solid rgba(0, 154, 68, 0.3) !important;
    color: #F8FAFC !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .featured-chip,
html:not([data-theme="light"]) .featured-chip {
    background: rgba(15, 34, 24, 0.85) !important;
    border: 1px solid rgba(0, 154, 68, 0.2) !important;
}

html[data-theme="dark"] .chip-country,
html:not([data-theme="light"]) .chip-country {
    color: #A0B2A6 !important;
}

html[data-theme="dark"] .chip-rate,
html:not([data-theme="light"]) .chip-rate {
    color: #FFFFFF !important;
}

html[data-theme="dark"] .chip-code,
html:not([data-theme="light"]) .chip-code {
    color: #94A3B8 !important;
}

html[data-theme="dark"] .probashi-flight-promo-card,
html:not([data-theme="light"]) .probashi-flight-promo-card {
    background: linear-gradient(135deg, rgba(8, 30, 20, 0.95), rgba(6, 20, 14, 0.95)) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
}

html[data-theme="dark"] .flight-promo-title,
html:not([data-theme="light"]) .flight-promo-title {
    color: #FFFFFF !important;
}

html[data-theme="dark"] .flight-promo-desc,
html:not([data-theme="light"]) .flight-promo-desc {
    color: #A0B2A6 !important;
}

html[data-theme="dark"] .btn-flight-web,
html:not([data-theme="light"]) .btn-flight-web {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* --------------------------------------------------------------------------
   2. LIGHT THEME STYLING ([data-theme="light"]) - 100% High Contrast & Crisp
   -------------------------------------------------------------------------- */
html[data-theme="light"] {
    --bg-dark: #F4F6F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --border-color: #E2E8F0;
    --border-highlight: rgba(0, 154, 68, 0.4);
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
}

html[data-theme="light"] body {
    background-color: #F4F6F9 !important;
    background: #F4F6F9 !important;
    color: #0F172A !important;
}

html[data-theme="light"] section,
html[data-theme="light"] main,
html[data-theme="light"] .main-content,
html[data-theme="light"] .hero-section,
html[data-theme="light"] .content-section,
html[data-theme="light"] .wp-site-blocks,
html[data-theme="light"] .wp-block-group {
    background-color: #F4F6F9 !important;
    background: #F4F6F9 !important;
}

/* Top Bar & Main Header */
html[data-theme="light"] .top-bar {
    background: #EAEFF2 !important;
    border-bottom: 1px solid #CBD5E1 !important;
}
html[data-theme="light"] .trust-badge {
    color: #475569 !important;
}
html[data-theme="light"] .top-bar-right .last-updated {
    color: #475569 !important;
}
html[data-theme="light"] #liveRatesClockTickerWrap {
    background: rgba(0, 135, 68, 0.1) !important;
    border-color: rgba(0, 135, 68, 0.35) !important;
}
html[data-theme="light"] #liveRatesClockTicker {
    color: #008744 !important;
}
html[data-theme="light"] .lang-switcher-wrap {
    background: rgba(0, 135, 68, 0.1) !important;
    border-color: rgba(0, 135, 68, 0.35) !important;
}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] #themeToggle {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
html[data-theme="light"] .main-nav,
html[data-theme="light"] .main-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .logo-text .brand-title {
    color: #0F172A !important;
}
html[data-theme="light"] .nav-links a {
    color: #334155 !important;
}
html[data-theme="light"] .nav-links a:hover {
    color: #008744 !important;
    background: rgba(0, 135, 68, 0.08) !important;
}

/* Hero Section & Showcase / Converter */
html[data-theme="light"] .hero-title {
    color: #0F172A !important;
}
html[data-theme="light"] .hero-desc {
    color: #334155 !important;
}
html[data-theme="light"] .section-title {
    color: #0F172A !important;
}
html[data-theme="light"] .section-subtitle {
    color: #475569 !important;
}

html[data-theme="light"] .rates-showcase-card,
html[data-theme="light"] .converter-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .chart-card,
html[data-theme="light"] .gold-card,
html[data-theme="light"] .step-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .channel-card,
html[data-theme="light"] .cluster-card,
html[data-theme="light"] .faq-card-column,
html[data-theme="light"] .testimonial-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .footer-card,
html[data-theme="light"] .legal-card,
html[data-theme="light"] .bank-card,
html[data-theme="light"] .grounding-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .rates-tab {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .rates-tab.active {
    background: #008744 !important;
    color: #FFFFFF !important;
    border-color: #008744 !important;
}

html[data-theme="light"] .featured-chip {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
html[data-theme="light"] .featured-chip:hover {
    border-color: rgba(0, 135, 68, 0.5) !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 135, 68, 0.1) !important;
}
html[data-theme="light"] .chip-country {
    color: #475569 !important;
}
html[data-theme="light"] .chip-rate {
    color: #0F172A !important;
}
html[data-theme="light"] .chip-code {
    color: #64748B !important;
}
html[data-theme="light"] .chip-change.up {
    background: #DCFCE7 !important;
    color: #15803D !important;
}
html[data-theme="light"] .chip-change.down {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}

/* Converter Inputs */
html[data-theme="light"] .converter-header h2 {
    color: #0F172A !important;
}
html[data-theme="light"] .converter-form label,
html[data-theme="light"] .input-label {
    color: #475569 !important;
}
html[data-theme="light"] .converter-input,
html[data-theme="light"] .converter-select,
html[data-theme="light"] .amount-input,
html[data-theme="light"] .currency-select,
html[data-theme="light"] .converter-card input,
html[data-theme="light"] .converter-card select {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}
html[data-theme="light"] .converter-card select option {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
html[data-theme="light"] .converter-swap-btn {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}
html[data-theme="light"] .converter-swap-btn:hover {
    background: #008744 !important;
    color: #FFFFFF !important;
}
html[data-theme="light"] .result-box,
html[data-theme="light"] .converter-result-box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .result-amount,
html[data-theme="light"] #toAmount {
    color: #008744 !important;
}
html[data-theme="light"] .breakdown-row,
html[data-theme="light"] .breakdown-label,
html[data-theme="light"] .calc-meta {
    color: #475569 !important;
}
html[data-theme="light"] .breakdown-value {
    color: #0F172A !important;
}

/* Probashi Flight Promo Card */
html[data-theme="light"] .probashi-flight-promo-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 135, 68, 0.3) !important;
    box-shadow: 0 8px 24px rgba(0, 135, 68, 0.08) !important;
}
html[data-theme="light"] .flight-promo-title {
    color: #0F172A !important;
}
html[data-theme="light"] .flight-promo-desc {
    color: #475569 !important;
}
html[data-theme="light"] .btn-flight-web {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}

/* Headings & Texts across cards */
html[data-theme="light"] .step-title,
html[data-theme="light"] .feature-title,
html[data-theme="light"] .channel-name,
html[data-theme="light"] .cluster-card h3,
html[data-theme="light"] .news-title,
html[data-theme="light"] .chart-title,
html[data-theme="light"] .gold-card h2,
html[data-theme="light"] .gold-card h3 {
    color: #0F172A !important;
}
html[data-theme="light"] .step-desc,
html[data-theme="light"] .feature-desc,
html[data-theme="light"] .channel-rate,
html[data-theme="light"] .news-summary,
html[data-theme="light"] .chart-desc,
html[data-theme="light"] .gold-card p {
    color: #334155 !important;
}
html[data-theme="light"] .cluster-links a {
    color: #334155 !important;
}
html[data-theme="light"] .cluster-links a:hover {
    color: #008744 !important;
}

/* Tables & Bank Comparison */
html[data-theme="light"] table,
html[data-theme="light"] .table-responsive table,
html[data-theme="light"] .gold-table {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
html[data-theme="light"] th {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-bottom: 2px solid #E2E8F0 !important;
}
html[data-theme="light"] td {
    background: #FFFFFF !important;
    color: #1E293B !important;
    border-bottom: 1px solid #F1F5F9 !important;
}
html[data-theme="light"] tr:hover td {
    background: #F8FAFC !important;
}

/* Grounding Module */
html[data-theme="light"] .grounding-input-wrap input,
html[data-theme="light"] #groundingSearchInput {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
}
html[data-theme="light"] .grounding-response-box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
}

/* FAQ 2-Column Section */
html[data-theme="light"] .faq-card-column {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .faq-column-header {
    border-bottom: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .faq-column-header h3 {
    color: #0F172A !important;
}
html[data-theme="light"] .faq-item {
    border-bottom: 1px solid #F1F5F9 !important;
}
html[data-theme="light"] .faq-question {
    color: #0F172A !important;
}
html[data-theme="light"] .faq-question:hover {
    color: #008744 !important;
}
html[data-theme="light"] .faq-icon {
    color: #008744 !important;
    background: rgba(0, 135, 68, 0.1) !important;
}
html[data-theme="light"] .faq-answer p {
    color: #334155 !important;
}

/* Testimonials Carousel */
html[data-theme="light"] .testimonial-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .star-rating {
    color: #F59E0B !important;
}
html[data-theme="light"] .verified-badge {
    color: #008744 !important;
    background: rgba(0, 135, 68, 0.1) !important;
    border: 1px solid rgba(0, 135, 68, 0.3) !important;
}
html[data-theme="light"] .testimonial-quote {
    color: #1E293B !important;
}
html[data-theme="light"] .user-info {
    border-top: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .user-name {
    color: #0F172A !important;
}
html[data-theme="light"] .user-location {
    color: #64748B !important;
}
html[data-theme="light"] .slider-nav-btn {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
html[data-theme="light"] .slider-nav-btn:hover {
    background: #008744 !important;
    color: #FFFFFF !important;
    border-color: #008744 !important;
}
html[data-theme="light"] .slider-dot {
    background: #CBD5E1 !important;
}
html[data-theme="light"] .slider-dot.active {
    background: #008744 !important;
    box-shadow: 0 0 10px rgba(0, 135, 68, 0.4) !important;
}

/* Subscribe Banner */
html[data-theme="light"] .subscribe-banner {
    background: linear-gradient(135deg, #008744, #005A2E) !important;
    border-color: rgba(0, 135, 68, 0.5) !important;
}
html[data-theme="light"] .subscribe-title {
    color: #FFFFFF !important;
}
html[data-theme="light"] .subscribe-subtitle {
    color: #E2E8F0 !important;
}
html[data-theme="light"] .subscribe-input {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Footer */
html[data-theme="light"] .footer-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .footer-card h4 {
    color: #0F172A !important;
    border-bottom-color: #E2E8F0 !important;
}
html[data-theme="light"] .footer-card ul a {
    color: #334155 !important;
}
html[data-theme="light"] .footer-card ul a:hover {
    color: #008744 !important;
}
html[data-theme="light"] .main-footer {
    background: #F8FAFC !important;
    border-top: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .footer-bottom-flex {
    color: #64748B !important;
}

/* Single Post & WordPress Article Content in Light Mode */
html[data-theme="light"] article,
html[data-theme="light"] .entry-content,
html[data-theme="light"] .post-content,
html[data-theme="light"] .page-container,
html[data-theme="light"] .single-post-container {
    background-color: #F4F6F9 !important;
    color: #0F172A !important;
}
html[data-theme="light"] article p,
html[data-theme="light"] article li,
html[data-theme="light"] .entry-content p,
html[data-theme="light"] .entry-content li {
    color: #1E293B !important;
}
html[data-theme="light"] article h1,
html[data-theme="light"] article h2,
html[data-theme="light"] article h3,
html[data-theme="light"] article h4,
html[data-theme="light"] article h5,
html[data-theme="light"] article h6,
html[data-theme="light"] .entry-content h1,
html[data-theme="light"] .entry-content h2,
html[data-theme="light"] .entry-content h3,
html[data-theme="light"] .entry-content h4 {
    color: #0F172A !important;
}
html[data-theme="light"] blockquote {
    background: #F8FAFC !important;
    border-left: 4px solid #008744 !important;
    color: #334155 !important;
}


/* ==========================================================================
   ENHANCED DARK & LIGHT THEME OVERRIDES FOR CHART, GOLD, FAQ & BANNER
   ========================================================================== */

/* --- DARK THEME BASE STYLES --- */
:root:not([data-theme="light"]) .chart-card,
[data-theme="dark"] .chart-card {
    background: rgba(13, 27, 20, 0.95) !important;
    border: 1px solid rgba(0, 154, 68, 0.3) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    color: #F8FAFC !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

:root:not([data-theme="light"]) .gold-combo-card,
[data-theme="dark"] .gold-combo-card {
    background: linear-gradient(135deg, #140F05 0%, #07120D 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 16px 45px rgba(255, 215, 0, 0.12) !important;
    position: relative;
    overflow: hidden;
}

:root:not([data-theme="light"]) .app-banner-card,
[data-theme="dark"] .app-banner-card {
    background: linear-gradient(135deg, rgba(0, 154, 68, 0.35), rgba(7, 18, 13, 0.98)) !important;
    border: 2px solid #00FF66 !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    box-shadow: 0 16px 45px rgba(0, 255, 102, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
}

:root:not([data-theme="light"]) .trend-select-input,
:root:not([data-theme="light"]) .gold-select-input,
[data-theme="dark"] .trend-select-input,
[data-theme="dark"] .gold-select-input {
    background: #07120D !important;
    border: 1px solid rgba(0, 154, 68, 0.5) !important;
    color: #FFFFFF !important;
}

:root:not([data-theme="light"]) .faq-card-column .faq-item,
[data-theme="dark"] .faq-card-column .faq-item {
    background: rgba(13, 27, 20, 0.75) !important;
    border: 1px solid rgba(0, 154, 68, 0.2) !important;
}

:root:not([data-theme="light"]) .faq-card-column .faq-question,
[data-theme="dark"] .faq-card-column .faq-question {
    color: #FFFFFF !important;
}

/* --- LIGHT THEME FIXES (100% Crisp, High Contrast) --- */

/* 1. Trend Visualizer Chart Card in Light Mode */
html[data-theme="light"] .chart-card,
html[data-theme="light"] #chart-section .chart-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    color: #0F172A !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .chart-card label,
html[data-theme="light"] #chart-section label {
    color: #008744 !important;
}
html[data-theme="light"] .trend-select-input,
html[data-theme="light"] #countryTrendSelect {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .trend-select-input option {
    background: #FFFFFF !important;
    color: #0F172A !important;
}
html[data-theme="light"] .trend-chip {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #334155 !important;
}
html[data-theme="light"] .trend-chip.active,
html[data-theme="light"] .trend-chip:hover {
    background: #008744 !important;
    border-color: #008744 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 135, 68, 0.25) !important;
}
html[data-theme="light"] .chart-toolbar {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .chart-stats-group span {
    color: #475569 !important;
}
html[data-theme="light"] .chart-stats-group strong {
    color: #0F172A !important;
}
html[data-theme="light"] #chartCurrentRate {
    color: #008744 !important;
}
html[data-theme="light"] .period-badge {
    background: #FFFFFF !important;
    color: #475569 !important;
    border: 1px solid #CBD5E1 !important;
}
html[data-theme="light"] .period-badge.active,
html[data-theme="light"] .period-badge:hover {
    background: #008744 !important;
    color: #FFFFFF !important;
    border-color: #008744 !important;
}

/* 2. Gold Combo Card in Light Mode */
html[data-theme="light"] .gold-combo-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(217, 119, 6, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.08) !important;
}
html[data-theme="light"] .gold-combo-card h2,
html[data-theme="light"] .gold-combo-header h2 {
    color: #0F172A !important;
}
html[data-theme="light"] .gold-combo-card p,
html[data-theme="light"] .gold-combo-header p {
    color: #334155 !important;
}
html[data-theme="light"] .gold-combo-header div[style*="background: rgba(255, 215, 0, 0.08)"] {
    background: #FFFBEB !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}
html[data-theme="light"] .gold-combo-header div[style*="background: rgba(255, 215, 0, 0.08)"] div {
    color: #0F172A !important;
}
html[data-theme="light"] .gold-combo-header div[style*="color: #FFD700"] {
    color: #D97706 !important;
}
html[data-theme="light"] .gold-combo-card label {
    color: #D97706 !important;
}
html[data-theme="light"] .gold-select-input,
html[data-theme="light"] #goldCountrySelect {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .gold-select-input option {
    background: #FFFFFF !important;
    color: #0F172A !important;
}

/* 3. FAQ Accordion Items in Light Mode */
html[data-theme="light"] .faq-card-column {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .faq-card-column .faq-item {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}
html[data-theme="light"] .faq-card-column .faq-item:hover {
    background: #FFFFFF !important;
    border-color: rgba(0, 135, 68, 0.4) !important;
    box-shadow: 0 4px 12px rgba(0, 135, 68, 0.08) !important;
}
html[data-theme="light"] .faq-card-column .faq-item.active {
    background: #FFFFFF !important;
    border-color: #008744 !important;
    box-shadow: 0 4px 14px rgba(0, 135, 68, 0.12) !important;
}
html[data-theme="light"] .faq-card-column .faq-question {
    color: #0F172A !important;
}
html[data-theme="light"] .faq-card-column .faq-question:hover {
    color: #008744 !important;
}
html[data-theme="light"] .faq-card-column .faq-icon {
    color: #008744 !important;
}
html[data-theme="light"] .faq-card-column .faq-answer {
    color: #334155 !important;
    border-top: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .faq-card-column .faq-answer p {
    color: #334155 !important;
}

/* 4. Official Android App Banner in Light Mode */
html[data-theme="light"] .app-banner-card {
    background: #FFFFFF !important;
    border: 2px solid #008744 !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    box-shadow: 0 10px 30px rgba(0, 135, 68, 0.12) !important;
}
html[data-theme="light"] .app-banner-card h2 {
    color: #0F172A !important;
}
html[data-theme="light"] .app-banner-card p {
    color: #334155 !important;
}
html[data-theme="light"] .app-banner-card .app-icon-wrapper img {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 6px 18px rgba(0, 135, 68, 0.2) !important;
}
html[data-theme="light"] .app-banner-card span[style*="background: rgba(0, 255, 102, 0.2)"] {
    background: #DCFCE7 !important;
    color: #15803D !important;
    border-color: rgba(22, 163, 74, 0.4) !important;
}
html[data-theme="light"] .app-banner-card span[style*="background: rgba(255, 255, 255, 0.08)"] {
    background: #F1F5F9 !important;
    color: #008744 !important;
    border-color: rgba(0, 135, 68, 0.25) !important;
}
html[data-theme="light"] .app-banner-card a[style*="background: rgba(255, 255, 255, 0.08)"] {
    background: #F1F5F9 !important;
    color: #008744 !important;
    border: 1px solid rgba(0, 135, 68, 0.3) !important;
}


/* ==========================================================================
   WORDPRESS POST CARDS, DIAGRAMS & RESPONSIVE AUTO-LAYOUT SYSTEM
   ========================================================================== */

/* Dark Mode Overrides for Post Page Cards & Warning Boxes */
html[data-theme="dark"] div[style*="#ecfdf5"],
html[data-theme="dark"] div[style*="#d1fae5"],
html:not([data-theme="light"]) div[style*="#ecfdf5"],
html:not([data-theme="light"]) div[style*="#d1fae5"] {
    background: rgba(8, 38, 22, 0.95) !important;
    border-left: 6px solid #00FF66 !important;
    border-top: 1px solid rgba(0, 255, 102, 0.3) !important;
    border-right: 1px solid rgba(0, 255, 102, 0.3) !important;
    border-bottom: 1px solid rgba(0, 255, 102, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
}
html[data-theme="dark"] div[style*="#ecfdf5"] h4,
html[data-theme="dark"] div[style*="#ecfdf5"] strong,
html:not([data-theme="light"]) div[style*="#ecfdf5"] h4,
html:not([data-theme="light"]) div[style*="#ecfdf5"] strong {
    color: #00FF66 !important;
}
html[data-theme="dark"] div[style*="#ecfdf5"] p,
html[data-theme="dark"] div[style*="#ecfdf5"] li,
html:not([data-theme="light"]) div[style*="#ecfdf5"] p,
html:not([data-theme="light"]) div[style*="#ecfdf5"] li {
    color: #A7F3D0 !important;
}
html[data-theme="dark"] div[style*="#ecfdf5"] a,
html:not([data-theme="light"]) div[style*="#ecfdf5"] a {
    color: #00FF66 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

html[data-theme="dark"] div[style*="#fff1f2"],
html[data-theme="dark"] div[style*="#ffe4e6"],
html:not([data-theme="light"]) div[style*="#fff1f2"],
html:not([data-theme="light"]) div[style*="#ffe4e6"] {
    background: rgba(45, 10, 18, 0.95) !important;
    border-left: 6px solid #FF5252 !important;
    border-top: 1px solid rgba(255, 82, 82, 0.35) !important;
    border-right: 1px solid rgba(255, 82, 82, 0.35) !important;
    border-bottom: 1px solid rgba(255, 82, 82, 0.35) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
}
html[data-theme="dark"] div[style*="#fff1f2"] h4,
html[data-theme="dark"] div[style*="#fff1f2"] strong,
html:not([data-theme="light"]) div[style*="#fff1f2"] h4,
html:not([data-theme="light"]) div[style*="#fff1f2"] strong {
    color: #FF6B81 !important;
}
html[data-theme="dark"] div[style*="#fff1f2"] p,
html[data-theme="dark"] div[style*="#fff1f2"] li,
html:not([data-theme="light"]) div[style*="#fff1f2"] p,
html:not([data-theme="light"]) div[style*="#fff1f2"] li {
    color: #FECDD3 !important;
}

/* Light Mode Overrides for Post Page Cards & Warning Boxes */
html[data-theme="light"] div[style*="#ecfdf5"],
html[data-theme="light"] div[style*="#d1fae5"] {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%) !important;
    border-left: 6px solid #10B981 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-right: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1) !important;
    border-radius: 12px !important;
}
html[data-theme="light"] div[style*="#ecfdf5"] h4,
html[data-theme="light"] div[style*="#ecfdf5"] strong {
    color: #065F46 !important;
}
html[data-theme="light"] div[style*="#ecfdf5"] p,
html[data-theme="light"] div[style*="#ecfdf5"] li {
    color: #064E3B !important;
}
html[data-theme="light"] div[style*="#ecfdf5"] a {
    color: #047857 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

html[data-theme="light"] div[style*="#fff1f2"],
html[data-theme="light"] div[style*="#ffe4e6"] {
    background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
    border-left: 6px solid #F43F5E !important;
    border-top: 1px solid rgba(244, 63, 94, 0.2) !important;
    border-right: 1px solid rgba(244, 63, 94, 0.2) !important;
    border-bottom: 1px solid rgba(244, 63, 94, 0.2) !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1) !important;
    border-radius: 12px !important;
}
html[data-theme="light"] div[style*="#fff1f2"] h4,
html[data-theme="light"] div[style*="#fff1f2"] strong {
    color: #9F1239 !important;
}
html[data-theme="light"] div[style*="#fff1f2"] p,
html[data-theme="light"] div[style*="#fff1f2"] li {
    color: #9F1239 !important;
}

/* Auto-Responsive Overrides across all Viewports */
@media (max-width: 768px) {
    .page-container,
    .entry-content,
    .single-post-container,
    article {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    h1, .entry-content h1, article h1 {
        font-size: 1.6rem !important;
        line-height: 1.35 !important;
        margin-bottom: 14px !important;
    }
    h2, .entry-content h2, article h2 {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
    }
    p, li, .entry-content p, .entry-content li {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    table, .wp-block-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 20px !important;
    }
    table th, table td {
        padding: 8px 10px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
    }
}


/* ==========================================================================
   MASTER STICKY HEADER & ZERO-HORIZONTAL-OVERFLOW AUTO-RESPONSIVE ENGINE
   ========================================================================== */

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* 100% Sticky Header on all pages & posts */
header.wp-block-template-part,
.main-nav,
.main-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
}


    ul.nav-links .nav-btn-pill {
        padding: 5px 8px !important;
        font-size: 11px !important;
        gap: 3px !important;
    }
    ul.nav-links .nav-btn-pill .pill-icon {
        font-size: 11px !important;
    }
    ul.nav-links .nav-btn-pill .pill-arrow {
        font-size: 8px !important;
    }
}

/* ==============================================================
   6 UNIQUE APP FEATURE CARDS RESPONSIVE GRID SYSTEM
   ============================================================== */
.app-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.app-feature-card {
    background: rgba(13, 27, 20, 0.85) !important;
    border: 1px solid rgba(0, 255, 102, 0.22) !important;
    border-radius: 16px !important;
    padding: 22px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.app-feature-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 255, 102, 0.5) !important;
    box-shadow: 0 8px 30px rgba(0, 255, 102, 0.18) !important;
}

.feature-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.feature-icon-badge {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: rgba(0, 255, 102, 0.12) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
}

.feature-card-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.feature-card-desc {
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    color: #CBD5E1 !important;
    margin: 0 !important;
    text-align: justify !important;
    font-weight: 400 !important;
    flex-grow: 1 !important;
}

/* Mobile & Tablet Viewport: 3 lines x 2 cards */
@media (max-width: 992px) {
    .app-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .app-feature-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .feature-icon-badge {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 1.1rem !important;
        border-radius: 10px !important;
    }
    .feature-card-title {
        font-size: 0.95rem !important;
    }
    .feature-card-desc {
        font-size: 0.86rem !important;
        line-height: 1.56 !important;
    }
}

@media (max-width: 640px) {
    .app-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .app-feature-card {
        padding: 12px 10px !important;
        border-radius: 12px !important;
    }
    .feature-card-header {
        gap: 8px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    .feature-icon-badge {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 0.92rem !important;
        border-radius: 8px !important;
    }
    .feature-card-title {
        font-size: 0.86rem !important;
        line-height: 1.3 !important;
    }
    .feature-card-desc {
        font-size: 0.78rem !important;
        line-height: 1.46 !important;
    }
}

/* Light Mode Compatibility */
html[data-theme="light"] .app-feature-card {
    background: #FFFFFF !important;
    border-color: rgba(0, 154, 68, 0.25) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .feature-card-title {
    color: #0F172A !important;
}
html[data-theme="light"] .feature-card-desc {
    color: #334155 !important;
}
html[data-theme="light"] .feature-card-header {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

/* Blog Carousel Responsive Grid */
.ttr-posts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1100px) {
    .ttr-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}
@media (max-width: 768px) {
    .ttr-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    #ttr-prev-btn, #ttr-next-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}
@media (max-width: 480px) {
    .ttr-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ttr-posts-grid .news-avatar-wrapper {
        width: 52px !important;
        height: 52px !important;
    }
    .ttr-posts-grid .news-title {
        font-size: 12px !important;
        height: 34px !important;
    }
    .ttr-posts-grid .news-summary {
        display: none !important;
    }
}






/* ==========================================================================
   UNIFIED PILL NAVIGATION BAR (DESKTOP & MOBILE ULTRA RESPONSIVE)
   ========================================================================== */

/* Main Nav Container */
.main-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    background: rgba(7, 18, 13, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.25) !important;
}

html[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.nav-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.brand-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.brand-logo-img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.brand-title {
    font-size: 1.22rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

html[data-theme="light"] .brand-title {
    color: #0F172A !important;
}

/* Nav Links Container (4 Pill Dropdowns) */
ul.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

ul.nav-links li.nav-item-dropdown {
    position: relative !important;
    display: inline-flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Pill Button UI */
.nav-btn-pill {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #E2E8F0 !important;
    font-family: inherit !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    padding: 7px 13px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    white-space: nowrap !important;
    user-select: none !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    height: auto !important;
}

.nav-btn-pill .pill-icon {
    font-size: 13px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.nav-btn-pill .pill-text {
    white-space: nowrap !important;
    font-size: inherit !important;
    display: inline-block !important;
}

.nav-btn-pill .pill-arrow {
    font-size: 10px !important;
    opacity: 0.75 !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
}

/* Hover & Active State on Desktop */
@media (hover: hover) and (pointer: fine) {
    .nav-item-dropdown:hover .nav-btn-pill,
    .nav-item-dropdown.open .nav-btn-pill {
        background: rgba(0, 255, 102, 0.12) !important;
        border-color: rgba(0, 255, 102, 0.5) !important;
        color: #00FF66 !important;
        box-shadow: 0 0 12px rgba(0, 255, 102, 0.2) !important;
    }
    .nav-item-dropdown:hover .pill-arrow,
    .nav-item-dropdown.open .pill-arrow {
        transform: rotate(180deg) !important;
    }
    .nav-item-dropdown:hover .nav-dropdown-menu,
    .nav-item-dropdown.open .nav-dropdown-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Light Theme for Pill Button */
html[data-theme="light"] .nav-btn-pill {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E293B !important;
}

html[data-theme="light"] .nav-item-dropdown:hover .nav-btn-pill,
html[data-theme="light"] .nav-item-dropdown.open .nav-btn-pill {
    background: rgba(0, 135, 68, 0.08) !important;
    border-color: #008744 !important;
    color: #008744 !important;
    box-shadow: 0 2px 8px rgba(0, 135, 68, 0.15) !important;
}

/* Dropdown Menu Card */
.nav-dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(6px) !important;
    background: rgba(10, 25, 18, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 255, 102, 0.25) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 102, 0.1) !important;
    min-width: 210px !important;
    max-width: 320px !important;
    padding: 6px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    gap: 3px !important;
    box-sizing: border-box !important;
}

.nav-item-dropdown.open .nav-dropdown-menu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #CBD5E1 !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    transition: all 0.18s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.dropdown-item .item-icon {
    font-size: 14px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.dropdown-item .item-title {
    flex: 1 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.dropdown-item:hover {
    background: rgba(0, 255, 102, 0.14) !important;
    color: #00FF66 !important;
    transform: translateX(3px) !important;
}

.dropdown-item.app-feat-item {
    color: #00FF66 !important;
    font-weight: 700 !important;
}

/* Light Theme for Dropdown Menu */
html[data-theme="light"] .nav-dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] .dropdown-item {
    color: #334155 !important;
}

html[data-theme="light"] .dropdown-item:hover {
    background: rgba(0, 135, 68, 0.08) !important;
    color: #008744 !important;
}

html[data-theme="light"] .dropdown-item.app-feat-item {
    color: #008744 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FIXES (AUTO-RESPONSIVE CENTERED ROW)
   ========================================================================== */
@media (max-width: 1024px) {
    .trust-badge,
    .last-updated,
    .live-ticker-wrap {
        display: none !important;
    }
    .top-bar-content {
        justify-content: flex-end !important;
        padding: 4px 10px !important;
        width: 100% !important;
    }
    .main-nav {
        padding: 0 !important;
    }
    .nav-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 10px 10px !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .brand-logo {
        margin: 0 auto 2px !important;
    }
    .nav-actions {
        display: none !important;
    }
    ul.nav-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 2px 4px !important;
        margin: 0 auto !important;
        scrollbar-width: none !important;
    }
    ul.nav-links::-webkit-scrollbar {
        display: none !important;
    }
    ul.nav-links li.nav-item-dropdown {
        display: inline-flex !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .nav-btn-pill {
        padding: 6px 9px !important;
        font-size: 11.5px !important;
        border-radius: 16px !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }
    .nav-btn-pill .pill-icon {
        font-size: 12px !important;
    }
    .nav-btn-pill .pill-arrow {
        font-size: 8px !important;
    }

    /* Mobile Dropdown Fixed Centered Below Nav */
    .nav-dropdown-menu {
        position: fixed !important;
        top: 95px !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        width: auto !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        border-radius: 14px !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8) !important;
        z-index: 1000000 !important;
    }
    .nav-item-dropdown.open .nav-dropdown-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 6px 6px 8px !important;
        gap: 6px !important;
    }
    ul.nav-links {
        gap: 4px !important;
        justify-content: center !important;
    }
    .nav-btn-pill {
        padding: 5px 7px !important;
        font-size: 10.5px !important;
        gap: 3px !important;
        border-radius: 14px !important;
    }
    .nav-btn-pill .pill-icon {
        font-size: 11px !important;
    }
    .nav-btn-pill .pill-text {
        font-size: 10.5px !important;
    }
    .nav-btn-pill .pill-arrow {
        font-size: 7px !important;
    }
}


/* ==========================================================================
   MASTER VIEWPORT & ANTI-OVERFLOW ENGINE (IPHONE 16 PRO MAX & ALL VIEWPORTS)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-text-size-adjust: 100% !important;
}

body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.container, 
.hero-container, 
.footer-content, 
.footer-links-section .container, 
.content-section {
    width: 100% !important;
    max-width: 1240px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Top Trust Bar Lock */
.top-bar {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.top-bar-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .trust-badge,
    .last-updated,
    .live-ticker-wrap {
        display: none !important;
    }
    .top-bar-content {
        justify-content: center !important;
        padding: 4px 6px !important;
    }
    .top-bar-right {
        width: 100% !important;
        justify-content: center !important;
        gap: 6px !important;
    }
}

/* Rates Grid & Converter Card Anti-Overflow */
.rates-showcase-card,
.converter-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.featured-rates-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.featured-chip {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* App Download Banner Card */
.app-banner-card {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.app-banner-flex {
    width: 100% !important;
    box-sizing: border-box !important;
}

.app-info-col,
.app-cta-col {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Footer Anti-Overflow */
.main-footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.footer-4col-grid,
.footer-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.footer-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
}

/* ==========================================================================
   UNIVERSAL POST, PAGE & CARD DARK / LIGHT MODE AUTOMATION
   ========================================================================== */
html[data-theme="light"] {
    color-scheme: light !important;
    background-color: #F8FAFC !important;
}

html[data-theme="light"] body {
    background-color: #F8FAFC !important;
    color: #1E293B !important;
}

/* All Post & Page Article Elements */
html[data-theme="light"] .entry-content,
html[data-theme="light"] .ttr-article-body,
html[data-theme="light"] article,
html[data-theme="light"] .wp-block-post-content {
    color: #334155 !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6 {
    color: #0F172A !important;
}

/* Auto Theme for ALL Cards, Info Boxes & Grids Across Sub-pillar Articles */
html[data-theme="light"] .app-feature-card,
html[data-theme="light"] .ttr-info-card,
html[data-theme="light"] .ttr-feature-card,
html[data-theme="light"] .ttr-step-card,
html[data-theme="light"] .ttr-math-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .footer-card,
html[data-theme="light"] .rates-showcase-card,
html[data-theme="light"] .converter-card,
html[data-theme="light"] .ttr-step-box,
html[data-theme="light"] .ttr-card,
html[data-theme="light"] .info-box,
html[data-theme="light"] [style*="background: rgba(13, 27, 20"],
html[data-theme="light"] [style*="background: #07120D"],
html[data-theme="light"] [style*="background: #0D2319"],
html[data-theme="light"] [style*="background: #0b1e16"] {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #334155 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .feature-card-desc,
html[data-theme="light"] .ttr-step-desc,
html[data-theme="light"] .info-box-desc,
html[data-theme="light"] p {
    color: #334155 !important;
}

html[data-theme="light"] table {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

html[data-theme="light"] th {
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border-color: #E2E8F0 !important;
}

html[data-theme="light"] td {
    border-color: #E2E8F0 !important;
    color: #334155 !important;
}

html[data-theme="light"] figure,
html[data-theme="light"] .wp-block-image {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

html[data-theme="light"] figcaption {
    color: #64748B !important;
}


/* ==========================================================================
   PERFECT HERO SECTION & CONVERTER RESPONSIVENESS (MOBILE & DESKTOP)
   ========================================================================== */
.hero-section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 30px 0 20px !important;
    box-sizing: border-box !important;
}

.hero-container {
    display: grid !important;
    grid-template-columns: 1.2fr 0.95fr !important;
    gap: 30px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}

.hero-text-col,
.hero-card-col {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.converter-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px 20px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

.input-field-wrap {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.input-field-wrap input {
    min-width: 0 !important;
    flex: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.input-field-wrap select {
    min-width: 0 !important;
    max-width: 135px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.calc-breakdown {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 18px !important;
    padding-top: 14px !important;
}

.breakdown-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

.breakdown-line span {
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    white-space: nowrap !important;
}

.breakdown-line strong {
    font-size: 0.95rem !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.breakdown-line.total-line {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

.breakdown-line.total-line strong {
    font-size: 1.15rem !important;
    color: var(--bd-green) !important;
}

.probashi-flight-promo-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 18px !important;
    margin-top: 16px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   PERFECT OFFICIAL ANDROID APP BANNER CARD (MOBILE & DESKTOP)
   ========================================================================== */
.app-banner-card {
    background: linear-gradient(135deg, rgba(0, 154, 68, 0.25), rgba(7, 18, 13, 0.98)) !important;
    border: 2px solid #00FF66 !important;
    border-radius: 20px !important;
    padding: 28px 30px !important;
    box-shadow: 0 16px 45px rgba(0, 255, 102, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.app-banner-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.app-info-col {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 1 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.app-icon-wrapper {
    position: relative !important;
    flex-shrink: 0 !important;
}

.app-logo-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.35) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    object-fit: contain !important;
    background: #07120D !important;
    padding: 6px !important;
    display: block !important;
}

.app-badge-tag {
    position: absolute !important;
    bottom: -6px !important;
    right: -6px !important;
    background: #E41E3F !important;
    color: #FFFFFF !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(228, 30, 63, 0.5) !important;
    text-transform: uppercase !important;
}

.app-text-content {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    box-sizing: border-box !important;
}

.app-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
}

.app-official-pill {
    background: rgba(0, 255, 102, 0.2) !important;
    color: #00FF66 !important;
    border: 1px solid rgba(0, 255, 102, 0.5) !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.app-official-pill .pulse-dot {
    width: 7px !important;
    height: 7px !important;
    background: #00FF66 !important;
    border-radius: 50% !important;
    display: inline-block !important;
    box-shadow: 0 0 6px #00FF66 !important;
}

.app-stars {
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.app-banner-title {
    color: #FFFFFF !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
}

.app-banner-desc {
    color: #E2E8F0 !important;
    font-size: 0.92rem !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.5 !important;
}

.app-feature-pills-row {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.app-sub-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #00FF66 !important;
    font-size: 0.8rem !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.app-sub-pill:hover {
    background: rgba(0, 255, 102, 0.15) !important;
    border-color: #00FF66 !important;
    transform: translateY(-2px) !important;
}

.app-cta-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    min-width: 220px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.btn-playstore-primary {
    background: linear-gradient(135deg, #009A44, #00C853) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35) !important;
    transition: all 0.25s ease !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.btn-playstore-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.5) !important;
}

.btn-guide-secondary {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #00FF66 !important;
    border: 1.5px solid #00FF66 !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0, 255, 102, 0.15) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.btn-guide-secondary:hover {
    background: rgba(0, 255, 102, 0.22) !important;
    transform: translateY(-2px) !important;
}

/* Light Theme for App Banner */
html[data-theme="light"] .app-banner-card {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(0, 154, 68, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .app-banner-title {
    color: #0F172A !important;
}
html[data-theme="light"] .app-banner-desc {
    color: #334155 !important;
}
html[data-theme="light"] .app-sub-pill {
    background: #F1F5F9 !important;
    color: #008744 !important;
    border-color: #CBD5E1 !important;
}
html[data-theme="light"] .btn-guide-secondary {
    background: rgba(0, 154, 68, 0.08) !important;
    color: #008744 !important;
    border-color: #008744 !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR HERO & APP BANNER (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        padding: 0 12px !important;
    }
    .app-banner-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }
    .app-info-col {
        width: 100% !important;
    }
    .app-cta-col {
        width: 100% !important;
        min-width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .btn-playstore-primary,
    .btn-guide-secondary {
        flex: 1 1 calc(50% - 6px) !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 16px 0 14px !important;
    }
    .hero-container {
        padding: 0 10px !important;
        gap: 16px !important;
    }
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }
    .hero-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    .hero-badge {
        margin: 0 auto 8px auto !important;
        display: table !important;
        font-size: 0.75rem !important;
    }
    .converter-card {
        padding: 16px 12px !important;
    }
    .input-field-wrap select {
        max-width: 110px !important;
        font-size: 0.82rem !important;
        padding: 0 6px !important;
    }
    .input-field-wrap input {
        font-size: 1.1rem !important;
        padding: 10px 10px !important;
    }
    .probashi-flight-promo-card {
        padding: 14px 12px !important;
    }
    .flight-promo-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .btn-flight-download,
    .btn-flight-web {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Mobile App Banner Card Clean Vertical Layout */
    .app-banner-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .app-info-col {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
        width: 100% !important;
    }
    .app-text-content {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .app-rating-row {
        justify-content: center !important;
    }
    .app-banner-title {
        font-size: 1.35rem !important;
        text-align: center !important;
    }
    .app-banner-desc {
        font-size: 0.86rem !important;
        text-align: center !important;
    }
    .app-feature-pills-row {
        justify-content: center !important;
        gap: 6px !important;
    }
    .app-sub-pill {
        font-size: 0.74rem !important;
        padding: 4px 8px !important;
    }
    .app-cta-col {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .btn-playstore-primary,
    .btn-guide-secondary {
        width: 100% !important;
        flex: 1 1 100% !important;
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
    }
}


/* ==========================================================================
   MASTER UNIFIED FOOTER STYLING (ZERO DUPLICATES, ALL VIEWPORTS)
   ========================================================================== */
.main-footer {
    background: #040C08 !important;
    border-top: 1px solid rgba(0, 154, 68, 0.25) !important;
    padding: 45px 0 0 0 !important;
    color: #94A3B8 !important;
    margin-top: 45px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1.25fr 0.95fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}

.footer-card {
    background: rgba(13, 27, 20, 0.65) !important;
    border: 1px solid rgba(0, 154, 68, 0.2) !important;
    border-radius: 16px !important;
    padding: 22px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    transition: all 0.25s ease !important;
}

.footer-card:hover {
    border-color: rgba(0, 255, 102, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.1) !important;
}

.footer-card.brand-col {
    background: rgba(8, 22, 16, 0.85) !important;
    border-color: rgba(0, 154, 68, 0.3) !important;
}

.footer-card h4 {
    color: #00FF66 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.2) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
}

.footer-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
}

.footer-card ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-card ul a {
    color: #CBD5E1 !important;
    text-decoration: none !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.3 !important;
}

.footer-card ul a:hover {
    color: #00FF66 !important;
    transform: translateX(3px) !important;
}

.footer-desc {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    color: #94A3B8 !important;
    margin: 12px 0 14px 0 !important;
}

.trust-badge-footer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(0, 255, 102, 0.1) !important;
    color: #00FF66 !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

.footer-bottom {
    margin-top: 35px !important;
    padding: 18px 0 !important;
    background: #020604 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.82rem !important;
}

.footer-bottom-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.footer-bottom p {
    margin: 0 !important;
    color: #64748B !important;
}

.data-source {
    color: #64748B !important;
    font-size: 0.78rem !important;
}

/* Light Theme for Master Footer */
html[data-theme="light"] .main-footer {
    background: #F1F5F9 !important;
    border-top: 1px solid #E2E8F0 !important;
    color: #475569 !important;
}
html[data-theme="light"] .footer-card {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .footer-card h4 {
    color: #008744 !important;
    border-bottom-color: #E2E8F0 !important;
}
html[data-theme="light"] .footer-card ul a {
    color: #334155 !important;
}
html[data-theme="light"] .footer-card ul a:hover {
    color: #008744 !important;
}
html[data-theme="light"] .footer-desc {
    color: #475569 !important;
}
html[data-theme="light"] .trust-badge-footer {
    background: rgba(0, 135, 68, 0.08) !important;
    color: #008744 !important;
    border-color: rgba(0, 135, 68, 0.25) !important;
}
html[data-theme="light"] .footer-bottom {
    background: #E2E8F0 !important;
    border-top-color: #CBD5E1 !important;
}
html[data-theme="light"] .footer-bottom p,
html[data-theme="light"] .data-source {
    color: #64748B !important;
}

/* Responsive Footer Queries */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding-top: 30px !important;
        margin-top: 30px !important;
    }
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }
    .footer-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .footer-bottom-flex {
        flex-direction: column !important;
        text-align: center !important;
        gap: 6px !important;
    }
}


/* ==========================================================================
   100% DESKTOP-STYLE UNIFIED 4-CARD HORIZONTAL FOOTER (MOBILE, TAB & DESKTOP)
   ========================================================================== */
.main-footer {
    background: #040C08 !important;
    border-top: 1px solid rgba(0, 154, 68, 0.25) !important;
    padding: 40px 0 0 0 !important;
    color: #94A3B8 !important;
    margin-top: 45px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1.25fr 0.95fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}

.footer-card {
    background: rgba(13, 27, 20, 0.75) !important;
    border: 1px solid rgba(0, 154, 68, 0.25) !important;
    border-radius: 16px !important;
    padding: 22px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    transition: all 0.25s ease !important;
}

.footer-card:hover {
    border-color: rgba(0, 255, 102, 0.45) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.12) !important;
}

.footer-card.brand-col {
    background: rgba(8, 22, 16, 0.9) !important;
    border-color: rgba(0, 154, 68, 0.35) !important;
}

.footer-card h4 {
    color: #00FF66 !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.25) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
}

.footer-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.footer-card ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-card ul a {
    color: #CBD5E1 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.3 !important;
}

.footer-card ul a:hover {
    color: #00FF66 !important;
    transform: translateX(3px) !important;
}

.footer-desc {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    color: #94A3B8 !important;
    margin: 10px 0 12px 0 !important;
}

.trust-badge-footer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(0, 255, 102, 0.1) !important;
    color: #00FF66 !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

.footer-bottom {
    margin-top: 30px !important;
    padding: 16px 0 !important;
    background: #020604 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.82rem !important;
}

.footer-bottom-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.footer-bottom p {
    margin: 0 !important;
    color: #64748B !important;
}

.data-source {
    color: #64748B !important;
    font-size: 0.78rem !important;
}

/* Tablet & Mobile: Preserve 4-Card Horizontal Row via Smooth Touch Scroll Snap */
@media (max-width: 1024px) {
    .footer-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding: 0 14px 14px 14px !important;
        scrollbar-width: thin !important;
        scrollbar-color: #00FF66 rgba(0, 154, 68, 0.2) !important;
    }
    .footer-content::-webkit-scrollbar {
        height: 5px !important;
    }
    .footer-content::-webkit-scrollbar-thumb {
        background: #00FF66 !important;
        border-radius: 10px !important;
    }
    .footer-content::-webkit-scrollbar-track {
        background: rgba(0, 154, 68, 0.15) !important;
    }
    .footer-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        scroll-snap-align: start !important;
    }
}

@media (max-width: 480px) {
    .footer-card {
        flex: 0 0 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        padding: 18px 14px !important;
    }
}


/* ==========================================================================
   TASK 2: ALWAYS STICKY HEADER IN BOTH DARK & LIGHT MODES (ALL VIEWPORTS)
   ========================================================================== */
.main-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Dark Mode Sticky Header */
:root:not([data-theme="light"]) .main-nav,
html[data-theme="dark"] .main-nav {
    background: rgba(7, 18, 13, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

/* Light Mode Sticky Header */
html[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Task 1: 60px Flight Logo Styling */
.flight-app-logo {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}


/* ==========================================================================
   BULLETPROOF ALWAYS-STICKY HEADER (HOMEPAGE, ALL PAGES, DARK & LIGHT)
   ========================================================================== */
html, body {
    overflow-x: clip !important;
}

.main-nav {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Dark Mode Sticky Nav */
:root:not([data-theme="light"]) .main-nav,
html[data-theme="dark"] .main-nav {
    background: rgba(7, 18, 13, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 154, 68, 0.35) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5) !important;
}

/* Light Mode Sticky Nav */
html[data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}


/* ==========================================================================
   WHY CHOOSE TODAY TAKA RATE CONTAINER RESPONSIVENESS & STYLING
   ========================================================================== */
.why-choose-section {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 45px auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}

.why-choose-section .section-header {
    text-align: center !important;
    margin: 0 auto 28px auto !important;
}

.why-choose-section .section-title {
    text-align: center !important;
    font-size: 1.85rem !important;
    line-height: 1.35 !important;
    margin: 0 auto 10px auto !important;
}

.why-choose-section .section-subtitle {
    text-align: center !important;
    font-size: 1.02rem !important;
    line-height: 1.55 !important;
    margin: 0 auto !important;
}

.why-choose-section .features-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.why-choose-section .feature-card {
    background: rgba(13, 27, 20, 0.75) !important;
    border: 1px solid rgba(0, 154, 68, 0.25) !important;
    border-radius: 18px !important;
    padding: 24px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.why-choose-section .feature-card:hover {
    border-color: rgba(0, 255, 102, 0.5) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.15) !important;
}

.why-choose-section .feature-icon-circle {
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 255, 102, 0.12) !important;
    border: 1.5px solid rgba(0, 255, 102, 0.4) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    color: #00FF66 !important;
    margin-bottom: 14px !important;
}

.why-choose-section .feature-title {
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    color: #00FF66 !important;
    text-align: center !important;
    margin: 0 auto 12px auto !important;
    line-height: 1.3 !important;
    width: 100% !important;
}

.why-choose-section .feature-desc {
    font-size: 0.91rem !important;
    line-height: 1.72 !important;
    color: #CBD5E1 !important;
    text-align: justify !important;
    margin: 0 !important;
    flex-grow: 1 !important;
}

/* Light Theme */
html[data-theme="light"] .why-choose-section .section-title {
    color: #0F172A !important;
}
html[data-theme="light"] .why-choose-section .section-subtitle {
    color: #64748B !important;
}
html[data-theme="light"] .why-choose-section .feature-card {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .why-choose-section .feature-title {
    color: #008744 !important;
}
html[data-theme="light"] .why-choose-section .feature-desc {
    color: #334155 !important;
}

/* Mobile & Tablet Responsive Queries */
@media (max-width: 1024px) {
    .why-choose-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 640px) {
    .why-choose-section {
        margin: 30px auto !important;
    }
    .why-choose-section .section-title {
        font-size: 1.45rem !important;
        text-align: center !important;
    }
    .why-choose-section .section-subtitle {
        font-size: 0.88rem !important;
        text-align: center !important;
    }
    .why-choose-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .why-choose-section .feature-card {
        padding: 20px 16px !important;
    }
    .why-choose-section .feature-title {
        text-align: center !important;
        font-size: 1.15rem !important;
    }
    .why-choose-section .feature-desc {
        text-align: justify !important;
        font-size: 0.88rem !important;
    }
}


/* ==========================================================================
   UNIVERSAL LIGHT THEME: 100% MIDNIGHT BLUE REPLACEMENT (NO MINT GREEN)
   ========================================================================== */
html[data-theme="light"] {
    --midnight-blue: #0F172A;
    --midnight-blue-hover: #1E293B;
    --midnight-blue-border: #334155;
    --midnight-blue-bg: rgba(15, 23, 42, 0.07);
}

/* 1. Hero Badge & Top Badges */
html[data-theme="light"] .hero-badge {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

/* 2. Probashi Flight Promo Badge & Card in Light Mode */
html[data-theme="light"] .probashi-flight-promo-card {
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}
html[data-theme="light"] .flight-promo-badge {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
}
html[data-theme="light"] .flight-badge-text {
    color: #0F172A !important;
    font-weight: 700 !important;
}
html[data-theme="light"] .flight-promo-title {
    color: #0F172A !important;
}
html[data-theme="light"] .flight-promo-desc {
    color: #334155 !important;
}
html[data-theme="light"] .btn-flight-web {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.3) !important;
}

/* 3. Official App Badges & Pills */
html[data-theme="light"] .app-official-pill,
html[data-theme="light"] span[style*="background: rgba(0, 255, 102, 0.2)"],
html[data-theme="light"] span[style*="background: rgba(0, 255, 102, 0.15)"],
html[data-theme="light"] span[style*="background: rgba(0, 255, 102, 0.12)"] {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.3) !important;
}

html[data-theme="light"] .app-official-pill .pulse-dot {
    background: #0F172A !important;
    box-shadow: 0 0 6px rgba(15, 23, 42, 0.5) !important;
}

/* 4. Section Tag Header Badges (Why Download App, Feature Pills) */
html[data-theme="light"] .section-tag-pill,
html[data-theme="light"] span[style*="border: 1px solid rgba(0, 255, 102, 0.5)"],
html[data-theme="light"] div[style*="background: rgba(0, 255, 102, 0.12)"],
html[data-theme="light"] span[style*="background: rgba(0, 255, 102, 0.1)"] {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.3) !important;
}

/* 5. App Feature Sub-Pills */
html[data-theme="light"] .app-sub-pill,
html[data-theme="light"] .app-feature-pills-row a {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
}
html[data-theme="light"] .app-sub-pill:hover {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

/* 6. Feature Icons Circle & Badges in Why Choose Container & 6 Features */
html[data-theme="light"] .feature-icon-badge,
html[data-theme="light"] .feature-icon-circle {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.3) !important;
}

/* 7. Active Filter Tabs */
html[data-theme="light"] .rates-tab.active {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
}

/* 8. Currency Converter Result Wrap & Tags */
html[data-theme="light"] .result-wrap {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: #CBD5E1 !important;
}
html[data-theme="light"] .currency-tag {
    background: #0F172A !important;
    color: #FFFFFF !important;
}

/* 9. Top Trust Bar Language Switcher in Light Mode */
html[data-theme="light"] .lang-switcher-wrap {
    background: rgba(15, 23, 42, 0.06) !important;
    border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
}
html[data-theme="light"] .lang-switcher-wrap .lang-btn.active {
    background: #0F172A !important;
    color: #FFFFFF !important;
}
html[data-theme="light"] .lang-switcher-wrap .lang-btn {
    color: #475569 !important;
}

/* 10. Floating Language Pill in Light Mode */
html[data-theme="light"] .mobile-lang-floating-pill {
    background: #FFFFFF !important;
    border: 2px solid #0F172A !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18) !important;
}
html[data-theme="light"] .mobile-lang-floating-pill span {
    color: #0F172A !important;
}
html[data-theme="light"] .mobile-lang-floating-pill .lang-btn[hreflang="bn"] {
    background: #0F172A !important;
    color: #FFFFFF !important;
}
html[data-theme="light"] .mobile-lang-floating-pill .lang-btn[hreflang="en"] {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0F172A !important;
}

/* 11. Buttons with Secondary Outlines */
html[data-theme="light"] .btn-guide-secondary {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0F172A !important;
    border: 1.5px solid #0F172A !important;
}
html[data-theme="light"] .btn-guide-secondary:hover {
    background: #0F172A !important;
    color: #FFFFFF !important;
}

/* 12. Trust Badge in Footer */
html[data-theme="light"] .trust-badge-footer {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0F172A !important;
    border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
}

/* 13. Replace all mint green accents on article and info boxes */
html[data-theme="light"] .info-box,
html[data-theme="light"] .ttr-info-card,
html[data-theme="light"] .ttr-step-card,
html[data-theme="light"] .ttr-math-card {
    border-color: #E2E8F0 !important;
}
html[data-theme="light"] .feature-title,
html[data-theme="light"] .feature-card-title {
    color: #0F172A !important;
}


/* ===== Currency guide cluster cards =====
   Centred layout, pill-style currency name, premium CTA button and a
   per-currency banknote watermark (source note + red arrow + BDT note) at 25%.
   The card markup carries inline styles, so these overrides need !important.
   Presentation only - no text content is changed. ===== */
.clusters-grid .cluster-card {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    height: 100% !important;
    box-sizing: border-box !important;
}
.clusters-grid .cluster-card::before,
.clusters-grid .cluster-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}
.clusters-grid .cluster-card::before {
    background-image: var(--tt-note);
}
.clusters-grid .cluster-card::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(170,246) rotate(11) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%2384a675'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%2396b787'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23a9c79a' stroke='%233f6b3a' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%2396b787' stroke='%233f6b3a' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%2384a675'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%2384a675'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%233f6b3a' text-anchor='middle' font-family='Georgia,serif'%3EBDT%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%233f6b3a' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%233f6b3a' opacity='.5'/%3E%3C/g%3E%3Cpath d='M104 280q30-26 62-14' stroke='%23d92d20' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3Cpath d='M156 252l30 14l-27 17z' fill='%23d92d20'/%3E%3C/svg%3E");
}
.clusters-grid .cluster-card > * {
    position: relative;
    z-index: 1;
}
.clusters-grid .cluster-flag {
    margin: 0 auto 16px !important;
    flex: 0 0 auto;
}
.clusters-grid .cluster-tag {
    margin-bottom: 10px !important;
    letter-spacing: 0.6px;
}
.clusters-grid .cluster-title {
    display: inline-block !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    margin-bottom: 12px !important;
    max-width: 100%;
    box-sizing: border-box;
}
.clusters-grid .cluster-desc {
    width: 100%;
    margin-bottom: 18px !important;
}
.clusters-grid .cluster-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    margin-top: auto;
    padding: 11px 24px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.clusters-grid a:hover .cluster-link {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(4, 120, 87, 0.38);
}
html[data-theme="light"] .clusters-grid .cluster-title {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #065f46 !important;
}
html:not([data-theme="light"]) .clusters-grid .cluster-title {
    background: rgba(16, 185, 129, 0.14) !important;
    border: 1px solid rgba(16, 185, 129, 0.34) !important;
    color: #eafff5 !important;
}

.clusters-grid a[href*="saudi-riyal-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%235c856c'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%236d977d'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%237fa88f' stroke='%2333513f' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%236d977d' stroke='%2333513f' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%235c856c'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%235c856c'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%2333513f' text-anchor='middle' font-family='Georgia,serif'%3ESAR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%2333513f' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%2333513f' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%235c856c'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%236d977d'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%237fa88f' stroke='%2333513f' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%236d977d' stroke='%2333513f' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%235c856c'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%235c856c'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%2333513f' text-anchor='middle' font-family='Georgia,serif'%3ESAR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%2333513f' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%2333513f' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="usd-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%236b8a4c'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%237d9c5c'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%238fae6d' stroke='%2341582c' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%237d9c5c' stroke='%2341582c' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%236b8a4c'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%236b8a4c'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%2341582c' text-anchor='middle' font-family='Georgia,serif'%3EUSD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%2341582c' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%2341582c' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%236b8a4c'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%237d9c5c'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%238fae6d' stroke='%2341582c' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%237d9c5c' stroke='%2341582c' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%236b8a4c'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%236b8a4c'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%2341582c' text-anchor='middle' font-family='Georgia,serif'%3EUSD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%2341582c' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%2341582c' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="malaysian-ringgit-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%234e847d'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%235e968e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%236fa8a0' stroke='%232b514c' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%235e968e' stroke='%232b514c' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%234e847d'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%234e847d'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%232b514c' text-anchor='middle' font-family='Georgia,serif'%3EMYR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%232b514c' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%232b514c' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%234e847d'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%235e968e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%236fa8a0' stroke='%232b514c' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%235e968e' stroke='%232b514c' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%234e847d'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%234e847d'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%232b514c' text-anchor='middle' font-family='Georgia,serif'%3EMYR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%232b514c' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%232b514c' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="uae-dirham-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23568668'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23679879'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%2379a98d' stroke='%23305240' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23679879' stroke='%23305240' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23568668'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23568668'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23305240' text-anchor='middle' font-family='Georgia,serif'%3EAED%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23305240' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23305240' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23568668'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23679879'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%2379a98d' stroke='%23305240' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23679879' stroke='%23305240' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23568668'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23568668'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23305240' text-anchor='middle' font-family='Georgia,serif'%3EAED%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23305240' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23305240' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="uk-pound-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%237a6597'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%238a75a8'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%239b86b8' stroke='%234a3a5e' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%238a75a8' stroke='%234a3a5e' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%237a6597'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%237a6597'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%234a3a5e' text-anchor='middle' font-family='Georgia,serif'%3EGBP%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%234a3a5e' text-anchor='middle' font-family='Georgia,serif'%3E50%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%234a3a5e' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%237a6597'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%238a75a8'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%239b86b8' stroke='%234a3a5e' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%238a75a8' stroke='%234a3a5e' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%237a6597'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%237a6597'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%234a3a5e' text-anchor='middle' font-family='Georgia,serif'%3EGBP%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%234a3a5e' text-anchor='middle' font-family='Georgia,serif'%3E50%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%234a3a5e' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="euro-to-bangladeshi-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%235d75a8'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%236e86b9'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%238098c9' stroke='%232f4470' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%236e86b9' stroke='%232f4470' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%235d75a8'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%235d75a8'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%232f4470' text-anchor='middle' font-family='Georgia,serif'%3EEUR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%232f4470' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%232f4470' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%235d75a8'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%236e86b9'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%238098c9' stroke='%232f4470' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%236e86b9' stroke='%232f4470' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%235d75a8'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%235d75a8'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%232f4470' text-anchor='middle' font-family='Georgia,serif'%3EEUR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%232f4470' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%232f4470' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="kuwaiti-dinar-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%238f8049'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23a19258'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b3a469' stroke='%23574d24' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23a19258' stroke='%23574d24' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%238f8049'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%238f8049'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23574d24' text-anchor='middle' font-family='Georgia,serif'%3EKWD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23574d24' text-anchor='middle' font-family='Georgia,serif'%3E20%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23574d24' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%238f8049'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23a19258'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b3a469' stroke='%23574d24' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23a19258' stroke='%23574d24' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%238f8049'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%238f8049'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23574d24' text-anchor='middle' font-family='Georgia,serif'%3EKWD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23574d24' text-anchor='middle' font-family='Georgia,serif'%3E20%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23574d24' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="qatari-riyal-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%238d5c74'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%239f6d85'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b07f96' stroke='%23573242' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%239f6d85' stroke='%23573242' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%238d5c74'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%238d5c74'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23573242' text-anchor='middle' font-family='Georgia,serif'%3EQAR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23573242' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23573242' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%238d5c74'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%239f6d85'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b07f96' stroke='%23573242' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%239f6d85' stroke='%23573242' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%238d5c74'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%238d5c74'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%23573242' text-anchor='middle' font-family='Georgia,serif'%3EQAR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%23573242' text-anchor='middle' font-family='Georgia,serif'%3E500%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%23573242' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="omani-rial-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23925c49'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23a46d59'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b57f6b' stroke='%235a3125' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23a46d59' stroke='%235a3125' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23925c49'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23925c49'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%235a3125' text-anchor='middle' font-family='Georgia,serif'%3EOMR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%235a3125' text-anchor='middle' font-family='Georgia,serif'%3E50%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%235a3125' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23925c49'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23a46d59'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23b57f6b' stroke='%235a3125' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23a46d59' stroke='%235a3125' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23925c49'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23925c49'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%235a3125' text-anchor='middle' font-family='Georgia,serif'%3EOMR%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%235a3125' text-anchor='middle' font-family='Georgia,serif'%3E50%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%235a3125' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="singapore-dollar-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23af7d3f'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23c18e4e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23d2a05f' stroke='%236b4718' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23c18e4e' stroke='%236b4718' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23af7d3f'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23af7d3f'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%236b4718' text-anchor='middle' font-family='Georgia,serif'%3ESGD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%236b4718' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%236b4718' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23af7d3f'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23c18e4e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23d2a05f' stroke='%236b4718' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23c18e4e' stroke='%236b4718' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23af7d3f'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23af7d3f'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%236b4718' text-anchor='middle' font-family='Georgia,serif'%3ESGD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%236b4718' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%236b4718' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="bahraini-dinar-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%239a5d5d'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23ac6e6e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23bd8080' stroke='%235e2b2b' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23ac6e6e' stroke='%235e2b2b' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%239a5d5d'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%239a5d5d'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%235e2b2b' text-anchor='middle' font-family='Georgia,serif'%3EBHD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%235e2b2b' text-anchor='middle' font-family='Georgia,serif'%3E20%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%235e2b2b' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%239a5d5d'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23ac6e6e'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%23bd8080' stroke='%235e2b2b' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23ac6e6e' stroke='%235e2b2b' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%239a5d5d'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%239a5d5d'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%235e2b2b' text-anchor='middle' font-family='Georgia,serif'%3EBHD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%235e2b2b' text-anchor='middle' font-family='Georgia,serif'%3E20%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%235e2b2b' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
.clusters-grid a[href*="canadian-dollar-to-taka"] .cluster-card { --tt-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 278 370'%3E%3Cg transform='translate(214,-26) rotate(20) scale(0.9)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23618858'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23729a68'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%2384ab7a' stroke='%233a5533' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23729a68' stroke='%233a5533' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23618858'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23618858'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%233a5533' text-anchor='middle' font-family='Georgia,serif'%3ECAD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%233a5533' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%233a5533' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(-44,232) rotate(-13) scale(1)'%3E%3Crect x='10' y='16' width='128' height='66' rx='5' fill='%23618858'/%3E%3Crect x='5' y='8' width='128' height='66' rx='5' fill='%23729a68'/%3E%3Crect x='0' y='0' width='128' height='66' rx='5' fill='%2384ab7a' stroke='%233a5533' stroke-width='1.4'/%3E%3Cellipse cx='42' cy='33' rx='20' ry='25' fill='%23729a68' stroke='%233a5533' stroke-width='1'/%3E%3Ccircle cx='42' cy='26' r='8' fill='%23618858'/%3E%3Cpath d='M30 46q12-12 24 0v12h-24z' fill='%23618858'/%3E%3Ctext x='94' y='31' font-size='15' font-weight='700' fill='%233a5533' text-anchor='middle' font-family='Georgia,serif'%3ECAD%3C/text%3E%3Ctext x='94' y='51' font-size='13' font-weight='700' fill='%233a5533' text-anchor='middle' font-family='Georgia,serif'%3E100%3C/text%3E%3Crect x='70' y='57' width='46' height='3' rx='1.5' fill='%233a5533' opacity='.5'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-theme="light"] .clusters-grid .cluster-tag {
    color: #047857 !important;
}
/* ===== Currency hub section heading: centred and fluid on every viewport ===== */
.content-section:has(> .clusters-grid) .section-header {
    display: block !important;
    text-align: center !important;
}
.content-section:has(> .clusters-grid) .section-header > div {
    width: 100% !important;
    text-align: center !important;
}
.content-section:has(> .clusters-grid) .section-tag {
    display: inline-block !important;
}
.content-section:has(> .clusters-grid) .section-title {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 900px !important;
    font-size: clamp(19px, 3.2vw, 30px) !important;
    line-height: 1.45 !important;
    text-wrap: balance;
}
.content-section:has(> .clusters-grid) .section-subtitle {
    margin: 12px auto 0 !important;
    max-width: 760px !important;
    font-size: clamp(13.5px, 1.6vw, 16px) !important;
    line-height: 1.75 !important;
}
html[data-theme="light"] .content-section:has(> .clusters-grid) .section-tag {
    color: #047857 !important;
}
/* ===== Light-mode readability fix (homepage) =====
   The homepage was authored dark-first: many elements hardcode dark-mode colours
   (bright greens, pale slates, golds) that stay put when light mode is active and
   become unreadable on light surfaces. These rules remap only those values and
   classes, and only while data-theme="light", so dark mode is untouched. ===== */

/* -- The incentive banner keeps its dark green panel in light mode, so its text must stay light -- */
html[data-theme="light"] .incentive-banner-left .incentive-banner-title {
    color: #ffffff !important;
}
html[data-theme="light"] .incentive-banner-left .incentive-banner-desc {
    color: #d1fae5 !important;
}

/* -- Hardcoded dark-mode inline colours -- */
html[data-theme="light"] :is([style*="color:#00ff66" i][style],[style*="color: #00ff66" i][style]) { color: #047857 !important; }
html[data-theme="light"] :is([style*="color:#94a3b8" i][style],[style*="color: #94a3b8" i][style]) { color: #55636f !important; }
html[data-theme="light"] :is([style*="color:#ffd700" i][style],[style*="color: #ffd700" i][style]) { color: #8a5a06 !important; }
html[data-theme="light"] :is([style*="color:#d97706" i][style],[style*="color: #d97706" i][style],[style*="color:#f59e0b" i][style],[style*="color: #f59e0b" i][style]) { color: #8a5a06 !important; }
html[data-theme="light"] :is([style*="color:#cbd5e1" i][style],[style*="color: #cbd5e1" i][style]) { color: #475569 !important; }
html[data-theme="light"] :is([style*="color:#009a44" i][style],[style*="color: #009a44" i][style],[style*="color:#008744" i][style],[style*="color: #008744" i][style],[style*="color:#22c55e" i][style],[style*="color: #22c55e" i][style]) { color: #046b39 !important; }

/* -- Class-based dark-mode colours -- */
html[data-theme="light"] :is(.section-tag,.news-tag,.channel-badge,.card-white-arrow) { color: #047857 !important; }
html[data-theme="light"] .verified-badge { color: #046b39 !important; }
html[data-theme="light"] .result-status { color: #046b39 !important; }
html[data-theme="light"] :is(.star-rating,.app-stars) { color: #8a5a06 !important; }
html[data-theme="light"] :is(.live-pill,.api-badge) { color: #b3162f !important; }
html[data-theme="light"] :is(.rates-updated-footer,.data-source) { color: #55636f !important; }
html[data-theme="light"] .result-text { color: #26313f !important; }
html[data-theme="light"] .breakdown-line.total-line strong { color: #046b39 !important; }

html[data-theme="light"] [style*="#ffd700" i][style*="#ffd700" i][style] { color: #7a4f05 !important; }
html[data-theme="light"] .grounding-result-box .result-status { color: #04512c !important; }
html[data-theme="light"] .footer-bottom-flex :is(p,.data-source) { color: #55636f !important; }
html[data-theme="light"] .chip-code { color: #55636f !important; }

html[data-theme="light"] :is([style*="color:#00ff66" i][style*="color:#00ff66" i][style],[style*="color: #00ff66" i][style*="color: #00ff66" i][style]) { color: #046b39 !important; }
html[data-theme="light"] .grounding-result-box .result-status { color: #033a20 !important; }
/* ===== Blog carousel: continuous marquee =====
   Replaces the page-by-page jump with one seamless drifting row. The track holds
   two identical sets; JS measures one set and shifts by exactly that distance, so
   the loop point is invisible. Motion pauses on hover/focus and is disabled for
   visitors who prefer reduced motion. ===== */
.ttr-blog-carousel-wrapper {
    overflow: hidden;
    position: relative;
}
.ttr-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    animation: ttr-marquee-scroll var(--ttr-marquee-duration, 60s) linear infinite;
}
.ttr-marquee-set {
    display: flex;
    gap: 16px;
    flex: 0 0 auto;
}
.ttr-marquee-item {
    flex: 0 0 auto;
    width: 230px;
}
.ttr-marquee-item > a {
    display: block;
    height: 100%;
}
.ttr-blog-carousel-wrapper:hover .ttr-marquee-track,
.ttr-blog-carousel-wrapper:focus-within .ttr-marquee-track {
    animation-play-state: paused;
}
@keyframes ttr-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(var(--ttr-marquee-shift, -50%), 0, 0); }
}
@media (max-width: 600px) {
    .ttr-marquee-item { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
    .ttr-marquee-track { animation: none; }
}
/* ===== Blog cards: featured image as a soft card background =====
   Each card's own featured image (the one already shown in the circle) is reused as
   a faded backdrop. A gradient scrim sits between the image and the text so the
   title and summary stay fully readable in both themes. ===== */
.ttr-marquee-item .news-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.ttr-marquee-item .news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ttr-card-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: -2;
    pointer-events: none;
}
.ttr-marquee-item .news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 27, 20, 0.18) 0%, rgba(13, 27, 20, 0.78) 52%, rgba(13, 27, 20, 0.92) 100%);
}
html[data-theme="light"] .ttr-marquee-item .news-card::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.84) 52%, rgba(255, 255, 255, 0.94) 100%);
}

/* ==========================================================
   LIGHT-MODE CONTRAST FIX 2026-08-26
   Two spots in the remittance converter kept dark-mode values
   in light theme:
     1. .currency-tag  - the "BDT" strip under the result field
        was #0F172A with white text, showing as a black bar.
     2. .flight-guide-micro-banner subtitle - hard-coded white
        inline, so it was invisible on the light card.
   Dark mode is deliberately untouched.
   ========================================================== */
html[data-theme="light"] .currency-tag {
    background: #ECFDF5 !important;
    color: #065F46 !important;
    border-top: 1px solid #A7F3D0 !important;
}

html[data-theme="light"] .flight-guide-micro-banner,
html[data-theme="light"] .flight-guide-micro-banner div,
html[data-theme="light"] .flight-guide-micro-banner span {
    color: #0F172A !important;
}

/* the green pill button inside that banner keeps its white label */
html[data-theme="light"] .flight-guide-micro-banner a,
html[data-theme="light"] .flight-guide-micro-banner a span,
html[data-theme="light"] .flight-guide-micro-banner a div {
    color: #FFFFFF !important;
}