/* Self-hosted typefaces from the exact v4 source. */
@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-vietnamese-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Gulzar";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/gulzar-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Gulzar";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/gulzar-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Gulzar";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/gulzar-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/noto-naskh-arabic-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/noto-naskh-arabic-math-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/noto-naskh-arabic-symbols-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/noto-naskh-arabic-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/noto-naskh-arabic-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* The uploaded Ghost theme is served as-is, so v4's Tailwind preflight is
   reproduced here instead of relying on a build-time @import. */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul,
menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  background-color: transparent;
  background-image: none;
}

button,
[role="button"] {
  cursor: pointer;
}

button {
  padding: 0;
}

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

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

:root {
  color-scheme: light;
  --canvas: #ede7da;
  --canvas-deep: #dfd3bf;
  --paper: #faf7f0;
  --paper-soft: #f7f1e5;
  --paper-warm: #f0e5d2;
  --ink: #2f261f;
  --ink-soft: #55483d;
  --muted: #74665a;
  --brown: #6d3716;
  --brown-dark: #49250f;
  --navy: #1a2539;
  --navy-soft: #26344a;
  --teal: #026868;
  --brass: #c5994f;
  --brass-soft: #d0a758;
  --line: #d8c6a8;
  --line-soft: rgba(26, 37, 57, 0.11);
  --glass: rgba(250, 247, 240, 0.8);
  --glass-strong: rgba(250, 247, 240, 0.96);
  --shadow-sm: 0 5px 18px rgba(26, 37, 57, 0.06);
  --shadow-md: 0 16px 46px rgba(26, 37, 57, 0.1);
  --shadow-float: 0 28px 80px rgba(26, 37, 57, 0.17);
  --font-display: "Cormorant Garamond Variable", "Iowan Old Style",
    "Palatino Linotype", Georgia, serif;
  --font-body: "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
    Georgia, serif;
  --font-ar: "Noto Naskh Arabic Variable", "Geeza Pro",
    "Traditional Arabic", serif;
  --font-ur: "Gulzar", "Urdu Typesetting", "Noto Naskh Arabic Variable",
    serif;
  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --gh-font-heading: var(--font-display);
  --gh-font-body: var(--font-body);
  --site-width: 1220px;
  --reading-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 50% -8rem,
      rgba(216, 187, 138, 0.28),
      transparent 35rem
    ),
    radial-gradient(
      circle at 8% 34%,
      rgba(133, 85, 52, 0.055),
      transparent 24rem
    ),
    linear-gradient(180deg, var(--canvas) 0%, #f8f1e7 48%, var(--canvas) 100%);
  font-family: var(--font-ui);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

::selection {
  color: var(--brown-dark);
  background: #e8d4b4;
}

.site-root {
  min-height: 100vh;
  overflow: clip;
}

.site-chrome {
  min-height: 100vh;
}

.site-root--ur {
  font-family: var(--font-ur);
}

.site-root--ar {
  font-family: var(--font-ar);
}

.site-root--en {
  font-family: var(--font-ui);
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 500;
  padding: 10px 14px;
  color: #fffaf2;
  background: var(--brown);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 120;
  height: 3px;
  background: rgba(104, 65, 44, 0.08);
}

.reading-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass), var(--brown));
  transition: width 90ms linear;
}

/* Brand */

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--brown-dark);
  line-height: 1;
}

.brand__latin {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand__rule {
  width: 88%;
  height: 1px;
  margin-block: 7px 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brass),
    transparent
  );
}

.brand__arabic {
  font-family: var(--font-ar);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand--compact .brand__latin {
  font-size: 1.18rem;
}

.brand--compact .brand__rule {
  margin-block: 5px 3px;
}

.brand--compact .brand__arabic {
  font-size: 0.75rem;
}

/* Language gateway */

.gateway {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 28px;
  overflow: auto;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 239, 227, 0.88), rgba(239, 226, 207, 0.94)),
    radial-gradient(circle at 50% 12%, #fffdf8 0, transparent 42%);
  isolation: isolate;
}

.gateway::before,
.gateway::after {
  position: fixed;
  z-index: -1;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(104, 65, 44, 0.08);
  border-radius: 50%;
}

.gateway::before {
  inset-block-start: -15vw;
  inset-inline-start: -8vw;
  box-shadow:
    0 0 0 34px rgba(104, 65, 44, 0.022),
    0 0 0 68px rgba(104, 65, 44, 0.018);
}

.gateway::after {
  inset-block-end: -17vw;
  inset-inline-end: -7vw;
  box-shadow:
    0 0 0 38px rgba(104, 65, 44, 0.02),
    0 0 0 76px rgba(104, 65, 44, 0.016);
}

.gateway__glow {
  position: fixed;
  z-index: -1;
  width: 340px;
  height: 340px;
  pointer-events: none;
  filter: blur(70px);
  border-radius: 50%;
  opacity: 0.55;
}

.gateway__glow--one {
  inset-block-start: 8%;
  inset-inline-start: 8%;
  background: rgba(192, 143, 91, 0.2);
}

.gateway__glow--two {
  inset-inline-end: 5%;
  inset-block-end: 4%;
  background: rgba(104, 65, 44, 0.11);
}

.gateway__panel {
  width: min(100%, 920px);
  padding: clamp(36px, 6vw, 70px);
  text-align: center;
  background:
    linear-gradient(
      145deg,
      rgba(255, 253, 248, 0.92),
      rgba(247, 238, 224, 0.78)
    );
  border: 1px solid rgba(104, 65, 44, 0.19);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 6px rgba(255, 255, 255, 0.32),
    var(--shadow-float);
  backdrop-filter: blur(24px) saturate(112%);
  -webkit-backdrop-filter: blur(24px) saturate(112%);
  animation: gateway-enter 480ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.gateway__ornament,
.article-footer__ornament,
.home-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(240px, 70%);
  margin-inline: auto;
  color: var(--brass);
}

.gateway__ornament span,
.article-footer__ornament span,
.home-hero__ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    currentColor,
    transparent
  );
}

.gateway__ornament i,
.article-footer__ornament i,
.home-hero__ornament i {
  font-size: 0.47rem;
  font-style: normal;
}

.gateway .brand {
  margin-block: 28px 30px;
}

.gateway .brand__latin {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.gateway .brand__arabic {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.gateway__eyebrow,
.eyebrow,
.section-heading__kicker,
.topic-panel__kicker {
  margin: 0;
  color: var(--brown);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.gateway h1 {
  max-width: 700px;
  margin: 10px auto 12px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.gateway__description {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
}

.gateway__choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block-start: 36px;
}

.gateway-choice {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 14px;
  min-height: 104px;
  padding: 20px 22px;
  overflow: hidden;
  text-align: start;
  cursor: pointer;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.gateway-choice::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  content: "";
  background: var(--brass);
  transform: scaleY(0);
  transition: transform 160ms ease;
}

.gateway-choice:hover {
  background: rgba(255, 253, 248, 0.96);
  border-color: var(--brass-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gateway-choice:hover::before {
  transform: scaleY(1);
}

.gateway-choice__language {
  align-self: end;
  font-size: 1.36rem;
  font-weight: 650;
}

.gateway-choice--en .gateway-choice__language {
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.gateway-choice--ur {
  font-family: var(--font-ur);
}

.gateway-choice--ar {
  font-family: var(--font-ar);
}

.gateway-choice__continue {
  align-self: start;
  color: var(--muted);
  font-size: 0.79rem;
}

.gateway-choice__arrow {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: auto;
  color: #fffaf2;
  background: var(--brown);
  border-radius: 50%;
}

.gateway-choice__arrow svg {
  width: 17px;
}

.gateway__foot {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Header */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 90;
  min-height: 76px;
  background: var(--glass);
  border-block-end: 1px solid rgba(104, 65, 44, 0.14);
  box-shadow: 0 8px 32px rgba(51, 29, 18, 0.045);
  backdrop-filter: blur(20px) saturate(118%);
  -webkit-backdrop-filter: blur(20px) saturate(118%);
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 40px), var(--site-width));
  min-height: 76px;
  margin-inline: auto;
}

.header-brand-button {
  padding: 7px 16px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.icon-button:hover {
  color: var(--brown);
  background: rgba(255, 253, 248, 0.72);
  border-color: var(--line-soft);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.menu-button {
  justify-self: start;
  gap: 10px;
  padding-inline: 11px 15px;
}

.menu-button span {
  font-size: 0.82rem;
  font-weight: 650;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-locale {
  position: relative;
}

.site-locale__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 12px;
  cursor: pointer;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid rgba(104, 65, 44, 0.13);
  border-radius: 10px;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.site-locale__trigger:hover {
  background: rgba(255, 253, 248, 0.9);
  border-color: var(--line);
}

.site-locale__trigger > svg:first-child {
  width: 18px;
  stroke-width: 1.7;
}

.site-locale__trigger > svg:last-child {
  width: 14px;
  transition: transform 160ms ease;
}

.site-locale__trigger > svg.is-rotated {
  transform: rotate(180deg);
}

.site-locale__trigger span {
  min-width: 52px;
  font-size: 0.8rem;
  font-weight: 650;
}

.site-locale__menu {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 100;
  width: 190px;
  padding: 8px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: popover-in 150ms ease both;
}

.site-locale__label {
  display: block;
  padding: 7px 10px 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-locale__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding-inline: 10px;
  text-align: start;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.site-locale__menu button:hover,
.site-locale__menu button.is-active {
  background: var(--paper-warm);
}

.site-locale__menu button svg {
  width: 16px;
  color: var(--brown);
}

/* Home hero */

.home-main {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
  padding-block: 72px 110px;
}

.home-hero {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.home-hero__ornament {
  margin-block-end: 30px;
}

.site-root--ur .eyebrow,
.site-root--ar .eyebrow,
.site-root--ur .section-heading__kicker,
.site-root--ar .section-heading__kicker,
.site-root--ur .topic-panel__kicker,
.site-root--ar .topic-panel__kicker {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
}

.site-root--ur .eyebrow,
.site-root--ur .section-heading__kicker,
.site-root--ur .topic-panel__kicker {
  font-family: var(--font-ur);
}

.home-hero h1 {
  max-width: 760px;
  margin: 13px auto 15px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.45rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.site-root--ur .home-hero h1 {
  padding-block: 8px 16px;
  font-family: var(--font-ur);
  font-size: clamp(2.5rem, 5.4vw, 4.45rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
}

.site-root--ar .home-hero h1 {
  font-family: var(--font-ar);
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.home-hero__description {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(1.03rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.site-root--ur .home-hero__description {
  font-family: var(--font-ur);
  font-size: 1.08rem;
  line-height: 2.1;
}

.site-root--ar .home-hero__description {
  font-family: var(--font-ar);
  font-size: 1.16rem;
  line-height: 1.9;
}

.archive-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 620px;
  min-height: 58px;
  margin: 31px auto 0;
  padding-inline: 18px 13px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(104, 65, 44, 0.18);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.archive-search:focus-within {
  background: var(--paper);
  border-color: var(--brass);
  box-shadow:
    0 0 0 3px rgba(169, 120, 69, 0.12),
    var(--shadow-md);
}

.archive-search svg {
  width: 19px;
  stroke-width: 1.6;
}

.archive-search input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding-inline: 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.archive-search input::placeholder {
  color: #8f8176;
}

.archive-search kbd {
  padding: 5px 7px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(104, 65, 44, 0.1);
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
  margin-block-start: 88px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-block-end: 28px;
}

.section-heading > div:first-child {
  flex: none;
}

.section-heading__kicker {
  display: block;
  margin-block-end: 6px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  font-weight: 580;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-root--ur .section-heading h2 {
  font-family: var(--font-ur);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.7;
}

.site-root--ar .section-heading h2 {
  font-family: var(--font-ar);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
}

.section-heading__rule {
  flex: 1;
  height: 1px;
  margin-block-end: 5px;
  background: linear-gradient(90deg, var(--line), transparent);
}

[dir="rtl"] .section-heading__rule {
  background: linear-gradient(-90deg, var(--line), transparent);
}

/* Featured article */

.feature-card {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 253, 248, 0.98),
      rgba(248, 241, 230, 0.96)
    );
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.feature-card::before {
  position: absolute;
  inset-block-start: -165px;
  inset-inline-end: -155px;
  z-index: -1;
  width: 320px;
  height: 320px;
  content: "";
  border: 1px solid rgba(104, 65, 44, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(104, 65, 44, 0.025),
    0 0 0 60px rgba(104, 65, 44, 0.018);
}

.feature-card::after {
  position: absolute;
  inset-block: 12px;
  inset-inline: 12px;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(104, 65, 44, 0.07);
  border-radius: 15px;
}

.feature-card__top,
.feature-card__bottom,
.feature-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-root--ur .feature-card__badge,
.site-root--ar .feature-card__badge {
  letter-spacing: 0;
  text-transform: none;
}

.feature-card__badge span {
  width: 6px;
  height: 6px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(169, 120, 69, 0.12);
}

.feature-card__number,
.article-row__number {
  color: rgba(104, 65, 44, 0.35);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.feature-card__content {
  margin-block: 34px 27px;
  unicode-bidi: isolate;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding-inline: 10px;
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(169, 120, 69, 0.09);
  border: 1px solid rgba(169, 120, 69, 0.2);
  border-radius: 999px;
}

.feature-card__content h3 {
  max-width: 700px;
  margin: 13px 0 13px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.feature-card__content[lang="ur"] h3 {
  padding-block: 6px 12px;
  font-family: var(--font-ur);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.feature-card__content[lang="ar"] h3 {
  font-family: var(--font-ar);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.34;
}

.feature-card__content p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-card__content[lang="ur"] p {
  font-family: var(--font-ur);
  font-size: 1rem;
  line-height: 2.08;
}

.feature-card__content[lang="ar"] p {
  font-family: var(--font-ar);
  font-size: 1.12rem;
  line-height: 1.88;
}

.feature-card__meta {
  justify-content: flex-start;
  padding-block: 18px;
  color: var(--muted);
  font-size: 0.73rem;
  border-block: 1px solid var(--line-soft);
}

.feature-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.feature-card__meta svg {
  width: 15px;
  stroke-width: 1.6;
}

.feature-card__bottom {
  margin-block-start: 22px;
}

.language-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.68rem;
}

.language-availability > div {
  display: flex;
  gap: 5px;
}

.language-availability i {
  padding: 4px 7px;
  color: var(--brown);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.read-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding-inline: 19px 15px;
  color: #fffaf2;
  font-weight: 700;
  cursor: pointer;
  background: var(--brown);
  border: 1px solid var(--brown);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(104, 65, 44, 0.17);
  transition:
    background 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.read-button:hover {
  background: var(--brown-dark);
  box-shadow: 0 12px 26px rgba(68, 42, 29, 0.22);
  transform: translateY(-1px);
}

.read-button svg {
  width: 17px;
}

/* Article rows */

.article-rows {
  margin-block-start: 28px;
  border-block-start: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 36px 1fr 46px;
  gap: 22px;
  align-items: start;
  padding-block: 31px;
  border-block-end: 1px solid var(--line);
  transition: background 150ms ease;
}

.article-row:hover {
  background: rgba(255, 253, 248, 0.35);
}

.article-row__number {
  padding-block-start: 5px;
}

.article-row__content {
  display: block;
  padding: 0;
  text-align: start;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.article-row__category {
  color: var(--brown);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-root--ur .article-row__category,
.site-root--ar .article-row__category {
  letter-spacing: 0;
  text-transform: none;
}

.article-row h3 {
  margin: 7px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.article-row h3[lang="ur"] {
  padding-block: 3px 7px;
  font-family: var(--font-ur);
  font-size: clamp(1.45rem, 2.5vw, 1.82rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.article-row h3[lang="ar"] {
  font-family: var(--font-ar);
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.article-row p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-row p[lang="ur"] {
  font-family: var(--font-ur);
  line-height: 2;
}

.article-row p[lang="ar"] {
  font-family: var(--font-ar);
  font-size: 1rem;
  line-height: 1.8;
}

.article-row__date {
  color: var(--muted);
  font-size: 0.68rem;
}

.article-row__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-block-start: 22px;
  color: var(--brown);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.article-row:hover .article-row__arrow {
  color: #fffaf2;
  background: var(--brown);
  transform: translateX(2px);
}

[dir="rtl"] .article-row:hover .article-row__arrow {
  transform: translateX(-2px);
}

.article-row__arrow svg {
  width: 17px;
}

/* Topics */

.topic-panel {
  position: sticky;
  inset-block-start: 104px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid rgba(104, 65, 44, 0.15);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topic-panel__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-block-end: 22px;
  color: var(--brown);
  background: rgba(169, 120, 69, 0.1);
  border: 1px solid rgba(169, 120, 69, 0.2);
  border-radius: 11px;
}

.topic-panel__icon svg {
  width: 20px;
  stroke-width: 1.5;
}

.topic-panel h2 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.site-root--ur .topic-panel h2 {
  padding-block: 2px 8px;
  font-family: var(--font-ur);
  font-weight: 500;
  line-height: 1.75;
}

.site-root--ar .topic-panel h2 {
  font-family: var(--font-ar);
  font-weight: 600;
  line-height: 1.4;
}

.topic-panel > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.65;
}

.site-root--ur .topic-panel > p {
  font-family: var(--font-ur);
  line-height: 2;
}

.site-root--ar .topic-panel > p {
  font-family: var(--font-ar);
  font-size: 0.98rem;
  line-height: 1.8;
}

.topic-list {
  border-block-start: 1px solid var(--line-soft);
}

.topic-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 45px;
  padding: 0;
  text-align: start;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--line-soft);
  transition: color 150ms ease;
}

.topic-list button:hover,
.topic-list button.is-active {
  color: var(--brown);
}

.topic-list button.is-active span {
  font-weight: 750;
}

.topic-list i {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-style: normal;
}

.no-results {
  padding: 70px 24px;
  text-align: center;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.no-results svg {
  width: 34px;
  color: var(--brass);
  stroke-width: 1.3;
}

.no-results h3 {
  margin: 14px 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.no-results button {
  min-height: 42px;
  padding-inline: 15px;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Article reader */

.reader-main {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
  padding-block: 46px 110px;
}

.reader-shell {
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 7px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.back-link:hover {
  color: var(--brown);
}

.back-link svg {
  width: 17px;
  transition: transform 150ms ease;
}

.back-link:hover svg {
  transform: translateX(-2px);
}

[dir="rtl"] .back-link:hover svg {
  transform: translateX(2px);
}

.fatwa-article {
  margin-block-start: 28px;
}

.article-header {
  position: relative;
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 253, 248, 0.98),
      rgba(248, 241, 230, 0.95)
    );
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.article-header::before {
  position: absolute;
  inset-block-start: -210px;
  inset-inline-end: -195px;
  z-index: -1;
  width: 400px;
  height: 400px;
  content: "";
  border: 1px solid rgba(104, 65, 44, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(104, 65, 44, 0.02),
    0 0 0 72px rgba(104, 65, 44, 0.016);
}

.article-header::after {
  position: absolute;
  inset: 13px;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(104, 65, 44, 0.065);
  border-radius: 15px;
}

.article-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  color: var(--muted);
  font-size: 0.72rem;
}

.article-meta > span:not(.topic-chip) + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-inline-end: 12px;
  vertical-align: middle;
  content: "";
  background: var(--brass);
  border-radius: 50%;
}

.title-language {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

[dir="rtl"] .title-language {
  align-items: flex-start;
}

.title-language > span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.locale-segment {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(246, 237, 223, 0.9);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.locale-segment button {
  min-width: 78px;
  min-height: 38px;
  padding-inline: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 7px;
  transition:
    color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.locale-segment button:hover {
  color: var(--brown);
}

.locale-segment button.is-active {
  color: #fffaf2;
  background: var(--brown);
  box-shadow: 0 4px 12px rgba(104, 65, 44, 0.18);
}

.locale-segment--compact {
  padding: 3px;
  border-radius: 9px;
}

.locale-segment--compact button {
  min-width: 58px;
  min-height: 32px;
  padding-inline: 9px;
  font-size: 0.7rem;
  border-radius: 6px;
}

.localized-title {
  max-width: 820px;
  margin-block-start: 48px;
  text-align: start;
  unicode-bidi: isolate;
  animation: content-fade 180ms ease both;
}

.localized-title > p {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.localized-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.8vw, 5.2rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.localized-title--ur {
  padding-block: 6px 12px;
}

.localized-title--ur > p {
  font-family: var(--font-ur);
  letter-spacing: 0;
  text-transform: none;
}

.localized-title--ur h1 {
  font-family: var(--font-ur);
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.65;
}

.localized-title--ar > p {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
}

.localized-title--ar h1 {
  font-family: var(--font-ar);
  font-size: clamp(2.35rem, 5.8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.32;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-block-start: 30px;
}

.article-byline__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fffaf2;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--brown);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(104, 65, 44, 0.09);
}

.article-byline > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-byline strong {
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.article-byline > div span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.67rem;
}

.reading-toolbar {
  position: sticky;
  inset-block-start: 91px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 900px;
  min-height: 64px;
  margin: -1px auto 0;
  padding: 10px 14px 10px 19px;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid var(--line);
  border-block-start: 0;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 12px 34px rgba(51, 29, 18, 0.075);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.reading-toolbar__language,
.reading-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 11px;
}

.reading-toolbar__language > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.reading-toolbar__language > span svg {
  width: 16px;
}

.reading-toolbar__tools {
  gap: 3px;
}

.reading-toolbar__tools button {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 7px;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.reading-toolbar__tools button:hover {
  color: var(--brown);
  background: var(--paper-warm);
}

.reading-toolbar__tools button svg {
  width: 16px;
  stroke-width: 1.7;
}

.reading-toolbar__tools > i {
  width: 1px;
  height: 22px;
  margin-inline: 5px;
  background: var(--line);
}

.font-size-label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.article-body {
  width: min(calc(100% - 32px), var(--reading-width));
  margin: 56px auto 0;
  font-size: calc(1.14rem * var(--reader-scale));
  line-height: 1.82;
  text-align: start;
  unicode-bidi: isolate;
  animation: content-fade 180ms ease both;
}

.article-body--en {
  font-family: var(--font-body);
}

.article-body--ar {
  font-family: var(--font-ar);
  font-size: calc(1.29rem * var(--reader-scale));
  line-height: 1.95;
}

.article-body--ur {
  font-family: var(--font-ur);
  font-size: calc(1.19rem * var(--reader-scale));
  line-height: 2.2;
}

.question-block {
  position: relative;
  margin-block-end: 43px;
  padding: 27px 30px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--brass);
  border-radius: 14px;
}

.question-block > span,
.answer-label,
.source-note span {
  display: block;
  margin-block-end: 6px;
  color: var(--brown);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-body--ur .question-block > span,
.article-body--ur .answer-label,
.article-body--ur .source-note span {
  font-family: var(--font-ur);
  letter-spacing: 0;
  text-transform: none;
}

.article-body--ar .question-block > span,
.article-body--ar .answer-label,
.article-body--ar .source-note span {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
}

.question-block h2 {
  margin: 0;
  font-family: inherit;
  font-size: 1.25em;
  font-weight: 600;
  line-height: inherit;
}

.answer-block p {
  margin: 0 0 1.22em;
}

.answer-block p:first-of-type::first-letter {
  float: inline-start;
  margin-block-start: 0.06em;
  margin-inline-end: 0.08em;
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 3.2em;
  line-height: 0.76;
}

.article-body--ar .answer-block p:first-of-type::first-letter,
.article-body--ur .answer-block p:first-of-type::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.source-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  margin-block-start: 44px;
  padding: 22px 24px;
  color: var(--ink-soft);
  background: rgba(246, 237, 223, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.source-note > svg {
  width: 21px;
  margin-block-start: 3px;
  color: var(--brass);
  stroke-width: 1.5;
}

.source-note p {
  margin: 0;
  font-size: 0.88em;
  line-height: 1.65;
}

.article-footer {
  width: min(calc(100% - 32px), var(--reading-width));
  margin: 80px auto 0;
  text-align: center;
}

.article-footer__ornament {
  color: var(--line);
}

.article-footer > p {
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Drawer */

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  background: rgba(37, 23, 17, 0.32);
  border: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fade-in 180ms ease both;
}

.menu-drawer {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(92vw, 420px);
  padding: 30px;
  overflow-y: auto;
  background:
    linear-gradient(
      155deg,
      rgba(255, 253, 248, 0.98),
      rgba(244, 234, 219, 0.97)
    );
  border-inline-end: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  animation: drawer-in-ltr 250ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

[dir="rtl"] .menu-drawer {
  animation-name: drawer-in-rtl;
}

.menu-drawer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.menu-drawer__top .brand {
  align-items: flex-start;
}

.menu-drawer__description {
  max-width: 330px;
  margin: 38px 0 30px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.72;
}

.site-root--ur .menu-drawer__description {
  font-family: var(--font-ur);
  line-height: 2;
}

.site-root--ar .menu-drawer__description {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  line-height: 1.9;
}

.menu-drawer__nav {
  border-block-start: 1px solid var(--line);
}

.menu-drawer__nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 580;
  text-align: start;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--line);
}

.site-root--ur .menu-drawer__nav button {
  font-family: var(--font-ur);
  font-size: 1.25rem;
  font-weight: 500;
}

.site-root--ar .menu-drawer__nav button {
  font-family: var(--font-ar);
  font-size: 1.4rem;
  font-weight: 600;
}

.menu-drawer__nav button:hover {
  color: var(--brown);
}

.menu-drawer__nav svg {
  width: 19px;
  stroke-width: 1.5;
}

.menu-drawer__language {
  margin-block-start: 30px;
}

.menu-drawer__language > span {
  display: block;
  margin-block-end: 9px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.menu-drawer__socials,
.site-footer__socials {
  margin-block-start: 38px;
}

.menu-drawer__socials {
  display: flex;
  gap: 8px;
}

.menu-drawer__socials button,
.site-footer__socials button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--brown);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.menu-drawer__socials button:hover,
.site-footer__socials button:hover {
  color: #fffaf2;
  background: var(--brown);
  transform: translateY(-1px);
}

/* Footer */

.site-footer {
  padding-block: 58px 22px;
  background: rgba(50, 31, 21, 0.97);
  border-block-start: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__inner,
.site-footer__bottom {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 28px;
  padding-block-end: 42px;
}

.site-footer .brand {
  align-items: flex-start;
  color: #f7ead8;
}

.site-footer .brand__rule {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(216, 187, 138, 0.7),
    transparent
  );
}

.site-footer__inner > p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 246, 233, 0.66);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-root--ur .site-footer__inner > p {
  font-family: var(--font-ur);
  line-height: 2;
}

.site-root--ar .site-footer__inner > p {
  font-family: var(--font-ar);
  font-size: 1rem;
  line-height: 1.8;
}

.site-footer__socials {
  justify-self: end;
  margin: 0;
}

.site-footer__socials > span {
  display: block;
  margin-block-end: 8px;
  color: rgba(255, 246, 233, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
}

.site-footer__socials > div {
  display: flex;
  gap: 7px;
}

.site-footer__socials button {
  color: #f7ead8;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.15);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-start: 20px;
  color: rgba(255, 246, 233, 0.38);
  font-size: 0.66rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

/* Toast */

.toast {
  position: fixed;
  inset-inline-start: 50%;
  inset-block-end: 24px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 32px);
  min-height: 46px;
  padding: 10px 16px;
  color: #fffaf2;
  font-size: 0.78rem;
  background: rgba(55, 34, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

[dir="rtl"] .toast {
  transform: translate(50%, 16px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[dir="rtl"] .toast.is-visible {
  transform: translate(50%, 0);
}

.toast svg {
  width: 16px;
  color: var(--brass-soft);
}

/* Animations */

@keyframes gateway-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popover-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes content-fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drawer-in-ltr {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawer-in-rtl {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */

@media (max-width: 1000px) {
  .archive-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 34px;
  }

  .topic-panel {
    padding: 23px;
  }

  .reading-toolbar__language > span {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header__inner {
    min-height: 66px;
  }

  .site-header__inner {
    width: min(calc(100% - 24px), var(--site-width));
  }

  .site-header .brand__latin {
    font-size: 1rem;
  }

  .site-header .brand__arabic {
    font-size: 0.68rem;
  }

  .site-header .brand__rule {
    margin-block: 4px 2px;
  }

  .menu-button span {
    display: none;
  }

  .site-locale__trigger span {
    min-width: auto;
  }

  .site-locale__trigger > svg:first-child {
    display: none;
  }

  .home-main {
    width: min(calc(100% - 30px), var(--site-width));
    padding-block: 56px 84px;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    margin-block-start: 70px;
  }

  .topic-panel {
    position: static;
    order: -1;
  }

  .topic-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 22px;
  }

  .reader-main {
    width: min(calc(100% - 28px), 1040px);
    padding-block: 32px 84px;
  }

  .reading-toolbar {
    inset-block-start: 78px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  .gateway {
    padding: 12px;
  }

  .gateway__panel {
    padding: 32px 20px 28px;
    border-radius: 19px;
  }

  .gateway .brand {
    margin-block: 22px 24px;
  }

  .gateway h1 {
    font-size: 2.55rem;
  }

  .gateway__description {
    font-size: 0.94rem;
  }

  .gateway__choices {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-block-start: 27px;
  }

  .gateway-choice {
    min-height: 75px;
    padding: 14px 16px;
  }

  .gateway-choice__language {
    font-size: 1.12rem;
  }

  .gateway-choice--en .gateway-choice__language {
    font-size: 1.38rem;
  }

  .gateway-choice__arrow {
    width: 35px;
    height: 35px;
  }

  .site-header__inner {
    grid-template-columns: 46px 1fr auto;
  }

  .header-brand-button {
    justify-self: center;
    padding-inline: 5px;
  }

  .site-header .brand__latin {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  .search-button {
    display: none;
  }

  .site-locale__trigger {
    padding-inline: 10px;
  }

  .site-locale__trigger > svg:last-child {
    display: none;
  }

  .home-hero h1 {
    font-size: 3.18rem;
  }

  .site-root--ur .home-hero h1 {
    font-size: 2.55rem;
  }

  .site-root--ar .home-hero h1 {
    font-size: 2.7rem;
  }

  .archive-search {
    margin-block-start: 25px;
  }

  .archive-search kbd {
    display: none;
  }

  .section-heading {
    gap: 16px;
  }

  .section-heading__rule {
    display: none;
  }

  .feature-card {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .feature-card::after {
    inset: 9px;
    border-radius: 11px;
  }

  .feature-card__content {
    margin-block: 28px 22px;
  }

  .feature-card__content h3 {
    font-size: 2.42rem;
  }

  .feature-card__content[lang="ur"] h3 {
    font-size: 2rem;
  }

  .feature-card__content[lang="ar"] h3 {
    font-size: 2.15rem;
  }

  .feature-card__bottom {
    align-items: flex-end;
  }

  .language-availability {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .read-button {
    width: 48px;
    min-width: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .read-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .article-row {
    grid-template-columns: 27px 1fr 38px;
    gap: 11px;
  }

  .article-row p {
    -webkit-line-clamp: 3;
  }

  .article-row__arrow {
    width: 36px;
    height: 36px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .article-header {
    padding: 29px 22px 35px;
    border-radius: 16px;
  }

  .article-header::after {
    inset: 9px;
    border-radius: 11px;
  }

  .article-header__top {
    flex-direction: column;
    gap: 18px;
  }

  .title-language {
    align-items: flex-start;
    width: 100%;
  }

  [dir="rtl"] .title-language {
    align-items: flex-start;
  }

  .localized-title {
    margin-block-start: 34px;
  }

  .localized-title h1 {
    font-size: 3.05rem;
  }

  .localized-title--ur h1 {
    font-size: 2.35rem;
  }

  .localized-title--ar h1 {
    font-size: 2.55rem;
  }

  .reading-toolbar {
    position: relative;
    inset-block-start: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 13px;
  }

  .reading-toolbar__language {
    justify-content: space-between;
    width: 100%;
  }

  .reading-toolbar__tools {
    justify-content: center;
    width: 100%;
    padding-block-start: 8px;
    border-block-start: 1px solid var(--line-soft);
  }

  .reading-toolbar__language > span {
    display: inline-flex;
  }

  .locale-segment--compact {
    flex: 1;
  }

  .locale-segment--compact button {
    flex: 1;
    min-width: 0;
  }

  .article-body {
    width: calc(100% - 12px);
    margin-block-start: 42px;
    font-size: calc(1.08rem * var(--reader-scale));
  }

  .article-body--ar {
    font-size: calc(1.21rem * var(--reader-scale));
  }

  .article-body--ur {
    font-size: calc(1.13rem * var(--reader-scale));
  }

  .question-block {
    padding: 22px 20px;
  }

  .source-note {
    padding: 19px;
  }

  .article-footer {
    width: calc(100% - 12px);
  }

  .article-footer .locale-segment {
    width: 100%;
  }

  .article-footer .locale-segment button {
    flex: 1;
    min-width: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__socials {
    justify-self: start;
  }

  .site-footer__inner > p {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .site-header .brand__arabic {
    display: none;
  }

  .site-header .brand__rule {
    display: none;
  }

  .site-locale__trigger {
    max-width: 72px;
  }

  .site-locale__trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-main {
    width: calc(100% - 24px);
  }

  .home-hero h1 {
    font-size: 2.8rem;
  }

  .feature-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .article-row {
    grid-template-columns: 1fr 36px;
  }

  .article-row__number {
    display: none;
  }

  .menu-drawer {
    padding: 24px 20px;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header,
  .reading-toolbar,
  .site-locale__menu {
    background: var(--glass-strong);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Zubayr Abbasi identity and refined reading system */

body {
  background:
    radial-gradient(
      circle at 50% -10rem,
      rgba(197, 153, 79, 0.24),
      transparent 36rem
    ),
    radial-gradient(
      circle at 7% 34%,
      rgba(2, 104, 104, 0.045),
      transparent 25rem
    ),
    linear-gradient(180deg, var(--canvas) 0%, #f6efe3 48%, var(--canvas) 100%);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  color: var(--navy);
  background: rgba(197, 153, 79, 0.32);
}

.reading-progress {
  background: rgba(26, 37, 57, 0.1);
}

.reading-progress span {
  background: linear-gradient(90deg, var(--brass), var(--teal), var(--navy));
}

.logo-crop {
  position: relative;
  display: block;
  aspect-ratio: 1535 / 1174;
  overflow: hidden;
  background: transparent;
}

.logo-crop img {
  display: block;
  width: calc(100% + 2px);
  height: auto;
  margin-inline-start: -1px;
  mix-blend-mode: multiply;
  clip-path: inset(0 1px 0 0);
  transform: translateY(-11.78%);
}

.logo-crop--gateway {
  width: clamp(270px, 29vw, 360px);
}

.logo-crop--header {
  width: clamp(132px, 13vw, 150px);
}

.logo-crop--drawer {
  width: 152px;
}

.logo-crop--footer {
  width: clamp(132px, 14vw, 168px);
  background: var(--paper);
  border: 1px solid rgba(197, 153, 79, 0.48);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  isolation: isolate;
}

.brand__domain {
  display: none;
}

.gateway {
  background:
    linear-gradient(rgba(250, 247, 240, 0.9), rgba(237, 231, 218, 0.95)),
    radial-gradient(circle at 50% 12%, #fffdf8 0, transparent 42%);
}

.gateway::before,
.gateway::after {
  border-color: rgba(26, 37, 57, 0.08);
}

.gateway__glow--one {
  background: rgba(197, 153, 79, 0.22);
}

.gateway__glow--two {
  background: rgba(2, 104, 104, 0.1);
}

.gateway__panel {
  width: min(100%, 880px);
  padding: clamp(28px, 4.8vw, 56px);
  border-color: rgba(26, 37, 57, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 6px rgba(255, 255, 255, 0.28),
    var(--shadow-float);
}

.gateway .brand {
  margin-block: 18px 22px;
}

.gateway__ornament,
.home-hero__ornament {
  color: var(--brass);
}

.gateway__ornament i,
.home-hero__ornament i {
  color: var(--teal);
}

.gateway__eyebrow,
.eyebrow,
.section-heading__kicker,
.topic-panel__kicker {
  color: var(--teal);
}

.gateway h1,
.home-hero h1,
.section-heading h2,
.topic-panel h2 {
  color: var(--navy);
}

.gateway__choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 650px;
  margin-inline: auto;
}

.gateway-choice {
  border-color: rgba(26, 37, 57, 0.17);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.gateway-choice::before {
  background: linear-gradient(var(--brass), var(--teal));
}

.gateway-choice:hover {
  color: var(--navy);
  background: rgba(250, 247, 240, 0.98);
  border-color: var(--teal);
  box-shadow: 0 14px 32px rgba(26, 37, 57, 0.12);
  transform: none;
}

.gateway-choice__arrow {
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(197, 153, 79, 0.4);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.gateway-choice:hover .gateway-choice__arrow {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(2, 104, 104, 0.11);
}

.site-header,
.site-header__inner {
  min-height: 120px;
}

.site-header {
  background: rgba(250, 247, 240, 0.84);
  border-block-end-color: rgba(26, 37, 57, 0.15);
  box-shadow: 0 9px 32px rgba(26, 37, 57, 0.06);
}

.header-brand-button {
  padding-block: 2px;
}

.icon-button:hover,
.site-locale__trigger:hover {
  color: var(--teal);
  background: rgba(250, 247, 240, 0.94);
  border-color: rgba(2, 104, 104, 0.22);
}

.site-locale__trigger {
  border-color: rgba(26, 37, 57, 0.15);
}

.site-locale__menu button:hover,
.site-locale__menu button.is-active {
  color: var(--navy);
  background: rgba(197, 153, 79, 0.13);
}

.site-locale__menu button svg {
  color: var(--teal);
}

.archive-search {
  border-color: rgba(26, 37, 57, 0.16);
}

.archive-search:focus-within {
  border-color: var(--teal);
  box-shadow:
    0 0 0 3px rgba(2, 104, 104, 0.1),
    var(--shadow-md);
}

.feature-card {
  border-color: rgba(26, 37, 57, 0.18);
  box-shadow: 0 18px 46px rgba(26, 37, 57, 0.1);
}

.feature-card::before,
.article-header::before {
  border-color: rgba(2, 104, 104, 0.09);
  box-shadow:
    0 0 0 34px rgba(197, 153, 79, 0.025),
    0 0 0 68px rgba(26, 37, 57, 0.016);
}

.feature-card::after,
.article-header::after {
  border-color: rgba(197, 153, 79, 0.22);
}

.feature-card__badge {
  color: var(--teal);
}

.feature-card__badge span {
  background: var(--brass);
}

.feature-card__content h3 {
  color: var(--brown);
}

.site-root--ur .feature-card__content h3 {
  line-height: 1.82;
}

.topic-chip {
  color: var(--teal);
  background: rgba(2, 104, 104, 0.07);
  border-color: rgba(2, 104, 104, 0.2);
}

.read-button {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 8px 22px rgba(26, 37, 57, 0.2);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.read-button:hover {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(2, 104, 104, 0.2);
  transform: none;
}

.language-availability i {
  color: var(--navy);
  border-color: rgba(26, 37, 57, 0.16);
}

.topic-panel {
  background: rgba(250, 247, 240, 0.64);
  border-color: rgba(26, 37, 57, 0.16);
}

.topic-panel__icon {
  color: var(--teal);
  background: rgba(2, 104, 104, 0.07);
  border-color: rgba(2, 104, 104, 0.18);
}

.archive-principles ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--line-soft);
}

.archive-principles li {
  position: relative;
  padding: 12px 19px 12px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
  border-block-end: 1px solid var(--line-soft);
}

[dir="rtl"] .archive-principles li {
  padding: 12px 0 12px 19px;
}

.archive-principles li::before {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 2px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--brass);
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}

[dir="rtl"] .archive-principles li::before {
  inset-inline-start: 2px;
  inset-inline-end: auto;
}

.site-root--ur .archive-principles li {
  font-family: var(--font-ur);
  font-size: 0.92rem;
  line-height: 1.9;
}

.back-link:hover {
  color: var(--teal);
}

.article-header {
  border-color: rgba(26, 37, 57, 0.18);
}

.article-meta {
  font-family: var(--font-ui);
}

.localized-title {
  max-width: 900px;
  margin-block-start: 42px;
}

.localized-title h1 {
  color: var(--brown);
}

.localized-title--ur h1 {
  line-height: 1.82;
}

.article-attribution,
.localized-title > p.article-attribution {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
  text-transform: none;
}

.localized-title--ur > p.article-attribution {
  font-family: var(--font-ur);
  font-size: 1.1rem;
  line-height: 2;
}

.localized-title--ar > p.article-attribution {
  font-family: var(--font-ar);
  font-size: 1.14rem;
  line-height: 1.9;
}

.reading-toolbar {
  inset-block-start: 132px;
  max-width: 920px;
  background: rgba(250, 247, 240, 0.9);
  border-color: rgba(26, 37, 57, 0.16);
  box-shadow: 0 12px 34px rgba(26, 37, 57, 0.085);
}

.locale-segment {
  background: rgba(237, 231, 218, 0.76);
  border-color: rgba(26, 37, 57, 0.16);
}

.locale-segment button {
  min-height: 40px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.locale-segment button:hover {
  color: var(--teal);
  background: rgba(250, 247, 240, 0.8);
}

.locale-segment button.is-active {
  color: var(--paper);
  background: var(--teal);
  box-shadow: 0 4px 14px rgba(2, 104, 104, 0.2);
}

.locale-segment--article button {
  min-width: 72px;
}

.locale-segment--site button {
  min-width: 100px;
}

.reading-toolbar__tools button {
  min-width: 40px;
  height: 40px;
}

.reading-toolbar__tools button:hover {
  color: var(--teal);
  background: rgba(2, 104, 104, 0.07);
}

.article-body {
  color: var(--reading-ink, var(--ink));
}

.article-body--ur {
  font-family: var(--font-ur);
  font-size: calc(1.2rem * var(--reader-scale));
  line-height: 2.15;
}

.question-block {
  background: rgba(250, 247, 240, 0.74);
  border-color: rgba(26, 37, 57, 0.15);
  border-inline-start-color: var(--teal);
}

.question-block > span,
.answer-label {
  color: var(--teal);
}

.answer-label {
  margin-block-end: 18px;
}

.original-language-quote {
  position: relative;
  margin: 38px 0 42px;
  padding: 27px 30px;
  color: var(--navy);
  font-family: var(--font-ar);
  font-size: 1.08em;
  line-height: 1.95;
  background:
    linear-gradient(
      145deg,
      rgba(250, 247, 240, 0.96),
      rgba(240, 229, 210, 0.72)
    );
  border: 1px solid rgba(26, 37, 57, 0.17);
  border-inline-start: 3px solid var(--brass);
  border-radius: 14px;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.22);
}

.original-language-quote::after {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 18px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.original-language-quote > span {
  display: block;
  margin-block-end: 8px;
  color: var(--teal);
  font-size: 0.72em;
  font-weight: 700;
}

.original-language-quote p {
  margin: 0;
}

.source-disclosure {
  margin-block-start: 64px;
  overflow: hidden;
  color: var(--ink-soft);
  background: rgba(250, 247, 240, 0.72);
  border: 1px solid rgba(26, 37, 57, 0.17);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.source-disclosure summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  background:
    linear-gradient(
      100deg,
      rgba(197, 153, 79, 0.08),
      rgba(2, 104, 104, 0.035)
    );
  transition:
    color 180ms ease,
    background 180ms ease;
}

.source-disclosure summary::-webkit-details-marker {
  display: none;
}

.source-disclosure summary:hover {
  color: var(--teal);
  background:
    linear-gradient(
      100deg,
      rgba(197, 153, 79, 0.14),
      rgba(2, 104, 104, 0.07)
    );
}

.source-disclosure__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal);
  background: var(--paper);
  border: 1px solid rgba(197, 153, 79, 0.42);
  border-radius: 11px;
}

.source-disclosure__icon svg {
  width: 19px;
  stroke-width: 1.6;
}

.source-disclosure__summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.source-disclosure__summary-text strong {
  font-size: 0.88em;
}

.source-disclosure__summary-text small {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.62rem;
}

.source-disclosure__chevron {
  width: 18px;
  transition: transform 180ms ease;
}

.source-disclosure[open] .source-disclosure__chevron {
  transform: rotate(180deg);
}

.source-disclosure__content {
  padding: 26px;
  background: rgba(250, 247, 240, 0.92);
  border-block-start: 1px solid var(--line-soft);
}

.source-disclosure__heading,
.source-disclosure__link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.source-disclosure__heading {
  margin-block-end: 20px;
  color: var(--navy);
  font-weight: 700;
}

.source-disclosure__heading bdi {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
}

.source-disclosure dl {
  margin: 0;
}

.source-disclosure dl > div {
  display: grid;
  grid-template-columns: minmax(80px, 0.24fr) 1fr;
  gap: 18px;
  padding-block: 13px;
  border-block-start: 1px solid var(--line-soft);
}

.source-disclosure dt {
  color: var(--teal);
  font-size: 0.75em;
  font-weight: 700;
}

.source-disclosure dd {
  margin: 0;
  font-size: 0.86em;
  line-height: 1.65;
}

.source-disclosure__link-row {
  margin-block-start: 4px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line-soft);
}

.source-disclosure__link-row > span {
  color: var(--teal);
  font-size: 0.75em;
  font-weight: 700;
}

.source-disclosure__link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 14px;
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 9px;
  transition:
    background 180ms ease,
    border-color 180ms ease;
  unicode-bidi: isolate;
}

.source-disclosure__link-row a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.source-disclosure__link-row svg {
  flex: none;
  width: 15px;
}

.menu-drawer {
  border-inline-end-color: rgba(26, 37, 57, 0.17);
}

.menu-drawer__nav button:hover {
  color: var(--teal);
}

.site-footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 153, 79, 0.11), transparent 30rem),
    var(--navy);
  border-block-start: 2px solid var(--brass);
}

.site-footer__inner {
  align-items: center;
}

.site-footer__language {
  justify-self: end;
  color: rgba(250, 247, 240, 0.72);
  text-align: end;
}

.site-footer__language span {
  display: block;
}

.site-footer__language span:first-child {
  margin-block-end: 7px;
  color: rgba(250, 247, 240, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
}

.site-footer__language span:last-child {
  color: var(--brass-soft);
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.toast {
  background: rgba(26, 37, 57, 0.96);
}

@media (max-width: 820px) {
  .site-header,
  .site-header__inner {
    min-height: 96px;
  }

  .logo-crop--header {
    width: 118px;
  }

  .reading-toolbar {
    inset-block-start: 106px;
  }

  .site-footer__language {
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .gateway__panel {
    padding: 24px 19px 25px;
  }

  .logo-crop--gateway {
    width: clamp(220px, 72vw, 270px);
  }

  .gateway .brand {
    margin-block: 10px 15px;
  }

  .gateway__choices {
    grid-template-columns: 1fr;
  }

  .gateway-choice:hover {
    box-shadow: var(--shadow-sm);
  }

  .site-header__inner {
    grid-template-columns: 44px 1fr auto;
  }

  .logo-crop--header {
    width: 112px;
  }

  .localized-title {
    margin-block-start: 30px;
  }

  .localized-title--ur h1 {
    font-size: 2.15rem;
    line-height: 1.85;
  }

  .localized-title--ar h1 {
    font-size: 2.35rem;
  }

  .article-attribution,
  .localized-title > p.article-attribution {
    margin-block-start: 19px;
  }

  .reading-toolbar {
    position: sticky;
    inset-block-start: 104px;
    gap: 10px;
    padding: 10px;
  }

  .reading-toolbar__language > span {
    display: none;
  }

  .locale-segment--article {
    width: 100%;
  }

  .locale-segment--article button {
    flex: 1;
    min-width: 0;
    padding-inline: 6px;
  }

  .reading-toolbar__tools {
    padding-block-start: 7px;
  }

  .article-body--ur {
    font-size: calc(1.14rem * var(--reader-scale));
    line-height: 2.12;
  }

  .original-language-quote {
    padding: 23px 20px;
  }

  .source-disclosure summary {
    min-height: 70px;
    padding: 12px 14px;
  }

  .source-disclosure__content {
    padding: 20px 16px;
  }

  .source-disclosure dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .source-disclosure__link-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .source-disclosure__link-row a {
    width: 100%;
  }

  .site-footer__language {
    justify-self: start;
    text-align: start;
  }
}

@media (max-width: 390px) {
  .logo-crop--header {
    width: 102px;
  }

  .site-locale__trigger {
    max-width: 68px;
  }

  .locale-segment--article button {
    font-size: 0.68rem;
  }
}

/* Compact reading revision: bilingual gateway, publication rail, navigation and socials */

.gateway__panel {
  width: min(calc(100% - 32px), 760px);
  padding: clamp(24px, 4vw, 42px);
}

.gateway-logo-button,
.drawer-brand-button,
.footer-brand-button {
  display: inline-flex;
  padding: 0;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 18px;
}

.gateway-logo-button {
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.gateway-logo-button .brand,
.header-brand-button .brand,
.drawer-brand-button .brand,
.footer-brand-button .brand {
  transition:
    filter 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gateway-logo-button:hover .brand,
.gateway-logo-button:focus-visible .brand,
.header-brand-button:hover .brand,
.header-brand-button:focus-visible .brand,
.drawer-brand-button:hover .brand,
.drawer-brand-button:focus-visible .brand,
.footer-brand-button:hover .brand,
.footer-brand-button:focus-visible .brand {
  filter: drop-shadow(0 12px 16px rgba(26, 37, 57, 0.14));
  transform: translateY(-2px) scale(1.018);
}

.gateway-logo-button:focus-visible,
.header-brand-button:focus-visible,
.drawer-brand-button:focus-visible,
.footer-brand-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}

.logo-crop--gateway {
  width: clamp(210px, 28vw, 290px);
}

.gateway .brand {
  margin-block: 0 18px;
}

.gateway h1 {
  max-width: 580px;
  margin-block: 0 28px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.gateway__choices {
  gap: 12px;
  max-width: 610px;
}

.gateway-choice {
  min-height: 108px;
  padding: 20px;
}

.gateway-choice__language {
  font-size: 1.55rem;
}

.site-header,
.site-header__inner {
  min-height: 104px;
}

.logo-crop--header {
  width: 122px;
}

.brand__domain {
  font-size: 0.62rem;
}

.home-hero {
  padding-block: clamp(62px, 8vw, 104px) clamp(54px, 7vw, 88px);
}

.home-hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  line-height: 1.02;
}

.site-root--ur .home-hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  line-height: 1.5;
}

.home-hero__description {
  max-width: 650px;
  font-size: 0.98rem;
}

.site-root--ur .home-hero__description {
  font-size: 1.04rem;
  line-height: 1.95;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.site-root--ur .section-heading h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  line-height: 1.55;
}

.article-carousel {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(197, 153, 79, 0.55) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}

.article-carousel__track {
  display: grid;
  grid-auto-columns: minmax(min(86vw, 720px), 1fr);
  grid-auto-flow: column;
  gap: 18px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.article-carousel.is-single {
  overflow: visible;
}

.article-carousel.is-single .article-carousel__track {
  grid-auto-columns: 100%;
  padding-block-end: 0;
}

.article-carousel__slide {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feature-card__content h3 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.15;
}

.site-root--ur .feature-card__content h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  line-height: 1.68;
}

.feature-card__content p {
  font-size: 0.98rem;
  line-height: 1.72;
}

.site-root--ur .feature-card__content p {
  font-size: 0.98rem;
  line-height: 1.95;
}

.article-header {
  padding: clamp(24px, 4vw, 44px);
}

.localized-title {
  margin-block-start: 27px;
}

.localized-title h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
}

.localized-title--ur h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.55rem);
  line-height: 1.66;
}

.localized-title--ar h1 {
  font-size: clamp(1.75rem, 3.7vw, 2.8rem);
  line-height: 1.36;
}

.article-attribution,
.localized-title > p.article-attribution {
  margin-block-start: 17px;
  font-size: 0.94rem;
  line-height: 1.68;
}

.localized-title--ur > p.article-attribution {
  font-size: 1.02rem;
  line-height: 1.92;
}

.localized-title--ar > p.article-attribution {
  font-size: 1.05rem;
  line-height: 1.82;
}

.reading-toolbar {
  inset-block-start: 114px;
}

.article-body--en {
  font-size: calc(1.06rem * var(--reader-scale));
  line-height: 1.78;
}

.article-body--ur {
  font-size: calc(1.125rem * var(--reader-scale));
  line-height: 2;
}

.article-body--ar {
  font-size: calc(1.16rem * var(--reader-scale));
  line-height: 1.9;
}

.menu-drawer {
  width: min(94vw, 440px);
  padding: 25px;
}

.drawer-brand-button {
  flex: none;
}

.menu-drawer__description {
  margin: 24px 0 22px;
  font-size: 0.88rem;
}

.menu-drawer__nav {
  border-block-start-color: rgba(26, 37, 57, 0.13);
}

.menu-drawer__nav .drawer-direct-link,
.menu-drawer__nav .drawer-nav-group__trigger {
  min-height: 54px;
  padding-inline: 4px;
  color: var(--navy);
  font-size: 1.22rem;
  border-block-end-color: rgba(26, 37, 57, 0.13);
}

.site-root--ur .menu-drawer__nav .drawer-direct-link,
.site-root--ur .menu-drawer__nav .drawer-nav-group__trigger {
  font-size: 1.1rem;
  line-height: 1.8;
}

.drawer-nav-group__trigger > span:first-child {
  flex: 1;
}

.drawer-nav-group__trigger small {
  margin-inline: 10px 4px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-root--ur .drawer-nav-group__trigger small {
  font-family: var(--font-ur);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.drawer-nav-group__trigger > svg {
  transition: transform 180ms ease;
}

.drawer-nav-group__trigger[aria-expanded="true"] {
  color: var(--teal);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(2, 104, 104, 0.055),
    transparent
  );
}

.drawer-nav-group__trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.drawer-nav-group__items {
  padding: 6px 0 8px;
  background: rgba(250, 247, 240, 0.48);
  border-block-end: 1px solid rgba(26, 37, 57, 0.13);
}

.drawer-nav-group__items[hidden] {
  display: none;
}

.menu-drawer__nav .drawer-subnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 43px;
  padding: 6px 12px;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-align: start;
  border: 0;
}

.site-root--ur .menu-drawer__nav .drawer-subnav-link {
  font-family: var(--font-ur);
  font-size: 0.92rem;
  line-height: 1.8;
}

.menu-drawer__nav button.drawer-subnav-link {
  min-height: 43px;
  padding: 6px 12px;
  font-size: 0.78rem;
  border: 0;
  border-radius: 8px;
}

.site-root--ur .menu-drawer__nav button.drawer-subnav-link {
  font-size: 0.92rem;
}

.drawer-subnav-link.is-available {
  cursor: pointer;
}

.drawer-subnav-link.is-available:hover,
.drawer-subnav-link.is-available:focus-visible {
  color: var(--navy);
  background: rgba(197, 153, 79, 0.12);
}

.drawer-subnav-link.is-unavailable {
  color: rgba(79, 70, 62, 0.55);
}

.drawer-subnav-link small {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 700;
}

.menu-drawer__language {
  margin-block-start: 22px;
}

.menu-drawer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-start: 22px;
}

.menu-drawer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(250, 247, 240, 0.78);
  border: 1px solid rgba(26, 37, 57, 0.14);
  border-radius: 999px;
  transition:
    color 170ms ease,
    background 170ms ease,
    border-color 170ms ease,
    transform 170ms ease;
}

.menu-drawer__socials a:hover,
.menu-drawer__socials a:focus-visible {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.site-footer {
  padding-block-start: 48px;
}

.site-footer__inner {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(38px, 7vw, 90px);
}

.site-footer__brand-column {
  display: grid;
  justify-items: start;
  gap: 17px;
}

.site-footer__brand-column > p {
  max-width: 350px;
  margin: 0;
  color: rgba(250, 247, 240, 0.66);
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-root--ur .site-footer__brand-column > p {
  font-family: var(--font-ur);
  font-size: 0.95rem;
  line-height: 1.95;
}

.site-footer__language {
  justify-self: start;
  text-align: start;
}

.site-footer__social-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
}

.footer-social-group h2 {
  margin: 0 0 10px;
  color: var(--brass-soft);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-root--ur .footer-social-group h2 {
  font-family: var(--font-ur);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.footer-social-group > div {
  display: grid;
  gap: 4px;
}

.footer-social-group a {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 5px 7px;
  color: rgba(250, 247, 240, 0.74);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
  transition:
    color 170ms ease,
    background 170ms ease,
    transform 170ms ease;
}

.footer-social-group a:hover,
.footer-social-group a:focus-visible {
  color: var(--paper);
  background: rgba(2, 104, 104, 0.3);
  transform: translateX(2px);
}

[dir="rtl"] .footer-social-group a:hover,
[dir="rtl"] .footer-social-group a:focus-visible {
  transform: translateX(-2px);
}

.social-link__mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--brass-soft);
  font-size: 0.64rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(197, 153, 79, 0.3);
  border-radius: 50%;
}

.footer-social-group a > svg {
  width: 13px;
  opacity: 0.52;
  stroke-width: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .article-carousel {
    scroll-behavior: auto;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header__inner {
    min-height: 88px;
  }

  .logo-crop--header {
    width: 106px;
  }

  .reading-toolbar {
    inset-block-start: 96px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .gateway__panel {
    width: min(calc(100% - 24px), 520px);
    padding: 24px 17px;
  }

  .logo-crop--gateway {
    width: clamp(180px, 56vw, 230px);
  }

  .gateway .brand {
    margin-block: 0 13px;
  }

  .gateway h1 {
    margin-block-end: 22px;
    font-size: 1.85rem;
  }

  .gateway-choice {
    min-height: 88px;
    padding: 15px 16px;
  }

  .gateway-choice__language {
    font-size: 1.35rem;
  }

  .site-header,
  .site-header__inner {
    min-height: 84px;
  }

  .logo-crop--header {
    width: 100px;
  }

  .home-hero {
    padding-block: 52px 48px;
  }

  .home-hero h1 {
    font-size: 2rem;
  }

  .site-root--ur .home-hero h1 {
    font-size: 1.78rem;
    line-height: 1.52;
  }

  .section-heading h2 {
    font-size: 1.72rem;
  }

  .site-root--ur .section-heading h2 {
    font-size: 1.62rem;
  }

  .feature-card__content h3 {
    font-size: 1.7rem;
  }

  .site-root--ur .feature-card__content h3 {
    font-size: 1.55rem;
    line-height: 1.68;
  }

  .article-header {
    padding: 23px 19px 27px;
  }

  .localized-title {
    margin-block-start: 19px;
  }

  .localized-title h1 {
    font-size: 1.88rem;
    line-height: 1.08;
  }

  .localized-title--ur h1 {
    font-size: 1.52rem;
    line-height: 1.67;
  }

  .localized-title--ar h1 {
    font-size: 1.68rem;
    line-height: 1.38;
  }

  .article-attribution,
  .localized-title > p.article-attribution {
    margin-block-start: 14px;
    font-size: 0.9rem;
  }

  .reading-toolbar {
    inset-block-start: 92px;
  }

  .article-body--en {
    font-size: calc(1.02rem * var(--reader-scale));
  }

  .article-body--ur {
    font-size: calc(1.0625rem * var(--reader-scale));
    line-height: 2;
  }

  .article-body--ar {
    font-size: calc(1.1rem * var(--reader-scale));
  }

  .site-footer__social-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (max-width: 440px) {
  .brand__domain {
    display: none;
  }

  .menu-drawer {
    padding: 20px;
  }

  .site-footer__social-groups {
    grid-template-columns: 1fr;
  }
}

/* Version 4: retain search and publications while removing the intro/about blocks. */

.home-hero--search-only {
  padding-block: 0;
}

.home-hero--search-only .archive-search {
  margin-block-start: 0;
}

.archive-layout--single {
  grid-template-columns: minmax(0, 864px);
  justify-content: center;
}

/* Ghost rendering and interaction layer. */

body.za-locked {
  overflow: hidden;
}

.za-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

:where(.site-root svg:not(.za-symbols)) {
  width: 24px;
  height: 24px;
}

.site-root svg:not(.za-symbols) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direction-arrow--rtl {
  display: none;
}

.site-root--ur .direction-arrow--ltr {
  display: none;
}

.site-root--ur .direction-arrow--rtl {
  display: block;
}

.menu-drawer__nav a.drawer-direct-link,
.menu-drawer__nav a.drawer-subnav-link {
  text-decoration: none;
}

.menu-drawer__nav button.drawer-direct-link {
  width: 100%;
  background: transparent;
  border-inline: 0;
  border-block-start: 0;
}

.drawer-subnav-link svg,
.drawer-direct-link svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.feature-card a.read-button {
  text-decoration: none;
}

.article-attribution[hidden],
.question-block[hidden],
.article-carousel[hidden],
.article-carousel__slide[hidden] {
  display: none !important;
}

.fatwa-article.is-loading [data-article-header],
.fatwa-article.is-loading [data-article-body] {
  opacity: 0.56;
}

.fatwa-article [data-article-header],
.fatwa-article [data-article-body] {
  transition: opacity 140ms ease;
}

.locale-segment button:disabled {
  cursor: default;
}

.gh-content > * + * {
  margin-block-start: 1.42em;
}

.gh-content > p {
  margin-block-end: 1.42em;
}

.gh-content > p + p {
  margin-block-start: 0;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  margin-block: 1.8em 0.7em;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
}

.article-body--ur .gh-content h2,
.article-body--ur .gh-content h3,
.article-body--ur .gh-content h4 {
  font-family: var(--font-ur);
  line-height: 1.8;
}

.article-body--ar .gh-content h2,
.article-body--ar .gh-content h3,
.article-body--ar .gh-content h4 {
  font-family: var(--font-ar);
  line-height: 1.6;
}

.gh-content h2 {
  font-size: 1.55em;
}

.gh-content h3 {
  font-size: 1.3em;
}

.gh-content h4 {
  font-size: 1.1em;
}

.gh-content ul,
.gh-content ol {
  margin-block: 1.25em;
  padding-inline-start: 1.6em;
}

.gh-content ul {
  list-style: disc;
}

.gh-content ol {
  list-style: decimal;
}

.gh-content li + li {
  margin-block-start: 0.55em;
}

.gh-content a,
.source-disclosure__notes a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(2, 104, 104, 0.32);
  text-underline-offset: 0.17em;
}

.gh-content a:hover,
.source-disclosure__notes a:hover {
  color: var(--brown);
  text-decoration-color: currentColor;
}

.gh-content blockquote:not(.original-language-quote) {
  margin-block: 1.7em;
  padding: 18px 22px;
  color: var(--navy);
  background: rgba(250, 247, 240, 0.68);
  border-inline-start: 3px solid var(--brass);
  border-radius: 0 11px 11px 0;
}

[dir="rtl"] .gh-content blockquote:not(.original-language-quote) {
  border-radius: 11px 0 0 11px;
}

.gh-content img,
.gh-content video,
.gh-content iframe {
  margin-inline: auto;
  border-radius: 13px;
}

.gh-content figure {
  margin-block: 1.8em;
}

.gh-content figcaption {
  margin-block-start: 9px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.kg-width-wide,
.kg-width-full {
  width: 100%;
}

.kg-toggle-card,
.kg-callout-card,
.kg-file-card,
.kg-bookmark-card {
  margin-block: 1.6em;
  padding: 18px 20px;
  background: rgba(250, 247, 240, 0.76);
  border: 1px solid rgba(26, 37, 57, 0.15);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.kg-toggle-heading,
.kg-file-card-title,
.kg-bookmark-title {
  color: var(--navy);
  font-weight: 700;
}

.kg-toggle-content,
.kg-file-card-caption,
.kg-bookmark-description {
  color: var(--ink-soft);
}

.kg-file-card a,
.kg-bookmark-card a {
  text-decoration: none;
}

.source-disclosure__notes {
  padding-block: 14px;
  border-block-start: 1px solid var(--line-soft);
}

.source-disclosure__notes > * + * {
  margin-block-start: 0.8em;
}

.source-disclosure__notes p {
  font-size: 0.86em;
  line-height: 1.65;
}

.archive-language-empty {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-block-start: 32px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--navy);
  text-decoration: none;
  background: rgba(250, 247, 240, 0.75);
  border: 1px solid rgba(26, 37, 57, 0.14);
  border-radius: 9px;
}

.pagination a:hover {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
}

.pagination .page-number {
  color: var(--muted);
}

@media (max-width: 680px) {
  .gh-content blockquote:not(.original-language-quote),
  .kg-toggle-card,
  .kg-callout-card,
  .kg-file-card,
  .kg-bookmark-card {
    padding: 15px 16px;
  }
}
