/* ==========================================================================
   ANROWS 2026 reskin
   --------------------------------------------------------------------------
   Loaded last (after dist/css/app.css) so it overrides the legacy stylesheets
   (css/app.css, css/app-fix.css, css/custom.css, dist/css/app.css) without
   editing them. Selectors below deliberately mirror the legacy selectors so
   specificity matches and source order wins.

   Type mapping (Figma "Type stylesheet"):
     Headers      Minion Pro  -> Aime Regular
     Sub headers  Avenir      -> Neue Grafik Bold
     Menu         Avenir      -> Neue Grafik Bold
     Body         Avenir      -> Neue Grafik Regular
   Not covered: the legacy NCAS 2017 microsite (/NCAS/2017/*) which loads its
   own stylesheets from /ncas/css, and icon fonts (icomoon).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'Aime';
	src: url('../fonts/aime/Aime-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aime';
	src: url('../fonts/aime/Aime-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aime';
	src: url('../fonts/aime/Aime-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aime';
	src: url('../fonts/aime/Aime-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Neue Grafik';
	src: url('../fonts/neue-grafik/NeueGrafikNormal-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Neue Grafik';
	src: url('../fonts/neue-grafik/NeueGrafikNormal-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Neue Grafik';
	src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Neue Grafik';
	src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

:root {
	/* System fallbacks per brand guidelines: Times for Aime, Arial for Neue Grafik */
	--anr-font-heading: 'Aime', 'Times New Roman', Times, serif;
	--anr-font-body: 'Neue Grafik', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Headers -> Aime Regular
   -------------------------------------------------------------------------- */
h1, .h1, h2, h3, .h3, h4,
.head-top .page-font-size {
	font-family: var(--anr-font-heading);
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   3. Body -> Neue Grafik Regular
   Includes the places where body copy was set in Minion Pro (e.g. the
   publication card titles) and the Avenir Light / Book / Medium body text.
   -------------------------------------------------------------------------- */
body,
body.category,
.breadcrumbs li,
.form-field-alt,
.list-underline li a, .mega-menu .widget p,
.footer-bottom *,
.project-tables.info-table-section table tr td,
.thyn-content .callout.secondary,
.practitioner-row p,
.practitioner-row li,
.project-section .callout p,
.researchers-row .callout,
.project-sharing,
.resources-list .card p,
.resources-list.resources-large .card p.info,
.gform_confirmation_message_3,
.donation-section p,
.simple-widget p, .more-widget a,
.topics-list > li label, .topics-list > li a,
.events-single .content-area .card-bottom,
.micro-site .countdown-section h4,
#ctf p.ctf-tweet-text, #ctf p.ctf-media-link,
body #ctf p.ctf-tweet-text, body #ctf p.ctf-media-link {
	font-family: var(--anr-font-body);
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   4. Sub headers, labels and highlights -> Neue Grafik Bold
   (previously Avenir Book at weight 900, or Avenir Black)
   -------------------------------------------------------------------------- */
.h4,
h5, .h5,
h6,
.category,
h3.past-event,
.download-files-section-new h5,
.career-meta li, .career-meta li + li:before,
.donation-section fieldset p,
.card-bottom,
.event-topic a,
.table-responsive th[data-title]:before, .table-responsive td[data-title]:before,
.micro-site .boxes-section .box a,
.c-projects-contents__top-heading, .c-projects-contents .h5,
.c-projects-contents__top-heading strong, .c-projects-contents .h5 strong,
.c-projects-contents .h6,
.c-projects-contents .h6 strong,
body #ctf p.ctf-tweet-text a, body #ctf p.ctf-media-link a {
	font-family: var(--anr-font-body);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. Menu -> Neue Grafik Bold
   -------------------------------------------------------------------------- */
.head-top,
.head-middle .main-nav a,
.head-middle .emergency-call p, .head-middle .donate-wrap p, .head-middle .quick-escape p,
.to-top,
.page-inner-nav .menu li a,
.c-quick-nav__link,
.c-main-navigation-search__item-link strong,
.mobile-menu ul.menu-main > li > a,
.mobile-menu ul.menu-main > li.menu-item-has-children:after,
.mobile-menu ul.menu-main > li .mobile-sub-menu h5:after,
.mobile-menu .menu-accordion .accordion-title,
.micro-site .menu-accordion .accordion-title,
.micro-site .head-middle .main-nav + a,
.micro-site.countdown-page .main-nav p {
	font-family: var(--anr-font-body);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Legacy font-name aliases (safety net)
   ~59 publication 'read' pages embed their own <style> blocks in the page
   content (ACF main_text) that hard-code 'AvenirBook' / 'MinionPro'. Content
   is not being edited, so instead the legacy family NAMES are re-pointed at
   the new font files. This also catches any legacy theme rule not overridden
   above. The 400/normal faces use the same descriptors as the original
   @font-face rules in css/app.css, so these later declarations win.
   -------------------------------------------------------------------------- */
@font-face { font-family: 'MinionPro'; src: url('../fonts/aime/Aime-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'MinionPro'; src: url('../fonts/aime/Aime-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'MinionPro'; src: url('../fonts/aime/Aime-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'MinionPro'; src: url('../fonts/aime/Aime-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Minion Pro'; src: url('../fonts/aime/Aime-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Minion Pro'; src: url('../fonts/aime/Aime-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Minion Pro'; src: url('../fonts/aime/Aime-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Minion Pro'; src: url('../fonts/aime/Aime-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/aime/Aime-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/aime/Aime-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/aime/Aime-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/aime/Aime-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBook'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBook'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBook'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBook'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirLight'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirLight'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirLight'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirLight'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirMedium'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirMedium'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirMedium'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirMedium'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBlack'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBlack'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBlack'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBlack'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBold'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBold'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'AvenirBold'; src: url('../fonts/neue-grafik/NeueGrafikNormal-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AvenirBold'; src: url('../fonts/neue-grafik/NeueGrafikNormal-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

/* --------------------------------------------------------------------------
   7. All-caps -> authored case (Figma: "change to Title case from All-caps")
   CSS cannot generate true Title Case (text-transform: capitalize would also
   capitalise "and", "of", etc.), so `uppercase` is removed and text displays
   exactly as entered in WordPress. Labels that were typed in capitals in
   WordPress stay in capitals; that is content, for ANROWS to review.
   Letter-spacing is intentionally left unchanged in this step.
   Not covered: <style> blocks embedded in publication content.
   -------------------------------------------------------------------------- */
.anchore,
.link-more,
.h4,
h5, .h5,
.button,
.c-button,
.mobile-menu ul > li a,
.head-top,
.head-middle .main-nav a,
.head-middle .emergency-call p, .head-middle .donate-wrap p, .head-middle .quick-escape p,
.to-top,
.footer .accordion-title,
.reviews-slider .sl small,
.pg-content-inner .sidebar .widget-title,
.projects-slider .callout a,
.category,
h3.past-event,
.selecttion-list input[type=checkbox] + label, .resources-list .card .resource-cat,
.selecttion-list input[type="radio"] + label,
.career-meta li, .career-meta li + li:before,
.event-topic a,
.events-single .content-area .card-bottom,
.search-view-download,
.c-projects-contents__top-heading, .c-projects-contents .h5,
.c-projects-contents .h6,
.micro-site .footer .footer-top a.button, .micro-site .button,
.micro-site .footer-top .menu li:not(:last-child) a,
.micro-site .boxes-section .box a,
.micro-site .callouts-section .callout a.link-underline,
.micro-site .head-middle .main-nav + a,
#ctf .ctf-author-name,
#ctf.ctf-styles .ctf-author-screenname {
	text-transform: none;
}
/* Foundation's .text-uppercase utility uses !important; only the theme's own
   use of it (sidebar CTA link in template-parts/content-sidebar.php) is reset. */
.link-underline.text-uppercase {
	text-transform: none !important;
}

/* --------------------------------------------------------------------------
   8. Capitalise the first letter of labels that used to be all-caps
   Some labels were typed in lowercase (e.g. "view all", "keep up to date")
   and relied on `uppercase`. Capitalising the first letter gives sentence
   case, matching how most labels are typed. ::first-letter only applies to
   block / inline-block boxes, so labels inside a plain inline element are
   unaffected. Extras: `.head-top p` (top-bar text, takes effect on mobile
   where the leading "Feeling unsafe?" span is hidden) and `.anchore > span`
   (the "more" scroll prompt).
   Selectors ending in :before/:after are excluded: one invalid selector
   would drop the whole rule.
   -------------------------------------------------------------------------- */
.anchore::first-letter,
.link-more::first-letter,
.h4::first-letter,
h5::first-letter,
.h5::first-letter,
.button::first-letter,
.c-button::first-letter,
.mobile-menu ul > li a::first-letter,
.head-top::first-letter,
.head-middle .main-nav a::first-letter,
.head-middle .emergency-call p::first-letter,
.head-middle .donate-wrap p::first-letter,
.head-middle .quick-escape p::first-letter,
.to-top::first-letter,
.footer .accordion-title::first-letter,
.reviews-slider .sl small::first-letter,
.pg-content-inner .sidebar .widget-title::first-letter,
.projects-slider .callout a::first-letter,
.category::first-letter,
h3.past-event::first-letter,
.selecttion-list input[type=checkbox] + label::first-letter,
.resources-list .card .resource-cat::first-letter,
.selecttion-list input[type="radio"] + label::first-letter,
.career-meta li::first-letter,
.event-topic a::first-letter,
.events-single .content-area .card-bottom::first-letter,
.search-view-download::first-letter,
.c-projects-contents__top-heading::first-letter,
.c-projects-contents .h5::first-letter,
.c-projects-contents .h6::first-letter,
.micro-site .footer .footer-top a.button::first-letter,
.micro-site .button::first-letter,
.micro-site .footer-top .menu li:not(:last-child) a::first-letter,
.micro-site .boxes-section .box a::first-letter,
.micro-site .callouts-section .callout a.link-underline::first-letter,
.micro-site .head-middle .main-nav + a::first-letter,
#ctf .ctf-author-name::first-letter,
#ctf.ctf-styles .ctf-author-screenname::first-letter,
.head-top p::first-letter,
.anchore > span::first-letter {
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Buttons, text links, "More" prompt, social icons (default + hover)
   Figma: "Hover states_General Buttons" (node 690:5063)
     Button  default: Orange 10 fill, 1px UI Orange border, black Regular text
             hover:   UI Orange fill, black text
     Link    default: black text, UI Orange underline
             hover:   UI Orange text, underline disappears
     More    default: black text, UI Orange arrow; hover: UI Orange text
     Social  default: black; hover: UI Orange
   Sizes/padding of existing buttons are kept. The header search icon button
   belongs to the header design and is not changed here.
   -------------------------------------------------------------------------- */
:root {
	--anr-orange: #e36d00;     /* Figma "UI Orange" */
	--anr-orange-10: #fff3e6;  /* Figma "Orange 10" */
	--anr-orange-text: #b35600; /* hover text only: UI Orange is 3.25:1 on
	                               white, this is 4.9:1 (WCAG AA). Folk
	                               approved, staging review 2. Icons, lines and
	                               buttons keep UI Orange. */
}

/* Buttons */
.button,
.button.white,
.button.gray,
input.button[type=submit],
.c-button,
.c-button.c-button--type-warning,
.related-posts-section .button,
.events-single .content-area .button,
.subscribe-widget .button {
	background-color: var(--anr-orange-10);
	border: 1px solid var(--anr-orange);
	color: #000;
	font-family: var(--anr-font-body);
	font-weight: 400;
	letter-spacing: normal;
}
.subscribe-widget .button {
	color: #000 !important; /* legacy custom.css forces white with !important */
}
.button:hover, .button:focus,
.button.white:hover, .button.white:focus,
.button.gray:hover, .button.gray:focus,
input.button[type=submit]:hover,
.c-button:hover, .c-button:focus,
.c-button.c-button--type-warning:hover,
.related-posts-section .button:hover,
.events-single .content-area .button:hover {
	background-color: var(--anr-orange);
	border-color: var(--anr-orange);
	color: #000;
}
/* Disabled / transparent utility buttons keep their transparent look */
.c-button.is-disabled,
.c-button.c-button--type-transparent {
	background-color: transparent;
	border-color: transparent;
}
/* Home hero slide buttons are links with inline styles in the slide content;
   !important is the only way to restyle them without editing content. */
.hslider-text a[style*="background"] {
	background: var(--anr-orange-10) !important;
	border: 1px solid var(--anr-orange) !important;
	border-radius: 0 !important;
	color: #000 !important;
}
.hslider-text a[style*="background"]:hover,
.hslider-text a[style*="background"]:focus {
	background: var(--anr-orange) !important;
}

/* Underlined text links */
.link-underline:before,
.link-hover-underline:before {
	background-color: var(--anr-orange);
}
.link-underline:before {
	height: 1px;
}
.link-underline.gold,
.downloads-widget .download-box .link-underline,
.teams-list a.link-underline,
.team-widget a.link-underline,
.career-box a.link-underline,
.events-list .link-underline {
	color: #000 !important; /* was olive; legacy .gold uses !important */
}
.link-underline:hover,
.link-underline:focus,
.link-underline.gold:hover,
.downloads-widget .download-box .link-underline:hover,
.teams-list a.link-underline:hover,
.team-widget a.link-underline:hover,
.career-box a.link-underline:hover,
.events-list .link-underline:hover {
	color: var(--anr-orange-text) !important;
}
/* Top bar and footer links keep their text colour on hover
   (Figma "Hover states_Menu and footer buttons"). */
.head-top .link-underline:hover,
.footer-bottom .link-underline:hover,
.footer-bottom a:hover {
	color: inherit !important;
}

/* "More" scroll prompt */
.anchore {
	font-size: 14px;
}
.anchore:after {
	color: var(--anr-orange);
}
.anchore:hover,
.anchore:focus {
	color: var(--anr-orange-text);
}

/* Social icons */
.footer-top .social.menu li a,
.footer-top .social.menu li a:visited {
	color: #000;
}
.social.menu li a:hover,
.footer-top .social.menu li a:hover,
.subscription-section .social.menu li a:hover {
	color: var(--anr-orange);
	opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Menu, top bar and footer link hovers
   Figma: "Hover states_Menu and footer buttons" (node 696:1574)
     Main menu / footer link lists: black text, orange underline APPEARS on hover
     Top bar / footer bottom links:  orange underline, DISAPPEARS on hover;
                                     text colour unchanged
   (Top bar background colour is a separate header change, not done here.)
   -------------------------------------------------------------------------- */
.anr-step-10 { /* marker used by the before/after test scripts; no effect */ }

/* Main menu + footer/mega-menu link lists: thinner underline (Figma ~10% of 14px) */
.head-middle .main-nav a.link-hover-underline:before,
.link-hover-underline:before {
	height: 1.5px;
}
/* Footer link lists: black text (was #4A4A4A) that stays black on hover.
   Scoped to the footer; the header mega menu has its own Figma design. */
.footer-top .widget-area ul li a,
.footer-top .widget-area ul li a:hover,
.footer-top .widget-area ul li a:focus {
	color: #000;
}

/* Top bar: "Subscribe" had a white underline; make it orange like "Donate" */
.head-top .menu li:last-child a span:before {
	background-color: var(--anr-orange);
}

/* Footer bottom: orange underline (was translucent white), text stays white */
.footer-bottom .menu a:before {
	background-color: var(--anr-orange);
}

/* --------------------------------------------------------------------------
   11. Header mega menu (drop-down panels)
   Figma: "Dropdown menu" component (node 677:3620) on Homepage_HOVERS
     Panel: Orange 20 #FBE7CF, drop shadow 0 6px 6.3px rgba(0,0,0,.1)
     Column dividers: UI Orange; headings + links + intro text: black
   Existing sizes/layout are kept (Figma's panel is slightly more compact).
   Link hover isn't specified in Figma; it matches the footer link lists
   (text stays black, orange underline appears).
   -------------------------------------------------------------------------- */
.anr-step-11 { /* marker used by the before/after test scripts; no effect */ }

.mega-menu {
	background-color: #fbe7cf; /* Figma "Orange 20" */
	border-top-color: transparent;
	border-bottom-color: transparent;
	box-shadow: 0 6px 6.3px rgba(0, 0, 0, 0.1);
}
.mega-menu .v-delim {
	border-left-color: var(--anr-orange);
}
.mega-menu h5,
.mega-menu .h5 {
	color: #000;
	letter-spacing: normal;
}
.mega-menu .widget p,
.mega-menu .widget-area ul li a {
	color: #000;
}
.mega-menu .list-underline li a:hover,
.mega-menu .list-underline li a:focus {
	color: #000;
	text-decoration: underline;
	text-decoration-color: var(--anr-orange);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   12. Shortcodes Ultimate buttons ([su_button] in page content)
   ~447 buttons on ~165 pages, with colours set inline by the shortcode
   (mostly old olive; a few blue/purple/yellow/teal). Restyled to the Figma
   button (section 9) without editing content, so !important is required to
   beat the inline styles. Each button keeps its own size and padding.
   -------------------------------------------------------------------------- */
.anr-step-12 { /* marker used by the before/after test scripts; no effect */ }

.su-button {
	background-color: var(--anr-orange-10) !important;
	border: 1px solid var(--anr-orange) !important;
	border-radius: 0 !important;
	color: #000 !important;
}
.su-button span {
	color: #000 !important;
	border-color: transparent !important;
	border-radius: 0 !important;
	background-image: none !important; /* "soft"/"glass" styles add a sheen image */
	text-shadow: none !important;
	font-family: var(--anr-font-body);
	font-weight: 400;
	letter-spacing: normal;
}
.su-button:hover,
.su-button:focus {
	background-color: var(--anr-orange) !important;
	opacity: 1 !important; /* "default" style fades to 70% on hover */
}
.su-button-style-flat:hover span {
	top: 0; /* drop the plugin's 1px nudge; matches the theme buttons */
}

/* --------------------------------------------------------------------------
   13. Info / resource cards ("box_cards" layout), site-wide
   Figma annotation: "make all cards consistent with the design on the left";
   Figma card (node 700:2421, ANRA "Key resources"): white, 1px #666666
   border, padding 23/31/21px, title Neue Grafik Bold 16px black, body Neue
   Grafik Regular 16px black. Applies to every page using this layout (~120
   card groups on ~77 pages). Card titles typed as h4 (serif) or h5 both get
   the bold sans title style. Publication listing cards and news cards are a
   different component (serif titles, as in Folk's designs) and are unchanged.
   -------------------------------------------------------------------------- */
.anr-step-13 { /* marker used by the before/after test scripts; no effect */ }

.project-section .gutter-16 .callout {
	background-color: #fff;
	border: 1px solid #666;
	padding: 23px 31px 24px 21px;
}
.project-section .gutter-16 .callout h4,
.project-section .gutter-16 .callout h5 {
	font-family: var(--anr-font-body);
	font-weight: 700;
	color: #000;
	font-size: 16px;
	line-height: 1;
	letter-spacing: normal;
	margin-bottom: 33px; /* Figma gap between title and body */
}
.project-section .gutter-16 .callout p {
	color: #000;
	font-size: 16px;
	line-height: normal;
}

/* --------------------------------------------------------------------------
   14. Brand "Half gradient" backgrounds (per Folk's designs)
   Figma annotation: "Whichever colour is decided, we need to keep the same
   colour gradient selection within the same component. We've currently
   suggested green, but can be changed." Colour NOT final: built as shown in
   the designs (orange on the home news section, green on the ANRA image
   banner). Change a component's colour via its variable below.
   The designs use the brand guidelines' "Half gradient – Narrow" image
   assets (inner glow: transparent centre → brand colour at the edge); this is
   a CSS recreation so it scales and the colour is one value. Stops match
   the colour intensity sampled from Folk's Figma renders (~38% at the top
   edge easing to 0).
   Brand colours: Orange rgb(255,133,0), Green rgb(30,185,30).
   -------------------------------------------------------------------------- */
.anr-step-14 { /* marker used by the before/after test scripts; no effect */ }

:root {
	--anr-gradient-news: 255, 133, 0;   /* home "Read the latest news" section */
	--anr-gradient-banner: 30, 185, 30; /* ANRA image banner (parallax "cclbg") */
}

/* Home news section: was dark grey (#414141) with a pattern and white text */
.latest-articles-section {
	background-color: #fff;
	background-image: linear-gradient(to bottom,
		rgba(var(--anr-gradient-news), 0.38) 0%,
		rgba(var(--anr-gradient-news), 0.25) 18%,
		rgba(var(--anr-gradient-news), 0.15) 36%,
		rgba(var(--anr-gradient-news), 0.08) 55%,
		rgba(var(--anr-gradient-news), 0.03) 75%,
		rgba(var(--anr-gradient-news), 0) 100%) !important; /* replaces the lazy-loaded pattern */
}
.latest-articles-section h1,
.latest-articles-section .h1 {
	color: #000;
}
/* Mobile carousel dots were white (for the dark background) */
.latest-articles-section .slick-dots > li > button {
	background: transparent;
	border-color: #666;
}
.latest-articles-section .slick-dots > li.slick-active > button {
	background: #000;
	border-color: #000;
}

/* Image banner with parallax photo (3 ANRA pages): was cream (#FDFCF8) */
.about-section:has(.lgx_parallax_app) {
	background-color: #fff;
	background-image: linear-gradient(to bottom,
		rgba(var(--anr-gradient-banner), 0.38) 0%,
		rgba(var(--anr-gradient-banner), 0.25) 18%,
		rgba(var(--anr-gradient-banner), 0.15) 36%,
		rgba(var(--anr-gradient-banner), 0.08) 55%,
		rgba(var(--anr-gradient-banner), 0.03) 75%,
		rgba(var(--anr-gradient-banner), 0) 100%);
}

/* --------------------------------------------------------------------------
   15. Colour / type items from Folk's designs (in scope, not annotated)
   Values read from Figma (Publications ANRA / Homepage frames):
     Top bar #E6E6E6 + black text; 1px orange line under the header;
     search box 1px #666 border with dark icon, no olive button;
     olive labels/headings -> black, normal letter-spacing;
     "Who we are" plain white; section dividers orange; down-arrow buttons
     white with 1px UI Orange border, no shadow; contact block brand orange
     #FF8500 with black text; footer headings black, bottom bar #000,
     "Back to top" arrow orange.
   -------------------------------------------------------------------------- */
.anr-step-15 { /* marker used by the before/after test scripts; no effect */ }

/* Top bar */
.head-top {
	background-color: #e6e6e6;
	color: #000;
}
.head-top .page-font-size {
	color: #000;
}
.head-top .menu li + li {
	border-left-color: rgba(0, 0, 0, 0.25);
}

/* Orange line under the header */
.head-middle {
	border-bottom: 1px solid var(--anr-orange);
}

/* Search box */
.c-main-navigation-search__input {
	border: 1px solid #666;
	box-shadow: none;
}
.c-main-navigation-search__button {
	background-color: transparent;
	color: #000;
}
.c-main-navigation-search__button svg * {
	stroke: #000; /* icon is an outline drawn with stroke="white" */
}

/* Olive text -> black (labels, headings, small links); olive hovers -> orange */
h5, .h5,
.c-projects-contents__top-heading, .c-projects-contents .h5,
.c-projects-contents .h6,
.career-meta li, .career-meta li + li:before,
.info-table-section table .read-more,
.resources-list .card .download-link,
.related-posts-section .post-list .post-details h5 a,
.card-top h4 a,
.c-search-page__reset-button,
.pg-content-inner .sidebar li a.current-page,
.sidebar .links-widget .current-menu-item a,
body #ctf p.ctf-tweet-text a {
	color: #000;
}
.widget a:visited {
	color: inherit;
}
.card-top h4 a:hover,
.blog-wrapper h2 a:hover, .blog-wrapper h3 a:hover,
.related-posts-section h4 a:hover,
.content-area .page-inner-nav .menu li a:hover,
.c-search-page__reset-button:hover, .c-search-page__reset-button:focus,
.head-middle.sticky .emergency-call a:hover, .head-middle.sticky .donate-wrap a:hover {
	color: var(--anr-orange-text);
}
input[type=checkbox]:checked + label:before,
.mobile-menu ul.menu-main > li .mobile-sub-menu h5:after {
	color: var(--anr-orange);
}

/* Letter-spacing: the wide tracking was for all-caps labels */
.h4,
h5, .h5,
.career-meta li, .career-meta li + li:before,
.events-single .content-area .card-bottom,
.events-single .content-area .event-topic a,
.c-projects-contents__top-heading, .c-projects-contents .h5,
.c-projects-contents .h6,
#ctf .ctf-author-name {
	letter-spacing: normal;
}

/* "Who we are" section (home): plain white, no texture.
   The texture is applied inline by a lazy-load script, hence !important. */
section.about-section:not(.relative-block) {
	background-color: #fff;
	background-image: none !important;
}

/* Section dividers and down-arrow buttons */
hr.clear-line {
	border-bottom-color: var(--anr-orange);
}
.anchore-arrow {
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid var(--anr-orange);
	box-shadow: none;
	color: #000 !important; /* legacy rule uses !important */
}

/* Contact block ("Contact ANROWS"): brand orange, black text.
   Figma adds a faint multi-gradient image at 20%; plain orange used here. */
.anr-contact-section {
	background-color: #ff8500;
	background-image: none !important;
	color: #000;
}
.anr-contact-section h1, .anr-contact-section .h1,
.anr-contact-section h2, .anr-contact-section h3,
.anr-contact-section h5, .anr-contact-section .h5,
.anr-contact-section.subscription-section h5,
.anr-contact-section.subscription-section .h5,
.anr-contact-section p,
.anr-contact-section a,
.anr-contact-section a:hover,
.anr-contact-section .link-underline:hover {
	color: #000 !important;
}
.anr-contact-section .link-underline:before {
	background-color: #000; /* orange underline would vanish on orange */
}

/* Footer */
.footer-bottom {
	background-color: #000;
}
.to-top span {
	color: var(--anr-orange);
}

/* --------------------------------------------------------------------------
   16. New Anrows logo + header alignment
   The logo file is images/anrows-logo.svg, swapped in via a filter in
   functions.php (anrows_reskin_logo).
   Figma (1920 frame): header 122px incl. the orange line; logo 162x59 at
   top 26px; menu and search centred on the lowercase "nrows" letters.
   Footer logo 131x48. Folk's staging review (16 Nov) asked for the header
   logo 10% smaller: 146px wide in the normal desktop header.
   Sticky header and tablet/mobile aren't in Figma: same principle applied.
   The theme scales the whole header down between 64em and 80em, so these
   pixel offsets scale with it.
   -------------------------------------------------------------------------- */
.anr-step-16 { /* marker used by the before/after test scripts; no effect */ }

.head-logo img,
.foot-logo img,
.c-main-navigation-search__logo img {
	height: auto;
	aspect-ratio: 1000.5 / 365; /* keeps the shape while lazy-loading */
}
.head-logo img {
	width: 162px;
	max-width: 100%;
}
.foot-logo img {
	width: 131px;
	max-width: 100%;
}

/* Vertical alignment: the menu text, search box and mobile menu button are
   centred on the logo's lowercase "nrows" letters (as in Figma), in the
   normal and the scrolled header. Offsets were measured from the rendered
   letters. Note: the theme zooms the page to 65% between 768px and 1279px,
   so the same CSS values look smaller there. */
@media screen and (min-width: 64em) {
	/* Main header (not scrolled) */
	.head-middle:not(.header-sticky-nav) .header-middle-inner > .row {
		min-height: 121px; /* + 1px orange line = 122px, as in Figma */
	}
	.head-middle:not(.header-sticky-nav) .head-logo img {
		width: 146px; /* Folk: 10% smaller than the 162px design */
		transform: translateY(-5px);
	}
	.head-middle:not(.header-sticky-nav) .main-nav {
		transform: translateY(9.4px);
	}
	.head-middle:not(.header-sticky-nav) .c-main-navigation-search__form {
		transform: translateY(9.4px);
	}
}

@media screen and (max-width: 63.9375em) {
	.head-logo img {
		width: 120px; /* existing mobile/tablet logo size */
		transform: translateY(-4px);
	}
}

/* 768px to 1023px, not scrolled */
@media screen and (min-width: 48em) and (max-width: 63.9375em) {
	.head-middle:not(.header-sticky-nav) .main-nav {
		transform: translateY(7px);
	}
	.head-middle:not(.header-sticky-nav) .c-main-navigation-search__form {
		transform: translateY(8px);
	}
}

/* Phones and small tablets (mobile header), normal and scrolled */
@media screen and (max-width: 47.9375em) {
	.head-middle .c-main-navigation-search__mobile {
		transform: translateY(7px);
	}
	/* inline link, so it's nudged with top rather than transform;
	   custom.css already sets top: 4px here */
	header .head-middle .menu-open {
		position: relative;
		top: 8px;
	}
}
@media screen and (min-width: 40em) and (max-width: 47.9375em) {
	header .head-middle .menu-open {
		top: 7.5px;
	}
}

/* Scrolled (sticky) header */
.head-middle.header-sticky-nav .head-logo img {
	width: 110px;
	transform: translateY(-4px);
}
@media screen and (min-width: 48em) {
	/* Compact bar (56px): a slightly smaller logo lets the menu sit level
	   with "nrows" without pushing the logo's dot against the top edge.
	   The search box is centred in the bar instead (looked cramped
	   against the orange line when aligned to "nrows"). */
	.head-middle.header-sticky-nav .head-logo img {
		width: 100px;
		transform: translateY(-5px);
	}
	/* move the menu text only, so the item dividers stay inside the bar */
	.head-middle.header-sticky-nav .main-nav > ul > li > a {
		transform: translateY(5px);
	}
	.head-middle.header-sticky-nav .c-main-navigation-search__input {
		height: 40px;
		min-height: 40px;
	}
	.head-middle.header-sticky-nav .c-main-navigation-search__button,
	.head-middle.header-sticky-nav .c-main-navigation-search__results-close {
		top: 0; /* keep the icon centred in the 40px box */
	}
	/* search box stays vertically centred in the short bar */
}
/* Same orange line under the scrolled (sticky) header bar */
body:not(.micro-site) .head-middle.header-sticky-nav .header-middle-inner {
	border-bottom: 1px solid var(--anr-orange);
}

/* --------------------------------------------------------------------------
   17. Folk's staging review (Figma "Anrows_Website reskin_Staging site
   review", 16 Nov 2026). Colour / type / line tweaks annotated on the Dev
   site. Line rule used throughout (Folk asked for both "black lines not
   grey" and "grey lines to orange"): section dividers are orange; menu,
   list, footer and vertical column lines are black.
   -------------------------------------------------------------------------- */
.anr-step-17 { /* marker used by the before/after test scripts; no effect */ }

/* Top bar: A+ / A- in Neue Grafik (was the serif) */
.head-top .page-font-size,
.head-top .page-font-size * {
	font-family: var(--anr-font-body) !important;
}

/* Search placeholder #666 */
.c-main-navigation-search__input::placeholder {
	color: #666;
	opacity: 1;
}

/* Menu, drop-down, footer and list lines: black */
body:not(.micro-site) .head-middle.header-sticky-nav .header-middle-inner > .row .main-nav li,
.head-middle.sticky .main-nav li {
	border-left-color: #000;
}
.mega-menu .widget-area ul li,
.footer-top .widget-area ul li,
.footer-top .widget-area .c-accordion__list {
	border-bottom-color: #000;
}

.mega-menu .list-underline li + li {
	border-top-color: #000;
}

/* Vertical column lines: black (drop-down menu columns stay orange) */
.v-delim {
	border-left-color: #000;
}
.main-content-inner .v-delim {
	border-top-color: #000;
}
.page-inner-nav .menu {
	border-left-color: #000;
}

/* Section dividers: orange */
.grey-section .section-md,
.projects-link-section:not(.alt),
.gov-tables-section .info-table-section,
.thyn-content:not(:last-of-type),
.further-reading,
.social-widget,
.share-widget {
	border-color: var(--anr-orange);
}
.su-divider {
	border-color: var(--anr-orange) !important; /* colour set inline by the shortcode */
	border-width: 0 0 1px !important; /* the shortcode draws a bottom border */
}
/* Home: orange line under the banner's dots and "More" prompt (as in the
   design) */
body.home .wrapper-inner > .text-center:has(> a.anchore) {
	border-bottom: 1px solid var(--anr-orange);
}

/* "Weird double line" (ANRA): a cream section that already ends with its
   own divider was followed by a second, full-width divider. Hide the second. */
.page-content > .row:has(.grey-section > hr.clear-line:last-child) + hr.clear-line {
	display: none;
}

/* Cream section backgrounds -> Orange 10 (#FFF3E6), all pages */
.grey-section,
.grey-section.dark,
section.about-section.relative-block:not(:has(.lgx_parallax_app)) {
	background-color: var(--anr-orange-10);
}
.researchers-row .callout {
	background-color: var(--anr-orange-10);
}

/* Down-arrow buttons: arrow centred in the circle (the legacy 3px top
   padding pushed it low inside the 1px border) */
.anchore-arrow {
	padding: 1px 0 0;
	line-height: 27px;
}

/* Slider dots: black (all sliders) */
.slick-dots > li > button {
	background: transparent;
	border-color: #000;
}
.slick-dots > li.slick-active > button {
	background: #000;
	border-color: #000;
}

/* Drop-down arrows: orange */
select:not(.select-changed) {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28227, 109, 0%29'></polygon></svg>");
}
.payment-method-select select:not(.select-changed) {
	background-image: url(../images/payment-method.png), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28227, 109, 0%29'></polygon></svg>");
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-top-color: var(--anr-orange);
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-bottom-color: var(--anr-orange);
}

/* Text links in page content: orange underline, orange on hover
   (were dark underline, olive/green hover) */
:is(.page-content, .content-area, .single-post-entry, .practitioner-row, .researchers-row, .text-gaps, .callout) p a:not(.link-underline):not(.su-button):not(.button) {
	border-bottom-color: var(--anr-orange);
}
:is(.page-content, .content-area, .single-post-entry, .practitioner-row, .researchers-row, .text-gaps, .callout) p a:not(.link-underline):not(.su-button):not(.button):is(:hover, :focus) {
	color: var(--anr-orange-text);
	border-bottom-color: var(--anr-orange);
}
/* "Jump to" links */
.page-inner-nav .menu li a:hover,
.page-inner-nav .menu li a:focus {
	color: var(--anr-orange-text);
}
/* Sidebar links (e.g. Research grants): underline was olive */
.sidebar .links-widget a:before {
	background-color: var(--anr-orange);
}
/* "Back to top": Regular, orange on hover */
.to-top {
	font-weight: 400;
}
.to-top:hover,
.to-top:focus {
	color: var(--anr-orange-text);
}

/* Home: publish dates and "Read more" links black (were grey) */
.article-meta,
.articles-row small.article-meta,
.link-more {
	color: #000;
}

/* Subscribe form on the orange contact block: labels black (white failed
   contrast); link hover white instead of olive; button hover black with
   white text and no olive line */
.anr-contact-section .gform_wrapper,
.anr-contact-section .gform_wrapper label,
.anr-contact-section .gform_wrapper legend,
.anr-contact-section .gform_wrapper .gfield_label,
.anr-contact-section .gform_wrapper .gfield_description,
.anr-contact-section .gform_wrapper .gfield_required {
	color: #000 !important;
}
.anr-contact-section .gform_wrapper a:hover,
.anr-contact-section .gform_wrapper a:focus {
	color: #fff !important;
	border-bottom-color: #fff !important;
}
.anr-contact-section .gform_wrapper .gform_footer input[type=submit]:hover,
.anr-contact-section .gform_wrapper .gform_footer input[type=submit]:focus,
.anr-contact-section .gform_wrapper .gform_footer button:hover,
.anr-contact-section .gform_wrapper .gform_footer button:focus {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: none !important;
}

/* Tags. Colours are set per category in WordPress (inline styles), hence
   !important. Default for every tag: grey with black text (Folk's
   "Research paper" design). Pill per Figma: Neue Grafik Bold 12px,
   radius 7px. */
h3.category, h4.category, .resource-cat, h3.past-event {
	background-color: #e6e6e6 !important;
	color: #000 !important;
	font-family: var(--anr-font-body);
	font-weight: 700;
	border-radius: 7px;
	letter-spacing: normal;
	text-transform: none; /* shown as named in WordPress, like Folk's "Research paper" */
}
/* Resource types: Folk's palette, matched on each type's colour as set in
   WordPress (the markup has no type class). Poster and Link share one colour
   in WordPress (#1e73be), so they share Folk's Poster blue; giving Link its
   own colour in WordPress (Resources > Article) would separate them. */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#7d791c" i] { background-color: #079c07 !important; color: #000 !important; } /* Fact sheet */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#9f66d0" i] { background-color: #490076 !important; color: #fff !important; } /* Infographic */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#1e73be" i] { background-color: #0193db !important; color: #000 !important; } /* Poster, Link */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#dd9933" i] { background-color: #e36d00 !important; color: #000 !important; } /* Webinar */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#d35d00" i] { background-color: #ff9d34 !important; color: #000 !important; } /* Video */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#702500" i] { background-color: #a55ed1 !important; color: #000 !important; } /* Podcast */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#49463c" i] { background-color: #333 !important;    color: #fff !important; } /* Workbook */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#42174b" i] { background-color: #cea5e7 !important; color: #000 !important; } /* Guidelines */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#a0a0a0" i] { background-color: #999 !important;    color: #000 !important; } /* Special collection */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#7e9ebf" i] { background-color: #d4eef9 !important; color: #000 !important; } /* Submission */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#9a51e2" i] { background-color: #79d578 !important; color: #000 !important; } /* Literature review */
:is(.resource-cat, .selecttion-list:not(.resources-topic) label)[style*="#1d2cb7" i] { background-color: #033280 !important; color: #fff !important; } /* Research summary */
/* Resources filters: sort pills and topic pills */
/* Date pills: purple (Folk preferred it to the grey in the design; their
   WordPress colour matched Infographic, which is mapped to this purple) */
label[for="sort-1"], label[for="sort-2"] {
	background-color: #490076 !important;
	color: #fff !important;
}
label[for="sort-3"], label[for="sort-4"] {
	background-color: #000 !important;
	color: #fff !important;
}
.resources-topic label {
	background-color: #0a3b16 !important;
	color: #fff !important;
}
/* Filter headings' dots match their pills (Figma) */
.columns:has(.resources-topic) .selection-block .circle { background-color: #0a3b16 !important; }
.columns:has(label[for^="check-"]):not(:has(.resources-topic)) .selection-block .circle { background-color: var(--anr-orange) !important; }
.columns:has(#sort-1) .selection-block .circle { background-color: #490076 !important; }

/* Sentence case for link text fixed in the theme ("READ MORE" on news
   cards, "Find Out More" on listing cards, "View" / "Find Out More" on
   resource cards): lowercase, then capitalise the first letter. */
.card-section a.link-more,
.callout > .flex-container > a.link-underline,
.resources-list .card a.download-link {
	text-transform: lowercase;
	display: inline-block;
}
.card-section a.link-more::first-letter,
.callout > .flex-container > a.link-underline::first-letter,
.resources-list .card a.download-link::first-letter {
	text-transform: uppercase;
}

/* Sentence case for three labels typed in capitals in WordPress, where the
   whole label is a fixed phrase with no names or acronyms (safe to force):
   "FONT SIZE" (top bar), "About US" (main + mobile menu item 6468) and the
   "FIND OUT MORE" buttons on Webinars (page 5098). Other capitalised labels
   contain names (ANROWS, ANRA) or need rewording, so they stay content edits. */
.head-top .top-menu li.show-for-medium > a > .link-underline,
.head-middle .main-nav li.menu-item-6468 > a,
.mobile-menu ul > li.menu-item-6468 > a,
body.page-id-5098 .page-content a.su-button span {
	text-transform: lowercase;
}
.head-top .top-menu li.show-for-medium > a > .link-underline::first-letter,
.head-middle .main-nav li.menu-item-6468 > a::first-letter,
.mobile-menu ul > li.menu-item-6468 > a::first-letter,
body.page-id-5098 .page-content a.su-button span::first-letter {
	text-transform: uppercase;
}

/* Mobile menu: highlighted item was olive */
.mobile-menu ul.menu-main > li > a:hover,
.mobile-menu ul.menu-main > li > a:focus,
.menu-accordion .accordion-title:hover,
.menu-accordion .accordion-title:focus {
	background-color: var(--anr-orange);
}

/* Listing cards (projects, State of knowledge papers, etc.): white with a
   black outline, like the other cards */
.c-project-item .callout,
.projects-slider .callout {
	background-color: #fff;
	border: 1px solid #000;
}

/* Australian policy context tables: header black; "Strategy" header in the
   primary orange #FF8500 with black text (staging review 2; was #FFB066, but
   the theme also paints the th cells olive, which covered it) */
.info-table-section table.goverment-table thead {
	background-color: #000;
}
.info-table-section table.sub-table thead,
.info-table-section table.sub-table thead th,
.info-table-section table.sub-table.dark thead th {
	background-color: #ff8500;
}
.info-table-section table.sub-table thead th,
.info-table-section table.sub-table thead th * {
	color: #000;
}


/* --------------------------------------------------------------------------
   18. Folk's staging review 2 (Figma "Review V2", Lisa's answers and notes)
   Hover text #B35600 is the --anr-orange-text variable in section 2.
   -------------------------------------------------------------------------- */
.anr-step-18 { /* marker used by the before/after test scripts; no effect */ }

/* Policy page "Jump to" carousel (a different component from the other
   "Jump to" menus): hover was green */
.c-quick-nav__link:hover,
.c-quick-nav__link:focus {
	color: var(--anr-orange-text);
}

/* Subscribe form on the orange block: links black with a black underline
   (the orange one vanished on orange); on hover the underline goes, text
   stays black (Folk, staging review 3; white hover failed contrast) */
.anr-contact-section .gform_wrapper a,
.anr-contact-section p a:not(.link-underline):not(.su-button):not(.button) {
	color: #000 !important;
	border-bottom-color: #000 !important;
}
.anr-contact-section .gform_wrapper a:hover,
.anr-contact-section .gform_wrapper a:focus,
.anr-contact-section p a:not(.link-underline):not(.su-button):not(.button):is(:hover, :focus) {
	color: #000 !important;
	border-bottom-color: transparent !important;
}

/* Publication filters (Search / Sort by / View): black keylines and text,
   like the homepage "View articles posted in" drop-down */
.c-filters__input,
.c-filters .select2-container--default .select2-selection--single,
.c-filters .select2-container--default .select2-selection--multiple {
	border-color: #000;
}
.c-filters label,
.c-filters__input,
.c-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #000;
}
.c-filters__input::placeholder,
.c-filters .select2-search__field::placeholder,
.c-filters .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #666;
	opacity: 1;
}


/* --------------------------------------------------------------------------
   19. Folk's staging review 3 (Figma "Review V3": leftover greens and a few
   other bits Lisa found page by page)
   -------------------------------------------------------------------------- */
.anr-step-19 { /* marker used by the before/after test scripts; no effect */ }

/* Category tags (news, media releases, etc.): the link inside the tag was
   white, so the text vanished on the grey. Links now take the tag's text
   colour (black, or white on the dark resource-type colours). */
:is(h3.category, h4.category, .resource-cat, h3.past-event) a,
:is(h3.category, h4.category, .resource-cat, h3.past-event) a:is(:hover, :focus, :visited) {
	color: inherit !important;
}

/* News "Article topics and themes" counts: olive -> UI Orange, black text
   (white on this orange is 3.25:1, too low for 12px text) */
.topics-list > li .post-count {
	background-color: var(--anr-orange);
	color: #000;
}
.topics-list > li .post-count * {
	color: inherit;
}

/* Page numbers (news, events, research program): current page black with
   white text; other pages and Next/Previous white with an orange outline,
   orange with black text on hover, like the buttons (Lisa's mock-up) */
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li .current {
	background-color: #fff;
	color: #000;
	border: 1px solid var(--anr-orange);
}
.blog-pagination .page-numbers li a:hover,
.blog-pagination .page-numbers li a:focus {
	background-color: var(--anr-orange);
	color: #000;
}
.blog-pagination .page-numbers li .current,
.blog-pagination .page-numbers li .current:hover {
	background-color: #000;
	color: #fff;
	border-color: #000;
}

/* Events listing cards: the lower panel was pale khaki on ANROWS-hosted
   events (set inline by the template) and off-white on others. All white
   with a black outline, like the other listing cards; the host tag on each
   card still shows which are ANROWS events. */
.events-list .card {
	border: 1px solid #000;
}
.events-list .card > .card-section {
	background-color: #fff !important;
}

/* "Connect with ANROWS" icons (Careers and other sidebars): olive squares
   with grey icons -> black with white icons; orange icon on hover */
.social-widget ul.social.menu li a {
	background-color: #000;
	color: #fff;
}
.social-widget ul.social.menu li a * {
	color: inherit;
}
.social-widget ul.social.menu li a:hover,
.social-widget ul.social.menu li a:focus {
	background-color: #000;
	color: var(--anr-orange);
}
/* Inquiries and submissions table: state/territory rows (National, NSW,
   etc.) were olive with white text. Primary orange with black text, like
   the "Strategy" header on the policy page. */
.info-table-section table tr td[colspan="4"] {
	background-color: #ff8500;
	color: #000;
}
.info-table-section table tr td[colspan="4"] * {
	color: #000 !important;
}
