/*
Theme Name: Fitzone
Theme URI: https://fitzone.sa
Author: FITZONE SPORTS ESTABLISHMENT
Author URI: https://fitzone.sa
Description: A bilingual Arabic and English landing-page theme for the Fitzone fitness application.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fitzone
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #f7f7f5;
  --muted: #a7abb3;
  --soft: #747986;
  --black: #08090b;
  --panel: #101216;
  --line: rgba(255, 255, 255, 0.1);
  --red: #d71920;
  --red-bright: #ef2830;
  --red-soft: rgba(215, 25, 32, 0.16);
  --white: #ffffff;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

.site {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 25%, rgba(215, 25, 32, 0.06), transparent 26rem),
    var(--black);
}

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

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

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d0f12;
  color: #c9ccd2;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.announcement-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(239, 40, 48, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img { width: 154px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #bfc2c8;
  font-size: 14px;
}

.main-nav a, .footer-links a { transition: color 180ms ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--white); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: #bfc2c8;
  cursor: pointer;
  transition: color 180ms ease;
}

.language-switch:hover { color: var(--white); }
.language-switch span { color: var(--red-bright); font-size: 18px; }

.header-cta, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.16);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta { min-height: 44px; padding: 0 18px; font-size: 13px; }

.header-cta svg, .primary-button svg, .text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .header-cta svg,
[dir="rtl"] .primary-button svg,
[dir="rtl"] .text-link svg { transform: scaleX(-1); }

.header-cta:hover, .primary-button:hover {
  transform: translateY(-2px);
  background: var(--red-bright);
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.26);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 750px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-one {
  width: 540px;
  height: 540px;
  inset-inline-end: -120px;
  top: 90px;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.26), transparent 68%);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  inset-inline-start: 10%;
  bottom: -130px;
  background: radial-gradient(circle, rgba(139, 143, 152, 0.09), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 58px;
  padding-block: 72px 78px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(52px, 6.1vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

[dir="rtl"] .hero h1 { letter-spacing: -0.045em; }

.hero-title-accent {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.62);
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.primary-button { min-height: 56px; padding: 0 24px; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d7d9de;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.text-link:hover { color: var(--white); }

.benefit-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 38px;
  color: #c0c3ca;
  font-size: 12px;
}

.benefit-list span { display: flex; align-items: center; gap: 7px; }

.benefit-list i {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(239, 40, 48, 0.34);
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.09);
  color: var(--red-bright);
  font-style: normal;
  font-size: 10px;
}

.hero-visual { position: relative; min-height: 590px; }

.phone-stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 250px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 33px;
  background: linear-gradient(145deg, #30343b, #0c0e12 40%);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 25px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.phone img { width: 100%; height: auto; border-radius: 25px; }
.phone-front { z-index: 3; width: 266px; transform: translateY(8px); }

.phone-back {
  z-index: 1;
  inset-inline-start: -3px;
  transform: translateY(6px) rotate(-8deg) scale(0.89);
  opacity: 0.76;
}

[dir="rtl"] .phone-back { transform: translateY(6px) rotate(8deg) scale(0.89); }

.phone-side {
  z-index: 2;
  inset-inline-end: -4px;
  transform: translateY(40px) rotate(8deg) scale(0.88);
  opacity: 0.88;
}

[dir="rtl"] .phone-side { transform: translateY(40px) rotate(-8deg) scale(0.88); }

.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 235px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(18, 20, 25, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.floating-chip small, .floating-chip strong { display: block; }
.floating-chip small { margin-bottom: 3px; color: var(--soft); font-size: 10px; }
.floating-chip strong { color: #eef0f3; font-size: 11px; line-height: 1.45; }
.coach-chip { inset-inline-start: -20px; top: 78px; }
.progress-chip { inset-inline-end: -22px; bottom: 79px; }

.chip-icon, .progress-ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-bright);
}

.progress-ring {
  border: 2px solid var(--red-bright);
  background: #111318;
  font-size: 10px;
  font-weight: 800;
}

.section { padding-block: 110px; }

.features { position: relative; background: #0b0d10; }
.section-heading { max-width: 720px; margin-bottom: 52px; }

.section-heading h2, .preview-heading h2 {
  margin: 0;
  font-size: clamp(37px, 4.8vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child, .preview-heading > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.feature-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 52%), var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 40, 48, 0.32);
  background: linear-gradient(150deg, rgba(215, 25, 32, 0.08), transparent 55%), #12151a;
}

.feature-card-top { display: flex; align-items: flex-start; justify-content: space-between; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red-bright);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-number { color: #444851; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }
.feature-tag { color: var(--red-bright); font-size: 11px; font-weight: 800; }
.feature-card h3 { margin: 12px 0 13px; font-size: 25px; line-height: 1.3; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.preview-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at 50% 20%, rgba(215, 25, 32, 0.07), transparent 32rem), #08090b;
}

.preview-heading {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 55px;
  margin-bottom: 55px;
}

.preview-heading > p { margin: 0 0 5px; }

.screen-marquee {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #343841 transparent;
  scroll-snap-type: x mandatory;
}

.screen-marquee:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }

.screen-track {
  width: max-content;
  display: flex;
  gap: 18px;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  padding-bottom: 28px;
}

.screen-card {
  flex: 0 0 auto;
  width: 246px;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg, #2e3239, #0d0f12 42%);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.48);
  scroll-snap-align: center;
}

.screen-card:nth-child(even) { transform: translateY(18px); }
.screen-card img { width: 100%; height: auto; border-radius: 22px; }

.how-section {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0b0d10;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.how-copy {
  position: sticky;
  top: 135px;
}

.how-copy h2,
.faq-heading h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.how-copy > p:last-child,
.download-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--red-bright);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-list h3 {
  margin: -4px 0 10px;
  font-size: 24px;
  line-height: 1.35;
}

.step-list p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0d10;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(55px, 8vw, 120px);
}

.faq-heading {
  max-width: 460px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
  color: #f0f1f3;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary i {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--red-bright);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }

.faq-list details > p {
  max-width: 650px;
  margin: -3px 0 26px;
  padding-inline-end: 45px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.download-section {
  padding-top: 10px;
  background: #0b0d10;
}

.download-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 510px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 55px;
  padding: clamp(36px, 6vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.04), transparent 48%),
    #111318;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.download-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

[dir="rtl"] .download-panel::after {
  mask-image: linear-gradient(-90deg, black, transparent 70%);
}

.download-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  inset-inline-start: -210px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.4), transparent 67%);
}

.download-brand-card {
  width: min(360px, 100%);
  justify-self: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: linear-gradient(145deg, #31353c, #0c0e11 43%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.52);
  transform: rotate(-3deg);
}

[dir="rtl"] .download-brand-card { transform: rotate(3deg); }

.download-brand-card img {
  width: 100%;
  border-radius: 20px;
}

.download-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.download-copy > p { max-width: 570px; }

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.download-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c6c9cf;
  font-size: 11px;
}

.play-badge {
  display: inline-block;
  width: 190px;
  margin-top: 27px;
  border-radius: 9px;
  transition: transform 180ms ease, filter 180ms ease;
}

.play-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.play-badge img { width: 100%; height: auto; }

.site-footer { border-top: 1px solid var(--line); background: #08090b; }

.footer-inner {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 50px;
  padding-block: 42px;
}

.footer-brand img { width: 138px; height: auto; }
.footer-brand p { margin: 11px 0 0; color: var(--soft); font-size: 12px; }
.footer-links { display: flex; gap: 24px; color: #b6bac1; font-size: 13px; }

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #555a64;
  font-size: 11px;
}

:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 80px 54px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(680px, 100%); min-height: 610px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:last-child { grid-column: 1 / -1; min-height: 300px; }
  .how-layout, .faq-layout { grid-template-columns: 1fr; gap: 50px; }
  .how-copy { position: static; }
  .download-panel { grid-template-columns: 0.8fr 1.2fr; gap: 35px; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 1180px); }
  .announcement { min-height: 31px; font-size: 10px; }
  .header-inner { height: 68px; gap: 12px; }
  .brand img { width: 118px; }
  .language-switch { min-height: 40px; padding: 0 6px; font-size: 12px; }
  .header-cta { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 50%; }

  .header-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero-inner { padding-block: 60px 34px; }
  .hero h1 { font-size: clamp(48px, 14.7vw, 68px); }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.85; }
  .hero-actions { align-items: stretch; margin-top: 28px; }
  .primary-button { flex: 1 1 100%; }
  .benefit-list { gap: 10px 16px; margin-top: 28px; }
  .hero-visual { min-height: 515px; margin-top: 10px; }
  .phone { width: 202px; border-radius: 27px; }
  .phone-front { width: 218px; }
  .phone img, .phone::after { border-radius: 20px; }
  .phone-back { inset-inline-start: -48px; }
  .phone-side { inset-inline-end: -48px; }
  .floating-chip { max-width: 190px; padding: 10px 12px; }
  .floating-chip strong { font-size: 10px; }
  .coach-chip { inset-inline-start: -5px; top: 34px; }
  .progress-chip { inset-inline-end: -5px; bottom: 30px; }
  .chip-icon, .progress-ring { width: 36px; height: 36px; }
  .section { padding-block: 78px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .preview-heading h2 { font-size: 39px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:last-child { grid-column: auto; min-height: 310px; }
  .preview-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .preview-heading > p { margin: 0; }
  .screen-track { gap: 12px; padding-inline: 16px; }
  .screen-card { width: 218px; }
  .how-layout, .faq-layout { gap: 36px; }
  .how-copy h2, .faq-heading h2, .download-copy h2 { font-size: 39px; }
  .step-list li { grid-template-columns: 48px 1fr; gap: 13px; padding-block: 25px; }
  .step-list h3 { font-size: 21px; }
  .faq-list summary { font-size: 15px; padding-block: 21px; }
  .faq-list details > p { padding-inline-end: 0; }
  .download-section { padding-top: 0; }
  .download-panel { grid-template-columns: 1fr; min-height: auto; gap: 35px; padding: 34px 22px; }
  .download-brand-card { width: min(280px, 82%); }
  .download-copy { text-align: start; }
  .play-badge { width: 176px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-links { flex-wrap: wrap; }
}

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

/* WordPress and bilingual presentation helpers. */
.lang-ar,
.lang-en { unicode-bidi: isolate; }

html[dir="rtl"] .lang-en,
html[dir="ltr"] .lang-ar { display: none !important; }

.hero-title-copy { display: block; }

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { width: 154px; height: auto; }

.main-nav .fitzone-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-content {
  min-height: 58vh;
  padding-block: 82px;
}

.wp-content article,
.wp-content .empty-state {
  max-width: 820px;
  margin-inline: auto;
}

.wp-content h1,
.wp-content h2,
.wp-content h3 { line-height: 1.25; }

.wp-content h1 { margin-top: 0; font-size: clamp(38px, 6vw, 66px); }
.wp-content h2 { margin-top: 1.8em; font-size: clamp(28px, 4vw, 42px); }
.wp-content p,
.wp-content li { color: var(--muted); font-size: 16px; line-height: 1.9; }
.wp-content a:not(.primary-button) { color: var(--red-bright); text-decoration: underline; }
.wp-content img { height: auto; border-radius: 16px; }
.post-list article { padding-block: 28px; border-bottom: 1px solid var(--line); }
.post-list article:first-child { padding-top: 0; }
.post-list h2 { margin: 0 0 10px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--soft); font-size: 12px; }
.pagination { margin-top: 40px; }

body.admin-bar .site-header { top: 32px; }

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

@media (max-width: 720px) {
  .custom-logo-link img { width: 118px; }
}
