@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'),
       url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-paper: #F7F5EF;
  --bg-sand: #EDE6D6;
  --bg-surface: #FFFFFF;
  --ink: #1B2624;
  --ink-muted: #445451;
  --teal-deep: #0F3D3A;
  --teal-brand: #1F7A74;
  --teal-brand-hover: #17625D;
  --teal-fill: #37A39D;
  --teal-tint: #E5F3F1;
  --gold: #B8893B;
  --border-soft: #DCD4C3;
  --shadow-soft: 0 12px 28px -12px rgba(15, 61, 58, 0.14);
  --shadow-card: 0 6px 20px -10px rgba(15, 61, 58, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --base-size: 18px;
  --font-sans: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg-paper);
  caret-color: var(--teal-brand);
  overflow-x: clip;
}

::selection {
  background: rgba(55, 163, 157, 0.24);
  color: var(--ink);
}

a {
  color: var(--teal-brand);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--teal-brand-hover);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

.de-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.de-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--teal-deep);
  color: #FFFFFF;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}

.de-skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

.de-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.de-reading-wrap {
  max-width: 760px;
}

.de-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Header */
.de-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar .de-site-header {
    top: 46px;
  }
}

@media (min-width: 783px) {
  body.admin-bar .de-site-header {
    top: 32px;
  }
}

.de-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.de-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.de-brand-mark {
  width: 44px;
  height: 44px;
  padding: 4px;
  background: #FFFFFF;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--border-soft);
}

.de-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.de-brand-name {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.de-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* Desktop Navigation */
.de-desktop-nav {
  display: none;
}

.de-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.de-nav-list > li {
  position: relative;
}

.de-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.de-nav-list > li > a:hover,
.de-nav-list > li.current-menu-item > a:not([href*="#topik"]),
.de-nav-list > li.current-menu-ancestor > a {
  background: var(--bg-sand);
  color: var(--teal-deep);
}

.de-nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 120;
}

.de-nav-list li.menu-item-has-children:hover > .sub-menu,
.de-nav-list li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.de-nav-list .sub-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.de-nav-list .sub-menu a:hover {
  background: var(--teal-tint);
  color: var(--teal-deep);
}

/* Header Tools */
.de-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.de-font-controls {
  display: none;
  align-items: center;
  background: var(--bg-sand);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 2px;
}

.de-font-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 40px;
  min-height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.de-font-btn[aria-pressed="true"] {
  background: var(--teal-deep);
  color: #FFFFFF;
}

.de-icon-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.de-icon-btn:hover {
  background: var(--bg-sand);
  border-color: var(--teal-brand);
}

.de-header-search {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-paper);
  padding-block: 14px;
}

/* Mobile Dialog Drawer */
.de-mobile-drawer {
  margin: 0 0 0 auto;
  padding: 0;
  width: min(360px, 100vw);
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border: 0;
  border-left: 1px solid var(--border-soft);
  background: var(--bg-paper);
  color: var(--ink);
  box-shadow: -12px 0 32px rgba(15, 61, 58, 0.22);
}

.de-mobile-drawer::backdrop {
  background: rgba(15, 61, 58, 0.48);
}

.de-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.de-drawer-title {
  font-weight: 700;
  color: var(--teal-deep);
}

.de-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.de-drawer-font {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.de-drawer-font .de-font-controls {
  display: inline-flex;
}

.de-drawer-font-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.de-mobile-nav-list,
.de-mobile-nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.de-mobile-nav-list ul {
  padding-left: 16px;
  border-left: 1px solid var(--border-soft);
  margin-left: 10px;
}

.de-mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.de-mobile-nav-list a:hover {
  background: var(--bg-sand);
}

/* Search Form */
.de-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.de-search-input {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.de-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--teal-brand);
  border: 1px solid var(--teal-brand);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.de-search-submit:hover {
  background: var(--teal-brand-hover);
}

/* Buttons & Chips */
.de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.de-btn-sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

.de-btn-primary {
  background: var(--teal-brand);
  color: #FFFFFF;
}

.de-btn-primary:hover {
  background: var(--teal-brand-hover);
  color: #FFFFFF;
}

.de-btn-outline {
  background: var(--bg-surface);
  color: var(--teal-deep);
  border-color: var(--border-soft);
}

.de-btn-outline:hover {
  background: var(--teal-tint);
  border-color: var(--teal-brand);
  color: var(--teal-deep);
}

.de-btn-light {
  background: #FFFFFF;
  color: var(--teal-deep);
}

.de-btn-light:hover {
  background: var(--bg-sand);
  color: var(--teal-deep);
}

.de-btn-ghost-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

.de-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.de-btn-whatsapp {
  background: #146C43;
  color: #FFFFFF;
}

.de-btn-whatsapp:hover {
  background: #0F5132;
  color: #FFFFFF;
}

.de-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.de-chip:hover,
.de-chip.is-active {
  background: var(--teal-deep);
  color: #FFFFFF;
  border-color: var(--teal-deep);
}

.de-chip-hero {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
}

.de-chip-hero:hover {
  background: var(--teal-fill);
  color: #FFFFFF;
  border-color: var(--teal-fill);
}

/* Hero Section */
.de-hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: #FFFFFF;
  padding-block: clamp(40px, 6vw, 76px);
  border-bottom: 3px solid var(--gold);
}

.de-hero-pattern {
  position: absolute;
  inset: 0;
  color: rgba(237, 230, 214, 0.1);
  pointer-events: none;
}

.de-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.de-hero-copy,
.de-hero-visual {
  min-width: 0;
}

.de-hero-org {
  margin: 0 0 12px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(184, 137, 59, 0.55);
  color: #F7F5EF;
  font-size: 0.82rem;
  font-weight: 600;
}

.de-hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #FFFFFF;
}

.de-hero-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.9);
  max-width: 56ch;
}

.de-hero-search {
  margin-bottom: 18px;
}

.de-hero-search .de-search-submit {
  background: var(--teal-fill);
  border-color: var(--teal-fill);
  color: #092624;
}

.de-hero-search .de-search-submit:hover {
  background: #4CB8B2;
}

.de-hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.de-chips-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(247, 245, 239, 0.85);
}

.de-hero-visual {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
}

.de-arch-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px;
  overflow: hidden;
  border: 2px solid rgba(184, 137, 59, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.45);
}

.de-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.de-hero-badge {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  max-width: max-content;
  background: var(--bg-paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.de-hero-badge strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}

.de-hero-badge span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Sections */
.de-section {
  padding-block: clamp(44px, 6vw, 72px);
}

.de-section-sand {
  background: var(--bg-sand);
}

.de-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.de-section-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--teal-deep);
  text-wrap: balance;
}

.de-section-sub {
  margin: 6px 0 0;
  color: var(--ink-muted);
  max-width: 60ch;
}

.de-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--teal-brand);
}

/* Topics Grid */
.de-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 18px;
}

.de-topic-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.de-topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-brand);
  color: var(--ink);
}

.de-topic-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-sand);
  overflow: hidden;
}

.de-topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.de-topic-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.de-topic-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 720;
  color: var(--teal-deep);
}

.de-topic-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* Fallback Media */
.de-media-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--teal-deep);
  color: rgba(237, 230, 214, 0.22);
  text-align: center;
}

.de-media-girih {
  position: absolute;
  inset: 0;
}

.de-media-fallback-label {
  position: relative;
  z-index: 1;
  color: #F7F5EF;
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(15, 61, 58, 0.78);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 137, 59, 0.5);
}

/* Article Cards */
.de-latest-lead {
  margin-bottom: 24px;
}

.de-card-grid {
  display: grid;
  gap: 22px;
}

.de-card-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
}

.de-card-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}

.de-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.de-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-brand);
}

.de-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-sand);
  overflow: hidden;
}

.de-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.de-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--teal-deep);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(184, 137, 59, 0.6);
}

.de-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px;
  gap: 10px;
}

.de-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.de-card-cat {
  font-weight: 700;
  color: var(--teal-brand);
  text-decoration: none;
}

.de-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 730;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.de-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.de-card-title a:hover {
  color: var(--teal-brand);
}

.de-card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.de-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.de-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.de-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--teal-brand);
}

.de-card-feature-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

/* Panduan Ibadah */
.de-ibadah-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.de-ibadah-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.de-ibadah-media {
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}

.de-ibadah-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.de-ibadah-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.de-ibadah-body h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--teal-deep);
}

.de-ibadah-body p {
  margin: 0;
  color: var(--ink-muted);
}

.de-ibadah-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.de-ibadah-list a {
  font-weight: 600;
  text-decoration: none;
}

.de-ibadah-list a:hover {
  text-decoration: underline;
}

.de-ibadah-body .de-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Leaflets */
.de-leaflet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 18px;
}

.de-leaflet-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.de-leaflet-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.de-leaflet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-deep);
}

.de-leaflet-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-brand);
}

.de-leaflet-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.38;
}

.de-leaflet-title a {
  color: var(--ink);
  text-decoration: none;
}

.de-leaflet-title a:hover {
  color: var(--teal-brand);
}

.de-leaflet-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Partners */
.de-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 18px;
}

.de-partner-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.de-partner-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.de-partner-imgs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.de-partner-imgs img,
.de-partner-uni-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.de-partner-sig {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--teal-deep);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  border: 1px solid var(--border-soft);
}

.de-partner-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-brand);
}

.de-partner-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--teal-deep);
}

.de-partner-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* CTA Band */
.de-cta-band {
  background: var(--teal-deep);
  color: #FFFFFF;
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 2px solid var(--gold);
}

.de-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.de-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: #FFFFFF;
}

.de-cta-inner p {
  margin: 0;
  color: rgba(247, 245, 239, 0.88);
  max-width: 58ch;
}

.de-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Archive & Page Headers */
.de-archive-header {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: #FFFFFF;
  padding-block: clamp(28px, 4vw, 52px);
  border-bottom: 2px solid var(--gold);
}

.de-archive-pattern {
  position: absolute;
  inset: 0;
  color: rgba(237, 230, 214, 0.1);
  pointer-events: none;
}

.de-archive-inner {
  position: relative;
  z-index: 1;
}

.de-archive-title {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 780;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  text-wrap: balance;
}

.de-archive-desc {
  margin: 0;
  color: rgba(247, 245, 239, 0.9);
  max-width: 64ch;
}

.de-archive-search {
  margin-top: 18px;
  max-width: 560px;
}

.de-subcat-chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.de-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* Breadcrumbs */
.de-breadcrumbs {
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.de-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.de-breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 6px;
  opacity: 0.6;
}

.de-archive-header .de-breadcrumbs a,
.de-archive-header .de-breadcrumbs li {
  color: rgba(247, 245, 239, 0.9);
}

/* Single Post */
.de-single-header {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: 16px;
}

.de-single-cats {
  margin-bottom: 10px;
}

.de-badge-cat {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(31, 122, 116, 0.25);
}

.de-single-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--teal-deep);
  text-wrap: balance;
}

.de-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 22px;
}

.de-single-figure {
  margin: 0 0 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* Table of Contents */
.de-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.de-toc-title {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--teal-deep);
}

.de-toc-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.de-toc-level-3 {
  margin-left: 16px;
  font-size: 0.92rem;
}

.de-toc-list a {
  text-decoration: none;
  font-weight: 600;
}

.de-toc-list a:hover {
  text-decoration: underline;
}

/* Prose Reading Typography */
.de-prose {
  font-size: calc(var(--base-size) + 1px);
  line-height: 1.72;
  max-width: 68ch;
  color: var(--ink);
}

.de-prose > *:first-child {
  margin-top: 0;
}

.de-prose h1,
.de-prose h2,
.de-prose h3,
.de-prose h4 {
  color: var(--teal-deep);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-top: 1.85em;
  margin-bottom: 0.55em;
  text-wrap: balance;
}

.de-prose h2 {
  font-size: 1.42rem;
}

.de-prose h3 {
  font-size: 1.18rem;
}

.de-prose p,
.de-prose ul,
.de-prose ol,
.de-prose blockquote {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.de-prose li + li {
  margin-top: 0.4em;
}

.de-prose img {
  border-radius: var(--radius-sm);
  margin-block: 1.4em;
}

.de-prose figure {
  margin: 1.5em 0;
}

.de-prose figcaption {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 6px;
}

.de-prose blockquote {
  margin-inline: 0;
  padding: 16px 20px;
  background: var(--bg-sand);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.de-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.4em;
  font-variant-numeric: tabular-nums;
}

.de-prose th,
.de-prose td {
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  text-align: left;
}

.de-prose th {
  background: var(--bg-sand);
}

.de-prose .wp-block-embed__wrapper,
.de-prose .wp-block-video {
  position: relative;
}

.de-prose .wp-block-file__embed {
  display: none;
}

.de-prose .wp-block-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-block: 1.2em;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.de-prose .wp-block-file a:not(.wp-block-file__button) {
  font-weight: 650;
  word-break: break-word;
}

.de-prose .wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  background: var(--teal-brand);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.de-prose .wp-block-file .wp-block-file__button:hover {
  background: var(--teal-brand-hover);
}

.de-prose iframe[src*="youtube"],
.de-prose iframe[src*="youtu.be"],
.de-prose .wp-block-embed iframe,
.de-prose video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius-md);
  border: 0;
}

/* PDF Download Box inside Single */
.de-pdf-box {
  margin-top: 32px;
  background: var(--teal-tint);
  border: 1px solid rgba(31, 122, 116, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.de-pdf-box-title {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  color: var(--teal-deep);
}

.de-pdf-box-desc {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.de-pdf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.de-pdf-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}

.de-pdf-link:hover {
  border-color: var(--teal-brand);
}

.de-pdf-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-brand);
  font-weight: 700;
}

/* Medical Disclaimer Box */
.de-disclaimer-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--bg-sand);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.de-disclaimer-icon {
  color: var(--teal-deep);
  padding-top: 2px;
}

.de-disclaimer-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--teal-deep);
}

.de-disclaimer-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Share Bar */
.de-share-bar {
  margin-top: 24px;
  margin-bottom: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.de-share-label {
  font-weight: 700;
  color: var(--teal-deep);
}

.de-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact Page Cards */
.de-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.de-contact-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.de-contact-card .de-btn {
  margin-top: auto;
  max-width: 100%;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  font-size: 0.86rem;
  padding: 10px 14px;
}

.de-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-deep);
}

.de-contact-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--teal-deep);
}

.de-contact-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Empty & 404 */
.de-empty-state,
.de-404-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.de-404-code {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-brand);
  font-variant-numeric: tabular-nums;
}

.de-404-card h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  color: var(--teal-deep);
}

.de-404-topics h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--teal-deep);
}

.de-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Pagination */
.de-pagination {
  margin-top: 36px;
}

.de-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.de-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.de-pagination .page-numbers.current {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #FFFFFF;
}

.de-pagination a.page-numbers:hover {
  border-color: var(--teal-brand);
  background: var(--teal-tint);
}

/* Footer */
.de-site-footer {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: #F7F5EF;
  padding-block: 44px 28px;
}

.de-footer-pattern {
  position: absolute;
  inset: 0;
  color: rgba(237, 230, 214, 0.08);
  pointer-events: none;
}

.de-footer-inner {
  position: relative;
  z-index: 1;
}

.de-footer-partners {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.de-footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.de-partner-badge {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
}

.de-partner-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.de-partner-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(184, 137, 59, 0.55);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

.de-partner-lockup img {
  height: 34px;
  width: auto;
}

.de-partner-lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.de-partner-lockup-text strong {
  font-size: 0.88rem;
  color: #FFFFFF;
}

.de-partner-lockup-text span {
  font-size: 0.74rem;
  color: rgba(247, 245, 239, 0.85);
}

.de-footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

.de-footer-brand {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
}

.de-footer-desc {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: rgba(247, 245, 239, 0.88);
  max-width: 56ch;
}

.de-footer-disclaimer {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  color: #F7F5EF;
}

.de-footer-heading {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.de-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.de-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(247, 245, 239, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
}

.de-footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.de-footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(247, 245, 239, 0.85);
}

.de-footer-bottom p {
  margin: 0;
}

.de-result-count {
  margin: 0 0 20px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Responsive Breakpoints */
@media (min-width: 760px) {
  .de-font-controls {
    display: inline-flex;
  }

  .de-hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }

  .de-ibadah-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .de-card-feature {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
  }

  .de-card-feature .de-card-media {
    aspect-ratio: auto;
    min-height: 290px;
  }

  .de-footer-grid {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
  }
}

@media (min-width: 980px) {
  .de-desktop-nav {
    display: block;
  }

  .de-menu-toggle {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
