:root {
  --wstp-bg: #f6fbfa;
  --wstp-surface: #ffffff;
  --wstp-ink: #122321;
  --wstp-muted: #4f615e;
  --wstp-line: #cfe0dc;
  --wstp-teal: #06736c;
  --wstp-teal-dark: #044f4a;
  --wstp-action-dark: #102b28;
  --wstp-gold: #b9852c;
  --wstp-coral: #d9664f;
  --wstp-blue: #326f9f;
  --wstp-soft-teal: #eef9f7;
  --wstp-soft-blue: #eef6fd;
  --wstp-soft-gold: #fff7e6;
  --wstp-soft-coral: #fff1ed;
  --wstp-shadow: 0 18px 45px rgba(18, 35, 33, 0.09);
  --wstp-radius: 8px;
  --wstp-font-ar: "Noto Sans Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --wstp-font-en: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --wstp-text-xs: 0.8125rem;
  --wstp-text-sm: 0.9rem;
  --wstp-text-base: 1rem;
  --wstp-text-md: 1.0625rem;
  --wstp-text-lg: 1.18rem;
  --wstp-text-xl: 1.3rem;
  --wstp-text-2xl: 1.62rem;
  --wstp-text-3xl: 1.95rem;
  --wstp-leading-tight: 1.32;
  --wstp-leading-body: 1.75;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--wstp-bg);
  max-width: 100%;
}

body.wstp {
  margin: 0;
  color: var(--wstp-ink);
  background:
    linear-gradient(180deg, rgba(7, 141, 132, 0.08), transparent 300px),
    var(--wstp-bg);
  font-family: var(--wstp-font-ar);
  font-size: 16px;
  line-height: var(--wstp-leading-body);
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.wstp,
.wstp * {
  min-width: 0;
}

.wstp a,
.wstp a:hover,
.wstp a:focus,
.wstp a:active {
  text-decoration: none;
}

.wstp-title-band,
.wstp-hero-panel,
.wstp-next,
.wstp-section,
.wstp-copy,
.wstp-card,
.wstp-month,
.wstp-guide,
.wstp-guide-group,
.wstp-directory-panel,
.wstp-directory-countries,
.wstp-topic-group,
.wstp-city-card,
.wstp-link-grid a,
.wstp-table-meta,
.wstp-tool,
.wstp-faq,
.wstp-footer {
  --wstp-text-xs: 0.6875rem;
  --wstp-text-sm: 0.775rem;
  --wstp-text-base: 0.875rem;
  --wstp-text-md: 0.9375rem;
  --wstp-text-lg: 1.055rem;
  --wstp-text-xl: 1.175rem;
  --wstp-text-2xl: 1.495rem;
  --wstp-text-3xl: 1.825rem;
  --wstp-leading-body: 1.62;
}

.wstp-section,
.wstp-copy,
.wstp-card,
.wstp-month,
.wstp-guide,
.wstp-guide-group,
.wstp-directory-panel,
.wstp-directory-countries,
.wstp-topic-group,
.wstp-city-card,
.wstp-link-grid a,
.wstp-table-meta,
.wstp-tool,
.wstp-faq,
.wstp-footer {
  font-size: var(--wstp-text-base);
  line-height: var(--wstp-leading-body);
}

.wstp-card,
.wstp-copy,
.wstp-guide-intro,
.wstp-guide-group,
.wstp-topic-group,
.wstp-directory-panel,
.wstp-tool,
.wstp-faq details,
.wstp-internal-links details {
  color: var(--wstp-ink);
}

.wstp-card p,
.wstp-copy p,
.wstp-guide-intro p,
.wstp-guide-group p,
.wstp-topic-group-body,
.wstp-directory-panel p,
.wstp-directory-countries p,
.wstp-faq p {
  color: #2f4642;
}

.wstp-card h2,
.wstp-card h3,
.wstp-copy h2,
.wstp-copy h3,
.wstp-guide-intro h2,
.wstp-guide-group h2,
.wstp-topic-group summary,
.wstp-faq summary {
  color: #102b28;
}

.wstp-en {
  font-family: var(--wstp-font-en);
  line-height: 1.7;
}

body.wstp.wstp-en {
  direction: ltr;
  font-family: var(--wstp-font-en);
}

.wstp-shell {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 0 32px;
}

.wstp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 20px;
}

.wstp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wstp-ink);
  text-decoration: none;
}

.wstp-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0 16%, transparent 17%),
    conic-gradient(from 30deg, var(--wstp-teal), #59b8aa, var(--wstp-gold), var(--wstp-teal));
  box-shadow: inset 0 0 0 4px #e8f5f2;
}

.wstp-brand b,
.wstp-brand small {
  display: block;
}

.wstp-brand b {
  font-size: var(--wstp-text-md);
  line-height: 1.25;
}

.wstp-brand small {
  color: var(--wstp-muted);
  line-height: 1.2;
  font-size: var(--wstp-text-xs);
}

.wstp-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wstp-header nav a,
.wstp-actions a,
.wstp-link-grid a {
  color: var(--wstp-ink);
  text-decoration: none;
}

.wstp-header nav a,
.wstp-actions a,
.wstp-search button,
.wstp-link-grid a,
.wstp-city-card,
.wstp-schedule-link-grid a,
.wstp-share-card button,
.wstp-footer-links a {
  min-height: 44px;
}

.wstp-header nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--wstp-muted);
  font-size: var(--wstp-text-sm);
  font-weight: 700;
}

.wstp-header nav a:hover,
.wstp-header nav a:focus,
.wstp-header nav .wstp-lang-switch {
  color: var(--wstp-teal-dark);
  background: #e5f4f1;
}

.wstp-root,
.wstp-hero,
.wstp-city-hero,
.wstp-title-band {
  border: 1px solid var(--wstp-line);
  background: var(--wstp-surface);
  border-radius: var(--wstp-radius);
  box-shadow: var(--wstp-shadow);
}

.wstp-root {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 42px 24px;
}

.wstp-hero,
.wstp-city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
}

.wstp-title-band {
  padding: 28px;
  margin-bottom: 18px;
}

.wstp-kicker {
  display: inline-flex;
  color: var(--wstp-teal-dark);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: var(--wstp-text-sm);
}

h1,
h2,
h3 {
  line-height: var(--wstp-leading-tight);
  margin: 0 0 12px;
  letter-spacing: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--wstp-text-3xl);
}

.wstp-root h1,
.wstp-hero h1,
.wstp-city-hero h1,
.wstp-title-band h1 {
  max-width: 24ch;
}

.wstp-root h1 {
  margin-inline: auto;
}

.wstp-title-band h1 {
  font-size: var(--wstp-text-2xl);
}

.wstp-city-hero h1 {
  font-size: var(--wstp-text-3xl);
}

h2 {
  font-size: var(--wstp-text-xl);
}

h3 {
  font-size: var(--wstp-text-lg);
}

p {
  margin: 0 0 12px;
  font-size: var(--wstp-text-base);
  overflow-wrap: anywhere;
}

.wstp-hero p,
.wstp-title-band p,
.wstp-city-hero p {
  color: var(--wstp-muted);
  max-width: 70ch;
  font-size: var(--wstp-text-md);
}

.wstp-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.wstp-search input {
  flex: 1 1 240px;
  width: min(100%, 520px);
  border: 1px solid var(--wstp-line);
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-size: var(--wstp-text-base);
  background: #fbfefd;
}

.wstp-search button {
  border: 0;
  border-radius: var(--wstp-radius);
  padding: 13px 18px;
  background: var(--wstp-teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wstp-search button:hover,
.wstp-search button:focus {
  background: var(--wstp-teal-dark);
}

.wstp-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.wstp-actions a {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--wstp-teal);
  color: #fff;
  font-weight: 700;
  font-size: var(--wstp-text-sm);
}

.wstp-actions a + a {
  background: var(--wstp-action-dark);
  color: #fff;
}

.wstp-hero-panel,
.wstp-next,
.wstp-card {
  background: var(--wstp-surface);
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
}

.wstp-badges {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.wstp-badges span {
  display: block;
  padding: 12px;
  border-radius: var(--wstp-radius);
  background: #eef8f5;
  color: var(--wstp-teal-dark);
  font-weight: 700;
  font-size: var(--wstp-text-sm);
}

.wstp-next {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(5, 106, 100, 0.98), rgba(37, 91, 132, 0.95)),
    var(--wstp-teal);
  color: #f7fffd;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wstp-next span,
.wstp-next small {
  color: #e6f7f3;
}

.wstp-next strong {
  font-size: var(--wstp-text-2xl);
  line-height: 1.1;
}

.wstp-next-time {
  font-size: var(--wstp-text-xl);
  font-weight: 800;
  margin: 8px 0;
}

.wstp-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.wstp-count b {
  min-width: 48px;
  text-align: center;
  background: rgba(6, 35, 32, 0.35);
  border: 1px solid rgba(247, 255, 253, 0.32);
  border-radius: var(--wstp-radius);
  padding: 8px;
  font-size: var(--wstp-text-lg);
}

.wstp-section,
.wstp-copy,
.wstp-card,
.wstp-month,
.wstp-guide,
.wstp-daily-share,
.wstp-share-card {
  margin-top: 18px;
}

.wstp-section h2 {
  margin: 0 0 12px;
}

.wstp-city-grid,
.wstp-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.wstp-city-card,
.wstp-link-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 108px;
  padding: 16px;
  background: var(--wstp-surface);
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  box-shadow: 0 8px 20px rgba(18, 35, 33, 0.04);
  font-weight: 700;
  font-size: var(--wstp-text-base);
}

.wstp-topic-groups {
  column-count: 3;
  column-gap: 12px;
}

.wstp-topic-group {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: var(--wstp-surface);
  overflow: hidden;
  padding: 0;
  margin: 0 0 12px;
}

.wstp-topic-group h3 {
  margin: 0 0 10px;
  font-size: var(--wstp-text-md);
  color: var(--wstp-ink);
}

.wstp-topic-group summary {
  align-items: center;
  color: var(--wstp-ink);
  cursor: pointer;
  display: flex;
  font-size: var(--wstp-text-base);
  font-weight: 800;
  gap: 10px;
  justify-content: space-between;
  line-height: var(--wstp-leading-tight);
  list-style: none;
  min-height: 56px;
  padding: 13px 14px;
}

.wstp-topic-group summary::-webkit-details-marker {
  display: none;
}

.wstp-topic-group summary::after {
  align-items: center;
  background: rgba(7, 141, 132, 0.1);
  border: 1px solid rgba(7, 141, 132, 0.2);
  border-radius: 999px;
  color: var(--wstp-teal-dark);
  content: "+";
  display: inline-flex;
  flex: 0 0 28px;
  font-size: var(--wstp-text-md);
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.wstp-topic-group[open] summary {
  background: rgba(7, 141, 132, 0.055);
  border-bottom: 1px solid var(--wstp-line);
}

.wstp-topic-group[open] summary::after {
  content: "-";
}

.wstp-topic-group-body {
  padding: 12px 14px 14px;
}

.wstp-topic-group .wstp-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 7px;
}

.wstp-topic-group .wstp-link-grid a {
  min-height: 42px;
  padding: 8px 10px;
  font-size: var(--wstp-text-sm);
  box-shadow: none;
}

.wstp-content-sections {
  padding-bottom: 2px;
}

.wstp-content-sections > h2 {
  margin-bottom: 14px;
}

.wstp-directory-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background:
    linear-gradient(135deg, rgba(7, 141, 132, 0.08), rgba(50, 111, 159, 0.06)),
    var(--wstp-surface);
}

.wstp-directory-panel-simple {
  grid-template-columns: minmax(0, 1fr);
  padding: 18px;
}

.wstp-directory-panel-simple .wstp-directory-search {
  max-width: 720px;
}

.wstp-directory-panel p,
.wstp-directory-countries p {
  max-width: 78ch;
  color: var(--wstp-muted);
}

.wstp-directory-search {
  margin-top: 14px;
}

.wstp-directory-countries .wstp-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.wstp-directory-countries-compact {
  padding: 18px;
}

.wstp-directory-countries-compact h2 {
  margin-bottom: 12px;
}

.wstp-directory-countries-compact .wstp-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.wstp-directory-countries .wstp-link-grid a {
  min-height: 48px;
  padding: 10px 12px;
  font-size: var(--wstp-text-sm);
  box-shadow: none;
}

.wstp-directory-countries-compact .wstp-link-grid a {
  min-height: 42px;
  padding: 8px 10px;
}

.wstp-directory-more {
  margin-top: 12px;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: #fff;
}

.wstp-directory-more summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--wstp-teal-dark);
  font-weight: 800;
  font-size: var(--wstp-text-sm);
}

.wstp-directory-more[open] summary {
  border-bottom: 1px solid var(--wstp-line);
}

.wstp-directory-more:not([open]) .wstp-city-link-pager {
  display: none;
}

.wstp-directory-more .wstp-city-link-pager {
  padding: 12px;
}

.wstp-city-card:hover,
.wstp-link-grid a:hover,
.wstp-city-card:focus,
.wstp-link-grid a:focus {
  border-color: var(--wstp-teal);
  box-shadow: 0 10px 28px rgba(7, 141, 132, 0.13);
}

.wstp-link-grid a {
  color: #102b28;
}

.wstp-city-card span,
.wstp-city-card small {
  display: block;
  color: #465d59;
}

.wstp-city-card strong {
  display: block;
  font-size: var(--wstp-text-lg);
  color: var(--wstp-ink);
  overflow-wrap: anywhere;
}

.wstp-city-card span,
.wstp-city-card small {
  font-size: var(--wstp-text-sm);
}

.wstp-city-grid {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.wstp-city-grid .wstp-city-card {
  min-height: 52px;
  padding: 9px 10px;
}

.wstp-city-grid .wstp-city-card strong {
  font-size: var(--wstp-text-sm);
  line-height: 1.35;
}

.wstp-city-grid .wstp-city-card span,
.wstp-city-grid .wstp-city-card small {
  font-size: 0.74rem;
  line-height: 1.3;
}

.wstp-schedule-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wstp-schedule-link-grid a {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid #bfd8d3;
  border-inline-start: 4px solid var(--wstp-teal);
  border-radius: var(--wstp-radius);
  background:
    linear-gradient(135deg, var(--wstp-soft-teal), #ffffff);
  color: var(--wstp-ink);
  text-decoration: none;
}

.wstp-schedule-link-grid a:nth-child(2) {
  border-inline-start-color: var(--wstp-gold);
  background:
    linear-gradient(135deg, var(--wstp-soft-gold), #ffffff);
}

.wstp-schedule-link-grid a:hover,
.wstp-schedule-link-grid a:focus {
  border-color: var(--wstp-teal);
  box-shadow: 0 10px 24px rgba(7, 141, 132, 0.12);
}

.wstp-schedule-link-grid strong {
  font-size: var(--wstp-text-base);
  color: #0b1f1d !important;
  font-weight: 900;
}

.wstp-schedule-link-grid span {
  color: #364d49;
  font-size: var(--wstp-text-sm);
  line-height: 1.45;
}

.wstp-breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 4px 0 14px;
  color: var(--wstp-muted);
}

.wstp-breadcrumbs a {
  color: var(--wstp-teal-dark);
  text-decoration: none;
}

.wstp-grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.wstp-grid-main > *,
.wstp-card {
  min-width: 0;
}

.wstp-card {
  padding: 18px;
}

.wstp-card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.wstp-card-head h2,
.wstp-card-head h3 {
  margin-bottom: 0;
}

.wstp-table-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
}

.wstp-table-meta span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #c3dad6;
  border-inline-start: 4px solid var(--wstp-teal);
  border-radius: var(--wstp-radius);
  background:
    linear-gradient(180deg, var(--wstp-soft-teal), #ffffff);
}

.wstp-table-meta span:nth-child(2) {
  border-inline-start-color: var(--wstp-blue);
  background:
    linear-gradient(180deg, var(--wstp-soft-blue), #ffffff);
}

.wstp-table-meta span:nth-child(3) {
  border-inline-start-color: var(--wstp-gold);
  background:
    linear-gradient(180deg, var(--wstp-soft-gold), #ffffff);
}

.wstp-table-meta span:nth-child(4) {
  border-inline-start-color: var(--wstp-coral);
  background:
    linear-gradient(180deg, var(--wstp-soft-coral), #ffffff);
}

.wstp-table-meta b {
  color: #36524e;
  font-size: var(--wstp-text-xs);
  font-weight: 900;
}

.wstp-table-meta em {
  color: #0b1f1d !important;
  font-style: normal;
  font-weight: 900;
  font-size: var(--wstp-text-base);
  line-height: var(--wstp-leading-tight);
}

.wstp-today-card .wstp-table tbody td {
  color: #0b1f1d;
  font-weight: 800;
}

.wstp-today-card .wstp-table tr.is-next td {
  color: #3a2607;
}

.wstp-weekly-card .wstp-table thead th,
.wstp-month .wstp-table thead th,
.wstp-card .wstp-compact thead th {
  color: #0b1f1d !important;
  font-weight: 900;
}

.wstp-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.wstp-table th,
.wstp-table td {
  border-bottom: 1px solid var(--wstp-line);
  padding: 11px 10px;
  text-align: start;
  vertical-align: middle;
  font-size: var(--wstp-text-base);
}

.wstp-table thead th {
  color: var(--wstp-teal-dark);
  background: #edf8f5;
}

.wstp-table tr.is-next td {
  background: #fff4d9;
  color: #4f3309;
  font-weight: 800;
  border-block: 1px solid #e5bd69;
}

.wstp-table tr.is-next td:first-child {
  border-inline-start: 4px solid var(--wstp-gold);
}

.wstp-prayer-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wstp-next-badge {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f4c95d;
  color: #102b28;
  font-size: var(--wstp-text-xs);
  font-weight: 800;
}

.wstp-compact th,
.wstp-compact td {
  padding: 9px 8px;
  font-size: var(--wstp-text-sm);
}

.wstp-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wstp-note {
  margin-top: 12px;
  color: #405653;
  font-size: var(--wstp-text-sm);
}

.wstp-qibla {
  text-align: center;
}

.wstp-date-card dd span {
  font-weight: 800;
  color: var(--wstp-teal-dark);
}

.wstp-date-card .wstp-facts {
  gap: 9px 10px;
}

.wstp-date-card .wstp-facts dt,
.wstp-date-card .wstp-facts dd {
  align-self: center;
}

.wstp-date-card .wstp-facts dd {
  padding: 5px 8px;
  border: 1px solid #d6e7e3;
  border-radius: 6px;
  background: #f8fcfb;
}

.wstp-date-card .wstp-facts dd:nth-of-type(1) {
  background: var(--wstp-soft-blue);
}

.wstp-date-card .wstp-facts dd:nth-of-type(2) {
  background: var(--wstp-soft-gold);
}

.wstp-date-card .wstp-facts dd:nth-of-type(3) {
  background: var(--wstp-soft-coral);
}

.wstp-date-card .wstp-facts dd:nth-of-type(4) {
  background: var(--wstp-soft-teal);
}

.wstp-compass {
  width: 160px;
  height: 160px;
  margin: 8px auto 12px;
  border: 10px solid #e7f3ef;
  border-radius: 50%;
  position: relative;
  background:
    linear-gradient(90deg, transparent 49%, rgba(7, 141, 132, 0.2) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(7, 141, 132, 0.2) 50%, transparent 51%),
    #fff;
}

.wstp-compass::before {
  content: "N";
  position: absolute;
  top: 8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  color: var(--wstp-coral);
  font-weight: 800;
}

.wstp-compass span {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  width: 4px;
  height: 64px;
  border-radius: 99px;
  background: var(--wstp-coral);
  transform-origin: 50% 0;
  transform: rotate(var(--q)) translate(-50%, -2px);
}

.wstp-map-preview {
  position: relative;
  min-height: 128px;
  margin: 8px 0 12px;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 141, 132, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 141, 132, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, #eef8f5, #f8fbfb 62%, #fff4e1);
  background-size: 28px 28px, 28px 28px, auto;
}

.wstp-map-preview span {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: var(--wstp-coral);
  box-shadow: 0 10px 24px rgba(18, 35, 33, 0.2);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wstp-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e5f4f1;
  color: #043f3b;
  border: 1px solid #bdd8d3;
  font-weight: 800;
}

.wstp-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
}

.wstp-facts dt {
  color: #425854;
  font-size: var(--wstp-text-sm);
  font-weight: 800;
}

.wstp-facts dd {
  margin: 0;
  color: #102b28;
  font-weight: 700;
  font-size: var(--wstp-text-sm);
}

.wstp-copy {
  padding: 20px;
  border-inline-start: 4px solid var(--wstp-teal);
  background: #ffffff;
  border-radius: var(--wstp-radius);
  border-top: 1px solid var(--wstp-line);
  border-bottom: 1px solid var(--wstp-line);
  font-size: var(--wstp-text-base);
}

.wstp-copy p {
  max-width: 82ch;
}

.wstp-copy h2 {
  margin-top: 18px;
}

.wstp-copy h2:first-child {
  margin-top: 0;
}

.wstp-guide {
  display: grid;
  gap: 16px;
}

.wstp-guide-intro {
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background:
    linear-gradient(135deg, rgba(7, 141, 132, 0.08), rgba(185, 133, 44, 0.08)),
    var(--wstp-surface);
  padding: 20px;
}

.wstp-guide-intro h2 {
  margin-bottom: 8px;
}

.wstp-guide-intro p {
  max-width: 82ch;
  color: var(--wstp-muted);
}

.wstp-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.wstp-guide-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--wstp-teal);
  color: #fff;
  text-decoration: none;
  font-size: var(--wstp-text-sm);
  font-weight: 800;
}

.wstp-guide-actions a:nth-child(even) {
  background: var(--wstp-action-dark);
  color: #fff;
}

.wstp-guide-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.wstp-guide-group {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: var(--wstp-surface);
  padding: 16px;
  min-width: 0;
}

.wstp-guide-group h2 {
  margin: 0;
  font-size: var(--wstp-text-lg);
}

.wstp-guide-group p {
  margin: 0;
  color: var(--wstp-muted);
  font-size: var(--wstp-text-sm);
  line-height: 1.55;
}

.wstp-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.wstp-guide-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--wstp-line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #f8fcfb;
  color: var(--wstp-ink);
  text-decoration: none;
  font-size: var(--wstp-text-sm);
  font-weight: 800;
}

.wstp-guide-actions a:hover,
.wstp-guide-actions a:focus,
.wstp-guide-links a:hover,
.wstp-guide-links a:focus {
  border-color: var(--wstp-teal);
  box-shadow: 0 8px 22px rgba(7, 141, 132, 0.13);
}

.wstp-share-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background:
    linear-gradient(135deg, rgba(7, 141, 132, 0.08), rgba(185, 133, 44, 0.08)),
    var(--wstp-surface);
}

.wstp-share-card span {
  display: inline-block;
  color: var(--wstp-teal-dark);
  font-size: var(--wstp-text-xs);
  font-weight: 800;
  margin-bottom: 4px;
}

.wstp-share-card strong {
  display: block;
  font-size: var(--wstp-text-md);
  line-height: 1.35;
  margin-bottom: 4px;
}

.wstp-share-card p {
  color: var(--wstp-muted);
  font-size: var(--wstp-text-sm);
  max-width: 82ch;
  margin: 0;
}

.wstp-share-compact {
  padding: 12px 14px;
  background: #fbfefd;
  box-shadow: none;
}

.wstp-share-compact strong {
  margin-bottom: 0;
}

.wstp-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.wstp-share-card button {
  border: 0;
  border-radius: var(--wstp-radius);
  background: var(--wstp-teal-dark);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: var(--wstp-text-sm);
  font-weight: 800;
  padding: 10px 14px;
  min-width: 108px;
}

.wstp-share-card button:hover,
.wstp-share-card button:focus {
  background: var(--wstp-action-dark);
  color: #fff;
}

.wstp-daily-share {
  display: grid;
  gap: 12px;
}

.wstp-daily-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wstp-daily-share-head h2 {
  margin: 0;
  font-size: var(--wstp-text-lg);
}

.wstp-daily-share-card {
  overflow: hidden;
  border: 1px solid #c9e1dc;
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(7, 141, 132, 0.12), rgba(185, 133, 44, 0.14)),
    #ffffff;
  color: #10221f;
  box-shadow: 0 16px 36px rgba(18, 35, 33, 0.1);
}

.wstp-daily-share-top {
  display: grid;
  gap: 4px;
  padding: 20px 22px 14px;
  background: linear-gradient(135deg, #056a64, #078d84);
  color: #fff;
}

.wstp-daily-share-top span,
.wstp-daily-share-top small {
  opacity: 0.9;
  font-size: var(--wstp-text-sm);
}

.wstp-daily-share-top strong {
  display: block;
  font-size: var(--wstp-text-2xl);
  line-height: 1.25;
}

.wstp-daily-share-date {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid #dcebe8;
  background: #f8fcfb;
}

.wstp-daily-share-date b,
.wstp-daily-share-date span {
  font-size: var(--wstp-text-sm);
}

.wstp-daily-share-date span {
  color: #49615d;
}

.wstp-daily-share-times {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 10px 12px 14px;
}

.wstp-daily-share-times div {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 12px 8px;
  border-inline-end: 1px solid #dcebe8;
}

.wstp-daily-share-times div:last-child {
  border-inline-end: 0;
}

.wstp-daily-share-times span {
  color: #57706c;
  font-size: var(--wstp-text-sm);
  font-weight: 800;
}

.wstp-daily-share-times strong {
  color: #10221f;
  font-size: var(--wstp-text-xl);
  line-height: 1.2;
}

.wstp-daily-share-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: #10221f;
  color: #fff;
}

.wstp-daily-share-card footer div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wstp-daily-share-card footer b {
  font-size: var(--wstp-text-sm);
}

.wstp-daily-share-card footer a {
  color: #ccece7;
  text-decoration: none;
  font-size: var(--wstp-text-xs);
  overflow-wrap: anywhere;
}

.wstp-card-brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 44%, #fff 0 14%, transparent 15%),
    conic-gradient(from 30deg, #078d84, #58b8aa, #f4c95d, #078d84);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.wstp-internal-links {
  margin-top: 18px;
  border-top: 1px solid var(--wstp-line);
  padding-top: 16px;
}

.wstp-internal-links details {
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: #fbfefd;
  margin-top: 10px;
  overflow: hidden;
}

.wstp-internal-links summary {
  cursor: pointer;
  padding: 13px 15px;
  font-weight: 800;
  color: var(--wstp-teal-dark);
  font-size: var(--wstp-text-base);
}

.wstp-internal-links details[open] summary {
  border-bottom: 1px solid var(--wstp-line);
}

.wstp-internal-links .wstp-link-grid {
  padding: 14px;
}

.wstp-city-link-pager {
  padding: 12px;
}

.wstp-city-link-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.wstp-city-link-tabs a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--wstp-line);
  border-radius: 999px;
  color: var(--wstp-teal-dark);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.wstp-city-link-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.wstp-city-link-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.wstp-city-link-page .wstp-link-grid {
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.wstp-city-link-page .wstp-link-grid a {
  min-height: 46px;
  padding: 9px 10px;
  font-size: var(--wstp-text-sm);
}

.wstp-tool {
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: #fbfefd;
  padding: 16px;
  margin: 16px 0 18px;
}

.wstp-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.wstp-tool label {
  display: grid;
  gap: 7px;
  color: var(--wstp-muted);
  font-size: var(--wstp-text-sm);
  font-weight: 700;
}

.wstp-tool input,
.wstp-tool select {
  width: 100%;
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  background: #fff;
  color: #102b28;
  color-scheme: light;
  padding: 10px 12px;
  font: inherit;
  font-size: var(--wstp-text-base);
}

.wstp-tool select option,
.wstp-tool select optgroup {
  background: #fff;
  color: #102b28;
}

.wstp-tool input::placeholder {
  color: #5d716d;
  opacity: 1;
}

.wstp-tool select:disabled,
.wstp-tool input:disabled {
  background: #edf4f2;
  color: #5d716d;
  opacity: 1;
}

.wstp-tool-result {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--wstp-radius);
  background: #eef8f5;
  color: var(--wstp-teal-dark);
  font-weight: 800;
}

.wstp-faq {
  display: grid;
  gap: 10px;
}

.wstp-faq details {
  border: 1px solid var(--wstp-line);
  border-radius: var(--wstp-radius);
  padding: 12px;
  font-size: var(--wstp-text-base);
}

.wstp-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--wstp-text-base);
}

.wstp-footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  margin-top: 32px;
  padding: 22px;
  border: 0;
  border-radius: var(--wstp-radius);
  background: #102b28;
  box-shadow: none;
  color: #d8e7e3;
  font-size: var(--wstp-text-sm);
}

.wstp-footer-main {
  max-width: 760px;
}

.wstp-footer-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.wstp-footer-brand b {
  display: block;
  color: #fff;
  font-size: var(--wstp-text-md);
  line-height: 1.3;
  margin-bottom: 6px;
}

.wstp-footer-brand p {
  font-size: var(--wstp-text-sm);
  line-height: 1.65;
  margin-bottom: 6px;
  max-width: 82ch;
}

.wstp-badaael-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--wstp-radius);
  background: #f4c95d;
  color: #102b28;
  font-weight: 900;
  line-height: 1;
}

.wstp-badaael-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 4px #f4c95d;
}

.wstp-badaael-link {
  color: #f4c95d;
  font-weight: 800;
  text-decoration: none;
}

.wstp-footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(126px, 1fr));
  gap: 14px;
  align-content: start;
}

.wstp-footer-groups section {
  min-width: 0;
}

.wstp-footer-groups h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: var(--wstp-text-xs);
  font-weight: 900;
  letter-spacing: 0;
}

.wstp-footer-links {
  display: grid;
  gap: 7px;
  justify-content: stretch;
}

.wstp-footer-links a {
  display: flex;
  align-items: center;
  color: #d8e7e3;
  text-decoration: none;
  font-size: var(--wstp-text-sm);
  border: 0;
  border-radius: 6px;
  padding: 8px 0;
  background: transparent;
}

.wstp-footer-links a:hover,
.wstp-footer-links a:focus {
  color: #f4c95d;
}

[hidden] {
  display: none;
}

@media (max-width: 840px) {
  .wstp-shell {
    width: 100%;
    padding: 12px 10px 28px;
  }

  h1 {
    font-size: var(--wstp-text-2xl);
  }

  h2 {
    font-size: var(--wstp-text-lg);
  }

  .wstp-title-band h1 {
    font-size: var(--wstp-text-xl);
  }

  .wstp-hero p,
  .wstp-title-band p,
  .wstp-city-hero p {
    font-size: var(--wstp-text-base);
  }

  .wstp-header,
  .wstp-footer,
  .wstp-directory-panel,
  .wstp-share-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wstp-header nav,
  .wstp-footer-links {
    justify-content: start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wstp-footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wstp-share-card button {
    width: 100%;
  }

  .wstp-daily-share-date {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wstp-daily-share-times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wstp-daily-share-times div {
    border-inline-end: 0;
    border-bottom: 1px solid #dcebe8;
  }

  .wstp-hero,
  .wstp-city-hero,
  .wstp-grid-main,
  .wstp-guide-groups {
    grid-template-columns: 1fr;
  }

  .wstp-topic-groups {
    column-count: 2;
  }

  .wstp-hero,
  .wstp-city-hero,
  .wstp-title-band {
    padding: 20px;
  }

  .wstp-table {
    min-width: 0;
    table-layout: fixed;
  }

  .wstp-card {
    overflow-x: hidden;
  }

  .wstp-weekly-card,
  .wstp-month {
    overflow-x: hidden;
  }

  .wstp-scroll .wstp-table {
    min-width: 620px;
    table-layout: auto;
  }

  .wstp-table th,
  .wstp-table td {
    overflow-wrap: anywhere;
  }

  .wstp-today-card .wstp-table th,
  .wstp-today-card .wstp-table td {
    width: 50%;
  }
}

@media (max-width: 520px) {
  .wstp-shell {
    padding-inline: 8px;
  }

  .wstp-count {
    flex-wrap: wrap;
    gap: 5px;
  }

  .wstp-count b {
    min-width: 40px;
  }

  .wstp-schedule-link-grid {
    grid-template-columns: 1fr;
  }

  .wstp-daily-share-card footer {
    align-items: start;
  }

  .wstp-daily-share-times {
    grid-template-columns: 1fr;
  }

  .wstp-footer-groups {
    grid-template-columns: 1fr;
  }

  .wstp-topic-groups {
    column-count: 1;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --wstp-bg: #101816;
    --wstp-surface: #172421;
    --wstp-ink: #f1f7f5;
    --wstp-muted: #b6c8c3;
    --wstp-line: #2b403b;
    --wstp-soft-teal: #1c3834;
    --wstp-soft-blue: #1b3140;
    --wstp-soft-gold: #3a2d17;
    --wstp-soft-coral: #3c251f;
    --wstp-shadow: none;
  }

  .wstp-table thead th,
  .wstp-badges span,
  .wstp-header nav a:hover,
  .wstp-header nav a:focus,
  .wstp-header nav .wstp-lang-switch {
    background: #203b36;
  }

  .wstp-header nav a:hover,
  .wstp-header nav a:focus,
  .wstp-header nav .wstp-lang-switch {
    color: #dff7f3;
  }

  .wstp-table tr.is-next td {
    background: #3a2d17;
    color: #ffe6ad;
  }

  .wstp-copy,
  .wstp-share-card,
  .wstp-tool,
  .wstp-guide-intro,
  .wstp-guide-group,
  .wstp-guide-links a,
  .wstp-city-card,
  .wstp-link-grid a,
  .wstp-topic-group,
  .wstp-faq details,
  .wstp-internal-links details,
  .wstp-table-meta span,
  .wstp-schedule-link-grid a,
  .wstp-date-card .wstp-facts dd {
    background: var(--wstp-surface);
  }

  .wstp-card h2,
  .wstp-card h3,
  .wstp-copy h2,
  .wstp-copy h3,
  .wstp-guide-intro h2,
  .wstp-guide-group h2,
  .wstp-topic-group summary,
  .wstp-faq summary,
  .wstp-link-grid a,
  .wstp-table-meta em,
  .wstp-facts dd,
  .wstp-schedule-link-grid a,
  .wstp-schedule-link-grid strong {
    color: var(--wstp-ink);
  }

  .wstp-card p,
  .wstp-copy p,
  .wstp-guide-intro p,
  .wstp-guide-group p,
  .wstp-topic-group-body,
  .wstp-directory-panel p,
  .wstp-directory-countries p,
  .wstp-faq p,
  .wstp-note,
  .wstp-schedule-link-grid span,
  .wstp-city-card span,
  .wstp-city-card small,
  .wstp-facts dt,
  .wstp-table-meta b {
    color: var(--wstp-muted);
  }

  .wstp-footer-links a {
    background: transparent;
  }

  .wstp-table-meta span,
  .wstp-table-meta span:nth-child(2),
  .wstp-table-meta span:nth-child(3),
  .wstp-table-meta span:nth-child(4),
  .wstp-schedule-link-grid a,
  .wstp-schedule-link-grid a:nth-child(2),
  .wstp-date-card .wstp-facts dd,
  .wstp-date-card .wstp-facts dd:nth-of-type(1),
  .wstp-date-card .wstp-facts dd:nth-of-type(2),
  .wstp-date-card .wstp-facts dd:nth-of-type(3),
  .wstp-date-card .wstp-facts dd:nth-of-type(4) {
    background: #172421 !important;
    border-color: #49645f !important;
  }

  .wstp-table-meta em,
  .wstp-today-card .wstp-table tbody td,
  .wstp-today-card .wstp-table tbody td *,
  .wstp-weekly-card .wstp-table thead th,
  .wstp-month .wstp-table thead th,
  .wstp-card .wstp-compact thead th,
  .wstp-schedule-link-grid strong,
  .wstp-date-card .wstp-facts dd {
    color: #f1f7f5 !important;
  }

  .wstp-table-meta b,
  .wstp-schedule-link-grid span,
  .wstp-date-card .wstp-facts dt,
  .wstp-note {
    color: #d8e7e3 !important;
  }

  .wstp-table thead th {
    color: #dff7f3 !important;
    background: #203b36 !important;
  }

  .wstp-today-card .wstp-table tr.is-next td,
  .wstp-today-card .wstp-table tr.is-next td * {
    color: #ffe6ad !important;
    background: #3a2d17 !important;
  }

  .wstp-tool input,
  .wstp-tool select {
    background: #f8fcfb !important;
    border-color: #d8e5e2 !important;
    color: #102b28 !important;
    color-scheme: light;
  }

  .wstp-tool select option,
  .wstp-tool select optgroup {
    background: #ffffff !important;
    color: #102b28 !important;
  }

  .wstp-tool input::placeholder {
    color: #60716d !important;
    opacity: 1;
  }

  .wstp-tool input:disabled,
  .wstp-tool select:disabled {
    background: #e8f0ee !important;
    color: #5d716d !important;
  }

  .wstp-date-card dd span {
    color: #5bd2c8 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
}

/* WSTP production contrast sync - 2026-09-08 */
.wstp-header nav a {
  color: #294641;
}

.wstp-header nav a:hover,
.wstp-header nav a:focus,
.wstp-header nav .wstp-lang-switch {
  color: #082b28;
  background: #e5f4f1;
}

.wstp-header nav .wstp-lang-switch,
.wstp-header nav .wstp-lang-switch a,
.wstp-header nav a[href*="/en/"],
.wstp-header nav a[href*="/ar/"] {
  color: #082b28;
}

.wstp-badges span,
.wstp-hero-badges span,
.wstp-feature-badge,
.wstp-pill,
.wstp-chip {
  color: #082b28;
}

@media (prefers-color-scheme: dark) {
  .wstp-header nav a {
    color: #d7ebe7;
  }

  .wstp-badges span,
  .wstp-hero-badges span,
  .wstp-feature-badge,
  .wstp-pill,
  .wstp-chip,
  .wstp-header nav a:hover,
  .wstp-header nav a:focus,
  .wstp-header nav .wstp-lang-switch,
  .wstp-header nav .wstp-lang-switch a,
  .wstp-header nav a[href*="/en/"],
  .wstp-header nav a[href*="/ar/"] {
    color: #f6fffc;
  }

  .wstp-header nav a:hover,
  .wstp-header nav a:focus,
  .wstp-header nav .wstp-lang-switch,
  .wstp-badges span,
  .wstp-hero-badges span,
  .wstp-feature-badge {
    background: #203b36;
  }
}
