/* ============================================================
   Publication-type archive (frame «النوع», Figma 2570:25365) — glue ONLY.
   Widgets: acs-pubtype-hero / acs-pubtype-researchers / acs-pubtype-publications.
   Everything structural reuses the topic-page classes styled in single.css
   (.acs-topic__* browse bar, filter panel, custom selects, chips, researchers
   slider, layout/aside, videos aside, pager) and homepage.css (.acs-breadcrumb,
   .acs-arrow, .acs-plist, section-title accent). Only what is NEW to this page
   lives here: hero band, arrow reveal for this page's slider, researcher zoom.
   Enqueued by the three elements (enqueue_scripts) and by register.php on
   is_tax('publication_type'); deps: acs-home + acs-single.
   RTL: first DOM child = RIGHT; margin-inline-start:auto pushes LEFT.
   ============================================================ */

/* ── hero: white band; breadcrumb sits above the h1 ─────────────────────── */
/* Client Figma: crumb→h1 32px, h1→description 16px, 32px band padding below
   the description (padding — not margin — so the white band covers it). */
.acs-pubtype-hero{background:transparent;padding-bottom:32px}
/* ONE shared grid for the whole page: every acs-pubtype-* widget wraps its
   content in .acs-pubtype__inner, so all sections align vertically no matter
   how the template nests them. Roots stay full-width (band backgrounds). */
.acs-pubtype__inner{max-width:1320px;margin-inline:auto;padding-inline:16px}
/* ── Section backgrounds (client) ───────────────────────────────────────────
   The top group (breadcrumb + title + description + researchers) and the list
   area read as ONE #F7F7F7 page; only the filter strip is white, and the cards
   + video aside are white boxes on the grey. */
body.tax-publication_type{background:rgba(247,247,247,1)}
/* #4 — the filter strip (the band around the mint filter) is white */
.acs-pubtype-browse .acs-topic__browse-bar{background:rgba(255,255,255,1)}
/* #6 — publication cards are white (shared base is already white; keep explicit) */
.acs-pubtype-browse .acs-plist__item{background:rgba(255,255,255,1)}
/* #7 — «من مكتبة الفيديو» aside: white box + client spacing.
   Aside vertical rhythm 16 (was 24); container keeps its 16px inset so the
   widget title sits 16 from the start; the video image is inset a further
   14.5 (→ 30.5 from the aside edge) and its title aligns under it; «المزيد»
   gets 18px top/bottom (the 16px start comes from the container, the 16px gap
   to the yellow line is the existing flex gap). */
.acs-pubtype-browse .acs-topic__videos{background:rgba(255,255,255,1);gap:16px}
.acs-pubtype-browse .acs-topic__videos .acs-vcard{gap:16px}
.acs-pubtype-browse .acs-topic__videos .acs-vcard__media,
.acs-pubtype-browse .acs-topic__videos .acs-vcard__title{margin-inline:14.5px}
.acs-pubtype-browse .acs-topic__videos-more{padding-block:18px}
/* hero already owns the 32px below its description (padding) — zero the
   researchers section's own top margin so the gap is 32, not 64 */
.acs-pubtype-researchers{margin-top:0}
.acs-pubtype-hero .acs-breadcrumb{padding:0 0 32px}
.acs-pubtype-hero .acs-topic__title{margin-bottom:16px}
/* term_description() returns <p>-wrapped HTML; keep the .acs-topic__intro scale */
.acs-pubtype-hero .acs-topic__intro{max-width:none;margin-bottom:0} /* band padding owns the 32px below */
.acs-pubtype-hero .acs-topic__intro p{margin:0 0 8px;font:inherit}
.acs-pubtype-hero .acs-topic__intro p:last-child{margin-bottom:0}

/* ── researchers: reveal the shared arrows on slider hover ──────────────────
   The .acs-arrow base (homepage.css) is hidden until its slider is hovered,
   but its reveal rule only lists the homepage sliders — add this page's. */
.acs-pubtype-researchers .acs-topic__researchers-slider:hover .acs-arrow,
.acs-pubtype-researchers .acs-topic__researchers-slider .acs-arrow:focus-visible{
	opacity:1;visibility:visible;animation:acs-arrow-pop .7s cubic-bezier(.22,.61,.36,1);
}

/* Client Figma: 48px between researchers (shared track is 52px in single.css);
   the 126px photo is inherited from .acs-researcher__photo — no override. */
.acs-pubtype-researchers .acs-topic__researchers-track{gap:48px}

/* NEW (client-approved default): subtle zoom of the author photo on card hover */
.acs-pubtype-researchers .acs-researcher__photo img{transition:transform .35s ease}
.acs-pubtype-researchers .acs-researcher:hover .acs-researcher__photo img{transform:scale(1.05)}

/* ── publications: the design has NO heading above the filter band — the
   browse-head was removed (pubtype-publications.php); kill the 16px top margin
   the shared filter panel keeps for the heading it normally sits under. */
.acs-pubtype-browse .acs-topic__filter{margin-top:0}

/* ── phones: the filter bar is the shared .acs-topic__searchwrap green button +
   full-screen sheet (single.css drives it via initVFilter). Its white band wraps
   a .acs-pubtype__inner that already supplies the 16px gutter, so drop the band's
   own inline padding here — otherwise the green trigger sits 16px narrower than
   the list cards below it. */
@media(max-width:478px){
	.acs-pubtype-browse .acs-topic__browse-bar{padding-inline:0}
}
