/* Modern design only (owner, Nov 2026): red headlines sit on frosted white,
   and the living backdrop is whiter so the red reads cleanly. Day theme. */
html:not([data-theme=dark]){--glow1:rgba(59,130,246,.10);--glow2:rgba(214,166,72,.12);--glow3:rgba(16,185,150,.07);--glow4:rgba(124,92,255,.06)}
html:not([data-theme=dark]) :is(.v-card,.v-rail__box,.v-tab,.v-rel,.v-glass,.v-media,.v-anl__lead){
  background:rgba(255,255,255,.86)!important;backdrop-filter:blur(12px) saturate(1.1);-webkit-backdrop-filter:blur(12px) saturate(1.1);border-color:rgba(200,16,46,.10)}
html:not([data-theme=dark]) .v-card__body{background:transparent}
html:not([data-theme=dark]) .v-rank:not(.v-rail__box .v-rank){background:rgba(255,255,255,.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(200,16,46,.10);border-radius:10px;padding:4px 16px}
html:not([data-theme=dark]) .v-rank:not(.v-rail__box .v-rank) li:last-child{border-bottom:0}
html:not([data-theme=dark]) .v-tab.on{background:#fff!important;box-shadow:0 0 0 1px rgba(200,16,46,.25),0 18px 30px -18px rgba(200,16,46,.35)}

/* The association's full name, centred in the header (owner, Nov 2026). */
.v-head__in{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.v-head__in>.v-logo{justify-self:start}
.v-head__end{justify-self:end}
.v-head__name{font:700 clamp(20px,2.3vw,34px)/1.15 var(--serif-h,Georgia,serif);color:var(--head)!important;letter-spacing:-.01em;text-align:center;
  padding-bottom:6px;background:linear-gradient(90deg,transparent,var(--gold2,#c59a3d),transparent) 50% 100%/60% 2px no-repeat}
[dir=rtl] .v-head__name{font-family:'IBM Plex Sans Arabic',sans-serif;font-weight:700;letter-spacing:0;line-height:1.5}
.v-head__name:hover{color:var(--head)!important}
@media (max-width:760px){
  .v-head__in{grid-template-columns:auto 1fr;row-gap:8px}
  .v-head__name{grid-column:1/-1;grid-row:2;font-size:clamp(17px,5vw,22px)}
}
/* Red headlines on solid white in day theme (owner: "خلي الباك جراوند تحت الكلام ابيض"). */
html:not([data-theme=dark]) :is(.v-card,.v-rail__box,.v-tab,.v-rel,.v-media,.v-anl__lead),
html:not([data-theme=dark]) .v-rank:not(.v-rail__box .v-rank){background:#fff!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html:not([data-theme=dark]) .v-cf__card .v-glass,html:not([data-theme=dark]) .v-ahero__glass{background:#fff!important}

/* Modern design: headlines back to the house ink, not red (owner, Nov 2026).
   house.css colours headlines through --news-red; here it is the page's heading colour. */
html,html[data-theme=dark],html[data-theme=light]{--news-red:var(--head);--news-red-hover:var(--kicker)}
html:not([data-theme=dark]) :is(.v-card,.v-rail__box,.v-tab,.v-rel,.v-glass,.v-media,.v-anl__lead,.v-rank){border-color:var(--line)!important}
html:not([data-theme=dark]) .v-tab.on{box-shadow:0 0 0 1px var(--kicker),0 18px 30px -18px rgba(10,22,40,.35)}

/* ---- Modern polish pass (owner review, Nov 2026) ---- */
/* Story page: headline above the photograph, never laid over it. */
.v-ahero__in{display:flex;flex-direction:column}
.v-ahero__glass,.v-ahero--plain .v-ahero__glass{order:-1;position:static!important;inset:auto!important;transform:none!important;max-width:980px!important;margin:0 0 20px!important;
  padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.v-ahero__glass h1{color:var(--head)!important;-webkit-text-fill-color:var(--head)!important;font-size:clamp(28px,3.4vw,48px);line-height:1.15;margin-top:10px}
[dir=rtl] .v-ahero__glass h1{line-height:1.5}
.v-ahero__img{border-radius:14px 14px 0 0;aspect-ratio:2/1;max-height:560px}
.v-ahero__img img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.v-ahero__img{aspect-ratio:16/10}.v-ahero__glass h1{font-size:26px}}
/* The story sheet is paper in both themes: its text and links stay ink. */
.v-sheet{--news-red:var(--sheet-ink,#0f1f33);--news-red-hover:#1b4f8a;--head:var(--sheet-ink,#0f1f33)}
.v-sheet .v-rel{background:#fff!important;color:var(--sheet-ink,#0f1f33)!important;-webkit-text-fill-color:var(--sheet-ink,#0f1f33)!important}
.v-sources li,.v-sources a{opacity:1!important;color:#1b4f8a!important}
.v-sources{color:var(--sheet-ink,#0f1f33)}
/* About: the four facts as a 2 x 2 block. */
.v-phero .v-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Category: the newest story runs wide, so the column has no hole beside the rail. */
.v-grid--lead>.v-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:stretch}
.v-grid--lead>.v-card:first-child .v-card__img{aspect-ratio:auto;height:100%;min-height:260px}
.v-grid--lead>.v-card:first-child .v-card__img img{height:100%;object-fit:cover}
.v-grid--lead>.v-card:first-child .v-card__body{display:flex;flex-direction:column;justify-content:center;padding:24px 26px}
.v-grid--lead>.v-card:first-child h3{font-size:clamp(20px,1.9vw,26px);line-height:1.25}
@media (max-width:760px){.v-grid--lead>.v-card:first-child{grid-template-columns:1fr}.v-grid--lead>.v-card:first-child .v-card__img{min-height:200px}}

/* Category hero: the "latest" caption stays inside the photograph. */
.v-lean{position:relative;overflow:hidden;border-radius:14px}
.v-lean .v-cf__glass{inset-inline:16px!important;inset-inline-end:16px!important;right:auto;left:auto;bottom:16px!important;max-width:calc(100% - 32px)!important;transform:none!important}
html .v-ahero .v-ahero__in .v-ahero__glass{background:none!important}
.v-phero .v-facts:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))!important}
