:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5b6570;
  --line: #d9dee5;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --gold: #b88a2a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }

.coming-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 32px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(24, 24, 24, 0.92)),
    var(--soft);
}

.coming-panel {
  position: relative;
  overflow: hidden;
  width: min(680px, 100%);
  text-align: center;
  background: #f8f8f6;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: clamp(28px, 7vw, 68px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.coming-panel::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -58px;
  width: 230px;
  height: 34px;
  background: linear-gradient(135deg, #020202 0%, #111 52%, #000 100%);
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset;
}

.brand-logo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 10px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 { font-size: clamp(24px, 4vw, 36px); line-height: 1.25; }
h3 { font-size: 18px; margin-bottom: 6px; }

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  margin-top: 32px;
  color: var(--accent-strong);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.site-header nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }

.memorial-header {
  background: rgba(12, 12, 12, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.memorial-header .brand img {
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

.memorial-header nav { color: rgba(255, 255, 255, 0.76); }
.memorial-header nav a:hover { color: #fff; }

.rahbar-page {
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 20% 0%, rgba(184, 138, 42, 0.18), transparent 34%),
    linear-gradient(180deg, #101010 0%, #202020 360px, #f2f1ed 360px, #f2f1ed 100%);
}

.hero-section,
.section-band,
.memorial-info,
.memorial-live,
.salawat-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section { padding: clamp(48px, 9vw, 92px) 0 32px; }

.memorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: clamp(430px, 62vh, 620px);
  padding: clamp(48px, 9vw, 92px) 0 clamp(30px, 6vw, 60px);
  color: #fff;
}

.memorial-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: clamp(34px, 7vw, 70px);
  width: min(360px, 68vw);
  height: 12px;
  background: #050505;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.memorial-hero__content {
  position: relative;
  padding-top: 42px;
}

.memorial-hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 7vw, 76px);
}

.memorial-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-inline: 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.memorial-hero__mark {
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.memorial-hero__mark img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.section-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 36px);
  margin-top: 20px;
}

.memorial-live {
  margin-top: -26px;
  position: relative;
  z-index: 1;
}

.live-card {
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 22px 54px rgba(29, 27, 22, 0.14);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.live-box {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: #101820;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  padding: 24px;
}

.live-box iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }

.notice-list, .program-list { display: grid; gap: 12px; }

.notice-item, .program-item, .info-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.program-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  border-color: #e2ded4;
}

.program-item::before {
  content: "";
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 126px;
  width: 3px;
  border-radius: 99px;
  background: #111;
}

.program-item time {
  color: #8a661b;
  font-weight: 700;
  line-height: 1.6;
}

.program-item div { padding-inline-start: 14px; }
.program-item h3 { font-size: 20px; }

.memorial-info {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 36px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.salawat-section {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(29, 27, 22, 0.92)),
    #111;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 44px);
  margin-top: 20px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.counter-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
}

.counter {
  display: block;
  min-height: 52px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}

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

.salawat-section small,
.salawat-section .muted { color: rgba(255, 255, 255, 0.68); }

.salawat-prayer {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 0;
}

.info-grid article {
  position: relative;
  padding: 20px;
}

.info-grid article h3 { padding-inline-end: 42px; }

.info-grid ul {
  margin: 12px 0 0;
  padding-inline-start: 20px;
  color: var(--muted);
}

.info-grid li + li { margin-top: 8px; }

.info-number {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.primary { background: var(--accent); color: #fff; width: min(260px, 100%); }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary { border-color: var(--accent); color: var(--accent-strong); background: #fff; }
.button.ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: rgba(255, 255, 255, 0.08); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.button.ghost-dark { border-color: rgba(23, 32, 38, 0.24); color: var(--ink); background: rgba(255, 255, 255, 0.68); }
.button.ghost-dark:hover { background: #fff; }
.button:disabled { opacity: 0.55; cursor: wait; }

.status { min-height: 28px; color: var(--accent-strong); margin: 0; }
.status.error { color: #b42318; }

.home-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(195, 20, 30, 0.06) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f5f7f9 50%, #ffffff 100%);
  background-size: 72px 72px, auto;
}

.home-header,
.home-hero,
.home-strip,
.home-section {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding-block: 12px;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111820;
  font-weight: 700;
}

.home-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.home-header nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  gap: clamp(14px, 3vw, 28px);
  color: #53606b;
  font-size: 14px;
}

.home-header nav a:hover { color: #c3141e; }

@media (min-width: 761px) and (max-width: 900px) {
  .home-header {
    flex-wrap: wrap;
    height: auto;
    padding-block: 16px;
  }
  .home-header nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    white-space: normal;
  }
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: clamp(520px, 70vh, 660px);
  padding: clamp(28px, 6vw, 70px) 0 clamp(28px, 5vw, 56px);
}

.home-kicker {
  margin-bottom: 12px;
  color: #c3141e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: #101820;
  font-size: clamp(34px, 5.2vw, 68px);
}

.home-lead {
  max-width: 730px;
  color: #4f5d68;
  font-size: clamp(17px, 1.8vw, 20px);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-hero__signal {
  display: grid;
  gap: 12px;
}

.signal-main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 190px;
  padding: 28px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.78)),
    #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
}

.signal-main img {
  width: clamp(92px, 11vw, 132px);
  height: clamp(92px, 11vw, 132px);
  flex: 0 0 auto;
  object-fit: contain;
}

.signal-main strong {
  display: block;
  color: #101820;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.2;
}

.signal-main span,
.signal-stack span {
  color: #60707c;
  font-weight: 700;
}

.signal-stack {
  display: grid;
  gap: 10px;
}

.signal-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.signal-stack b {
  color: #c3141e;
  font-weight: 700;
}

.home-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #dfe5ea;
}

.home-strip div {
  min-height: 118px;
  padding: 22px 24px;
  background: #101820;
  color: #fff;
}

.home-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.home-strip span {
  color: rgba(255, 255, 255, 0.7);
}

.home-section {
  padding: clamp(50px, 7vw, 82px) 0 0;
}

.home-section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.home-section__head h2,
.home-contact h2 {
  color: #101820;
  font-size: clamp(28px, 4.6vw, 48px);
}

.home-grid {
  display: grid;
  gap: 16px;
}

.home-grid.three { grid-template-columns: repeat(3, 1fr); }

.home-tile,
.brand-item,
.brand-feature {
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
}

.home-tile {
  min-height: 230px;
  padding: 24px 26px;
}

.tile-index {
  display: inline-block;
  margin-bottom: 34px;
  color: #c3141e;
  font-weight: 700;
}

.home-tile h3,
.brand-item h3,
.brand-feature h3 {
  color: #101820;
  font-size: 22px;
}

.home-tile p,
.brand-item p,
.brand-feature p,
.home-contact p {
  color: #5a6874;
}

.brand-section { padding-bottom: 18px; }

.brand-list {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(0, 0.92fr);
  gap: 16px;
}

.brand-feature {
  grid-row: span 2;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 300px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(227, 20, 25, 0.1), rgba(255, 255, 255, 0.96) 58%),
    #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brand-feature img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-feature span {
  color: #c3141e;
  font-weight: 700;
}

.brand-feature:hover,
.brand-feature:focus-visible {
  border-color: rgba(195, 20, 30, 0.45);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.brand-feature:focus-visible {
  outline: 3px solid rgba(195, 20, 30, 0.18);
  outline-offset: 3px;
}

.brand-item {
  min-height: 142px;
  padding: 22px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brand-item:hover,
.brand-item:focus-visible {
  border-color: rgba(195, 20, 30, 0.45);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.brand-item:focus-visible {
  outline: 3px solid rgba(195, 20, 30, 0.18);
  outline-offset: 3px;
}

.home-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 8vw, 92px);
  margin-bottom: 32px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.05), rgba(195, 20, 30, 0.08)),
    #fff;
}

.home-contact > div { max-width: 720px; }

.home-page::after {
  content: "";
  display: block;
  height: 24px;
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(42px, 7vw, 72px) auto 0;
  padding: 22px 0 34px;
  border-top: 1px solid #dfe5ea;
  color: #60707c;
  font-size: 14px;
}

.home-footer p,
.home-footer span {
  margin: 0;
}

.home-footer p {
  color: #101820;
  font-weight: 700;
}

.about-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(195, 20, 30, 0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f5f7f9 46%, #ffffff 100%);
  background-size: 72px 72px, auto;
}

.about-hero,
.about-section {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(42px, 7vw, 88px) 0 clamp(34px, 6vw, 72px);
}

.about-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: #101820;
  font-size: clamp(34px, 5vw, 64px);
}

.about-lead {
  max-width: 820px;
  color: #4f5d68;
  font-size: clamp(17px, 1.8vw, 20px);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-identity {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 330px;
  padding: 34px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.78)),
    #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
  text-align: center;
}

.about-identity img {
  width: clamp(116px, 14vw, 164px);
  height: clamp(116px, 14vw, 164px);
  object-fit: contain;
  margin-bottom: 20px;
}

.about-identity strong {
  color: #101820;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
}

.about-identity span {
  max-width: 280px;
  color: #60707c;
  font-weight: 700;
}

.about-section {
  padding-top: clamp(46px, 7vw, 82px);
}

.about-section__head {
  max-width: 780px;
  margin-bottom: 24px;
}

.about-section__head h2 {
  color: #101820;
  font-size: clamp(28px, 4.4vw, 46px);
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-copy p,
.about-closing p {
  margin: 0;
  color: #4f5d68;
  font-size: 18px;
}

.about-copy p,
.about-pillars article,
.about-closing {
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.about-copy p {
  display: flex;
  align-items: center;
  padding: 24px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-pillars article {
  min-height: 240px;
  padding: 24px;
}

.about-pillars span {
  display: inline-block;
  margin-bottom: 34px;
  color: #c3141e;
  font-weight: 700;
}

.about-pillars h3 {
  color: #101820;
  font-size: 21px;
}

.about-pillars p {
  color: #5a6874;
}

.about-brand-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.about-brand-list a {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
  color: #101820;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.about-brand-list a:hover,
.about-brand-list a:focus-visible {
  border-color: rgba(195, 20, 30, 0.45);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.about-brand-list a:focus-visible {
  outline: 3px solid rgba(195, 20, 30, 0.18);
  outline-offset: 3px;
}

.about-closing {
  margin-top: clamp(18px, 3vw, 28px);
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.04), rgba(195, 20, 30, 0.08)),
    #fff;
}

.brand-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(195, 20, 30, 0.04) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f6f8fa 50%, #ffffff 100%);
  background-size: 84px 84px, auto;
}

.brand-hero,
.brand-reference,
.brand-section {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding: clamp(46px, 8vw, 92px) 0 clamp(24px, 5vw, 46px);
}

.brand-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #101820;
  font-size: clamp(40px, 6vw, 76px);
}

.brand-lead {
  max-width: 820px;
  color: #4f5d68;
  font-size: clamp(18px, 2vw, 22px);
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.brand-passport {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 24, 32, 0.08);
}

.brand-passport span,
.brand-facts span,
.brand-related-grid span,
.brand-reference-list span {
  color: #9f1119;
  font-size: 13px;
  font-weight: 800;
}

.brand-passport strong {
  color: #101820;
  font-size: 26px;
  line-height: 1.45;
}

.brand-passport p {
  margin-bottom: 0;
  color: #60707c;
  font-weight: 700;
}

.brand-reference {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.brand-copy,
.brand-facts,
.brand-reference-list article,
.brand-related-grid a {
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.brand-copy {
  padding: clamp(24px, 4vw, 38px);
}

.brand-copy h2 {
  margin-bottom: 16px;
  color: #101820;
}

.brand-copy p:last-child {
  margin-bottom: 0;
  color: #4f5d68;
  font-size: 18px;
}

.brand-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.brand-facts div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 136px;
  padding: 22px;
  border-bottom: 1px solid #dfe5ea;
  border-inline-start: 1px solid #dfe5ea;
}

.brand-facts div:nth-child(2n) {
  border-inline-start: 0;
}

.brand-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.brand-facts strong {
  color: #101820;
  line-height: 1.7;
}

.brand-section {
  padding-top: clamp(34px, 6vw, 64px);
}

.brand-reference-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-reference-list article {
  min-height: 170px;
  padding: 24px;
}

.brand-reference-list p {
  margin: 12px 0 0;
  color: #38444f;
  font-weight: 700;
}

.brand-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #101820;
  color: #fff;
  box-shadow: 0 14px 35px rgba(16, 24, 32, 0.1);
}

.brand-app-card:hover,
.brand-app-card:focus-visible {
  border-color: #c3141e;
  background: #1a252e;
  transform: translateY(-2px);
}

.brand-app-card img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.brand-app-card span {
  display: grid;
  gap: 2px;
}

.brand-app-card small {
  color: #b7c0c7;
  font-size: 13px;
}

.brand-app-card strong {
  color: #fff;
  font-size: 20px;
}

.province-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(34px, 6vw, 64px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #dfe5ea;
  border-inline-start: 5px solid #c3141e;
  border-radius: 8px;
  background: #fff;
}

.province-callout h2,
.province-callout p:last-child {
  margin-bottom: 0;
}

.province-page {
  min-height: 100vh;
  background: linear-gradient(90deg, rgba(195, 20, 30, 0.04) 0 1px, transparent 1px), #f7f9fa;
  background-size: 84px 84px;
}

.province-index-hero,
.province-directory,
.province-hero,
.province-links,
.province-more {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.province-index-hero {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(54px, 9vw, 110px) 0 40px;
  text-align: center;
}

.province-index-hero h1,
.province-hero h1 {
  color: #101820;
  font-size: clamp(38px, 6vw, 70px);
}

.province-index-hero > p:last-child,
.province-hero > div > p:last-child {
  color: #586773;
  font-size: 19px;
}

.province-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 50px;
}

.province-directory a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
}

.province-directory a:hover,
.province-directory a:focus-visible {
  border-color: #c3141e;
  transform: translateY(-2px);
}

.province-directory span,
.province-directory small,
.province-hero aside span {
  color: #a91820;
  font-weight: 800;
}

.province-directory strong {
  color: #101820;
  font-size: 19px;
}

.province-directory small {
  align-self: end;
  color: #74818a;
}

.province-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: end;
  padding: clamp(50px, 8vw, 96px) 0 40px;
}

.province-hero aside {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
}

.province-hero aside strong {
  color: #101820;
  font-size: 26px;
}

.province-hero aside small {
  color: #687680;
}

.province-links,
.province-more {
  padding: 28px 0 42px;
}

.province-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.province-social {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  background: #101820;
  color: #fff;
}

.province-social > span {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: #c3141e;
  font-size: 25px;
  font-weight: 900;
}

.province-social div {
  display: grid;
}

.province-social small { color: #b8c1c7; }
.province-social strong { color: #fff; font-size: 20px; }
.province-social:hover, .province-social:focus-visible { background: #1d2932; transform: translateY(-2px); }
.province-social--telegram > span { background: #229ed9; }
.province-social--soroush > span { background: #159a8c; }
.province-social--rubika > span { background: #7b3ff2; }
.province-social--eitaa > span { background: #ef7c22; }
.province-social--bale > span { background: #2c8a68; }
.province-social--instagram > span { background: #d62976; }

.province-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.province-chips a {
  padding: 9px 13px;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  background: #fff;
  color: #34414b;
  font-size: 14px;
  font-weight: 700;
}

.province-chips a:hover,
.province-chips a:focus-visible { border-color: #c3141e; color: #a91820; }

.home-section-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.portfolio-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(195, 20, 30, 0.045) 0 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #f5f7f8 55%, #fff 100%);
  background-size: 84px 84px, auto;
}

.portfolio-hero,
.portfolio-intro,
.portfolio-brands,
.portfolio-network {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
  padding: clamp(58px, 10vw, 120px) 0 46px;
}

.portfolio-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: #101820;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.25;
}

.portfolio-hero__copy > p:last-child {
  max-width: 800px;
  margin-bottom: 0;
  color: #52616c;
  font-size: clamp(18px, 2vw, 22px);
}

.portfolio-summary {
  border: 1px solid #dce3e8;
  border-radius: 8px;
  overflow: hidden;
  background: #101820;
  color: #fff;
}

.portfolio-summary div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 17px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.portfolio-summary div:last-child { border-bottom: 0; }
.portfolio-summary strong { color: #ff3944; font-size: 34px; }
.portfolio-summary span { color: #eef2f4; font-weight: 700; }

.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-block: 1px solid #dce3e8;
}

.portfolio-intro > p {
  max-width: 730px;
  margin: 0;
  color: #3f4d57;
  font-size: 18px;
}

.portfolio-intro > div {
  display: grid;
  gap: 6px;
  color: #9f1119;
  font-size: 14px;
  font-weight: 800;
}

.portfolio-brands { padding: clamp(48px, 8vw, 84px) 0; }

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

.portfolio-card {
  display: grid;
  align-content: end;
  min-height: 290px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #dce3e8;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: #101820;
}

.portfolio-card--featured {
  grid-row: span 2;
  min-height: 594px;
  background: #101820;
  color: #fff;
}

.portfolio-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-self: start;
  margin-bottom: auto;
}

.portfolio-card__top span { color: #c3141e; font-weight: 900; }
.portfolio-card__top small { color: #7a8790; font-weight: 700; }
.portfolio-card--featured .portfolio-card__top small { color: #c3cbd0; }

.portfolio-card img {
  width: min(220px, 60%);
  margin: 46px auto auto;
  border-radius: 8px;
}

.portfolio-card > p {
  margin: 24px 0 4px;
  color: #a91820;
  font-size: 14px;
  font-weight: 800;
}

.portfolio-card h3 {
  margin-bottom: 20px;
  color: inherit;
  font-size: clamp(25px, 3vw, 36px);
}

.portfolio-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #dce3e8;
  color: #5e6c76;
  font-weight: 700;
}

.portfolio-card--featured .portfolio-card__meta { border-color: rgba(255,255,255,.15); color: #d7dde1; }
.portfolio-card__meta b { color: #c3141e; font-size: 23px; }
.portfolio-card:hover, .portfolio-card:focus-visible { border-color: #c3141e; transform: translateY(-3px); }

.portfolio-network {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: center;
  padding: clamp(30px, 6vw, 60px);
  border-radius: 8px;
  background: #eef1f3;
}

.portfolio-network h2 { margin-bottom: 14px; color: #101820; }
.portfolio-network p:not(.home-kicker) { max-width: 640px; color: #586670; }
.portfolio-network .button { margin-top: 12px; }

.portfolio-network__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #cbd4da;
}

.portfolio-network__facts div {
  display: grid;
  gap: 4px;
  padding: 22px 12px;
  border-inline-start: 1px solid #cbd4da;
  text-align: center;
}

.portfolio-network__facts div:first-child { border-inline-start: 0; }
.portfolio-network__facts strong { color: #c3141e; font-size: 30px; }
.portfolio-network__facts span { color: #45535d; font-size: 13px; font-weight: 700; }

.press-page {
  min-height: 100vh;
  background: linear-gradient(90deg, rgba(195,20,30,.045) 0 1px, transparent 1px), #f7f9fa;
  background-size: 84px 84px;
}

.press-hero, .press-nav, .press-section, .press-contact {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.press-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
  padding: clamp(58px, 10vw, 112px) 0 48px;
}

.press-hero h1 { color: #101820; font-size: clamp(50px, 8vw, 90px); }
.press-hero > div > p:not(.home-kicker) { max-width: 760px; color: #52616c; font-size: 20px; }

.press-identity {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0 18px;
  padding: 24px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  background: #fff;
}
.press-identity img { grid-row: span 2; width: 86px; height: 86px; object-fit: contain; }
.press-identity div { display: grid; align-content: center; }
.press-identity span { color: #a91820; font-size: 12px; font-weight: 800; }
.press-identity strong { color: #101820; }

.press-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 30px rgba(16,24,32,.06);
}
.press-nav a { flex: 1 0 auto; padding: 9px 13px; border-radius: 5px; color: #56646e; text-align: center; font-size: 13px; font-weight: 800; }
.press-nav a:hover, .press-nav a:focus-visible { background: #f2f4f6; color: #a91820; }

.press-section { padding: clamp(52px, 8vw, 88px) 0 0; }
.press-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #dce3e8; border-radius: 8px; overflow: hidden; background: #fff; }
.press-facts div { display: grid; gap: 8px; min-height: 130px; padding: 24px; border-bottom: 1px solid #dce3e8; border-inline-start: 1px solid #dce3e8; }
.press-facts div:nth-child(3n + 1) { border-inline-start: 0; }
.press-facts div:nth-last-child(-n + 3) { border-bottom: 0; }
.press-facts span { color: #76838d; font-size: 13px; font-weight: 700; }
.press-facts strong { color: #101820; font-size: 20px; }

.press-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.press-timeline article { display: grid; grid-template-columns: 62px 1fr; gap: 15px; min-height: 170px; padding: 22px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.press-timeline article > span { color: #c3141e; font-weight: 900; }
.press-timeline h3 { color: #101820; }
.press-timeline p { margin: 0; color: #65727c; font-size: 14px; }

.press-copy-grid { display: grid; gap: 14px; }
.press-copy-grid article { padding: clamp(22px, 4vw, 34px); border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.press-copy-grid article > div { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 18px; color: #a91820; font-weight: 800; }
.press-copy-grid p { max-width: 930px; margin: 0; color: #34424c; font-size: 17px; }
.press-copy { padding: 7px 12px; border: 1px solid #cbd4da; border-radius: 5px; background: #f7f9fa; color: #34424c; font: inherit; font-size: 12px; cursor: pointer; }
.press-copy:hover, .press-copy:focus-visible { border-color: #c3141e; color: #a91820; }

.press-brand-table { border: 1px solid #dce3e8; border-radius: 8px; overflow: hidden; background: #fff; }
.press-brand-table a { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(200px, .8fr) 90px; gap: 20px; align-items: center; min-height: 104px; padding: 18px 24px; border-bottom: 1px solid #dce3e8; }
.press-brand-table a:last-child { border-bottom: 0; }
.press-brand-table a:hover, .press-brand-table a:focus-visible { background: #f8fafb; }
.press-brand-table div { display: grid; }
.press-brand-table strong { color: #101820; font-size: 18px; }
.press-brand-table span, .press-brand-table p { margin: 0; color: #6a7781; font-size: 13px; }
.press-brand-table b { color: #a91820; font-size: 13px; }
.press-province-link { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 24px; border-radius: 8px; background: #101820; color: #fff; }
.press-province-link span { color: #ff4650; font-weight: 800; }

.press-downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.press-downloads a { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: center; min-height: 118px; padding: 20px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.press-downloads a:hover, .press-downloads a:focus-visible { border-color: #c3141e; transform: translateY(-2px); }
.press-downloads img, .press-file-mark { display: grid; width: 70px; height: 70px; place-items: center; object-fit: contain; border-radius: 7px; background: #eef1f3; }
.press-file-mark { color: #a91820; font-size: 13px; font-weight: 900; }
.press-downloads div { display: grid; }
.press-downloads strong { color: #101820; }
.press-downloads span { color: #74818a; font-size: 12px; }
.press-downloads b { color: #a91820; font-size: 13px; }

.press-usage { display: grid; grid-template-columns: 310px 1fr; gap: 50px; }
.press-rules { display: grid; gap: 10px; }
.press-rules article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; border-bottom: 1px solid #dce3e8; }
.press-rules span { color: #c3141e; font-weight: 900; }
.press-rules p { margin: 0; color: #45535d; }

.press-contact { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-top: clamp(54px, 9vw, 96px); padding: clamp(28px, 5vw, 50px); border-radius: 8px; background: #eef1f3; }
.press-contact > div { max-width: 720px; }
.press-contact h2 { color: #101820; }
.press-contact p:last-child { margin: 0; color: #5b6872; }

.career-page { min-height: 100vh; background: linear-gradient(90deg, rgba(195,20,30,.04) 0 1px, transparent 1px), #f7f9fa; background-size: 84px 84px; }
.career-hero, .career-values, .career-openings, .career-account, .job-hero, .job-layout, .job-cta, .candidate-header, .candidate-layout, .apply-header, .apply-layout, .career-message { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.career-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(38px,7vw,90px); align-items: end; padding: clamp(56px,9vw,108px) 0 48px; }
.career-hero h1, .job-hero h1 { color: #101820; font-size: clamp(42px,6.5vw,76px); }
.career-hero > div > p:last-child, .job-hero > div > p { max-width: 760px; color: #566570; font-size: 19px; }
.career-hero aside { padding: 27px; border: 1px solid #dce3e8; border-radius: 8px; background: #101820; color: #fff; }
.career-hero aside span, .career-hero aside strong { display: block; }
.career-hero aside span { color: #ff4650; font-size: 13px; font-weight: 800; }
.career-hero aside strong { margin: 8px 0; font-size: 23px; }
.career-hero aside p { margin: 0; color: #c2cbd0; font-size: 14px; }
.career-values { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid #dce3e8; }
.career-values article { min-height: 210px; padding: 28px; border-inline-start: 1px solid #dce3e8; }
.career-values article:first-child { border-inline-start: 0; }
.career-values span { color: #c3141e; font-weight: 900; }
.career-values h2 { margin: 28px 0 8px; color: #101820; font-size: 24px; }
.career-values p { margin: 0; color: #66737d; }
.career-openings { padding: clamp(52px,8vw,88px) 0; }
.career-job-list { border: 1px solid #dce3e8; border-radius: 8px; overflow: hidden; background: #fff; }
.career-job-list > a { display: grid; grid-template-columns: minmax(0,1fr) 280px 120px; gap: 24px; align-items: center; padding: 26px; border-bottom: 1px solid #dce3e8; }
.career-job-list > a:last-child { border-bottom: 0; }
.career-job-list > a:hover { background: #f8fafb; }
.career-job-list span { color: #a91820; font-size: 13px; font-weight: 800; }
.career-job-list h3 { margin: 5px 0; color: #101820; font-size: 22px; }
.career-job-list p { margin: 0; color: #65727c; font-size: 14px; }
.career-job-list ul, .job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.career-job-list li, .job-tags span { padding: 5px 9px; border-radius: 5px; background: #eef1f3; color: #52616b; font-size: 12px; font-weight: 700; }
.career-job-list b { color: #a91820; font-size: 13px; }
.career-empty { padding: 44px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; text-align: center; }
.career-account, .job-cta { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: clamp(28px,5vw,46px); border-radius: 8px; background: #eef1f3; }
.career-account h2, .job-cta h2 { margin: 0; color: #101820; }

.job-hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 50px; align-items: end; padding: clamp(50px,8vw,94px) 0 44px; }
.job-tags { margin-top: 24px; }
.job-hero aside { display: grid; gap: 10px; padding: 24px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.job-hero aside > span { color: #a91820; font-size: 13px; font-weight: 800; }
.job-hero aside > strong { color: #101820; font-size: 22px; }
.job-hero aside p { color: #697680; font-size: 13px; }
.job-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; padding: 36px 0 68px; }
.job-description { display: grid; gap: 14px; }
.job-description section { padding: clamp(24px,4vw,36px); border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.job-description h2 { color: #101820; }
.job-description p, .job-description li { color: #4f5d67; }
.job-description ul { display: grid; gap: 8px; padding-right: 22px; }
.job-process { align-self: start; position: sticky; top: 24px; padding: 24px; border-right: 3px solid #c3141e; background: #eef1f3; }
.job-process ol { display: grid; gap: 17px; padding: 0; list-style: none; }
.job-process li { display: flex; gap: 12px; color: #34414b; font-weight: 700; }
.job-process li span { color: #c3141e; }
.job-process > p:last-child { margin: 20px 0 0; color: #697680; font-size: 13px; }

.career-auth { min-height: 100vh; display: grid; place-items: center; padding: 70px 16px; background: linear-gradient(90deg,rgba(195,20,30,.05) 0 1px,transparent 1px),#f4f6f8; background-size: 84px 84px; }
.career-auth__brand { position: absolute; top: 26px; right: 32px; color: #101820; font-weight: 900; }
.career-auth > section { width: min(520px,100%); padding: clamp(28px,6vw,48px); border: 1px solid #dce3e8; border-radius: 8px; background: #fff; box-shadow: 0 22px 60px rgba(16,24,32,.08); }
.career-auth h1 { color: #101820; font-size: 42px; }
.career-auth p { color: #64717b; }
.career-auth form { display: grid; gap: 18px; margin-top: 28px; }
.career-auth .button { width: 100%; }
.career-back { display: block; margin-top: 22px; color: #687680; text-align: center; font-size: 13px; }

.candidate-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 56px 0 30px; }
.candidate-header h1, .apply-header h1 { color: #101820; }
.candidate-header p { margin: 0; color: #66737d; }
.candidate-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 18px; align-items: start; }
.candidate-form, .candidate-applications, .apply-form, .apply-profile { padding: clamp(22px,4vw,34px); border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.career-form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.career-field { display: grid; gap: 7px; margin-bottom: 18px; }
.career-field--wide { grid-column: 1/-1; }
.career-field label { color: #24313a; font-weight: 800; }
.career-field input, .career-field select, .career-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cfd7dd; border-radius: 6px; background: #fff; color: #172026; font: inherit; }
.career-field textarea { min-height: 130px; resize: vertical; }
.career-field input:focus, .career-field select:focus, .career-field textarea:focus { border-color: #c3141e; outline: 2px solid rgba(195,20,30,.1); }
.career-field small { color: #76838d; font-size: 12px; }
.career-field .errorlist, .career-auth .errorlist { margin: 0; padding: 0; color: #b4232c; font-size: 13px; list-style: none; }
.career-field--code input { direction: ltr; text-align: center; font-size: 27px; letter-spacing: 8px; }
.resume-current { padding: 12px; background: #f0f3f5; color: #5b6872; font-size: 13px; }
.resume-current a { color: #a91820; font-weight: 800; }
.candidate-applications > div { display: grid; gap: 10px; }
.candidate-applications a { display: grid; gap: 4px; padding: 17px; border: 1px solid #dce3e8; border-radius: 7px; }
.candidate-applications a > span, .candidate-applications small { color: #74818a; font-size: 12px; }
.candidate-applications a > strong { color: #101820; }
.application-status { width: fit-content; padding: 4px 8px; border-radius: 4px; background: #eef1f3; color: #52616b; font-size: 11px; }
.application-status--accepted, .application-status--offer { background: #e5f6ee; color: #176b48; }
.application-status--rejected, .application-status--withdrawn { background: #f5e9ea; color: #8d2830; }
.career-message { margin-top: 14px; padding: 13px 18px; border-right: 4px solid #0f766e; border-radius: 6px; background: #e9f5f3; color: #155e58; }

.apply-header { padding: 58px 0 30px; }
.apply-header p { color: #65727c; }
.apply-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.apply-profile { position: sticky; top: 24px; display: grid; gap: 7px; }
.apply-profile > span { color: #a91820; font-size: 13px; font-weight: 800; }
.apply-profile > strong { color: #101820; font-size: 22px; }
.apply-profile p { margin: 0; color: #66737d; }
.apply-profile a { margin-top: 13px; color: #a91820; font-weight: 800; }
.apply-confirm { display: flex; gap: 10px; margin-bottom: 20px; color: #53616b; font-size: 13px; }
.apply-confirm input { flex: 0 0 auto; margin-top: 7px; }

.advertising-page { min-height: 100vh; background: linear-gradient(90deg,rgba(195,20,30,.04) 0 1px,transparent 1px),linear-gradient(180deg,#fff,#f6f8f9 55%,#fff); background-size: 84px 84px,auto; }
.advertising-hero, .advertising-definition, .advertising-section, .advertising-process, .advertising-team, .advertising-cta { width: min(1120px,calc(100% - 32px)); margin-inline: auto; }
.advertising-hero { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(38px,7vw,88px); align-items: end; padding: clamp(58px,10vw,116px) 0 50px; }
.advertising-hero h1 { max-width: 820px; color: #101820; font-size: clamp(44px,7vw,82px); }
.advertising-hero > div > p:not(.home-kicker) { max-width: 780px; color: #53626d; font-size: 20px; }
.advertising-signal { padding: 28px; border: 1px solid #dce3e8; border-radius: 8px; background: #101820; color: #fff; }
.advertising-signal span { color: #ff4650; font-size: 13px; font-weight: 800; }
.advertising-signal strong { display: block; margin: 10px 0; font-size: 24px; line-height: 1.6; }
.advertising-signal p { margin: 0; color: #c2cbd0; font-size: 14px; }
.advertising-definition { display: grid; grid-template-columns: 340px 1fr; gap: 55px; align-items: center; padding: clamp(30px,5vw,48px); border-block: 1px solid #dce3e8; }
.advertising-definition h2 { margin: 0; color: #101820; }
.advertising-definition > p { margin: 0; color: #45535d; font-size: 18px; }
.advertising-section, .advertising-team { padding: clamp(54px,8vw,88px) 0 0; }
.audience-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.audience-grid article { min-height: 230px; padding: 28px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.audience-grid span { color: #c3141e; font-weight: 900; }
.audience-grid h3 { margin: 34px 0 8px; color: #101820; font-size: 24px; }
.audience-grid p { margin: 0; color: #65727c; }
.advertising-value-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #dce3e8; border-radius: 8px; overflow: hidden; background: #fff; }
.advertising-value-grid article { min-height: 220px; padding: 24px; border-inline-start: 1px solid #dce3e8; }
.advertising-value-grid article:first-child { border-inline-start: 0; }
.advertising-value-grid b { display: block; margin-bottom: 18px; color: #101820; font-size: 19px; }
.advertising-value-grid p { margin: 0; color: #66737d; font-size: 14px; }
.advertising-process { display: grid; grid-template-columns: 300px 1fr; gap: 55px; padding: clamp(60px,9vw,100px) 0 0; }
.advertising-process h2 { color: #101820; }
.advertising-process ol { margin: 0; padding: 0; border-top: 1px solid #dce3e8; list-style: none; }
.advertising-process li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #dce3e8; }
.advertising-process li > span { color: #c3141e; font-weight: 900; }
.advertising-process strong { color: #101820; font-size: 18px; }
.advertising-process p { margin: 4px 0 0; color: #697680; font-size: 14px; }
.advertising-team .home-section__head > p:last-child { max-width: 760px; color: #65727c; }
.advertising-team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.advertising-team-grid article { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: center; min-height: 190px; padding: 30px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
.advertising-team-grid article > span { display: grid; width: 92px; height: 92px; place-items: center; border-radius: 8px; background: #101820; color: #ff4650; font-size: 38px; font-weight: 900; }
.advertising-team-grid small { color: #7a8790; font-weight: 700; }
.advertising-team-grid h3 { margin: 8px 0 12px; color: #101820; font-size: 25px; }
.advertising-team-grid a { color: #a91820; font-size: 13px; font-weight: 800; }
.advertising-cta { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-top: clamp(58px,9vw,100px); padding: clamp(30px,5vw,50px); border-radius: 8px; background: #eef1f3; }
.advertising-cta > div { max-width: 720px; }
.advertising-cta h2 { color: #101820; }
.advertising-cta p:last-child { margin: 0; color: #65727c; }

.brand-related {
  padding-bottom: 20px;
}

.brand-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-related-grid a {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 18px;
}

.brand-related-grid a:hover,
.brand-related-grid a:focus-visible {
  border-color: rgba(195, 20, 30, 0.55);
  transform: translateY(-2px);
}

.brand-related-grid strong {
  color: #101820;
}

.contact-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(195, 20, 30, 0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f5f7f9 48%, #ffffff 100%);
  background-size: 72px 72px, auto;
}

.contact-hero,
.contact-section {
  width: min(980px, calc(100% - 32px));
  margin-inline: auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding: clamp(42px, 7vw, 84px) 0 clamp(24px, 5vw, 42px);
}

.contact-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #101820;
  font-size: clamp(34px, 5vw, 62px);
}

.contact-lead {
  max-width: 760px;
  color: #4f5d68;
  font-size: clamp(17px, 1.8vw, 20px);
}

.contact-note {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
}

.contact-note strong {
  color: #101820;
  font-size: 30px;
}

.contact-note span {
  color: #60707c;
  font-weight: 700;
}

.contact-section {
  padding-top: 10px;
}

.contact-form,
.contact-success {
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-success {
  margin-bottom: 16px;
  padding: 16px 18px;
  color: #0f766e;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.form-grid.three {
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr) minmax(0, 1fr);
}

.contact-row {
  align-items: start;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.department-field legend {
  color: #101820;
  font-weight: 700;
}

.form-field label span,
.form-field small {
  color: #60707c;
  font-size: 13px;
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  background: #fff;
  color: #101820;
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.form-field input {
  height: 56px;
}

.form-field select {
  height: 56px;
  cursor: pointer;
}

.form-field small {
  min-height: 23px;
}

.form-field .errorlist {
  min-height: 28px;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(195, 20, 30, 0.65);
  box-shadow: 0 0 0 3px rgba(195, 20, 30, 0.12);
}

.department-field {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.department-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.department-option {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
  color: #101820;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.department-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.department-option:has(input:checked) {
  border-color: #c3141e;
  background: rgba(195, 20, 30, 0.08);
  color: #9f1119;
}

.department-option:focus-within {
  outline: 3px solid rgba(195, 20, 30, 0.18);
  outline-offset: 3px;
}

.errorlist,
.form-errors {
  margin: 0;
  padding: 0;
  color: #b42318;
  font-size: 14px;
  list-style: none;
}

.contact-form .button {
  justify-self: end;
  min-width: 190px;
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { width: 100%; justify-content: space-between; overflow-x: auto; }
  .home-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0 0;
  }
  .home-header nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 16px;
    overflow: visible;
    padding: 0 8px 10px;
    white-space: normal;
  }
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 34px;
  }
  .home-hero > *,
  .home-actions,
  .home-hero__signal,
  .signal-main,
  .signal-stack,
  .signal-stack > span {
    min-width: 0;
    max-width: 100%;
  }
  .home-kicker,
  .home-hero h1,
  .home-lead {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .home-actions { flex-direction: column; }
  .home-actions .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .signal-main {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }
  .home-strip,
  .home-grid.three,
  .brand-list {
    grid-template-columns: 1fr;
  }
  .brand-feature {
    grid-row: auto;
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }
  .brand-feature img { margin-inline: auto; }
  .home-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-contact {
    align-items: stretch;
    flex-direction: column;
  }
  .home-contact .button { width: 100%; }
  .about-hero,
  .about-copy,
  .about-pillars,
  .about-brand-list,
  .brand-hero,
  .brand-reference,
  .brand-reference-list,
  .brand-app-grid,
  .brand-related-grid {
    grid-template-columns: 1fr;
  }

  .province-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .province-hero, .province-link-grid { grid-template-columns: 1fr; }
  .province-callout { align-items: flex-start; flex-direction: column; }
  .portfolio-hero, .portfolio-intro, .portfolio-network { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card--featured { grid-row: auto; min-height: 440px; }
  .portfolio-network { gap: 26px; }
  .press-hero, .press-usage { grid-template-columns: 1fr; }
  .press-facts, .press-timeline, .press-downloads { grid-template-columns: 1fr; }
  .press-facts div { border-inline-start: 0; border-bottom: 1px solid #dce3e8; }
  .press-facts div:nth-last-child(-n + 3) { border-bottom: 1px solid #dce3e8; }
  .press-facts div:last-child { border-bottom: 0; }
  .press-brand-table a { grid-template-columns: 1fr auto; }
  .press-brand-table a > p { grid-column: 1 / -1; }
  .press-province-link, .press-contact { align-items: flex-start; flex-direction: column; }
  .career-hero, .job-hero, .job-layout, .candidate-layout, .apply-layout { grid-template-columns: 1fr; }
  .career-values, .career-form-grid { grid-template-columns: 1fr; }
  .career-values article { border-inline-start: 0; border-bottom: 1px solid #dce3e8; }
  .career-values article:last-child { border-bottom: 0; }
  .career-job-list > a { grid-template-columns: 1fr; }
  .career-account, .job-cta, .candidate-header { align-items: flex-start; flex-direction: column; }
  .job-process, .apply-profile { position: static; }
  .career-field--wide { grid-column: auto; }
  .advertising-hero, .advertising-definition, .advertising-process { grid-template-columns: 1fr; }
  .audience-grid, .advertising-team-grid { grid-template-columns: 1fr; }
  .advertising-value-grid { grid-template-columns: 1fr; }
  .advertising-value-grid article { border-inline-start: 0; border-bottom: 1px solid #dce3e8; }
  .advertising-value-grid article:last-child { border-bottom: 0; }
  .advertising-cta { align-items: flex-start; flex-direction: column; }
  .about-identity { min-height: auto; }
  .brand-actions {
    flex-direction: column;
  }
  .brand-actions .button {
    width: 100%;
  }
  .brand-facts {
    grid-template-columns: 1fr;
  }
  .brand-facts div,
  .brand-facts div:nth-child(2n),
  .brand-facts div:nth-last-child(-n + 2) {
    border-inline-start: 0;
    border-bottom: 1px solid #dfe5ea;
  }
  .brand-facts div:last-child {
    border-bottom: 0;
  }
  .contact-hero,
  .form-grid.two,
  .form-grid.three,
  .department-options {
    grid-template-columns: 1fr;
  }
  .department-option {
    white-space: normal;
  }
  .contact-form .button {
    justify-self: stretch;
    width: 100%;
  }
  .memorial-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }
  .memorial-hero__mark {
    width: 150px;
    justify-self: start;
    order: -1;
    margin-top: 16px;
  }
  .memorial-hero::before {
    top: 28px;
    width: 220px;
    height: 10px;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .memorial-live { margin-top: 0; }
  .program-item { grid-template-columns: 1fr; }
  .program-item::before { display: none; }
  .program-item div { padding-inline-start: 0; }
  .info-grid, .counter-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .coming-panel { padding: 28px 20px 34px; }
  .coming-panel::before {
    top: 20px;
    left: -64px;
    width: 210px;
    height: 30px;
  }
  .brand-logo { width: 82px; height: 82px; }
  .coming-panel .lead { font-size: 16px; }
  .text-link { margin-top: 28px; }
}

.reference-style {
  min-height: 100vh;
  padding-bottom: 32px;
  background:
    linear-gradient(90deg, #050506 0%, #101012 24%, #111113 50%, #101012 76%, #050506 100%);
  color: #f7f7f7;
}

.rahbar-shell {
  width: min(448px, 100%);
  margin: 0 auto;
  background: #111113;
  min-height: 100vh;
}

.rahbar-cover {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  min-height: 190px;
  padding: 26px 24px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 216, 123, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(91, 10, 12, 0.98), rgba(191, 24, 31, 0.9) 42%, #321012 100%);
}

.rahbar-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 19, 0.98));
}

.rahbar-cover__copy {
  position: relative;
  z-index: 1;
  color: #f4d482;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.rahbar-cover__copy span,
.rahbar-cover__copy strong {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.rahbar-cover__copy span { font-size: clamp(22px, 7vw, 34px); }
.rahbar-cover__copy strong { font-size: clamp(24px, 8vw, 38px); }

.rahbar-cover__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.rahbar-cover__logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.rahbar-card,
.rahbar-guide {
  width: calc(100% - 32px);
  margin: 24px auto 0;
  border-radius: 18px;
}

.rahbar-card {
  background: #171719;
  border: 1px solid rgba(237, 44, 53, 0.42);
  padding: 18px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.rahbar-live-card {
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.rahbar-card__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.rahbar-card__title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 4.6vw, 22px);
  line-height: 1.45;
}

.rahbar-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(237, 44, 53, 0.55);
  border-radius: 12px;
  background: rgba(237, 44, 53, 0.18);
}

.rahbar-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: #ef313a;
}

.video-icon::before { border-radius: 3px; box-shadow: -7px 0 0 -3px #ef313a; }
.announce-icon::before { clip-path: polygon(0 35%, 70% 0, 70% 100%, 0 65%); }
.shield-icon::before { clip-path: polygon(50% 0, 95% 18%, 84% 78%, 50% 100%, 16% 78%, 5% 18%); }
.leaf-icon::before { border-radius: 100% 0 100% 0; transform: rotate(-25deg); }

.rahbar-live-box {
  min-height: 190px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(39, 82, 31, 0.36), rgba(0, 0, 0, 0.78)),
    #070707;
  border: 1px solid rgba(237, 44, 53, 0.5);
  border-radius: 14px;
}

.rahbar-live-box p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.rahbar-guide {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 204px;
  padding: 28px 30px;
  border: 8px solid #f51f37;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 44%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(245, 31, 55, 0.2), rgba(0, 0, 0, 0.1)),
    image-set(url("../images/rahbar-guide-bg.webp") type("image/webp"), url("../images/rahbar-guide-bg.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  color: #f3d680;
  align-content: center;
}

.rahbar-guide::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 214, 128, 0.32);
  border-radius: 9px;
  pointer-events: none;
}

.rahbar-guide::after {
  content: "";
  position: absolute;
  inset-block: 26px;
  inset-inline-start: 24px;
  width: 4px;
  border-radius: 99px;
  background: #f51f37;
  box-shadow: 0 0 24px rgba(245, 31, 55, 0.65);
}

.rahbar-guide span,
.rahbar-guide strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 260px;
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.rahbar-guide span { font-size: 27px; }
.rahbar-guide strong {
  color: #fff;
  font-size: 22px;
}

.reference-style .notice-item,
.reference-style .program-item {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.reference-style .notice-item {
  border-top: 1px solid rgba(237, 44, 53, 0.32);
  padding: 14px 0 0;
}

.reference-style .notice-item h3,
.reference-style .program-item h3 {
  color: #fff;
  font-size: 17px;
}

.reference-style .notice-item p,
.reference-style .program-item p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0;
  font-size: 14px;
}

.external-news-section {
  overflow: hidden;
}

.external-news-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 44, 53, 0.34);
  color: inherit;
}

.external-news-thumb {
  display: block;
  width: 112px;
  aspect-ratio: 1.25;
  overflow: hidden;
  border: 1px solid rgba(237, 44, 53, 0.42);
  border-radius: 12px;
  background: #090909;
}

.external-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-news-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.external-news-copy strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.8;
}

.external-news-copy span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.external-news-copy em {
  width: fit-content;
  color: #ff3945;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.reference-style .program-list {
  gap: 0;
}

.reference-style .program-item {
  grid-template-columns: 1fr;
  padding: 18px 0 18px 24px;
  border-top: 1px solid rgba(237, 44, 53, 0.34);
}

.reference-style .program-item:first-child { border-top: 0; }
.reference-style .program-item::before {
  inset-block-start: 24px;
  inset-inline-start: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3945;
  box-shadow: 0 0 16px rgba(255, 57, 69, 0.7);
}

.reference-style .program-item time {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 57, 69, 0.42);
  border-radius: 999px;
  background: rgba(255, 57, 69, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  white-space: normal;
}

.reference-style .program-item div {
  padding-inline-start: 0;
}

.reference-style .program-item h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.75;
}

.past-program-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.past-program-list > h3 {
  margin-bottom: 8px;
  color: #ff3945;
  font-size: 18px;
}

.reference-style .past-program-item {
  padding-block: 14px;
  opacity: 0.82;
}

.reference-style .past-program-item h3 {
  font-size: 19px;
}

.reference-style .past-program-item time {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-strip {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-strip strong {
  color: #fff;
  font-size: 15px;
}

.contact-strip a {
  display: inline-flex;
  width: fit-content;
}

.info-accordion {
  display: grid;
  gap: 10px;
}

.info-accordion details {
  border: 1px solid rgba(237, 44, 53, 0.34);
  border-radius: 14px;
  background: #22191a;
  overflow: hidden;
}

.info-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 16px;
  color: #fff;
  font-weight: 700;
}

.info-accordion summary::-webkit-details-marker { display: none; }
.info-accordion summary::after {
  content: "+";
  float: left;
  color: #ff3945;
}

.info-accordion details[open] summary::after { content: "-"; }

.info-accordion ul {
  margin: 0;
  padding: 0 34px 18px 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.info-accordion li + li { margin-top: 8px; }

.reference-style .salawat-section {
  display: grid;
  gap: 14px;
  background: #171719;
  color: #fff;
  padding: 18px;
}

.salawat-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.reference-style .counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.reference-style .counter-grid div {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.reference-style .counter {
  min-height: auto;
  font-size: 28px;
}

.reference-style .counter-grid small {
  text-align: center;
}

.salawat-prayer-button,
.surah-card button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #f02b36;
  color: #fff;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
}

.salawat-prayer-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.reference-style .status {
  color: #fff;
  min-height: 24px;
}

.reference-style .status.error {
  color: #ff7a82;
}

.surah-card {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  margin-top: 2px;
  border-top: 1px solid rgba(237, 44, 53, 0.34);
}

.surah-card span {
  color: #fff;
  font-weight: 700;
}

.surah-card button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.surah-text {
  max-height: 420px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(237, 44, 53, 0.26);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.9);
  direction: rtl;
}

.surah-text .basmala {
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.surah-ayah {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.surah-ayah:first-of-type {
  border-top: 0;
}

.surah-ayah .arabic {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 20px;
  line-height: 2.35;
  text-align: justify;
}

.surah-ayah .translation {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 2;
  text-align: right;
}

@media (max-width: 460px) {
  .rahbar-shell { width: 100%; }
  .rahbar-cover {
    grid-template-columns: 1fr 116px;
    min-height: 172px;
    padding: 22px 18px 34px;
  }
  .rahbar-cover__logo {
    width: 108px;
    height: 108px;
  }
  .rahbar-cover__logo img {
    width: 68px;
    height: 68px;
  }
  .rahbar-card,
  .rahbar-guide {
    width: calc(100% - 32px);
    margin-top: 22px;
  }
  .rahbar-guide {
    min-height: 180px;
    padding: 24px;
  }
  .rahbar-guide span { font-size: 24px; }
  .rahbar-guide strong { font-size: 19px; }
  .external-news-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .external-news-thumb {
    width: 100%;
    aspect-ratio: 1.75;
  }
  .external-news-copy strong {
    font-size: 17px;
  }
  .surah-text {
    max-height: 360px;
    padding: 14px;
  }
  .surah-text .basmala {
    font-size: 20px;
  }
  .surah-ayah .arabic {
    font-size: 18px;
    line-height: 2.35;
  }
  .surah-ayah .translation {
    font-size: 14px;
  }
}

/* Newsroom */
.news-page { min-height: 100vh; background: #f6f7f8; color: #171a1f; }
.news-page a { color: inherit; text-decoration: none; }
.news-index-head { max-width: 1180px; margin: 0 auto; padding: 76px 32px 38px; display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 56px; }
.news-index-head h1 { margin: 8px 0 12px; font-size: clamp(38px, 5vw, 68px); line-height: 1.25; letter-spacing: 0; }
.news-index-head > div > p:last-child { max-width: 650px; margin: 0; color: #606771; font-size: 18px; line-height: 2; }
.news-search label { display: block; margin-bottom: 9px; font-weight: 700; }
.news-search div { display: grid; grid-template-columns: 1fr auto; border: 1px solid #d6dbe0; background: #fff; }
.news-search input { min-width: 0; border: 0; padding: 14px 16px; font: inherit; outline: 0; background: transparent; }
.news-search button { border: 0; padding: 0 22px; color: #fff; background: #c60d20; font: inherit; font-weight: 700; cursor: pointer; }
.news-categories { max-width: 1180px; margin: 0 auto 38px; padding: 0 32px 18px; display: flex; gap: 12px; overflow-x: auto; border-bottom: 1px solid #dfe2e5; }
.news-categories a { flex: 0 0 auto; padding: 9px 14px; color: #5d646d; border-bottom: 2px solid transparent; font-weight: 700; }
.news-categories a.active { color: #b80e1e; border-color: #c60d20; }
.news-featured { max-width: 1116px; margin: 0 auto 54px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); min-height: 430px; background: #171a1f; color: #fff; }
.news-featured__media { min-height: 430px; display: grid; place-items: center; overflow: hidden; background: #24282d; color: rgba(255,255,255,.4); font-size: 28px; font-weight: 800; }
.news-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.news-featured > div { align-self: center; padding: 48px; }
.news-featured h2 { margin: 18px 0; font-size: 34px; line-height: 1.6; letter-spacing: 0; }
.news-featured p { margin: 0 0 28px; color: #c5c9cf; line-height: 2; }
.news-meta { display: flex; align-items: center; gap: 13px; color: #777e87; font-size: 13px; }
.news-meta a { color: #c60d20; font-weight: 800; }
.news-featured .news-meta { color: #aeb4bc; }
.news-featured .news-meta a { color: #ff5b68; }
.news-grid { max-width: 1116px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.news-card { min-width: 0; background: #fff; border: 1px solid #e0e3e6; }
.news-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #eceff1; color: #b7bdc4; font-size: 24px; font-weight: 800; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card__media img { transform: scale(1.025); }
.news-card__copy { padding: 24px; }
.news-card h2 { margin: 15px 0 11px; font-size: 21px; line-height: 1.75; letter-spacing: 0; }
.news-card p { min-height: 76px; margin: 0 0 18px; color: #656c75; line-height: 1.9; }
.news-read { display: inline-flex; gap: 8px; color: #b80e1e !important; font-weight: 800; }
.news-pagination { max-width: 1116px; margin: 38px auto 0; display: flex; justify-content: center; align-items: center; gap: 18px; }
.news-pagination a { padding: 9px 16px; background: #171a1f; color: #fff; }
.news-empty { grid-column: 1 / -1; padding: 60px; text-align: center; background: #fff; border: 1px solid #e0e3e6; }
.news-empty h2 { margin: 0 0 8px; }
.news-empty p { margin: 0; color: #6b727a; }

.news-article { max-width: 920px; margin: 0 auto; padding: 76px 32px 30px; }
.news-article__head { max-width: 790px; margin: 0 auto 44px; }
.news-article__head h1 { margin: 18px 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.55; letter-spacing: 0; }
.news-article__head > p { margin: 0; color: #5d646d; font-size: 20px; line-height: 2; }
.news-hero-media, .news-media-item { margin: 0 0 36px; }
.news-hero-media img, .news-hero-media video, .news-media-item img, .news-media-item video { display: block; width: 100%; max-height: 720px; object-fit: contain; background: #111; }
.news-hero-media figcaption, .news-media-item figcaption { padding: 11px 4px; color: #727981; font-size: 14px; line-height: 1.8; }
.news-article__body { max-width: 790px; margin: 0 auto 42px; font-size: 18px; line-height: 2.25; }
.news-article__body p { margin: 0 0 24px; }
.news-media-gallery { display: grid; gap: 10px; }
.news-media-gallery:has(.news-media-item--image) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-media-item--video, .news-media-item--audio { grid-column: 1 / -1; }
.news-audio { display: grid; gap: 16px; padding: 26px; background: #171a1f; color: #fff; }
.news-audio audio { width: 100%; }
.news-tags { max-width: 790px; margin: 34px auto 0; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; border-top: 1px solid #dfe2e5; }
.news-tags span { margin-left: 7px; font-weight: 800; }
.news-tags b { padding: 6px 10px; background: #e8ebed; font-size: 13px; font-weight: 600; }
.news-source { max-width: 790px; margin: 18px auto; color: #717880; font-size: 14px; }
.news-source a { color: #b80e1e; }
.news-related { max-width: 1116px; margin: 50px auto 0; padding-top: 45px; border-top: 1px solid #dfe2e5; }
.news-related .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .news-index-head { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; }
  .news-featured { margin-inline: 24px; grid-template-columns: 1fr; }
  .news-featured__media { min-height: auto; aspect-ratio: 16 / 9; }
  .news-grid { padding-inline: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-related { margin-inline: 24px; }
  .news-related .news-grid { padding-inline: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .news-index-head { padding: 42px 18px 28px; }
  .news-index-head h1 { font-size: 38px; }
  .news-categories { padding-inline: 18px; }
  .news-featured { margin-inline: 18px; }
  .news-featured > div { padding: 28px 22px; }
  .news-featured h2 { font-size: 26px; }
  .news-grid, .news-related .news-grid { padding-inline: 18px; grid-template-columns: 1fr; }
  .news-related { margin-inline: 0; }
  .news-related .home-section__head { padding-inline: 18px; }
  .news-article { padding: 48px 18px 20px; }
  .news-article__head h1 { font-size: 34px; }
  .news-article__head > p, .news-article__body { font-size: 17px; }
  .news-media-gallery:has(.news-media-item--image) { grid-template-columns: 1fr; }
  .news-media-item { grid-column: 1 / -1; }
  .press-nav {
    position: static;
    flex-wrap: wrap;
    overflow: visible;
  }
  .press-nav a {
    flex: 1 1 calc(33.333% - 4px);
    min-width: 92px;
  }
}

@media (min-width: 2400px) {
  body { zoom: 1.25; }
}

.site-legal-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 18px 24px 30px; color: #697078; background: #f6f7f8; border-top: 1px solid #e2e5e8; font-size: 14px; }
.skip-link { position: fixed; z-index: 10000; top: 8px; right: 8px; padding: 10px 14px; color: #fff; background: #171a1f; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #16877e; outline-offset: 3px; }
.site-legal-nav a { color: inherit; text-decoration: none; }
.site-legal-nav a:hover { color: #b80e1e; }
.language-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 11px;
  border: 1px solid #d7dce0;
  color: #27313a;
  white-space: nowrap;
}
.language-link span { color: #b80e1e; font-size: 11px; font-weight: 900; }
.language-link strong { font-size: 13px; font-weight: 700; }
.language-link:hover { border-color: #b80e1e; color: #b80e1e; background: #fff7f7; }

.language-page { min-height: 100vh; background: #f7f8f9; }
.language-page__content { width: min(1040px, calc(100% - 32px)); margin-inline: auto; padding: clamp(54px, 8vw, 96px) 0 100px; }
.language-page__head { margin-bottom: 36px; }
.language-page__head p { margin: 0 0 8px; color: #b80e1e; font-size: 13px; font-weight: 900; }
.language-page__head h1 { margin: 0; color: #111820; font-size: clamp(34px, 5vw, 58px); letter-spacing: 0; }
.language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d9dde1; border-inline-start: 1px solid #d9dde1; background: #fff; }
.language-card { position: relative; display: grid; gap: 12px; min-height: 144px; padding: 28px; border-inline-end: 1px solid #d9dde1; border-bottom: 1px solid #d9dde1; color: #202a33; text-align: start; transition: color .18s ease, background .18s ease; }
.language-card > span { color: #7a858f; font-size: 12px; font-weight: 900; }
.language-card > strong { align-self: end; font-size: 24px; font-weight: 700; }
.language-card:hover { color: #b80e1e; background: #fff7f7; }
.language-card[aria-current="page"] { color: #a70d1b; background: #fff2f3; }
.language-card i { position: absolute; inset-block-start: 25px; inset-inline-end: 25px; width: 10px; height: 10px; border-radius: 50%; background: #c3141e; box-shadow: 0 0 0 5px rgba(195,20,30,.1); }
html[dir="ltr"] body { text-align: left; }
html[dir="ltr"] .home-header, html[dir="ltr"] .home-brand, html[dir="ltr"] .news-meta { direction: ltr; }
html[dir="ltr"] .legal-updated { border-right: 0; border-left: 3px solid #c60d20; }
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.legal-page, .error-page { min-height: 100vh; background: #f6f7f8; color: #171a1f; }
.legal-content { max-width: 920px; margin: 0 auto; padding: 72px 32px 80px; }
.legal-content h1 { margin: 8px 0 20px; font-size: clamp(36px, 5vw, 62px); line-height: 1.35; letter-spacing: 0; }
.legal-content h2 { margin: 38px 0 10px; font-size: 23px; letter-spacing: 0; }
.legal-content p, .legal-content li { color: #555d66; line-height: 2.15; }
.legal-content ul { padding-right: 22px; }
.legal-updated { padding: 12px 16px; border-right: 3px solid #c60d20; background: #fff; }
.error-content { min-height: 70vh; display: grid; place-content: center; justify-items: center; padding: 48px 20px; text-align: center; }
.error-code { color: #c60d20; font-size: 72px; font-weight: 900; }
.error-content h1 { margin: 8px 0; font-size: 32px; letter-spacing: 0; }
.error-content p { max-width: 560px; color: #626a73; line-height: 2; }
@media (max-width: 620px) { .legal-content { padding: 46px 18px 60px; } .legal-content h1 { font-size: 38px; } }
@media (max-width: 760px) {
  .language-link { align-self: center; margin-bottom: 14px; }
  .language-grid { grid-template-columns: 1fr; }
  .language-card { min-height: 112px; padding: 22px; }
  .language-card > strong { font-size: 21px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html:is([lang="ru"], [lang="tr"], [lang="az"], [lang="tg"]) body,
html:is([lang="ru"], [lang="tr"], [lang="az"], [lang="tg"]) button,
html:is([lang="ru"], [lang="tr"], [lang="az"], [lang="tg"]) input,
html:is([lang="ru"], [lang="tr"], [lang="az"], [lang="tg"]) select,
html:is([lang="ru"], [lang="tr"], [lang="az"], [lang="tg"]) textarea {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html:is([lang="ur"], [lang="ur-in"]) body,
html:is([lang="ur"], [lang="ur-in"]) button,
html:is([lang="ur"], [lang="ur-in"]) input,
html:is([lang="ur"], [lang="ur-in"]) select,
html:is([lang="ur"], [lang="ur-in"]) textarea {
  font-family: "Noto Nastaliq Urdu Local", "Vazirmatn", sans-serif;
}

html:is([lang="ur"], [lang="ur-in"]) body {
  line-height: 2;
}

html:is([lang="fa-af"], [lang="ps-af"], [lang="uz-arab-af"], [lang="tk-arab-af"]) body,
html:is([lang="fa-af"], [lang="ps-af"], [lang="uz-arab-af"], [lang="tk-arab-af"]) button,
html:is([lang="fa-af"], [lang="ps-af"], [lang="uz-arab-af"], [lang="tk-arab-af"]) input,
html:is([lang="fa-af"], [lang="ps-af"], [lang="uz-arab-af"], [lang="tk-arab-af"]) select,
html:is([lang="fa-af"], [lang="ps-af"], [lang="uz-arab-af"], [lang="tk-arab-af"]) textarea {
  font-family: "Noto Sans Arabic Local", "Vazirmatn", sans-serif;
}

html[lang="hi"] body,
html[lang="hi"] button,
html[lang="hi"] input,
html[lang="hi"] select,
html[lang="hi"] textarea {
  font-family: "Noto Sans Devanagari Local", "Noto Sans Local", sans-serif;
}

html[lang="zh-hans"] body,
html[lang="zh-hans"] button,
html[lang="zh-hans"] input,
html[lang="zh-hans"] select,
html[lang="zh-hans"] textarea {
  font-family: "Noto Sans SC Local", "Noto Sans Local", sans-serif;
}

html:is([lang="fr-fr"], [lang="de"], [lang="es-es"], [lang="pt-br"]) body,
html:is([lang="fr-fr"], [lang="de"], [lang="es-es"], [lang="pt-br"]) button,
html:is([lang="fr-fr"], [lang="de"], [lang="es-es"], [lang="pt-br"]) input,
html:is([lang="fr-fr"], [lang="de"], [lang="es-es"], [lang="pt-br"]) select,
html:is([lang="fr-fr"], [lang="de"], [lang="es-es"], [lang="pt-br"]) textarea {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html[lang="bn-bd"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Bengali Local", "Noto Sans Local", sans-serif;
}

html[lang="pa-guru"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Gurmukhi Local", "Noto Sans Local", sans-serif;
}

html[lang="th"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Thai Local", "Noto Sans Local", sans-serif;
}

html[lang="ja"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans JP Local", "Noto Sans Local", sans-serif;
}

html[lang="ko"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans KR Local", "Noto Sans Local", sans-serif;
}

html:is([lang="id"], [lang="ms"], [lang="vi"], [lang="et"], [lang="lv"], [lang="lt"], [lang="sw"], [lang="af"], [lang="so"], [lang="ha"], [lang="yo"], [lang="ig"], [lang="zu"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html[lang="el"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html[lang="hy"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Armenian Local", "Noto Sans Local", Arial, sans-serif;
}

html[lang="ka"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Georgian Local", "Noto Sans Local", Arial, sans-serif;
}

html[lang="am"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Ethiopic Local", "Noto Sans Local", Arial, sans-serif;
}

html:is([lang="ckb"], [lang="pa-arab-pk"], [lang="sd-arab-pk"], [lang="ar-sa"], [lang="ar-ae"], [lang="ar-iq"], [lang="ar-eg"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Arabic Local", "Vazirmatn", sans-serif;
}

html:is([lang="zh-hant"], [lang="zh-hant-hk"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans TC Local", "Noto Sans Local", sans-serif;
}

html:is([lang="ne"], [lang="mr"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Devanagari Local", "Noto Sans Local", sans-serif;
}

html[lang="si"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Sinhala Local", "Noto Sans Local", sans-serif;
}

html[lang="ta"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Tamil Local", "Noto Sans Local", sans-serif;
}

html[lang="te"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Telugu Local", "Noto Sans Local", sans-serif;
}

html[lang="gu"] :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Gujarati Local", "Noto Sans Local", sans-serif;
}

html:is([lang="ku"], [lang="uz-latn"], [lang="tk"], [lang="fr-ca"], [lang="es-mx"], [lang="pt-pt"], [lang="en-gb"], [lang="en-us"], [lang="kk"], [lang="ky"], [lang="uz-cyrl"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html[lang="ml"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Malayalam Local", "Noto Sans Local", sans-serif; }
html[lang="kn"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Kannada Local", "Noto Sans Local", sans-serif; }
html[lang="as"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Bengali Local", "Noto Sans Local", sans-serif; }
html[lang="or"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Odia Local", "Noto Sans Local", sans-serif; }
html[lang="my"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Myanmar Local", "Noto Sans Local", sans-serif; }
html[lang="km"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Khmer Local", "Noto Sans Local", sans-serif; }
html[lang="lo"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Lao Local", "Noto Sans Local", sans-serif; }
html[lang="yue"] :is(body, button, input, select, textarea) { font-family: "Noto Sans TC Local", "Noto Sans Local", sans-serif; }
html[lang="ti"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Ethiopic Local", "Noto Sans Local", sans-serif; }

html:is([lang="fil"], [lang="mn"], [lang="xh"], [lang="st"], [lang="tn"], [lang="rw"], [lang="mg"], [lang="sn"], [lang="ny"], [lang="om"], [lang="ff"], [lang="mt"], [lang="lb"], [lang="fo"], [lang="co"], [lang="sc"], [lang="eo"], [lang="fr-be"], [lang="fr-ch"], [lang="de-at"], [lang="de-ch"], [lang="es-ar"], [lang="es-co"], [lang="pt-ao"], [lang="en-ca"], [lang="en-au"], [lang="en-in"]) :is(body, button, input, select, textarea) {
  font-family: "Noto Sans Local", Arial, sans-serif;
}

html[lang="ug"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Arabic Local", "Vazirmatn", sans-serif; }
html:is([lang="bo"], [lang="dz"]) :is(body, button, input, select, textarea) { font-family: "Noto Serif Tibetan Local", serif; }
html[lang="ban"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Balinese Local", sans-serif; }
html[lang="iu"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Canadian Aboriginal Local", "Noto Sans Local", sans-serif; }
html[lang="zgh"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Tifinagh Local", "Noto Sans Local", sans-serif; }
html[lang="bs-cyrl"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Local", Arial, sans-serif; }
html[lang="zh-hans-sg"] :is(body, button, input, select, textarea) { font-family: "Noto Sans SC Local", "Noto Sans Local", sans-serif; }
html[lang="zh-hant-mo"] :is(body, button, input, select, textarea) { font-family: "Noto Sans TC Local", "Noto Sans Local", sans-serif; }
html[lang="ta-lk"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Tamil Local", "Noto Sans Local", sans-serif; }
html[lang="bn"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Bengali Local", "Noto Sans Local", sans-serif; }
html[lang="chr"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Cherokee Local", sans-serif; }
html[lang="yi"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Hebrew Local", sans-serif; }
html[lang="hyw"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Armenian Local", "Noto Sans Local", sans-serif; }
html[lang="ii"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Yi Local", sans-serif; }
html[lang="as-bd"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Bengali Local", "Noto Sans Local", sans-serif; }
html[lang="ks-arab"] :is(body, button, input, select, textarea),
html[lang="ha-arab"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Arabic Local", "Vazirmatn", sans-serif; }
html[lang="ks-deva"] :is(body, button, input, select, textarea),
html[lang="sd-deva"] :is(body, button, input, select, textarea),
html[lang="brx"] :is(body, button, input, select, textarea),
html[lang="doi"] :is(body, button, input, select, textarea),
html[lang="kok"] :is(body, button, input, select, textarea),
html[lang="mai"] :is(body, button, input, select, textarea),
html[lang="bho"] :is(body, button, input, select, textarea),
html[lang="awa"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Devanagari Local", "Noto Sans Local", sans-serif; }
html[lang="pa-in"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Gurmukhi Local", "Noto Sans Local", sans-serif; }
html[lang="sat"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Ol Chiki Local", sans-serif; }
html[lang="mni-mtei"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Meetei Mayek Local", sans-serif; }
html[lang="bo-in"] :is(body, button, input, select, textarea) { font-family: "Noto Serif Tibetan Local", serif; }
html[lang="mn-mong"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Mongolian Local", sans-serif; }
html[lang="ff-adlm"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Adlam Local", sans-serif; }
html[lang="jv-java"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Javanese Local", sans-serif; }
html[lang="su-sund"] :is(body, button, input, select, textarea) { font-family: "Noto Sans Sundanese Local", sans-serif; }
html:is([lang="ar-kw"], [lang="ar-qa"], [lang="ar-bh"], [lang="ar-om"], [lang="ar-jo"], [lang="ar-lb"], [lang="ar-sy"], [lang="ar-ma"], [lang="ar-dz"], [lang="ar-tn"]) :is(body, button, input, select, textarea) { font-family: "Noto Sans Arabic Local", "Vazirmatn", sans-serif; }
html:is([lang="jv"], [lang="su"], [lang="mi"], [lang="sm"], [lang="to"], [lang="ht"], [lang="gn"], [lang="ay"], [lang="qu"], [lang="kl"], [lang="crs"], [lang="mfe"], [lang="ln"], [lang="lg"], [lang="sw-tz"], [lang="nso"], [lang="ve"], [lang="ss"], [lang="nl-be"], [lang="it-ch"], [lang="ca-valencia"], [lang="sr-me"], [lang="ms-bn"]) :is(body, button, input, select, textarea) { font-family: "Noto Sans Local", Arial, sans-serif; }
