/* MediaNex feature pages (/features/*, /ar/features/*). Full width; text capped at ~72ch; screenshots uncropped at their natural ratio. Uses landing.css tokens. */
.fx .wrap { max-width: none; }
.fx .top .wrap { max-width: none; }
.top .lang-link { color: #EEF2F7; text-decoration: none; font-size: 14px; border: 1px solid rgb(255 255 255 / .25); border-radius: 8px; padding: 6px 12px; white-space: nowrap; }
.top .lang-link:hover { background: rgb(255 255 255 / .06); }
.top nav a[aria-current] { color: var(--white); }
@media (max-width: 900px) { .top .lang-link { margin-inline-start: auto; } }

.prose { max-width: 72ch; }
.prose p + p { margin-top: 14px; }
.prose > p:not(.kicker) { color: var(--muted); font-size: 18px; margin-top: 16px; }
.prose a, .fx-hero .lead a, figcaption a { color: var(--pulse-text); }

/* hero: text beside the main screenshot on wide screens */
.fx-hero { background: radial-gradient(1200px 520px at 85% -10%, #1B3A6B 0%, transparent 60%), var(--ink); color: var(--white); }
[dir="rtl"] .fx-hero { background: radial-gradient(1200px 520px at 15% -10%, #1B3A6B 0%, transparent 60%), var(--ink); }
.fx-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.fx-hero .text { max-width: 72ch; }
.fx-hero h1 { font-size: clamp(32px, 4vw, 54px); font-weight: 600; margin-top: 18px; }
:lang(ar) .fx-hero h1 { font-weight: 700; }
.fx-hero .lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: #D5DEEA; }
.fx-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fx-hero .note { margin-top: 18px; font-size: 14px; color: var(--mist); }
.fx-hero figcaption { color: var(--mist); }
.fx-hero .shot picture { border-color: rgb(255 255 255 / .12); box-shadow: 0 30px 80px rgb(0 0 0 / .45); }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 500 13px/1.4 var(--mono); color: var(--mist); }
:lang(ar) .crumbs ol { font-family: var(--text); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* screenshot figure: natural ratio, never cropped by CSS */
.shot { margin: 0; min-width: 0; }
.shot picture { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 48px rgb(11 31 58 / .14); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 72ch; }
.shot.small { max-width: 642px; }

/* text + image rows: text beside the image on wide screens, stacked below 1025px */
.fx-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.fx-row.flip > .prose { order: 2; }
.fx-row.flip > .shot { order: 1; }
.fx-row.textonly { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1024px) {
  .fx-hero .wrap, .fx-row, .fx-row.textonly { grid-template-columns: minmax(0, 1fr); }
  .fx-row.flip > .prose { order: 0; } .fx-row.flip > .shot { order: 0; }
}
.fx .sec h2 { margin-top: 14px; }

/* related feature links */
.rel { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.rel a { display: grid; gap: 12px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.rel a:hover { border-color: var(--muted); transform: translateY(-1px); }
.rel img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.rel b { font: 600 19px/1.3 var(--display); }
.rel span { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.rel .go { color: var(--pulse-text); font-weight: 600; font-size: 15px; }
.more-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.more-list li { font-size: 14px; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
footer .sp a[aria-current] { color: var(--white); }
