/* Minification failed. Returning unminified contents.
(27,46): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(33,55): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(41,45): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(49,71): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(63,38): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(68,84): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(82,30): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(111,73): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(276,39): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(279,34): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(282,62): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(283,17): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(311,24): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(322,71): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
 */
/* ============================================================
   Site-wide Session Expiry / Keep-Alive modal (ported from the
   River Village Client — ink + gold identity, FA5 icons).
   ============================================================ */
.session-expiry-overlay {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(15, 13, 9, .62); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.session-expiry-overlay.is-open { opacity: 1; visibility: visible; }

.session-expiry-card {
    width: 100%; max-width: 440px; background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 13, 9, .4);
    transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.session-expiry-overlay.is-open .session-expiry-card { transform: translateY(0) scale(1); }

.session-expiry-head {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px;
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2620 100%);
}
.session-expiry-badge {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
    background: linear-gradient(135deg, var(--theme-color, #E8AA42), #f3cf8a); color: #1c1c1c;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
    animation: sePulse 1.8s ease-in-out infinite;
}
@keyframes sePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.session-expiry-head h5 { margin: 0; color: #fff; font-size: 16.5px; font-weight: 700; }
.session-expiry-head p { margin: 3px 0 0; color: var(--theme-color, #E8AA42); font-size: 11.5px; }

.session-expiry-body { padding: 22px; }
.session-expiry-text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #3a352b; }
.session-expiry-count { display: inline-block; min-width: 30px; text-align: center; font-weight: 800; color: #dc3545; font-size: 16px; }
.session-expiry-bar { height: 6px; border-radius: 30px; background: #efe9d9; overflow: hidden; }
.session-expiry-bar > span {
    display: block; height: 100%; width: 100%; border-radius: 30px;
    background: linear-gradient(90deg, var(--theme-color, #E8AA42), #f3cf8a);
    transition: width 1s linear;
}

.session-expiry-foot { display: flex; gap: 10px; padding: 0 22px 22px; }
.session-expiry-btn {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 16px; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer;
    color: #1c1c1c; background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42));
    transition: filter .15s ease, box-shadow .2s ease;
}
.session-expiry-btn:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(232, 170, 66, .35); }
.session-expiry-btn.session-expiry-btn-ghost { background: #fff; color: #6b6452; border: 1px solid #e3dcc9; }
.session-expiry-btn.session-expiry-btn-ghost:hover { box-shadow: 0 6px 16px rgba(28, 28, 28, .1); filter: none; }

@media (max-width: 575.98px) {
    .session-expiry-foot { flex-direction: column-reverse; }
}

/* ---- notification-sound mute toggle (notify-sound.js) ---- */
.rv-sound-toggle {
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: #1c1c1c; color: var(--theme-color, #E8AA42);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 19px;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.rv-sound-toggle:hover { transform: translateY(-2px) scale(1.06); background: var(--theme-color, #E8AA42); color: #1c1c1c; }
.rv-sound-toggle.is-muted { color: #dc2626; }
.rv-sound-toggle.is-muted:hover { background: #dc2626; color: #fff; }

/* Floating fallback (only when no header toggle exists) */
.rv-sound-toggle--float {
    position: fixed; left: 18px; bottom: 18px; z-index: 12000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}

/* In-header variant — sits among the header actions */
.rv-sound-toggle--header {
    width: 42px; height: 42px; font-size: 17px;
    flex: 0 0 auto; align-self: center;
    border: 1.5px solid var(--theme-color, #E8AA42);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
}
.rv-sound-toggle--header.is-muted { border-color: #dc2626; }
.header-button { align-items: center; }

/* Mobile/tablet header: keep the sound toggle grouped tidily with the language
   dropdown + menu button on the right (the theme spreads them apart otherwise). */
@media (max-width: 991.98px) {
    /* T409 — ONE LINE: logo left, controls right.
       This block used to stack them deliberately ("centred logo on top, controls
       centred below"), which cost two rows of header height (measured 137-146px
       against a single line's ~90px) and read as a broken wrap rather than a
       choice. Owner asked for the conventional single-line mobile header.

       Sized by flex rather than by magic numbers so it cannot overflow at any
       width: the controls take exactly what they need (flex: 0 0 auto) and the
       logo takes whatever is left (flex: 1 1 auto + min-width: 0), scaling its
       image down via max-width:100% rather than pushing the row wider. The row's
       own justify-content:space-between then puts one at each end. */
    .menu-area .header-logo-col {
        flex: 1 1 auto; width: auto; max-width: none;
        min-width: 0;              /* lets the logo column shrink below its image */
        text-align: left;
    }
    .menu-area .header-logo { display: inline-block; max-width: 100%; }
    .menu-area .header-logo img { max-width: 100%; height: auto; }
    .header-actions-col { flex: 0 0 auto; width: auto; max-width: none; }
    /* nowrap on the row itself: the two columns must never fall onto separate lines */
    .sticky-wrapper .menu-area > .container > .row { flex-wrap: nowrap; --bs-gutter-x: .75rem; }
    .header-button {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
    }
    .header-button .dropdown.ms-3 { margin-left: 0 !important; }
    /* the theme pushes the menu button with margin-left:auto — reset so the group centres */
    .header-button .th-menu-toggle { margin-left: 0 !important; }
    .rv-sound-toggle--header { flex: 0 0 auto; }
}

/* T409 — phone widths: buy the logo back some room.
   With the controls at their default size the logo was squeezed to 61px at 360px, which is
   too small to read (the mark is a two-line wordmark). The controls are fixed-size and the
   logo is the flexible one, so the room has to come from them: a narrower language button
   and a tighter gap. Measured after: the logo holds ~95-100px at 360-390px. */
@media (max-width: 430px) {
    .sticky-wrapper #countryDropdown { width: 72px; padding-left: 6px; padding-right: 6px; }
    .sticky-wrapper .header-button { gap: 8px; }
    /* floor, so the logo can never collapse to an unreadable sliver */
    .menu-area .header-logo img { min-width: 84px; }
}

@media (max-width: 575.98px) {
    .rv-sound-toggle--float { width: 40px; height: 40px; left: 12px; bottom: 12px; font-size: 17px; }
    .rv-sound-toggle--header { width: 40px; height: 40px; font-size: 16px; }
    .header-button { gap: 8px; }
    /* keep the language dropdown compact so the three controls fit on one tidy row */
    .header-button .dropdown .dropdown-toggle { padding: 6px 10px; font-size: 13px; }
}

/* Informative loader message shown inside the .preloader1 overlay (step-loader.js) */
.preloader1-text {
    margin: 22px auto 0;
    max-width: 300px;
    text-align: center;
    color: #f6efe0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1.4;
    transition: opacity .18s ease;
}
.preloader1-text:empty { display: none; }

/* ============================================================
   rvNotice — modern ink+gold notification popup (Contactus.js).
   Replaces the old Bootstrap #WarningModalDiv. 2026-07-08.
   ============================================================ */
.rvn-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 17, 10, .62);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s ease;
}
.rvn-overlay.is-open { opacity: 1; }

.rvn-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .40);
    transform: translateY(14px) scale(.97);
    transition: transform .25s ease;
}
.rvn-overlay.is-open .rvn-card { transform: translateY(0) scale(1); }

.rvn-head {
    position: relative;
    background: #1c1c1c;
    background-image: linear-gradient(135deg, #1c1c1c 0%, #4a3413 100%);
    text-align: center;
    padding: 18px 46px 16px;
}
.rvn-eyebrow { font-size: 10px; letter-spacing: 3px; color: #d9cdaf; margin-bottom: 4px; }
.rvn-title { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 700; color: #fff; }
.rvn-rule { width: 56px; height: 3px; background: #c9a44c; margin: 10px auto 0; border-radius: 2px; }
.rvn-err .rvn-head { background-image: linear-gradient(135deg, #1c1c1c 0%, #3a1510 100%); }
.rvn-err .rvn-rule { background: #c0392b; }

.rvn-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.rvn-x:hover { background: #c9a44c; transform: rotate(90deg); }

.rvn-body { padding: 22px 26px 6px; text-align: center; }
.rvn-icon { font-size: 46px; line-height: 1; margin-bottom: 12px; }
.rvn-ok .rvn-icon { color: #1c8a4c; }
.rvn-err .rvn-icon { color: #c0392b; }
.rvn-msg { font-size: 14.5px; line-height: 1.65; color: #4a4335; }

.rvn-foot { padding: 16px 26px 22px; text-align: center; }
.rvn-btn {
    min-width: 130px;
    padding: 10px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #c9a44c, #a8863a);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(201, 164, 76, .38);
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.rvn-btn:hover { transform: translateY(-1px); background: #1c1c1c; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.rvn-err .rvn-btn { background: linear-gradient(135deg, #c0392b, #922b21); box-shadow: 0 6px 16px rgba(192, 57, 43, .35); }
.rvn-err .rvn-btn:hover { background: #1c1c1c; }

@media (max-width: 420px) {
    .rvn-card { max-width: 94vw; }
    .rvn-title { font-size: 18px; }
    .rvn-body { padding: 18px 16px 4px; }
}

/* ============ Site-wide Important Notice modal (ink + gold, FA5) ============ */
.tv-notice-overlay {
    position: fixed; inset: 0; z-index: 99000;
    display: flex; align-items: center; justify-content: center; padding: 18px;
    background: rgba(15, 13, 9, .66); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.tv-notice-overlay.is-open { opacity: 1; visibility: visible; }

.tv-notice-modal {
    position: relative; width: 100%; max-width: 620px; max-height: 92vh;
    max-height: 92dvh;
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border-radius: 18px; box-shadow: 0 26px 70px rgba(15, 13, 9, .45);
    transform: translateY(16px) scale(.98); transition: transform .25s ease;
}
.tv-notice-overlay.is-open .tv-notice-modal { transform: translateY(0) scale(1); }

.tv-notice-x {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
    transition: all .18s ease;
}
.tv-notice-x:hover { background: var(--theme-color, #E8AA42); color: #1c1c1c; transform: rotate(90deg); }

.tv-notice-head { flex-shrink: 0; background: linear-gradient(135deg, #1c1c1c 0%, #2a2620 100%); padding: 20px 24px 18px; text-align: center; }
.tv-notice-eyebrow { color: var(--theme-color, #E8AA42); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; font-weight: 800; }
.tv-notice-badge {
    display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 6px;
    background: rgba(232,170,66,.15); border: 1px solid var(--theme-color, #E8AA42);
    color: var(--theme-color, #E8AA42); border-radius: 16px; padding: 3px 14px; font-size: 12px; font-weight: 800;
}
.tv-notice-head h4 { color: #fff; font-size: 19px; margin: 4px 0 0; }

.tv-notice-body { overflow-y: auto; flex: 1 1 auto; padding: 16px 20px 6px; }
.tv-notice-card { border-radius: 12px; padding: 11px 14px; margin-bottom: 10px; border: 1px solid; }
.tv-notice-card-head { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13.5px; margin-bottom: 4px; }
.tv-notice-card p { margin: 0; font-size: 13px; line-height: 1.55; color: #3a352b; }
.tv-notice-ok   { background: #eef7f0; border-color: #9fd4af; } .tv-notice-ok .tv-notice-card-head { color: #1e7a3a; }
.tv-notice-warn { background: #fdecea; border-color: #e7b3ac; } .tv-notice-warn .tv-notice-card-head { color: #b02a1c; }
.tv-notice-info { background: #fdf6e7; border-color: #e3c98a; } .tv-notice-info .tv-notice-card-head { color: #8a6414; }
.tv-notice-thanks { text-align: center; color: #6d6759; font-size: 13px; margin: 8px 0 10px; }

.tv-notice-foot { flex-shrink: 0; border-top: 1px solid #efe9d9; padding: 12px 20px 16px; }
.tv-notice-agree { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: #1c1c1c; cursor: pointer; margin-bottom: 10px; }
/* the theme's global form styles hide/skin native checkboxes — force this one visible */
.tv-notice-agree input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 19px !important;
    height: 19px !important;
    min-width: 19px;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--theme-color, #E8AA42);
    border: 2px solid #c9b98a;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 auto;
}
.tv-notice-agree span { user-select: none; }
.tv-notice-actions { display: flex; gap: 10px; }
.tv-notice-btn {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 14px; border: 0; border-radius: 10px; font-size: 13.5px; font-weight: 800; cursor: pointer;
    color: #1c1c1c; background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42));
    transition: filter .15s ease, box-shadow .2s ease; text-align: center;
}
.tv-notice-btn:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(232,170,66,.35); color: #1c1c1c; }
.tv-notice-btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.tv-notice-btn-ghost { background: #fff; color: #6b6452; border: 1px solid #e3dcc9; }
.tv-notice-btn-ghost:hover { box-shadow: 0 6px 16px rgba(28,28,28,.1); filter: none; color: #1c1c1c; }

@media (max-width: 575.98px) {
    .tv-notice-actions { flex-direction: column-reverse; }
    .tv-notice-head h4 { font-size: 17px; }
}

/* T525 2026-08-29: additive dvh companions for tablet-fit popup sweep (Cause A). */

