body.tands-living-cost-view main.inner-page {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.tands-living-cost-view .inner-page > .container,
body.tands-living-cost-view .inner-page > .tands-container,
body.tands-living-cost-view .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.lc-page {
  --lc-navy: #102a43;
  --lc-navy-2: #183b56;
  --lc-green: #20c985;
  --lc-green-dark: #087f5b;
  --lc-green-soft: #e9fbf4;
  --lc-ink: #1d2a35;
  --lc-muted: #5b6976;
  --lc-line: #d9e6e1;
  --lc-soft: #f5faf8;
  --lc-white: #ffffff;
  --lc-gold: #f4b942;
  color: var(--lc-ink);
  background: var(--lc-white);
  font-family: inherit;
  line-height: 1.9;
  overflow: clip;
}

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

.lc-page h1,
.lc-page h2,
.lc-page h3,
.lc-page p,
.lc-page ul,
.lc-page ol {
  margin-top: 0;
}

.lc-page h1,
.lc-page h2,
.lc-page h3 {
  color: var(--lc-navy);
  line-height: 1.35;
  letter-spacing: 0;
}

.lc-page h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--lc-white);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
}

.lc-page h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 800;
}

.lc-page h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  font-weight: 800;
}

.lc-page p,
.lc-page li,
.lc-page td,
.lc-page th,
.lc-page summary,
.lc-page button,
.lc-page a {
  letter-spacing: 0;
}

.lc-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.lc-hero {
  position: relative;
  min-height: min(680px, 78vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  background: var(--lc-navy);
}

.lc-hero__image,
.lc-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lc-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center 38%;
}

.lc-hero__shade {
  z-index: -1;
  background: rgba(9, 32, 47, 0.67);
}

.lc-hero__content {
  padding-block: 100px 70px;
}

.lc-eyebrow,
.lc-kicker {
  margin-bottom: 10px;
  color: var(--lc-green-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: var(--lc-white);
  background: rgba(11, 42, 58, 0.56);
}

.lc-hero__lead {
  max-width: 770px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 1.12rem;
  line-height: 1.85;
}

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

.lc-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lc-button:hover {
  transform: translateY(-1px);
}

.lc-button:focus-visible,
.lc-jump button:focus-visible,
.lc-faq summary:focus-visible,
.lc-table-wrap:focus-visible {
  outline: 3px solid rgba(32, 201, 133, 0.35);
  outline-offset: 3px;
}

.lc-button--primary {
  color: #062d20 !important;
  background: var(--lc-green);
  border-color: var(--lc-green);
}

.lc-button--primary:hover {
  color: #041f17 !important;
  background: #35d796;
}

.lc-button--secondary {
  color: var(--lc-white) !important;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.lc-button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lc-button--dark {
  margin-top: 22px;
  color: var(--lc-white) !important;
  background: var(--lc-navy);
}

.lc-facts {
  border-bottom: 1px solid var(--lc-line);
  background: var(--lc-white);
}

.lc-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lc-facts p {
  min-width: 0;
  margin: 0;
  padding: 24px 22px;
  border-inline-start: 1px solid var(--lc-line);
}

.lc-facts p:first-child {
  border-inline-start: 0;
}

.lc-facts strong,
.lc-facts span {
  display: block;
}

.lc-facts strong {
  color: var(--lc-navy);
  font-size: 1rem;
}

.lc-facts span {
  color: var(--lc-muted);
  font-size: 0.88rem;
}

.lc-jump {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--lc-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.admin-bar .lc-jump {
  top: 32px;
}

.lc-jump__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lc-jump span {
  flex: 0 0 auto;
  margin-inline-end: 6px;
  color: var(--lc-navy);
  font-weight: 800;
}

.lc-jump button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--lc-muted);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.lc-jump button:hover {
  color: var(--lc-green-dark);
  border-color: var(--lc-line);
  background: var(--lc-green-soft);
}

.lc-section {
  padding-block: 82px;
  scroll-margin-top: 90px;
}

.lc-section--soft {
  background: var(--lc-soft);
}

.lc-section--navy {
  color: rgba(255, 255, 255, 0.86);
  background: var(--lc-navy);
}

.lc-section--navy h2,
.lc-section--navy h3 {
  color: var(--lc-white);
}

.lc-section--navy .lc-kicker {
  color: #6ce6b4;
}

.lc-prose > p {
  max-width: 930px;
  color: var(--lc-muted);
  font-size: 1.04rem;
}

.lc-heading {
  max-width: 810px;
  margin-bottom: 32px;
}

.lc-heading > p:last-child {
  color: var(--lc-muted);
}

.lc-callout {
  max-width: 930px;
  margin: 30px 0;
  padding: 20px 22px;
  border-inline-start: 4px solid var(--lc-green);
  border-radius: 6px;
  color: var(--lc-ink);
  background: var(--lc-green-soft);
}

.lc-callout p {
  margin: 4px 0 0;
}

.lc-callout--rule {
  border-inline-start-color: var(--lc-gold);
  background: #fff9e9;
}

.lc-table-wrap {
  width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--lc-line);
  border-radius: 6px;
  background: var(--lc-white);
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.06);
}

.lc-page table {
  width: 100%;
  min-width: 680px !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  color: var(--lc-ink);
  background: var(--lc-white);
}

.lc-page th,
.lc-page td {
  padding: 15px 17px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lc-line) !important;
  text-align: right !important;
  vertical-align: top;
}

.lc-page th {
  color: var(--lc-white) !important;
  background: var(--lc-navy) !important;
  font-size: 0.91rem;
  font-weight: 800;
}

.lc-page tbody tr:last-child td {
  border-bottom: 0 !important;
}

.lc-page tbody tr:nth-child(even) td {
  background: #f8fbfa;
}

.lc-note {
  margin-top: 14px;
  color: var(--lc-muted);
  font-size: 0.9rem;
}

.lc-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.lc-check-grid li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--lc-line);
  border-radius: 6px;
  background: var(--lc-white);
}

.lc-check-grid span {
  flex: 0 0 auto;
  color: var(--lc-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.lc-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
  color: var(--lc-green-dark) !important;
  font-weight: 800;
  text-decoration: none !important;
}

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

.lc-formula {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--lc-line);
  border-radius: 7px;
  background: var(--lc-white);
}

.lc-formula > span,
.lc-factor-grid b {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #063426;
  background: var(--lc-green);
  font-size: 0.76rem;
}

.lc-formula p {
  margin-bottom: 0;
  color: var(--lc-muted);
}

.lc-factor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}

.lc-factor-grid article {
  min-width: 0;
  padding: 24px 20px;
  background: var(--lc-navy-2);
}

.lc-factor-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
}

.lc-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.lc-plan-grid article {
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--lc-line);
  border-radius: 7px;
  background: var(--lc-white);
}

.lc-plan-grid__featured {
  border-top: 4px solid var(--lc-green) !important;
}

.lc-plan-grid__label {
  margin-bottom: 8px;
  color: var(--lc-green-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.lc-evidence {
  overflow: hidden;
  border: 1px solid #c9ded5;
  border-radius: 8px;
  background: var(--lc-white);
  box-shadow: 0 16px 46px rgba(16, 42, 67, 0.08);
}

.lc-evidence__head {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--lc-line);
}

.lc-evidence__head p:last-child {
  margin-bottom: 0;
  color: var(--lc-muted);
  font-size: 0.9rem;
}

.lc-evidence__body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  padding: 28px 30px;
}

.lc-evidence__body ul {
  margin-bottom: 0;
  padding-inline-start: 20px;
}

.lc-evidence__body aside {
  padding: 20px;
  border-radius: 6px;
  background: #fff7df;
}

.lc-evidence__body aside p {
  margin: 6px 0 0;
  color: #5d4a13;
  font-size: 0.9rem;
}

.lc-section--split {
  border-block: 1px solid var(--lc-line);
}

.lc-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.lc-split > div > p {
  color: var(--lc-muted);
}

.lc-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lc-inline-links a {
  padding: 7px 12px;
  border: 1px solid var(--lc-line);
  border-radius: 5px;
  color: var(--lc-green-dark) !important;
  background: var(--lc-soft);
  text-decoration: none !important;
  font-weight: 800;
}

.lc-convert {
  padding: 28px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.83);
  background: var(--lc-navy);
}

.lc-convert h2 {
  color: var(--lc-white);
}

.lc-convert .lc-kicker {
  color: #6ce6b4;
}

.lc-equation {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
}

.lc-equation b {
  color: var(--lc-green);
}

.lc-convert ul {
  margin-bottom: 0;
  padding-inline-start: 20px;
}

.lc-budget-table td {
  height: 54px;
}

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

.lc-tips ol {
  padding-inline-start: 22px;
}

.lc-tips li {
  margin-bottom: 8px;
}

.lc-mistakes {
  display: grid;
  gap: 10px;
}

.lc-mistakes p {
  margin: 0;
  padding: 13px 15px;
  border-inline-start: 3px solid var(--lc-gold);
  background: var(--lc-white);
}

.lc-mistakes strong,
.lc-mistakes span {
  display: block;
}

.lc-mistakes span {
  color: var(--lc-muted);
  font-size: 0.9rem;
}

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

.lc-faq summary {
  position: relative;
  padding: 18px 42px 18px 0;
  color: var(--lc-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.lc-faq summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 0;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lc-line);
  border-radius: 50%;
  color: var(--lc-green-dark);
}

.lc-faq details[open] summary::before {
  content: "−";
}

.lc-faq details p {
  max-width: 880px;
  padding: 0 0 20px;
  color: var(--lc-muted);
}

.lc-cta {
  padding-block: 64px;
  color: rgba(255, 255, 255, 0.85);
  background: var(--lc-navy);
}

.lc-cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.lc-cta h2 {
  color: var(--lc-white);
}

.lc-cta .lc-kicker {
  color: #6ce6b4;
}

.lc-cta p {
  margin-bottom: 0;
}

.lc-cta .lc-actions {
  justify-content: flex-end;
}

.lc-page a.is-disabled {
  cursor: default;
}

@media (max-width: 980px) {
  .lc-facts__grid,
  .lc-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-formulas,
  .lc-plan-grid {
    grid-template-columns: 1fr;
  }

  .lc-evidence__body,
  .lc-split,
  .lc-tips,
  .lc-cta__inner {
    grid-template-columns: 1fr;
  }

  .lc-cta .lc-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  .admin-bar .lc-jump {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .lc-shell {
    width: min(100% - 28px, 1180px);
  }

  .lc-hero {
    min-height: 620px;
  }

  .lc-hero__content {
    padding-block: 84px 44px;
  }

  .lc-hero__lead {
    font-size: 1rem;
  }

  .lc-actions {
    width: 100%;
  }

  .lc-button {
    width: 100%;
  }

  .lc-facts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lc-facts p {
    padding: 18px 12px;
    border-bottom: 1px solid var(--lc-line);
  }

  .lc-facts p:nth-child(odd) {
    border-inline-start: 0;
  }

  .lc-section {
    padding-block: 58px;
  }

  .lc-check-grid,
  .lc-factor-grid {
    grid-template-columns: 1fr;
  }

  .lc-evidence__head,
  .lc-evidence__body,
  .lc-convert {
    padding: 22px 18px;
  }

  .lc-table-wrap::after {
    content: "مرر أفقيًا لعرض بقية الجدول";
    display: block;
    padding: 8px 14px;
    color: var(--lc-muted);
    background: var(--lc-soft);
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-page *,
  .lc-page *::before,
  .lc-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
