/* =========================================================
   DIPRL Haryana – Home page styles
   Bootstrap 4.6 compatible | single stylesheet
   Sections (search for the banner to jump):
     BASE – tokens, typography, buttons, shared states
     01 TOP ACCESSIBILITY BAR
     02 HEADER / NAVBAR
     03 HERO CAROUSEL
     04 BREAKING NEWS
     05 LATEST PRESS RELEASES
     06 TRENDING SOCIAL MEDIA
     07 FOOTER
   ========================================================= */

/* =========================================================
   BASE – tokens, typography, buttons, shared states
   ========================================================= */
:root {
  --brand: #313191;          /* primary indigo */
  --brand-600: #2b2b80;
  --brand-blue: #1e3a8a;
  --brand-blue-2: #2b52a5;
  --accent-sky: #2482c4;
  --navy: #002c7c;
  --orange-1: #863c06;
  --orange-2: #e17400;
  --badge-1: #a8511d;
  --badge-2: #b23e00;
  --new: #f57c00;
  --text: #212121;
  --text-2: #333333;
  --muted: #6c6c6c;
  --muted-2: #737373;
  --line: #dddddd;
  --line-soft: #e9ecf1;
  --surface: #ffffff;
  --surface-soft: #fafcfd;
  --hero-bg: #f9fbff;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 24px rgba(30, 58, 138, 0.08);
  --font-sans: "Noto Sans", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "Noto Sans", sans-serif;
  --font-roboto: "Roboto", "Noto Sans", sans-serif;
  --gutter: 16px;
}
@media (min-width: 768px)  { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.lang-hi { font-family: "Noto Sans Devanagari", var(--font-sans); }
.lang-pa { font-family: "Noto Sans Gurmukhi", var(--font-sans); }

/* Wide container (BS4 has no container-xxl) */
.container-xxl {
  max-width: 1440px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius); padding: .5rem 1.25rem; font-size: 1rem; transition: all .2s ease; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-outline-brand { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--brand); color: #fff; }
.btn-soft { background: rgba(30, 58, 138, .1); color: var(--brand-blue); border-radius: var(--radius-lg); padding: .6rem 1rem; font-size: .875rem; font-weight: 700; }
.btn-soft:hover { background: rgba(30, 58, 138, .18); color: var(--brand-blue); }
.btn-sm-pad { padding: .5rem 1.25rem; }

/* ---------- Skip link ---------- */
.skip-link.sr-only-focusable:focus {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  background: #ffbf47; color: #000; padding: .5rem 1rem; border-radius: var(--radius-sm);
}

/* ---------- Section titles ---------- */
.section-title { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; color: var(--brand); margin-bottom: .25rem; }
.section-sub { color: #48454e; margin: 0; font-size: 1rem; }

/* ---------- Shared meta (dates) ---------- */
.meta-date { color: #8a8a8a; font-size: .875rem; display: inline-flex; align-items: center; }
.meta-date i { margin-right: .4rem; font-size: .8rem; }


/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(49,49,145,.35);
  opacity: 0; visibility: hidden; transition: all .25s ease; z-index: 1040;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- High-contrast mode ---------- */
body.high-contrast { background: #000; color: #fff; }
body.high-contrast .site-header,
body.high-contrast .news-section,
body.high-contrast .social-section,
body.high-contrast .site-footer,
body.high-contrast .breaking,
body.high-contrast .breaking__item,
body.high-contrast .video-card,
body.high-contrast .feed-card,
body.high-contrast .hero__controls,
body.high-contrast .lang-tabs,
body.high-contrast .press__select,
body.high-contrast .hero__pause { background: #000 !important; color: #fff !important; border-color: #fff !important; }
body.high-contrast a, body.high-contrast .nav-link, body.high-contrast .pr-item__title,
body.high-contrast .section-title, body.high-contrast .footer-title,
body.high-contrast .author__name, body.high-contrast .post__text, body.high-contrast .video-card__title,
body.high-contrast .footer-links li a, body.high-contrast .press__lead, body.high-contrast .section-sub,
body.high-contrast .feed-card__head h3, body.high-contrast .breaking__text { color: #ffef00 !important; }
body.high-contrast .meta-date, body.high-contrast .footer-about { color: #ddd !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- API states: loading skeleton / empty / error ---------- */
.skeleton {
  display: block; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 37%, #eef1f6 63%);
  background-size: 400% 100%; animation: skeleton 1.3s ease infinite;
}
.skeleton--line { height: 14px; margin-bottom: 10px; }
.skeleton--line.w-60 { width: 60%; }
.skeleton--line.w-30 { width: 30%; }
.skeleton--block { height: 100%; min-height: 160px; }
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.api-state { text-align: center; color: var(--muted); font-size: .9rem; padding: 1.5rem 1rem; }
.api-state i { display: block; font-size: 1.5rem; margin-bottom: .35rem; color: #adabab; }
.api-state .btn-link { color: var(--brand); font-weight: 600; padding: 0; vertical-align: baseline; }
[hidden] { display: none !important; }
img:not([src]) { visibility: hidden; }   /* hides images until API fills src */

/* =========================================================
   01 TOP ACCESSIBILITY BAR
   ========================================================= */
/* ---------- Top bar ---------- */
.topbar { background: var(--brand); color: #fff; min-height: 40px; font-size: .875rem; }
.topbar .container-xxl { min-height: 40px; }
@media (min-width: 1200px) { .topbar .container-xxl { padding-left: 72px; padding-right: 72px; } }
.topbar__skip { color: #fff; font-weight: 500; }
.topbar__skip:hover { color: #fff; text-decoration: underline; }
.topbar__group { display: flex; align-items: center; padding: 0 .75rem; position: relative; }
.topbar__group + .topbar__group::before {
  content: ""; position: absolute; left: 0; top: 50%; height: 20px; margin-top: -10px; width: 1px; background: rgba(255,255,255,.33);
}
.topbar__group:last-child { padding-right: 0; }
.topbar__btn {
  background: transparent; border: 0; color: rgba(255,255,255,.7);
  height: 32px; min-width: 32px; padding: 0 .4rem; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .9rem; line-height: 1; cursor: pointer;
}
.topbar__btn sup { font-size: .6em; top: -.6em; }
.topbar__btn:hover, .topbar__btn.is-active { color: #fff; background: rgba(255,255,255,.12); }
.topbar__btn--text { color: #fff; font-weight: 600; }
.topbar__btn--text:hover { background: transparent; text-decoration: underline; }
.topbar .dropdown-menu { font-size: .875rem; min-width: 8rem; }
.topbar .dropdown-item.active, .topbar .dropdown-item:active { background: var(--brand); }
@media (max-width: 400px) { .topbar__group { padding: 0 .35rem; } }

/* =========================================================
   02 HEADER / NAVBAR
   ========================================================= */
/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.06); z-index: 1030; }
.site-header .navbar { min-height: 80px; padding-top: .5rem; padding-bottom: .5rem; }
@media (min-width: 1200px) { .site-header .container-xxl { padding-left: 80px; padding-right: 48px; } }
.navbar-brand { padding: 0; margin-right: 1rem; }
.brand-emblem { height: 40px; width: auto; margin-right: 14px; }
.brand-logo { height: 40px; width: auto; }
@media (max-width: 575.98px) {
  .brand-emblem { height: 32px; margin-right: 8px; }
  .brand-logo { height: 32px; }
}
@media (max-width: 359.98px) { .brand-logo { height: 26px; } .brand-emblem { height: 26px; } }

.site-header .nav-link {
  color: var(--text-2) !important; font-size: 1rem; font-weight: 400; padding: .5rem 0 !important; position: relative;
}
.site-header .nav-link:hover { color: var(--brand) !important; }
.site-header .nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--brand); transition: right .25s ease;
}
.site-header .nav-link:hover::after { right: 0; }
.nav-actions .btn { min-width: 104px; height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.nav-actions .btn-brand { min-width: 84px; }
.navbar-toggler { border-color: rgba(49,49,145,.3); padding: .3rem .55rem; }

@media (min-width: 992px) {
  .site-header .navbar-nav .nav-item + .nav-item { margin-left: 23px; }
  .nav-actions { margin-left: 24px; }
  .nav-actions .btn + .btn { margin-left: 12px; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { border-top: 1px solid var(--line-soft); margin-top: .5rem; padding: .5rem 0 1rem; }
  .site-header .nav-link { padding: .65rem 0 !important; border-bottom: 1px solid var(--line-soft); }
  .nav-actions { margin-top: 1rem; }
  .nav-actions .btn { flex: 1 1 0; }
  .nav-actions .btn + .btn { margin-left: 12px; }
}

/* =========================================================
   03 HERO CAROUSEL
   ========================================================= */
/* ---------- Hero ---------- */
.hero { background: #f3f5f6; }
.hero__row { min-height: 480px; }
.hero__left {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--hero-bg) url("~/images/hero-illustration.jpg") center / cover no-repeat;
  padding: 3rem 1.5rem;
}
.hero__content { text-align: center; max-width: 580px; position: relative; z-index: 1; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.hero__title span { display: block; }
.hero__title-accent {
  font-size: clamp(2rem, 4.4vw, 4rem);
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  -webkit-background-clip: text; background-clip: text; color: var(--orange-2);
  -webkit-text-fill-color: transparent;
}
.hero__title-main { font-size: clamp(2rem, 4.4vw, 4rem); color: var(--navy); margin-top: .1em; }
.hero__tag {
  display: inline-block; margin: 1rem 0 0; padding: .45rem 1rem;
  font-family: var(--font-roboto); font-weight: 500; color: #fff;
  font-size: clamp(.95rem, 1.7vw, 1.5rem); line-height: 1.3;
  position: relative; z-index: 0;
}
.hero__tag::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  border-radius: var(--radius-sm); transform: skewX(-8deg);
}
.hero__sub {
  font-family: var(--font-display); font-weight: 500; color: #000;
  font-size: clamp(1rem, 1.7vw, 1.5rem); line-height: 1.35; margin: 1.25rem auto 0; max-width: 480px;
}

.hero__right { position: relative; overflow: hidden; min-height: 300px; background: #222; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; }
.hero__shade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85));
}
.hero__cm {
  position: absolute; left: -1%; bottom: -3%; width: 40%; max-width: 287px; height: auto;
}
.hero__badge {
  position: absolute; bottom: 0; left: 34%; right: auto;
  padding: .7rem 2.5rem .7rem 1.4rem; color: #fff; font-family: var(--font-roboto);
  background: linear-gradient(90deg, var(--badge-1), var(--badge-2));
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  filter: drop-shadow(6px -6px 0 rgba(255,255,255,.9));
}
.hero__badge strong { display: block; font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.5rem); line-height: 1.25; }
.hero__badge span { display: block; font-size: clamp(.85rem, 1.3vw, 1.25rem); opacity: .9; }

.hero__controls { background: #f3f5f6; }
.hero__controls .container-xxl { min-height: 80px; position: relative; }
.hero__dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: auto; top: 50%; margin: -6px 0 0; right: auto;
}
.hero__dots li {
  width: 12px; height: 12px; border-radius: 6px; background: var(--brand-blue-2); opacity: 1;
  border: 0; margin: 0 4px; transition: width .3s ease;
}
.hero__dots li.active { width: 40px; }
.hero__nav { position: relative; z-index: 5; }
.hero__arrow {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--brand-blue); color: #fff; font-size: 1.1rem; margin-left: 12px;
}
.hero__arrow:hover { color: #fff; background: var(--brand); text-decoration: none; }
.hero__arrow--light { background: #c9d1e3; color: #fff; }
.hero__pause {
  height: 40px; padding: 0 1rem; margin-left: 16px; border: 1px solid var(--line-soft); background: #fff;
  border-radius: var(--radius-sm); color: var(--brand-blue); font-size: .875rem; font-weight: 500; display: inline-flex; align-items: center;
}
.hero__pause i { margin-right: .4rem; font-size: 1.1rem; }

/* fade transition for a calmer hero */
.hero .carousel-item { transition: opacity .6s ease; }

@media (max-width: 991.98px) {
  .hero__row { min-height: 0; }
  .hero__left { padding: 2.5rem 1rem; }
  .hero__right { height: 56vw; max-height: 420px; }
  .hero__cm { width: 38%; }
}
@media (max-width: 575.98px) {
  .hero__right { height: 70vw; }
  .hero__badge { left: 30%; padding: .45rem 1.6rem .45rem .9rem; }
  .hero__controls .container-xxl { min-height: 64px; }
  .hero__dots { left: var(--gutter); transform: none; }
  .hero__arrow { width: 36px; height: 36px; margin-left: 8px; }
  .hero__pause { margin-left: 8px; padding: 0 .6rem; height: 36px; }
  .hero__pause span { display: none; }
  .hero__pause i { margin: 0; }
}

/* =========================================================
   04 BREAKING NEWS
   ========================================================= */
/* Wrapper row shared with Press Releases */
.news-section { padding: 2.5rem 0 3rem; }

.breaking {
  border: 1px solid #eaeaea; background: var(--surface-soft);
  padding: 1.5rem 1.3rem; height: 100%;
}
.breaking__head {
  display: flex; align-items: center; background: var(--brand); color: #fff;
  border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; margin-bottom: 12px;
}
.breaking__icon { font-size: 2.1rem; margin-right: .9rem; line-height: 1; }
.breaking__title { font-size: 1.75rem; font-weight: 700; margin: 0; line-height: 1.1; }
.breaking__sub { font-size: 1rem; margin: .2rem 0 0; line-height: 1.25; opacity: .95; }
.breaking__list { max-height: 560px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.breaking__item {
  display: block; padding: 1.25rem 1.25rem 1rem; color: var(--text); border-bottom: 1px solid var(--line-soft);
  border-radius: var(--radius); border-left: 3px solid transparent; transition: all .2s ease;
}
.breaking__item:hover, .breaking__item.is-active {
  text-decoration: none; color: var(--text); background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.1); border-left-color: var(--accent-sky);
}
.breaking__text { font-size: .875rem; line-height: 1.45; margin-bottom: .75rem; }
.breaking__go { color: #adabab; }
.breaking__item.is-active .breaking__go, .breaking__item:hover .breaking__go { color: var(--accent-sky); }

/* =========================================================
   05 LATEST PRESS RELEASES
   ========================================================= */
.press__lead { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.press__filters { margin-bottom: 1.75rem; }
.lang-tabs {
  display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: .75rem;
}
.lang-tabs__btn {
  border: 0; background: transparent; padding: .35rem .75rem; border-radius: var(--radius); font-size: .875rem; color: #000; cursor: pointer;
}
.lang-tabs__btn + .lang-tabs__btn { margin-left: .5rem; }
.lang-tabs__btn.is-active { background: linear-gradient(90deg, var(--accent-sky), var(--brand)); color: #fff; }
.select-wrap { width: 222px; max-width: 100%; margin-bottom: .75rem; }
.press__select {
  height: 44px; border-radius: var(--radius-lg); border-color: var(--line); font-size: .875rem; padding-left: 1.4rem;
}
.press__select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(49,49,145,.15); }

.press__grid { margin-bottom: .5rem; }
@media (min-width: 1200px) { .press__grid > [class*="col-"] { padding-right: 3rem; } }
.pr-item { padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid #d9d9d9; }
.press__grid .col-md-6 .pr-item:last-child { border-bottom: 0; }
.pr-item__title {
  display: block; color: #000; font-size: 1rem; line-height: 1.5; margin-bottom: .5rem;
}
.pr-item__title:hover { color: var(--brand); }
.badge-new {
  display: inline-block; background: var(--new); color: #fff; font-size: .7rem; font-weight: 500;
  border-radius: 10px; padding: 1px 10px; line-height: 1.4; vertical-align: 2px; margin-left: 4px;
}

@media (max-width: 767.98px) {
  .press__grid .col-md-6:first-child .pr-item:last-child { border-bottom: 1px solid #d9d9d9; }
  .select-wrap { width: 100%; }
}

.press__footer { margin-top: 1rem; }
.pager .page-link {
  border: 1px solid transparent; color: #666; background: transparent; min-width: 26px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 .4rem; font-size: .875rem; margin: 0 2px; border-radius: 4px !important;
}
.pager .page-item.active .page-link { border-color: var(--brand-blue-2); color: #000; background: #fff; }
.pager .page-item:last-child .page-link { color: var(--brand); }
.pager .page-item.disabled .page-link { border-color: transparent; background: transparent; color: #adabab; }
.pager .page-link:hover { background: rgba(49,49,145,.08); }
.btn-viewall { margin-left: 2rem; height: 40px; display: inline-flex; align-items: center; background: var(--brand-blue); border-color: var(--brand-blue); font-weight: 500; }

/* =========================================================
   06 TRENDING SOCIAL MEDIA
   ========================================================= */
/* ---------- Social section ---------- */
.social-section {
  padding: 3.75rem 0;
  background: linear-gradient(90deg, #f1f5ff, #f2faff);
}
.video-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-card); margin-bottom: 2.75rem;
}
.video-frame { border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame__img { object-fit: cover; width: 100%; height: 100%; }
.video-frame__play {
  position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; border: 0; background: rgba(49,49,145,.92); color: #fff; font-size: 2.25rem; z-index: 2;
  display: flex; align-items: center; justify-content: center; padding-left: 4px; cursor: pointer;
  box-shadow: 0 0 0 8px rgba(255,255,255,.35); transition: transform .2s ease;
}
.video-frame__play:hover { transform: scale(1.08); }
.video-frame__time {
  position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem;
  padding: 2px 8px; border-radius: 4px; z-index: 2;
}
.video-card__body { padding-left: 0; }
@media (min-width: 992px) { .video-card__body { padding-left: 2.25rem; padding-right: 2.5rem; } }
.author { display: flex; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #d9d9d9; }
.author__avatar { width: 48px; height: 48px; border-radius: 50%; margin-right: 10px; }
.author__name { font-size: 1rem; font-weight: 500; color: #000; }
.author--sm .author__avatar { width: 32px; height: 32px; margin-right: 20px; }
.video-card__title {
  font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.4; color: #000; margin: 1.75rem 0 1.75rem;
}

.feed-card {
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; height: 100%; display: flex; flex-direction: column;
}
.feed-card__head { display: flex; align-items: center; margin-bottom: 1.25rem; }
.feed-card__head img { width: 44px; height: 44px; margin-right: 8px; }
.feed-card__head h3 { font-size: 1.25rem; font-weight: 500; margin: 0; color: #000; }
.feed-card__scroll {
  border: 1px solid #d9d9d9; border-radius: var(--radius); height: 380px; overflow-y: auto; padding: 1rem 1.25rem 1rem 1.9rem; margin-bottom: 1.5rem;
}
.feed-card__scroll::-webkit-scrollbar { width: 6px; }
.feed-card__scroll::-webkit-scrollbar-thumb { background: #adabab; border-radius: 3px; }
.feed-card__scroll::-webkit-scrollbar-track { background: #f3f3f3; }
.post + .post { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed #e3e3e3; }
.post .author { padding-bottom: .5rem; }
.post__text { font-size: .875rem; color: #000; line-height: 1.7; margin: .75rem 0 .5rem; }
.post__img { width: 182px; max-width: 100%; border-radius: var(--radius); display: block; }
.feed-card .btn-soft { align-self: flex-start; margin-top: auto; }

@media (max-width: 767.98px) {
  .social-section { padding: 2.75rem 0; }
  .video-card { padding: 1.25rem; margin-bottom: 1.5rem; }
  .feed-card { padding: 1.25rem; }
  .feed-card__scroll { padding-left: 1rem; }
}

/* =========================================================
   07 FOOTER
   ========================================================= */
/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(90deg, #f1f7ff, #f0f1ff); padding-top: 3.75rem; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1.25rem; }
.footer-about { color: var(--muted-2); font-size: .875rem; line-height: 1.65; max-width: 290px; margin-bottom: 1.5rem; }
.footer-social li + li { margin-left: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d4d4d8; color: #52525b;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: all .2s ease;
}
.footer-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }
.footer-title { font-size: 1.25rem; font-weight: 600; color: #171717; position: relative; padding-bottom: .75rem; margin-bottom: 1rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--brand); }
.footer-links li a {
  display: flex; align-items: center; color: var(--muted-2); padding: 10px 0; font-size: 1rem;
}
.footer-links li a:hover { color: var(--brand); text-decoration: none; }
.footer-links li a i { font-size: .8rem; margin-right: 12px; color: #a1a1a1; }
.footer-links--icon li a i { color: var(--brand); font-size: 1rem; }
.visitor {
  width: 100%; max-width: 379px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(54,54,147,.2); border-radius: var(--radius); padding: 1rem;
  margin-top: 1.25rem;
}
.visitor__label { color: var(--brand); font-size: .875rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.visitor__count {
  background: #363693; color: #fff; border-radius: 4px; padding: .2rem .75rem;
  font-family: Menlo, Consolas, "Courier New", monospace; font-weight: 700; letter-spacing: 3px; font-size: .875rem;
}
.footer-bottom { background: var(--brand); color: #fff; margin-top: 3.75rem; padding: 1.4rem 0; font-size: .875rem; }
@media (min-width: 1200px) { .footer-bottom .container-xxl { padding-left: 120px; padding-right: 130px; } }
.footer-bottom .dot { color: #7c7cc4; margin: 0 2rem; }
@media (max-width: 575.98px) { .footer-bottom .dot { margin: 0 .5rem; } .footer-bottom { text-align: center; } }
.site-header .dropdown-menu {
    margin-top: .5rem;
    padding: .5rem 0;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.site-header .dropdown-item {
    color: var(--text-2);
    font-size: .95rem;
    padding: .55rem 1rem;
}

    .site-header .dropdown-item:hover,
    .site-header .dropdown-item:focus {
        color: var(--brand);
        background: rgba(49, 49, 145, .08);
    }

/* Restore the Bootstrap dropdown arrow because the existing nav-link
   underline rule also targets ::after. */
.site-header .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: .35rem;
    vertical-align: .2em;
    border-top: .3em solid currentColor;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

@media (max-width: 991.98px) {
    .site-header .dropdown-menu {
        border: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0 0 0 .75rem;
    }

    .site-header .dropdown-item {
        padding: .65rem 0;
        border-bottom: 1px solid var(--line-soft);
    }
}
.hero {
    background: #f3f5f6;
}
.hero__full-slide {
    width: 100%;
    background: #fff;
}

.hero__full-image {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: contain;
    background: #f3f5f6;
    object-position: center;
}

.hero__caption {
    width: 100%;
    min-height: 64px;
    padding: 1rem 1.5rem;
    color: var(--text);
    background: #fff;
    text-align: center;
    font-family: var(--font-roboto);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

@media (max-width: 991.98px) {
    .hero__full-image {
        height: 56vw;
        max-height: 420px;
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero__full-image {
        height: 70vw;
        max-height: none;
        min-height: 220px;
    }

    .hero__caption {
        min-height: 56px;
        padding: .75rem 1rem;
        font-size: 1rem;
    }
}