/* =========================================================
   RAHIB THE EXPLORE
   PREMIUM RESPONSIVE HEADER
   Sticky Navigation | Search | Theme | Weather | Mega Menu
========================================================= */

/* 1. DESIGN TOKENS */
:root {
    color-scheme: light;

    --rte-forest: #193b2e;
    --rte-forest-deep: #10291f;
    --rte-forest-mid: #2c5944;
    --rte-gold: #c8a76a;
    --rte-gold-light: #ead8b1;

    --rte-ivory: #fffdf8;
    --rte-paper: #f7f5ed;
    --rte-ink: #20352c;
    --rte-muted: #758178;
    --rte-border: #e8e5da;

    --rte-surface: #fffdf8;
    --rte-surface-soft: #f7f5ed;
    --rte-text: #20352c;
    --rte-text-muted: #758178;
    --rte-nav-text: #526056;

    --rte-shadow: 0 14px 38px rgba(16, 41, 31, .10);
    --rte-radius: 14px;
}

/* 2. DARK THEME */
html[data-rte-theme="dark"] {
    color-scheme: dark;

    --rte-ivory: #17241e;
    --rte-paper: #202f27;
    --rte-ink: #edf2eb;
    --rte-muted: #a4b1a6;
    --rte-border: #34453a;

    --rte-surface: #17241e;
    --rte-surface-soft: #202f27;
    --rte-text: #edf2eb;
    --rte-text-muted: #a4b1a6;
    --rte-nav-text: #c5d0c7;

    --rte-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

/* 3. GLOBAL BOX SIZING */
.rte-header,
.rte-header *,
.rte-header *::before,
.rte-header *::after,
.rte-topbar,
.rte-topbar *,
.rte-topbar *::before,
.rte-topbar *::after,
.rte-weather-widget,
.rte-weather-widget *,
.rte-search-overlay,
.rte-search-overlay * {
    box-sizing: border-box;
}

.rte-header,
.rte-topbar,
.rte-weather-widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.rte-header a,
.rte-topbar a,
.rte-weather-widget a {
    -webkit-tap-highlight-color: transparent;
}

/* 4. WORLD CLOCK TOPBAR */
.rte-topbar {
    position: relative;
    z-index: 1031;
    color: #f8f7f0;
    background:
        radial-gradient(circle at 84% 15%, rgba(200, 167, 106, .13), transparent 31%),
        linear-gradient(110deg, var(--rte-forest-deep), var(--rte-forest));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.rte-topbar-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 39px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
}

/* 5. CLOCK TOGGLE */
.rte-topbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 6px 14px;
    margin: 0;
    color: #f8f7f0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.rte-topbar-toggle:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(200, 167, 106, .55);
}

.rte-toggle-icon {
    font-size: 10px;
    transition: transform .2s ease;
}

.rte-topbar-toggle[aria-expanded="true"] .rte-toggle-icon {
    transform: rotate(180deg);
}

/* 6. CLOCK PANEL */
.rte-topbar-panel {
    width: 100%;
    padding: 8px 0 12px;
    animation: rteFadeDown .22s ease;
}

.rte-topbar-panel[hidden],
.rte-weather-panel[hidden],
.rte-search-overlay[hidden] {
    display: none !important;
}

.rte-world-clock {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 2px 1px 7px;
}

.rte-world-clock-item {
    flex: 0 1 140px;
    min-width: 125px;
    max-width: 150px;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 8px 9px;
    overflow: hidden;
    text-align: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 9px;
    transition: background .2s ease, border-color .2s ease;
}

.rte-world-clock-item:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(200, 167, 106, .40);
}

.rte-world-clock-country,
.rte-world-clock-time,
.rte-world-clock-date {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rte-world-clock-country {
    color: var(--rte-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.rte-world-clock-time {
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
}

.rte-world-clock-date {
    color: #c5d0c7;
    font-size: 9px;
    line-height: 1.35;
}

.rte-currency-item {
    background: linear-gradient(145deg, rgba(200, 167, 106, .17), rgba(200, 167, 106, .055));
    border-color: rgba(200, 167, 106, .48);
}

.rte-currency-item .rte-world-clock-time {
    color: var(--rte-gold-light);
    font-size: 12px;
    font-weight: 800;
}

.rte-currency-item .rte-world-clock-date {
    color: #d5dfd5;
}

.rte-currency-item .rte-world-clock-time[data-rate-status="success"] {
    color: #f2dfb7;
}

.rte-currency-item .rte-world-clock-time[data-rate-status="error"] {
    color: #ffc5b8;
}

/* 7. STICKY MAIN NAVIGATION */
.rte-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: block;
    padding: 10px 0;
    background: var(--rte-surface);
    border-bottom: 1px solid var(--rte-border);
    box-shadow: 0 4px 22px rgba(32, 53, 44, .045);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: padding .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.rte-header.is-scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 8px 28px rgba(16, 41, 31, .13);
}

.rte-header>.container,
.rte-header>.container-fluid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* 8. BRAND */
.rte-header .rte-brand {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.rte-brand-mark {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--rte-forest-mid), var(--rte-forest-deep));
    border: 1px solid rgba(200, 167, 106, .78);
    border-radius: 50%;
    box-shadow: 0 4px 13px rgba(25, 59, 46, .15);
    transition: transform .25s ease;
}

.rte-brand-mark::after {
    position: absolute;
    inset: 4px;
    content: "";
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    pointer-events: none;
}

.rte-brand-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    border-radius: 50%;
}

.rte-brand:hover .rte-brand-mark {
    transform: rotate(-5deg) scale(1.035);
}

.rte-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rte-brand-name {
    display: block;
    color: var(--rte-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.25px;
}

.rte-brand-tagline {
    display: block;
    color: var(--rte-text-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

/* 9. HEADER ACTION BUTTONS */
.rte-header-tools {
    flex: 0 0 auto;
}

.rte-tool-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rte-text);
    background: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 11px;
    font-size: 15px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.rte-tool-btn:hover {
    color: var(--rte-forest);
    background: var(--rte-surface-soft);
    border-color: var(--rte-gold);
}

html[data-rte-theme="dark"] .rte-tool-btn:hover {
    color: var(--rte-gold-light);
}

/* 10. NAVBAR TOGGLER */
.rte-header .navbar-toggler {
    width: 42px;
    height: 40px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--rte-text);
    background: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 11px;
    box-shadow: none;
}

.rte-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(25, 59, 46, .12);
}

/* 11. NAVIGATION LINKS */
.rte-header .navbar-nav {
    align-items: center;
    min-width: 0;
}

.rte-header .navbar-nav .nav-link {
    position: relative;
    display: block;
    padding: 12px 9px;
    color: var(--rte-nav-text);
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.45;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.rte-header .navbar-nav .nav-link>i {
    color: var(--rte-text-muted);
    font-size: 13px;
}

.rte-header .navbar-nav .nav-link::before {
    position: absolute;
    right: 9px;
    bottom: 4px;
    left: 9px;
    height: 2px;
    content: "";
    background: var(--rte-gold);
    border-radius: 5px;
    transform: scaleX(0);
    transition: transform .22s ease;
}

.rte-header .navbar-nav .nav-link:hover,
.rte-header .navbar-nav .nav-link:focus-visible,
.rte-header .navbar-nav .nav-link.active {
    color: var(--rte-text);
}

.rte-header .navbar-nav .nav-link:hover::before,
.rte-header .navbar-nav .nav-link:focus-visible::before,
.rte-header .navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

/* 12. STANDARD DROPDOWNS */
.rte-header .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: .15em;
    border-top-color: var(--rte-text-muted);
}

.rte-header .dropdown-menu {
    min-width: 225px;
    margin-top: 9px;
    padding: 8px;
    color: var(--rte-text);
    background: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 12px;
    box-shadow: var(--rte-shadow);
}

.rte-header .dropdown-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    color: var(--rte-nav-text);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    transition: color .18s ease, background .18s ease;
}

.rte-header .dropdown-item>i {
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.rte-header .dropdown-item:hover,
.rte-header .dropdown-item:focus-visible,
.rte-header .dropdown-item.active {
    color: var(--rte-text);
    background: var(--rte-surface-soft);
}

.rte-header .dropdown-divider {
    margin: 6px 4px;
    border-color: var(--rte-border);
}

/* 13. DESTINATIONS MEGA MENU */
.rte-header .rte-mega-menu {
    width: min(760px, calc(100vw - 40px));
    min-width: 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 20px;
    padding: 23px;
    margin-top: 12px;
    border: 1px solid var(--rte-border);
    border-radius: 15px;
    background: var(--rte-surface);
    box-shadow: var(--rte-shadow);
}

.rte-eyebrow {
    display: block;
    color: var(--rte-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rte-mega-intro h3 {
    margin: 9px 0;
    color: var(--rte-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.25;
}

.rte-mega-intro p {
    margin: 0 0 14px;
    color: var(--rte-text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.rte-mega-all-link {
    color: var(--rte-text);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.rte-mega-all-link:hover {
    color: var(--rte-gold);
}

.rte-mega-heading {
    display: block;
    margin-bottom: 12px;
    color: var(--rte-text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rte-mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    margin-bottom: 5px;
    color: var(--rte-text);
    border-radius: 9px;
    text-decoration: none;
    transition: background .2s ease;
}

.rte-mega-link:hover,
.rte-mega-link.active {
    background: var(--rte-surface-soft);
}

.rte-mega-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rte-forest);
    background: rgba(200, 167, 106, .15);
    border-radius: 9px;
    font-size: 16px;
}

html[data-rte-theme="dark"] .rte-mega-icon {
    color: var(--rte-gold-light);
}

.rte-mega-link strong,
.rte-mega-link small {
    display: block;
}

.rte-mega-link strong {
    color: var(--rte-text);
    font-size: 11px;
}

.rte-mega-link small {
    margin-top: 3px;
    color: var(--rte-text-muted);
    font-size: 9px;
    line-height: 1.4;
}

/* 14. CONTACT BUTTON */
.rte-header .rte-contact-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    color: #fff;
    background: var(--rte-forest);
    border: 1px solid var(--rte-forest);
    border-radius: 30px;
    box-shadow: 0 4px 11px rgba(25, 59, 46, .09);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.rte-header .rte-contact-btn>i {
    color: var(--rte-gold-light);
}

.rte-header .rte-contact-btn:hover,
.rte-header .rte-contact-btn.active {
    color: #fff;
    background: var(--rte-forest-deep);
    border-color: var(--rte-gold);
    transform: translateY(-1px);
}

/* 15. DYNAMIC PAGE LINKS */
.rte-header .rte-dynamic-link {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 16. WEATHER WIDGET */
.rte-weather-widget {
    position: relative;
    z-index: 1020;
    color: var(--rte-text);
    background: var(--rte-surface);
    border-bottom: 1px solid var(--rte-border);
}

.rte-weather-inner {
    width: min(100% - 30px, 1180px);
    margin: 0 auto;
}

.rte-weather-toggle {
    width: 100%;
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 10px;
    color: var(--rte-text);
    background: transparent;
    border: 0;
    font-size: 11px;
    cursor: pointer;
}

.rte-weather-toggle>i:first-child {
    color: var(--rte-gold);
    font-size: 16px;
}

.rte-weather-label {
    color: var(--rte-text-muted);
    font-weight: 700;
}

.rte-weather-toggle strong {
    font-size: 11px;
    font-weight: 750;
}

.rte-weather-chevron {
    color: var(--rte-text-muted);
    font-size: 10px;
    transition: transform .2s ease;
}

.rte-weather-toggle[aria-expanded="true"] .rte-weather-chevron {
    transform: rotate(180deg);
}

.rte-weather-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 16px 10px 19px;
    border-top: 1px solid var(--rte-border);
    animation: rteFadeDown .2s ease;
}

.rte-weather-controls {
    width: 190px;
}

.rte-weather-controls label {
    display: block;
    margin-bottom: 5px;
    color: var(--rte-text-muted);
    font-size: 10px;
    font-weight: 700;
}

.rte-weather-controls .form-select {
    color: var(--rte-text);
    background-color: var(--rte-surface);
    border-color: var(--rte-border);
    font-size: 11px;
}

.rte-weather-result {
    display: flex;
    align-items: center;
    gap: 13px;
}

.rte-weather-symbol {
    color: var(--rte-gold);
    font-size: 35px;
}

.rte-weather-result strong,
.rte-weather-result span,
.rte-weather-result small {
    display: block;
}

.rte-weather-result strong {
    color: var(--rte-text);
    font-size: 25px;
    line-height: 1.2;
}

.rte-weather-result span {
    margin-top: 3px;
    color: var(--rte-text);
    font-size: 11px;
    font-weight: 700;
}

.rte-weather-result small,
.rte-weather-source {
    color: var(--rte-text-muted);
    font-size: 9px;
}

.rte-weather-source {
    align-self: flex-end;
}

/* 17. GLOBAL SEARCH OVERLAY */
.rte-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: min(13vh, 110px) 16px 25px;
}

.rte-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 12, .68);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.rte-search-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 610px);
    max-height: 75vh;
    overflow-y: auto;
    padding: 24px;
    color: var(--rte-text);
    background: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 17px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .30);
    animation: rteSearchEnter .2s ease;
}

.rte-search-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.rte-search-heading h2 {
    margin: 7px 0 0;
    color: var(--rte-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.rte-search-close {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rte-text-muted);
    background: var(--rte-surface-soft);
    border: 1px solid var(--rte-border);
    border-radius: 9px;
    cursor: pointer;
}

.rte-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
    background: var(--rte-surface-soft);
    border: 1px solid var(--rte-border);
    border-radius: 11px;
}

.rte-search-input-wrap>i {
    color: var(--rte-gold);
}

.rte-search-input-wrap .form-control {
    min-width: 0;
    padding: 9px 0;
    color: var(--rte-text);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 13px;
}

.rte-search-input-wrap .form-control::placeholder {
    color: var(--rte-text-muted);
}

.rte-search-input-wrap kbd,
.rte-search-hint kbd {
    padding: 3px 6px;
    color: var(--rte-text-muted);
    background: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 5px;
    font-size: 9px;
}

.rte-search-section-label {
    display: block;
    margin: 19px 0 8px;
    color: var(--rte-text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rte-search-results a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 10px;
    color: var(--rte-text);
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
}

.rte-search-results a>i {
    width: 20px;
    color: var(--rte-gold);
    text-align: center;
}

.rte-search-results a:hover {
    background: var(--rte-surface-soft);
}

.rte-search-empty {
    padding: 15px 10px;
    color: var(--rte-text-muted);
    font-size: 12px;
}

.rte-search-hint {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 17px 0 0;
    padding-top: 13px;
    color: var(--rte-text-muted);
    border-top: 1px solid var(--rte-border);
    font-size: 10px;
}

/* 18. DARK THEME COMPONENT OVERRIDES */
html[data-rte-theme="dark"] .rte-header .navbar-toggler {
    color: var(--rte-text);
    background: var(--rte-surface-soft);
}

html[data-rte-theme="dark"] .rte-header .navbar-toggler-icon {
    filter: invert(1);
}

html[data-rte-theme="dark"] .rte-header .dropdown-item:hover,
html[data-rte-theme="dark"] .rte-header .dropdown-item.active {
    color: var(--rte-text);
    background: #2a3b31;
}

html[data-rte-theme="dark"] .rte-header .rte-contact-btn {
    color: #fff;
}

html[data-rte-theme="dark"] .rte-weather-controls .form-select {
    color: var(--rte-text);
    background-color: var(--rte-surface-soft);
}

/* 19. ANIMATIONS */
@keyframes rteFadeDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rteSearchEnter {
    from {
        opacity: 0;
        transform: translateY(-9px) scale(.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 20. LAPTOP */
@media (max-width: 1199.98px) {
    .rte-brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .rte-brand-name {
        font-size: 14px;
    }

    .rte-brand-tagline {
        font-size: 8px;
        letter-spacing: .7px;
    }

    .rte-header .navbar-nav .nav-link {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 10.5px;
    }

    .rte-header .rte-contact-btn {
        padding-right: 11px;
        padding-left: 11px;
    }
}

/* 21. TABLET AND MOBILE NAVIGATION */
@media (max-width: 991.98px) {
    .rte-header {
        padding: 8px 0;
    }

    .rte-header .navbar-collapse {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 12px;
        padding: 10px 0 4px;
        border-top: 1px solid var(--rte-border);
    }

    .rte-header .navbar-nav {
        width: 100%;
        align-items: stretch !important;
        gap: 2px !important;
    }

    .rte-header .navbar-nav .nav-link {
        padding: 11px 12px;
        border-radius: 8px;
        font-size: 13px;
        white-space: normal;
    }

    .rte-header .navbar-nav .nav-link>i {
        width: 19px;
        display: inline-block;
    }

    .rte-header .navbar-nav .nav-link::before {
        display: none;
    }

    .rte-header .navbar-nav .nav-link:hover,
    .rte-header .navbar-nav .nav-link.active {
        background: var(--rte-surface-soft);
    }

    .rte-header .dropdown-menu {
        width: 100%;
        min-width: 0;
        margin: 2px 0 7px;
        padding: 5px;
        background: var(--rte-surface-soft);
        border-radius: 9px;
        box-shadow: none;
    }

    .rte-header .rte-mega-menu {
        display: block;
        width: 100%;
        margin-top: 2px;
        padding: 14px;
    }

    .rte-mega-intro {
        padding-bottom: 13px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--rte-border);
    }

    .rte-mega-column {
        margin-top: 13px;
    }

    .rte-header .rte-dynamic-link {
        max-width: none;
    }

    .rte-header .rte-contact-btn {
        width: 100%;
        margin: 9px 0 5px;
        min-height: 43px;
    }
}

/* 22. MOBILE */
@media (max-width: 575.98px) {
    .rte-topbar-inner {
        padding: 7px 5px;
    }

    .rte-topbar-toggle {
        font-size: 10px;
        padding: 6px 11px;
    }

    .rte-world-clock {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .rte-world-clock-item {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 61px;
        padding: 7px 5px;
    }

    .rte-world-clock-country {
        font-size: 8px;
    }

    .rte-world-clock-time {
        font-size: 11px;
    }

    .rte-world-clock-date {
        font-size: 8px;
    }

    .rte-currency-item .rte-world-clock-time {
        font-size: 10px;
    }

    .rte-topbar-panel {
        max-height: 55vh;
        overflow-y: auto;
    }

    .rte-brand-mark {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .rte-brand-image {
        padding: 5px;
    }

    .rte-brand-copy {
        gap: 3px;
    }

    .rte-brand-name {
        max-width: 175px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rte-brand-tagline {
        font-size: 7px;
        letter-spacing: .45px;
    }

    .rte-header-tools {
        gap: 6px !important;
    }

    .rte-tool-btn {
        width: 35px;
        height: 35px;
    }

    .rte-header .navbar-toggler {
        width: 38px;
        height: 37px;
        flex-basis: 38px;
    }

    .rte-weather-toggle {
        justify-content: flex-start;
        font-size: 10px;
    }

    .rte-weather-toggle strong {
        flex: 1;
        text-align: left;
    }

    .rte-weather-panel {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .rte-weather-controls {
        width: 100%;
    }

    .rte-weather-result {
        flex: 1;
    }

    .rte-weather-source {
        width: 100%;
    }

    .rte-search-overlay {
        padding: 8vh 10px 15px;
    }

    .rte-search-dialog {
        padding: 18px;
    }

    .rte-search-heading h2 {
        font-size: 20px;
    }
}

/* 23. SMALL MOBILE */
@media (max-width: 380px) {
    .rte-brand-name {
        max-width: 135px;
        font-size: 11px;
    }

    .rte-brand-tagline {
        font-size: 6px;
        letter-spacing: .25px;
    }

    .rte-tool-btn {
        width: 32px;
        height: 34px;
    }

    .rte-header-tools {
        gap: 4px !important;
    }

    .rte-world-clock-country {
        font-size: 7px;
    }

    .rte-world-clock-time {
        font-size: 10px;
    }

    .rte-world-clock-date {
        font-size: 7px;
    }
}

/* 24. ULTRAWIDE */
@media (min-width: 2300px) {
    .rte-world-clock {
        max-width: 2240px;
        margin-inline: auto;
    }

    .rte-world-clock-item {
        flex-basis: 140px;
        align-items: center;
        text-align: center;
    }
}

/* 25. ACCESSIBILITY */
.rte-header a:focus-visible,
.rte-header button:focus-visible,
.rte-topbar button:focus-visible,
.rte-weather-widget button:focus-visible,
.rte-search-overlay button:focus-visible,
.rte-search-overlay input:focus-visible {
    outline: 2px solid var(--rte-gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .rte-header *,
    .rte-topbar *,
    .rte-weather-widget *,
    .rte-search-overlay * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   RAHIB THE EXPLORE
   RESPONSIVE DESTINATIONS DROPDOWN
   Desktop | Laptop | Tablet | Mobile
========================================================= */

.rte-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Dropdown parent */
.rte-header .rte-destination-nav {
    position: relative;
}

/* Mega menu panel */
.rte-header .rte-destination-nav>.rte-mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    right: auto;

    width: min(680px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);

    padding: 0;
    margin: 0;

    transform: translateX(-50%);

    border: 1px solid var(--rte-border, #e8e5da);
    border-radius: 16px;

    background: var(--rte-ivory, #fffdf8);
    box-shadow: 0 18px 50px rgba(16, 41, 31, .16);

    overflow: hidden;
    z-index: 1050;
}

/* Prevent Bootstrap transform conflicts */
.rte-header .rte-destination-nav>.rte-mega-menu.show {
    display: block;
}

/* Inner layout */
.rte-mega-content {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
    padding: 24px;
    min-width: 0;
}

/* Introduction */
.rte-mega-intro {
    min-width: 0;
    padding: 20px;
    border-radius: 12px;

    background: linear-gradient(145deg,
            var(--rte-forest, #193b2e),
            var(--rte-forest-deep, #10291f));

    color: #fff;
}

.rte-mega-intro .rte-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--rte-gold-light, #ead8b1);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.rte-mega-intro h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.rte-mega-intro p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.7;
}

.rte-mega-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--rte-gold-light, #ead8b1);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.rte-mega-all-link:hover {
    color: #fff;
}

/* Links column */
.rte-mega-links {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rte-mega-heading {
    display: block;
    margin: 2px 0 7px;
    color: var(--rte-muted, #758178);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.rte-mega-secondary-heading {
    margin-top: 13px;
}

/* Individual links */
.rte-mega-link {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-width: 0;
    padding: 11px 12px;

    border: 1px solid transparent;
    border-radius: 10px;

    color: var(--rte-ink, #20352c);
    background: transparent;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.rte-mega-link:hover,
.rte-mega-link.active {
    background: rgba(25, 59, 46, .07);
    border-color: rgba(25, 59, 46, .12);
    color: var(--rte-forest, #193b2e);
}

.rte-mega-link:hover {
    transform: translateX(3px);
}

.rte-mega-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 10px;
    background: rgba(200, 167, 106, .15);

    font-size: 19px;
}

.rte-mega-icon i {
    font-size: 17px;
}

.rte-mega-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 3px;
}

.rte-mega-text strong {
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.rte-mega-text small {
    color: var(--rte-muted, #758178);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.rte-mega-arrow {
    flex: 0 0 auto;
    color: var(--rte-muted, #758178);
    font-size: 11px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .rte-header .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 15px;
    }

    .rte-header .rte-destination-nav {
        width: 100%;
    }

    .rte-header .rte-destination-nav>.rte-mega-menu {
        position: static !important;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 8px 0 12px !important;

        transform: none !important;

        border-radius: 12px;
        box-shadow: none;

        border: 1px solid var(--rte-border, #e8e5da);
    }

    .rte-mega-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 14px;
        padding: 14px;
    }

    .rte-mega-intro {
        padding: 16px;
    }

    .rte-mega-intro h3 {
        font-size: 18px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .rte-header .rte-destination-nav>.rte-mega-menu {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .rte-mega-content {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 12px;
    }

    .rte-mega-intro {
        padding: 16px;
    }

    .rte-mega-intro h3 {
        font-size: 18px;
    }

    .rte-mega-intro p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .rte-mega-links {
        gap: 6px;
    }

    .rte-mega-link {
        padding: 10px;
    }

    .rte-mega-text strong {
        font-size: 12px;
    }

    .rte-mega-text small {
        font-size: 10px;
    }
}

/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .rte-header .rte-destination-nav>.rte-mega-menu {
    background: #17251e;
    border-color: rgba(255, 255, 255, .12);
}

[data-theme="dark"] .rte-mega-link {
    color: #f1eee5;
}

[data-theme="dark"] .rte-mega-link:hover,
[data-theme="dark"] .rte-mega-link.active {
    background: rgba(200, 167, 106, .12);
    border-color: rgba(200, 167, 106, .25);
    color: #ead8b1;
}

[data-theme="dark"] .rte-mega-text small,
[data-theme="dark"] .rte-mega-arrow,
[data-theme="dark"] .rte-mega-heading {
    color: #aab6ad;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .rte-mega-link {
        transition: none;
    }
}


/* =========================================================
   RAHIB THE EXPLORE
   WORLD CLOCK & CURRENCY UI
========================================================= */

.rte-topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rte-topbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

.rte-topbar-toggle:hover,
.rte-topbar-toggle[aria-expanded="true"] {
    background: var(--brand, #244b3b);
    color: #fff;
    border-color: var(--brand, #244b3b);
}

.rte-topbar-toggle .rte-toggle-icon {
    font-size: 11px;
    transition: transform .25s ease;
}

.rte-topbar-toggle[aria-expanded="true"] .rte-toggle-icon {
    transform: rotate(180deg);
}

.rte-topbar-panel {
    width: 100%;
    margin-top: 12px;
    padding: 24px;
    border: 1px solid rgba(128, 128, 128, .2);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .09);
    animation: rtePanelOpen .25s ease;
}

.rte-topbar-panel[hidden] {
    display: none !important;
}

@keyframes rtePanelOpen {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Widget heading */

.rte-widget-heading {
    margin-bottom: 22px;
}

.rte-widget-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--accent, #c6a15b);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.rte-widget-heading h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 750;
}

.rte-widget-heading h3 i {
    margin-right: 7px;
    color: var(--accent, #c6a15b);
}

.rte-widget-heading p {
    margin: 0;
    opacity: .7;
    font-size: 13px;
}

/* World Clock */

.rte-widget-controls {
    max-width: 420px;
    margin-bottom: 18px;
}

.rte-widget-controls label,
.rte-currency-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
}

.rte-widget-controls select,
.rte-currency-field select,
.rte-currency-field input {
    min-height: 43px;
    border-radius: 7px;
    font-size: 13px;
}

.rte-clock-display {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 10px;
    background: var(--brand, #244b3b);
    color: #fff;
}

.rte-clock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--accent, #c6a15b);
    font-size: 27px;
}

.rte-clock-information {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rte-clock-information>span:first-child {
    font-size: 13px;
    font-weight: 700;
}

.rte-clock-information strong {
    font-size: clamp(27px, 5vw, 39px);
    line-height: 1.2;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.rte-clock-information>span:nth-of-type(2) {
    font-size: 12px;
    opacity: .85;
}

.rte-clock-information small {
    color: var(--accent, #c6a15b);
    font-size: 11px;
}

/* Currency Converter */

.rte-currency-converter {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    align-items: end;
    gap: 15px;
}

.rte-currency-field {
    min-width: 0;
}

.rte-currency-swap {
    width: 42px;
    height: 42px;
    margin-bottom: 1px;
    border: 1px solid rgba(128, 128, 128, .3);
    border-radius: 50%;
    background: transparent;
    color: var(--brand, #244b3b);
    font-size: 17px;
    cursor: pointer;
    transition: .25s ease;
}

.rte-currency-swap:hover {
    background: var(--brand, #244b3b);
    color: #fff;
    transform: rotate(180deg);
}

.rte-currency-result {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
    padding: 22px;
    border-radius: 10px;
    background: var(--brand, #244b3b);
    color: #fff;
}

.rte-currency-result>span {
    font-size: 12px;
    opacity: .85;
}

.rte-currency-result strong {
    color: var(--accent, #c6a15b);
    font-size: clamp(25px, 5vw, 36px);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.rte-currency-result small {
    font-size: 12px;
    opacity: .85;
}

/* Widget footer */

.rte-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    opacity: .7;
}

/* Responsive */

@media (max-width: 767px) {

    .rte-topbar-actions {
        gap: 7px;
    }

    .rte-topbar-toggle {
        flex: 1;
        padding: 9px 10px;
        font-size: 12px;
    }

    .rte-topbar-panel {
        padding: 17px;
    }

    .rte-currency-converter {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .rte-currency-swap {
        justify-self: center;
        transform: rotate(90deg);
    }

    .rte-currency-swap:hover {
        transform: rotate(270deg);
    }

    .rte-clock-display {
        padding: 17px;
        gap: 13px;
    }

    .rte-clock-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .rte-widget-footer {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 380px) {

    .rte-topbar-toggle {
        gap: 5px;
        font-size: 11px;
    }

    .rte-topbar-toggle .rte-toggle-icon {
        font-size: 9px;
    }

}

/* =========================================================
   26. SEPARATE WORLD CLOCK & CURRENCY PANELS
   Additive responsive enhancement for the updated topbar.
========================================================= */
.rte-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.rte-topbar-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, .13);
    border-color: var(--rte-gold);
    color: #fff;
}

.rte-topbar-panel {
    width: 100%;
    max-width: 1500px;
    margin-inline: auto;
    padding: 17px 0 15px;
}

.rte-tool-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin: 0 auto 18px;
    color: #fff;
}

.rte-tool-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--rte-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.rte-tool-heading h2 {
    margin: 0 0 5px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
}

.rte-tool-heading h2 i {
    color: var(--rte-gold-light);
    margin-right: 7px;
}

.rte-tool-heading p {
    margin: 0;
    color: #c5d0c7;
    font-size: 11px;
}

.rte-clock-selector-wrap {
    width: min(100%, 440px);
    margin: 0 0 16px;
}

.rte-clock-selector-wrap label,
.rte-currency-field label {
    display: block;
    margin-bottom: 6px;
    color: #e7e9e3;
    font-size: 10px;
    font-weight: 750;
}

.rte-clock-selector-wrap .form-select,
.rte-currency-field .form-select,
.rte-currency-field .form-control {
    min-height: 42px;
    color: var(--rte-text);
    background-color: var(--rte-surface);
    border: 1px solid var(--rte-border);
    border-radius: 8px;
    font-size: 12px;
}

.rte-selected-clock {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 19px;
    margin-bottom: 18px;
    color: #fff;
    background: linear-gradient(115deg, #244b3b, #10291f);
    border: 1px solid rgba(200, 167, 106, .35);
    border-radius: 11px;
}

.rte-selected-clock-icon {
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rte-gold-light);
    background: rgba(255, 255, 255, .10);
    border-radius: 50%;
    font-size: 23px;
}

.rte-selected-clock-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rte-selected-clock-copy>span:first-child {
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.rte-selected-clock-copy strong {
    color: var(--rte-gold-light);
    font-size: clamp(25px, 4vw, 35px);
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.rte-selected-clock-copy>span:nth-of-type(2) {
    color: #e0e6df;
    font-size: 10px;
}

.rte-selected-clock-copy small {
    color: #c8a76a;
    font-size: 9px;
}

.rte-clock-grid-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 13px 0 8px;
    color: #fff;
}

.rte-clock-grid-heading strong {
    font-size: 11px;
}

.rte-clock-grid-heading span {
    color: #c5d0c7;
    font-size: 9px;
}

.rte-widget-footnote {
    margin-top: 12px;
    color: #c5d0c7;
    font-size: 9px;
}

.rte-widget-footnote i {
    color: var(--rte-gold-light);
    margin-right: 4px;
}

.rte-currency-converter {
    display: grid;
    grid-template-columns: minmax(110px, .75fr) minmax(170px, 1fr) 42px minmax(170px, 1fr);
    align-items: end;
    gap: 12px;
}

.rte-currency-field {
    min-width: 0;
}

.rte-currency-swap {
    width: 40px;
    height: 40px;
    margin-bottom: 1px;
    color: var(--rte-gold-light);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(200, 167, 106, .55);
    border-radius: 50%;
    cursor: pointer;
    transition: .2s ease;
}

.rte-currency-swap:hover {
    color: var(--rte-forest-deep);
    background: var(--rte-gold-light);
    transform: rotate(180deg);
}

.rte-currency-result {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px 19px;
    margin-top: 17px;
    color: #fff;
    background: linear-gradient(115deg, #244b3b, #10291f);
    border: 1px solid rgba(200, 167, 106, .35);
    border-radius: 11px;
}

.rte-currency-result>span {
    color: #e0e6df;
    font-size: 10px;
}

.rte-currency-result strong {
    color: var(--rte-gold-light);
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.rte-currency-result small {
    color: #e0e6df;
    font-size: 10px;
}

.rte-currency-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
    color: #c5d0c7;
    font-size: 9px;
}

.rte-currency-meta [data-status="success"] {
    color: #cce8cf;
}

.rte-currency-meta [data-status="error"] {
    color: #ffc5b8;
}

.rte-currency-quick-rates {
    margin-top: 16px;
}

.rte-currency-quick-rates .rte-world-clock {
    justify-content: flex-start;
}

.rte-currency-quick-rates .rte-world-clock-item {
    flex-basis: 180px;
    max-width: 220px;
}

.rte-currency-quick-rates .rte-world-clock-time {
    color: var(--rte-gold-light);
}

@media (max-width: 767.98px) {
    .rte-topbar-actions {
        gap: 6px;
    }

    .rte-topbar-toggle {
        flex: 1 1 145px;
        padding: 7px 9px;
        font-size: 10px;
    }

    .rte-topbar-panel {
        padding: 13px 0 12px;
    }

    .rte-tool-heading h2 {
        font-size: 18px;
    }

    .rte-selected-clock {
        padding: 14px;
        gap: 12px;
    }

    .rte-selected-clock-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        font-size: 19px;
    }

    .rte-currency-converter {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rte-currency-swap {
        justify-self: center;
        transform: rotate(90deg);
    }

    .rte-currency-swap:hover {
        transform: rotate(270deg);
    }

    .rte-currency-quick-rates .rte-world-clock-item {
        flex-basis: 145px;
    }

    .rte-clock-grid-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .rte-currency-meta {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .rte-topbar-toggle {
        flex-basis: 100%;
    }

    .rte-selected-clock-copy strong {
        font-size: 25px;
    }
}

html[data-rte-theme="dark"] .rte-clock-selector-wrap .form-select,
html[data-rte-theme="dark"] .rte-currency-field .form-select,
html[data-rte-theme="dark"] .rte-currency-field .form-control {
    color: var(--rte-text);
    background-color: var(--rte-surface-soft);
    border-color: var(--rte-border);
}

@media (prefers-reduced-motion: reduce) {
    .rte-topbar-panel, .rte-topbar-toggle, .rte-currency-swap {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   RAHIB THE EXPLORE
   WORLD CLOCK & CURRENCY
   PREMIUM DARK CONTRAST FIX
   Version: 2.0
========================================================= */

/* 1. TOPBAR BACKGROUND */

.rte-topbar {
    color: #f8f7f0 !important;
    background:
        radial-gradient(circle at 85% 10%,
            rgba(200, 167, 106, .13),
            transparent 35%),
        linear-gradient(115deg,
            #10291f 0%,
            #193b2e 55%,
            #244b3b 100%) !important;
}

/* 2. TOPBAR ACTION BUTTONS */

.rte-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
}

.rte-topbar-toggle {
    min-height: 37px;
    padding: 8px 15px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: #f8f7f0 !important;
    background: rgba(255, 255, 255, .055) !important;

    border: 1px solid rgba(255, 255, 255, .20) !important;
    border-radius: 30px !important;

    font-size: 11px;
    font-weight: 750;
    letter-spacing: .3px;

    transition: all .25s ease;
}

.rte-topbar-toggle:hover,
.rte-topbar-toggle[aria-expanded="true"] {
    color: #fff !important;
    background: rgba(200, 167, 106, .17) !important;
    border-color: #c8a76a !important;
}

.rte-topbar-toggle>i:first-child {
    color: #ead8b1;
}

.rte-topbar-toggle .rte-toggle-icon {
    color: #ead8b1;
    transition: transform .25s ease;
}

.rte-topbar-toggle[aria-expanded="true"] .rte-toggle-icon {
    transform: rotate(180deg);
}

/* 3. WORLD CLOCK & CURRENCY PANEL */

.rte-topbar-panel {
    width: 100%;
    max-width: 1500px;
    margin: 12px auto 0 !important;
    padding: 22px !important;

    color: #f1eee5 !important;

    background:
        linear-gradient(145deg,
            #142d22 0%,
            #193b2e 55%,
            #10291f 100%) !important;

    border: 1px solid rgba(200, 167, 106, .30) !important;
    border-radius: 14px !important;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .22) !important;
}

.rte-topbar-panel[hidden] {
    display: none !important;
}

/* 4. SECTION HEADINGS */

.rte-tool-heading {
    color: #f8f7f0 !important;
}

.rte-tool-heading h2 {
    color: #fffdf8 !important;
    font-size: 21px;
    font-weight: 750;
}

.rte-tool-heading h2 i {
    color: #ead8b1 !important;
}

.rte-tool-heading p {
    color: #d0d9d0 !important;
}

.rte-tool-eyebrow {
    color: #ead8b1 !important;
    font-weight: 800;
}

/* 5. WORLD CLOCK SELECTOR */

.rte-clock-selector-wrap label {
    color: #f1eee5 !important;
    font-weight: 750;
}

.rte-clock-selector-wrap .form-select {
    min-height: 43px;

    color: #20352c !important;
    background-color: #fffdf8 !important;

    border: 1px solid #c8a76a !important;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;
}

.rte-clock-selector-wrap .form-select:focus {
    border-color: #ead8b1 !important;
    box-shadow: 0 0 0 3px rgba(200, 167, 106, .20) !important;
}

/* 6. SELECTED WORLD CLOCK DISPLAY */

.rte-selected-clock {
    display: flex;
    align-items: center;
    gap: 17px;

    padding: 20px !important;
    margin-bottom: 20px;

    color: #fff !important;

    background:
        linear-gradient(115deg,
            #244b3b,
            #10291f) !important;

    border: 1px solid rgba(200, 167, 106, .45) !important;
    border-radius: 12px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.rte-selected-clock-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ead8b1 !important;
    background: rgba(255, 255, 255, .12) !important;

    border: 1px solid rgba(200, 167, 106, .30);
    border-radius: 50%;
}

.rte-selected-clock-copy>span:first-child {
    color: #fff !important;
    font-size: 13px;
    font-weight: 750;
}

.rte-selected-clock-copy strong {
    color: #ead8b1 !important;
    font-size: clamp(27px, 4vw, 38px);
    font-variant-numeric: tabular-nums;
}

.rte-selected-clock-copy>span:nth-of-type(2) {
    color: #e0e8df !important;
}

.rte-selected-clock-copy small {
    color: #c8a76a !important;
}

/* 7. WORLD CLOCK GRID */

.rte-world-clock {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
}

.rte-world-clock-item {
    flex: 1 1 145px;
    min-width: 125px;
    max-width: 190px;
    min-height: 76px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 11px 9px;

    color: #f8f7f0 !important;

    background: rgba(255, 255, 255, .075) !important;

    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 10px;

    text-align: center;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.rte-world-clock-item:hover {
    background: rgba(200, 167, 106, .14) !important;
    border-color: rgba(200, 167, 106, .60) !important;
    transform: translateY(-2px);
}

/* Country */

.rte-world-clock-country {
    color: #ead8b1 !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
}

/* Time */

.rte-world-clock-time {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}

/* Date */

.rte-world-clock-date {
    color: #cbd8ce !important;
    font-size: 10px;
    font-weight: 500;
}

/* 8. CURRENCY CONVERTER */

.rte-currency-field label {
    color: #f1eee5 !important;
    font-size: 11px;
    font-weight: 750;
}

.rte-currency-field .form-select,
.rte-currency-field .form-control {
    min-height: 43px;

    color: #20352c !important;
    background-color: #fffdf8 !important;

    border: 1px solid #c8a76a !important;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;
}

.rte-currency-field .form-select:focus,
.rte-currency-field .form-control:focus {
    border-color: #ead8b1 !important;
    box-shadow: 0 0 0 3px rgba(200, 167, 106, .20) !important;
}

/* Currency swap */

.rte-currency-swap {
    width: 42px;
    height: 42px;

    color: #ead8b1 !important;
    background: rgba(255, 255, 255, .09) !important;

    border: 1px solid #c8a76a !important;
    border-radius: 50%;

    cursor: pointer;
    transition: all .25s ease;
}

.rte-currency-swap:hover {
    color: #10291f !important;
    background: #ead8b1 !important;
    transform: rotate(180deg);
}

/* 9. CURRENCY RESULT */

.rte-currency-result {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 20px !important;
    margin-top: 19px;

    color: #fff !important;

    background:
        linear-gradient(115deg,
            #244b3b,
            #10291f) !important;

    border: 1px solid rgba(200, 167, 106, .45) !important;
    border-radius: 12px;
}

.rte-currency-result>span {
    color: #e0e8df !important;
    font-size: 12px;
}

.rte-currency-result strong {
    color: #ead8b1 !important;
    font-size: clamp(25px, 4vw, 37px);
    font-weight: 850;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.rte-currency-result small {
    color: #d0d9d0 !important;
    font-size: 11px;
}

/* 10. CURRENCY QUICK RATES */

.rte-currency-quick-rates {
    margin-top: 20px;
}

.rte-currency-quick-rates .rte-world-clock-item {
    background: rgba(255, 255, 255, .075) !important;
    border-color: rgba(200, 167, 106, .30) !important;
}

.rte-currency-quick-rates .rte-world-clock-time {
    color: #ead8b1 !important;
}

/* 11. STATUS AND FOOTER */

.rte-currency-meta {
    color: #d0d9d0 !important;
    font-size: 10px;
}

.rte-currency-meta [data-status="success"] {
    color: #b9e7c3 !important;
}

.rte-currency-meta [data-status="error"] {
    color: #ffc5b8 !important;
}

.rte-widget-footnote,
.rte-widget-footer {
    color: #cbd8ce !important;
}

.rte-widget-footnote i {
    color: #ead8b1 !important;
}

/* 12. DARK THEME COMPATIBILITY */

html[data-rte-theme="dark"] .rte-topbar-panel {
    color: #f1eee5 !important;
    background: linear-gradient(145deg,
            #142d22,
            #193b2e,
            #10291f) !important;
}

html[data-rte-theme="dark"] .rte-clock-selector-wrap .form-select,
html[data-rte-theme="dark"] .rte-currency-field .form-select,
html[data-rte-theme="dark"] .rte-currency-field .form-control {
    color: #20352c !important;
    background-color: #fffdf8 !important;
}

/* 13. TABLET */

@media (max-width: 767.98px) {

    .rte-topbar-panel {
        padding: 15px !important;
    }

    .rte-tool-heading h2 {
        font-size: 18px;
    }

    .rte-world-clock {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .rte-world-clock-item {
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 70px;
    }

    .rte-currency-converter {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .rte-currency-swap {
        justify-self: center;
        transform: rotate(90deg);
    }

    .rte-currency-swap:hover {
        transform: rotate(270deg);
    }

    .rte-selected-clock {
        padding: 15px !important;
    }
}

/* 14. SMALL MOBILE */

@media (max-width: 380px) {

    .rte-topbar-toggle {
        flex-basis: 100%;
        font-size: 10px;
    }

    .rte-topbar-panel {
        padding: 11px !important;
    }

    .rte-world-clock-country {
        font-size: 8px;
    }

    .rte-world-clock-time {
        font-size: 12px;
    }

    .rte-world-clock-date {
        font-size: 9px;
    }

    .rte-selected-clock-copy strong {
        font-size: 25px;
    }
}

/* 15. ACCESSIBILITY */

.rte-topbar button:focus-visible,
.rte-topbar select:focus-visible,
.rte-topbar input:focus-visible {
    outline: 2px solid #ead8b1;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .rte-topbar *,
    .rte-topbar *::before,
    .rte-topbar *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   RAHIB THE EXPLORE
   WORLD CLOCK & CURRENCY
   PLAIN TEXT BUTTON DESIGN
   Matches Weather Toggle Style
========================================================= */

/* Topbar action layout */
.rte-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

/* Plain text button - no circle, border or background */
.rte-topbar .rte-topbar-toggle {
    width: auto !important;
    min-width: 0 !important;
    min-height: 39px !important;

    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 7px 0 !important;
    margin: 0 !important;

    color: #f8f7f0 !important;
    background: transparent !important;

    border: none !important;
    border-radius: 0 !important;
    outline: none;
    box-shadow: none !important;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .15px;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    transition: color .2s ease;
}

/* Remove decorative pseudo-elements */
.rte-topbar .rte-topbar-toggle::before,
.rte-topbar .rte-topbar-toggle::after {
    display: none !important;
    content: none !important;
}

/* Leading icons */
.rte-topbar .rte-topbar-toggle > i:first-child {
    color: var(--rte-gold-light);
    font-size: 15px;
}

/* Text label */
.rte-topbar .rte-topbar-label {
    color: rgba(248, 247, 240, .78);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Compact information */
.rte-topbar .rte-topbar-toggle strong {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Dropdown arrow */
.rte-topbar .rte-toggle-icon,
.rte-topbar .rte-topbar-chevron {
    color: var(--rte-gold-light);
    font-size: 10px;
    transition: transform .2s ease;
}

/* Hover and expanded state */
.rte-topbar .rte-topbar-toggle:hover,
.rte-topbar .rte-topbar-toggle:focus,
.rte-topbar .rte-topbar-toggle:active,
.rte-topbar .rte-topbar-toggle[aria-expanded="true"] {
    color: var(--rte-gold-light) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Hover text */
.rte-topbar .rte-topbar-toggle:hover .rte-topbar-label,
.rte-topbar .rte-topbar-toggle:hover strong,
.rte-topbar .rte-topbar-toggle[aria-expanded="true"] .rte-topbar-label {
    color: var(--rte-gold-light);
}

/* Rotate dropdown arrow */
.rte-topbar .rte-topbar-toggle[aria-expanded="true"] .rte-toggle-icon,
.rte-topbar .rte-topbar-toggle[aria-expanded="true"] .rte-topbar-chevron {
    transform: rotate(180deg);
}

/* Keyboard accessibility */
.rte-topbar .rte-topbar-toggle:focus-visible {
    outline: 2px solid var(--rte-gold-light) !important;
    outline-offset: 4px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tablet */
@media (max-width: 767.98px) {
    .rte-topbar-actions {
        gap: 18px;
    }

    .rte-topbar .rte-topbar-toggle {
        min-height: 36px !important;
        gap: 7px;
        padding: 6px 0 !important;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .rte-topbar-actions {
        gap: 8px 18px;
    }

    .rte-topbar .rte-topbar-toggle {
        flex: 0 0 auto !important;
        width: auto !important;
        gap: 6px;
        font-size: 10px;
    }

    .rte-topbar .rte-topbar-toggle > i:first-child {
        font-size: 13px;
    }

    .rte-topbar .rte-topbar-label,
    .rte-topbar .rte-topbar-toggle strong {
        font-size: 10px;
    }

    .rte-topbar .rte-toggle-icon,
    .rte-topbar .rte-topbar-chevron {
        font-size: 9px;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .rte-topbar-actions {
        gap: 7px 13px;
    }

    .rte-topbar .rte-topbar-toggle {
        gap: 5px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .rte-topbar .rte-topbar-toggle,
    .rte-topbar .rte-topbar-toggle * {
        transition: none !important;
    }
}
