:root {
  --bg: #eef6ff;
  --bg-soft: #f9fbff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #14213d;
  --muted: #5b6b87;
  --primary: #0d5bd7;
  --primary-dark: #0b3e91;
  --accent: #12b3a8;
  --danger: #ef4444;
  --line: rgba(15, 54, 118, 0.12);
  --shadow: 0 20px 60px rgba(18, 53, 112, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

/*reset*/
h16, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
.margin-top-5{
    margin-top: 5px;
}
.margin-top-10 {
    margin-top: 10px;
}


* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Vazirmatn", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(18, 179, 168, 0.18), transparent 25%),
    radial-gradient(circle at top left, rgba(13, 91, 215, 0.22), transparent 30%),
    linear-gradient(180deg, #eaf4ff 0%, #f6fbff 45%, #eef7ff 100%);
}
.modal-body {   
    color: black;
}

body.is-english {
  font-family: "Vazirmatn", sans-serif;
}

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

.page-shell {
  /*width: min(1440px, calc(100% - 32px));*/
  margin: 16px auto 40px;
}

.landing {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(90, 153, 214, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(18, 53, 112, 0.08);
}

.landing__frame {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 26px;
  align-items: start;
  direction: ltr;
}

.landing__media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 54, 118, 0.18);
    display: block;
}

/**/
.plyr {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.landing__copy {
  /*direction: rtl;*/
  text-align: left;
  padding: 10px 6px;
}


.landing__eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.landing__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
}

.landing__text {
  margin: 0;
  color: var(--muted);
/*  line-height: 2.05;*/
  font-size: 1.02rem;
}

.landing__actions {
  display: flex;
  /*justify-content: flex-end;*/
  margin-top: 22px;
}

.landing__button {
  text-decoration: none;
}

.trimbg,
.sidebar-card,
.form-panel {
    backdrop-filter: blur(16px);
}

.hero {
    position: relative;
    overflow: hidden;
    /*padding: 18px 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    background: linear-gradient(90deg, #2b66bf 0%, #9fdfff 50%, #2b66bf 100%);
    box-shadow: var(--shadow);
    color: white;    
    width: min(1440px, calc(100% - 32px));*/
    background:none;
    margin: 0 auto;   
}

.hero__brand,
.layout {
  position: relative;
  z-index: 1;
}

.hero__toolbar {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 3;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.language-switch__button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  padding: 9px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-switch__button.is-active {
  background: white;
  color: var(--primary-dark);
}

/* -- */
.language-switch .languages {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
}

    .language-switch .languages li {
        margin: 0;
    }

.header .language-switch .languages li a {
    display: block;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    padding: 9px 16px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.language-switch .languages li.active a {
    background: white;
    color: #0b3e91;
}

.language-switch .languages img {
    display: none;
}
.login-box{
    color: #fff;
    font-size: 13px;
    

}
.login-box {
    /*display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;*/
}

.username {
    font-size: 18px;
    font-weight: 600;
}

.button-logout {
    /*font-size: 14px;*/
    color: white !important;
    text-decoration:underline;
}

.btn-questionnaire {
    padding: 12px 28px;
    border-radius: 30px;
}

/*
.language-switch {
        display: inline-flex;
        padding: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.28);
    }

    .language-switch .languages {
        display: inline-flex;
        align-items: center;
        gap: 0;
        margin: 0;
    }

    .language-switch .languages li {
        margin: 0;
    }

    .header .language-switch .languages li a {
        display: block;
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.92);
        padding: 9px 16px;
        border-radius: 999px;
        font: inherit;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
    }

    .language-switch .languages li.active a {
        background: white;
        color: #0b3e91;
    }

    .language-switch .languages img {
        display: none;
    }

*/
.hero__brand {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 24px;
    align-items: center;
    min-height: 300px;
    direction: ltr;
}

.hero__logo {
  justify-self: center;
  align-self: center;
  object-fit: contain;
}

.hero__logo--left {
  width: 150px;
}

.hero__logo--center {
  width: 190px;
  margin: 0 auto 14px;
}

.hero__logo--right {
  width: 150px;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.7vw, 2.7rem);
  line-height: 1.25;
  text-align: center;
  direction: rtl;
  color:white;
}

body.is-english .brand-copy h1,
body.is-english .landing__copy,
body.is-english .landing__eyebrow,
body.is-english .landing__copy h2,
body.is-english .landing__text,
body.is-english .form-panel,
body.is-english .form-section,
body.is-english .form-section__title,
body.is-english .section-heading,
body.is-english .field,
body.is-english .field > span,
body.is-english .radio-group,
body.is-english .button,
body.is-english textarea,
body.is-english input,
body.is-english select {
  direction: ltr;
  text-align: left;
}

body.is-english .radio-group label {
  margin-left: 0;
  margin-right: 16px;
}

.layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.sidebar {
  display: none;
}

.sidebar-card,
.form-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card h2,
.section-heading h2,
.form-section__title h3 {
  margin: 0;
}

.sidebar-card h2 {
  margin-bottom: 14px;
  font-size: 1.12rem;
}

.sidebar-card--accent {
  background:
    linear-gradient(180deg, rgba(13, 91, 215, 0.08), rgba(18, 179, 168, 0.06)),
    var(--surface);
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.info-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 91, 215, 0.08);
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 600;
}

.form-panel {
  padding: 28px;
}

.section-heading {
  display: block;
  margin-bottom: 24px;
}

.questionnaire {
  display: grid;
  gap: 22px;
}

.form-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.92));
  border: 1px solid var(--line);
}

.form-section__title {
  margin-bottom: 20px;
}

.form-section__title p {
  margin: 6px 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field--full {
  grid-column: 1 / -1;
}

.field--row-start {
  grid-column: 1;
}

.field > span,
.radio-group legend {
  font-weight: 700;
  color: var(--text);
}

.field em,
.radio-group em {
  color: var(--danger);
  font-style: normal;
}

input:not([type=radio]),
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(17, 54, 119, 0.16);
    border-radius: 18px;
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.select2-container--default .select2-selection--multiple {
    padding: 8px 16px;
    border: 1px solid rgba(17, 54, 119, 0.16);
    border-radius: 18px;
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(13, 91, 215, 0.55);
  box-shadow: 0 0 0 5px rgba(13, 91, 215, 0.12);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  margin: 0;
  padding: 0;
  border: none;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  color: var(--muted);
  font-weight: 500;
}

.phone-field__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
}

.upload-box {
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(13, 91, 215, 0.04), rgba(18, 179, 168, 0.05)),
    white;
  border: 1px dashed rgba(13, 91, 215, 0.3);
}

.upload-box small {
  color: var(--muted);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.button {
  padding: 14px 24px;
  border: none;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #2a8bff);
  box-shadow: 0 18px 40px rgba(13, 91, 215, 0.28);
}

.button--secondary {
  color: var(--primary-dark);
  background: rgba(13, 91, 215, 0.08);
}
.textboxlist{
    padding: 20px;
    padding-left:0px;
}
.radio {
    /*min-height:122px*/
    /*clear:left*/
}
.radio input[type="radio"], [dir="rtl"] .radio input[type="radio"] {
    margin: unset;
}
.fieldControl{
    padding-top:5px;
}
/*.customefield:nth-of-type(odd):visible) {
    clear: left;
}
.customefield:nth-child(odd):visible) {
    clear: left;
}*/

.content-inner {
    border-radius: 40px;
}
.trimbg {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, #2b66bf 0%, #9fdfff 50%, #2b66bf 100%); 
    padding: 15px;
    min-height: 200px;
    position: relative;
    border: 1px solid #b1cee4;
    border-radius: 40px;
    box-shadow: 0 0 40px 0 rgba(6, 21, 35, 0.1);
    /*min-height: calc(100vh - 450px);*/
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    position: relative; 
    width: unset;
}


.site-footer__powered-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,250,252,.88));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
}

    .site-footer__powered-brand img {
        display: block;
        width: auto;
        height: 34px;
        max-width: 180px;
    }

.site-footer__panel {
    border: 1px solid var(--line, rgba(148,163,184,.22));
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 22px 54px rgba(15,23,42,.10);
}

.site-footer__bottom {
    /*display: flex;*/
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 14px;
    direction: ltr;
}

.site-footer__legal-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    padding-bottom:10px;
}

.site-footer__legal-link {
    color: #2448b8;
    /*font-size: 13px;
    font-weight: 800;*/
    direction: var(--chrome-text-dir);
    /*text-transform: uppercase; */  
}

.site-footer__legal-copy {
    color: var(--muted, #475569);
    font-size: 12px;
    line-height: 1.8;
    direction: ltr;
    text-align: center;
    width: 100%;
}


.site-footer__panel {
    border-radius: 30px;
    padding: 16px;
}



@media (max-width: 1120px) {
    .layout, .hero__brand {
    grid-template-columns: 1fr;
  }

  .brand-copy {
    text-align: center;
  }

  .landing__frame,
  .hero__brand {
    grid-template-columns: 1fr;
  }

  .landing__actions {
    justify-content: center;
  }

  .hero__toolbar {
    justify-content: center;
  }

  .hero__logo--left,
  .hero__logo--right {
    width: 120px;
  }
}

@media (max-width: 874px) {
  .page-shell {
    /*width: min(100% - 20px, 1440px);*/
  }

  .form-panel,
  .sidebar-card,
  .hero,
  .form-section,
  .landing {
    padding: 20px;
  }

  .form-grid,
  .phone-field__grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

    .layout, .hero__brand {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero__brand {
        min-height: unset;
    }

    .header-text {
        color: white;
        font-size: 20px
    }

    .hero .flex-row {
        align-items: center;
        gap: 10px;
    }

}
@media (max-width: 767px) {
    .login-box .margin-top-5 {
        margin-top: 0 !important;
    }
    .layout, .hero__brand {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .hero__brand {
        min-height:unset;
    }
    .header-text{
        color:white;
        font-size:20px
    }
    .hero .flex-row{
        align-items:center;
        gap: 10px
    }
}


/* SOS 3390 countdown page */
.countdown-page { color:var(--text); background:transparent; margin:0; padding:0; font:16px/1.55 Arial,Helvetica,sans-serif; }
.countdown-page .container { position:relative; z-index:1; box-sizing:border-box; width:min(var(--width),calc(100% - 96px))!important; margin:0 auto; padding-inline:0; }
.countdown-page .hero { position:relative; isolation:isolate; overflow:hidden; margin:0; padding:42px 0; background:var(--bg); }
.countdown-page .hero-grid { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; grid-template-areas:"copy image"; align-items:center; gap:64px; direction:ltr!important; }
.countdown-page .hero-grid > div:first-child { grid-area:copy; min-width:0; text-align:start; }
.countdown-page .hero-grid > div:last-child { grid-area:image; min-width:0; }
.countdown-page .eyebrow { margin-bottom:22px; color:var(--green); font-size:13px; font-weight:700; letter-spacing:.24em; text-transform:uppercase; }
.countdown-page .hero h1 { margin:0 0 24px; color:var(--text); font:clamp(44px,6.8vw,88px)/1.04 Georgia,"Times New Roman",serif; letter-spacing:-.035em; }
.countdown-page .lead { max-width:560px; margin:0; color:var(--muted); font:clamp(18px,2vw,24px)/1.5 Georgia,"Times New Roman",serif; }
.countdown-page .hero .cover { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; border:1px solid #d2b26f9c; border-radius:12px; box-shadow:0 20px 60px #0005; }
    .countdown-page .countdown-clock { display:flex; justify-content:center; text-align:center; margin-top:28px; padding:18px 16px; border:1px solid #806c44; border-radius:12px; background:linear-gradient(145deg,#142127,#0d171b); }
    .countdown-page .countdown-clock #countdown { display:inline-flex!important; align-items:center; justify-content:center; gap:5px; padding:0; margin:0; background:transparent; }
    .countdown-page .countdown-clock .cnt-digit-container { float:none; display:flex; flex-direction:column-reverse; align-items:center; min-width:48px; }
    .countdown-page .countdown-clock .cnt-digit { width:30px; height:48px; line-height:48px; margin:0 1px; border:1px solid #6c5c39; border-radius:6px; color:#f6f2e8; background:#0b1216; font-size:30px; font-weight:700; }
    .countdown-page .countdown-clock .cnt-separator { width:auto; height:48px; margin:0 2px; color:#edc771; line-height:48px; font-size:21px; }
    .countdown-page .countdown-clock .days { padding:0 0 8px; color:#b9c1c3; font-size:10px; }
.countdown-page .section { padding:48px 0; }
.countdown-page .section form { max-width:980px; margin:0 auto; }
    .countdown-page .form-box { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:center; gap:12px; }
    .countdown-page .form-box .form-group { flex:1 1 190px; margin:0; }
    .countdown-page .form-box .form-control { width:100%; min-height:48px; padding:10px 13px; color:var(--text); background:#0b1216; border:1px solid #69767a; border-radius:7px; font-size:15px; }
    .countdown-page .form-box .btn-primary { min-height:48px; padding:11px 23px; color:#15170f; background:linear-gradient(135deg,#f5d889,#dba74c); border:1px solid #efcb82; border-radius:8px; font-weight:bold; }
    .countdown-page input:focus-visible,.countdown-page button:focus-visible { outline:3px solid var(--green); outline-offset:3px; }
    .countdown-page .recaptcha { flex-basis:100%; }
    @media(max-width:760px) { .countdown-page .container { width:calc(100% - 32px)!important; } .countdown-page .hero { padding-block:30px; } .countdown-page .hero-grid { grid-template-columns:1fr; grid-template-areas:"copy" "image"; gap:28px; } .countdown-page .hero h1 { font-size:clamp(44px,10.5vw,70px); margin-bottom:20px; } .countdown-page .eyebrow { font-size:11px; letter-spacing:.18em; margin-bottom:16px; } .countdown-page .hero .cover { max-width:500px; margin:auto; } .countdown-page .section { padding:32px 0; } .countdown-page .countdown-clock { padding:16px 8px; } .countdown-page .countdown-clock .cnt-digit-container { min-width:38px; } .countdown-page .countdown-clock .cnt-digit { width:24px; height:40px; line-height:40px; font-size:24px; } .countdown-page .countdown-clock .cnt-separator { height:40px; line-height:40px; font-size:17px; } .countdown-page .form-box .form-group,.countdown-page .form-box .btn-primary { flex-basis:100%; width:100%; } }

/* Shared SOS 3390 header and footer, based on the bilingual handover. */
.header,
.footer { margin-inline:-15px; color:#f6f2e8; background:#0b1216; }
.header-shell { min-height:0; margin:0 auto; padding:0; border:0; border-radius:0; box-shadow:none; background:rgba(11,18,22,.93); }
.header .content-inner.header-shell { width:100%!important; max-width:none!important; min-height:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:rgba(11,18,22,.93)!important; box-shadow:none!important; }
.header .content-inner.header-shell > header { width:100%; min-height:84px; background:rgba(11,18,22,.93); }
.header .navbar-container { display:none!important; }
.header { border-bottom:1px solid #354247; background:rgba(11,18,22,.93)!important; background-image:none!important; box-shadow:none!important; }
.header .nav { box-sizing:border-box; width:min(var(--width),calc(100% - 96px))!important; min-height:84px; margin:0 auto; padding-inline:0; display:flex; align-items:center; gap:32px; }
.header .brand { color:#f6f2e8; font:900 36px/1 Arial,Helvetica,sans-serif; letter-spacing:-1.8px; white-space:nowrap; }
.language-menu { display:block!important; flex:0 0 auto; margin-left:auto; }
.language-menu ul.languages { display:flex!important; align-items:center; gap:8px; margin:0; padding:0; list-style:none; }
.language-menu ul.languages li { margin:0; padding:0; }
.language-menu ul.languages a { display:block; padding:8px 12px; border:1px solid transparent; border-radius:6px; color:#b9c1c3; font-size:13px; font-weight:700; text-decoration:none; }
.language-menu ul.languages li.active a,
.language-menu ul.languages a:hover,
.language-menu ul.languages a:focus { border-color:#806b42; color:#edc771; background:rgba(237,199,113,.08); }
.header .brand:hover,.header .brand:focus { color:#f6f2e8; text-decoration:none; }
.header .brand span { color:#edc771; }
.header .links { display:flex; align-items:center; gap:30px; margin-left:auto; }
.header .nav-link { display:inline-flex; align-items:center; min-height:48px; color:#f6f2e8; font-weight:700; text-transform:uppercase; }
.header .nav-link:hover,.header .nav-link:focus { color:#edc771; text-decoration:none; }
.header .button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border:1px solid #efcb82; border-radius:8px; background:linear-gradient(135deg,#f5d889,#dba74c); color:#15170f; font-weight:700; text-align:center; }
.header .button:hover,.header .button:focus { color:#15170f; filter:brightness(1.08); text-decoration:none; }
.header .menu { display:none; min-height:44px; padding:8px 12px; border:1px solid #354247; border-radius:6px; color:#f6f2e8; background:transparent; }
.header a:focus-visible,.header .menu:focus-visible,.footer a:focus-visible { outline:3px solid #4bd08a; outline-offset:4px; }
.footer { border-top:1px solid #354247; padding:26px 0; }
.footer-inner { box-sizing:border-box; width:min(var(--width),calc(100% - 96px))!important; margin:0 auto; padding-inline:0; display:flex; align-items:center; justify-content:space-between; gap:24px; color:#b9c1c3; font-size:13px; }
.footer-links { display:flex; flex-wrap:wrap; gap:28px; }
.footer-links a { color:inherit; }
.footer-links a:hover { color:#edc771; text-decoration:none; }
@media(max-width:760px) {
    .header .nav { width:calc(100% - 32px)!important; min-height:72px; flex-wrap:wrap; gap:12px; padding:12px 0; }
    .header .brand { font-size:30px; }
    .language-menu { display:block!important; width:auto; margin:0 0 0 auto; padding:0; }
    .header .menu { display:block; margin-left:auto; }
    .header .links { display:none; width:100%; margin:0; padding:0 0 12px; flex-direction:column; align-items:stretch; gap:4px; }
    .header .links.is-open { display:flex; }
    .header .nav-link { padding:10px; }
    .footer-inner { width:calc(100% - 32px)!important; align-items:flex-start; flex-direction:column; gap:14px; }
    .footer-links { gap:24px; }
}

/* Let the countdown bands meet without the legacy content card spacing. */
.page-home-countdown #divMainContainer,
.page-home-countdown #dvBodyContainer,
.page-home-countdown #wizard,
.page-home-countdown .content-wrapper,
.page-home-countdown .widget-body,
.page-home-countdown #main { margin:0!important; padding:0!important; border:0!important; background:#0b1216!important; box-shadow:none!important; }
.page-home-countdown .header { margin:0!important; padding:0!important; background:#0b1216!important; }
.page-home-countdown .content-inner { width:100%!important; max-width:none!important; min-height:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:#0b1216!important; box-shadow:none!important; }
.page-home-countdown #main { margin:0!important; border-top:1px solid #354247; }

.page-home-countdown .footer-wrapper,
.page-home-countdown #dvFooter { margin:0!important; padding:0!important; border:0!important; background:#0b1216!important; }
.page-home-countdown #dvFooter > footer:not(.footer) { margin:0!important; padding:0!important; border:0!important; background:#0b1216!important; }
.page-home-countdown #dvFooter > .footer { margin:0!important; padding:26px 0!important; border-top:1px solid #354247!important; background:#0b1216!important; }

/* Site-wide SOS 3390 skin, using the bilingual handover design tokens. */
:root { --bg:#0b1216; --panel:#101b20; --text:#f6f2e8; --muted:#b9c1c3; --gold:#edc771; --green:#4bd08a; --line:#354247; --radius:12px; --width:1280px; }
html,body { min-height:100%; background:#0b1216; color:#f6f2e8; }
body { position:relative; isolation:isolate; }
body::before { content:""; position:fixed; z-index:-1; inset:-24px; pointer-events:none; background:linear-gradient(110deg,rgba(11,18,22,.91),rgba(11,18,22,.76)),url("images/cover.jpg") center 42%/cover no-repeat; filter:blur(10px); opacity:.82; }
#divMainContainer,#dvBodyContainer,.content-wrapper { background:transparent!important; }
.header { background:rgba(11,18,22,.93)!important; }
.content-inner:not(.header-shell) { color:#f6f2e8; background:rgba(16,27,32,.88)!important; border:1px solid #354247!important; box-shadow:0 20px 60px rgba(0,0,0,.28)!important; }
.content-inner h1,.content-inner h2,.content-inner h3,.content-inner h4,.content-inner h5 { color:#f6f2e8; font-family:Georgia,"Times New Roman",serif; }
.content-inner p,.content-inner label,.content-inner .control-label,.content-inner .help-block { color:#b9c1c3; }
a { color:#f6f2e8; }
a:hover,a:focus { color:#edc771; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select,.form-control { color:#f6f2e8; background:#0b1216; border-color:#69767a; }
input::placeholder,textarea::placeholder,.form-control::placeholder { color:#96a3a7; }
.btn-primary,.btn-primary:focus { color:#15170f; background:linear-gradient(135deg,#f5d889,#dba74c); border-color:#efcb82; }
.btn-primary:hover { color:#15170f; filter:brightness(1.08); }
.btn-default,.btn-secondary { color:#edc771; background:#0b1216; border-color:#edc771; }
.panel,.well,.widget,.form-panel,.sidebar-card { color:#f6f2e8; background:rgba(16,27,32,.92); border-color:#354247; }
.footer-wrapper,#dvFooter { background:#0b1216!important; }
.page-home-countdown .content-inner { width:100%!important; max-width:none!important; min-height:0!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.page-home-countdown #main { margin:0!important; border-top:1px solid #354247; }
