/*
Theme Name: WP Agent OS Theme
Author: WP Agent OS
Description: Generated companion block theme for the wp-agent-os design system (ADR-005). Do not hand-edit — regenerate via `pnpm run build:theme`.
Version: 0.1.942
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: wpaos-theme
Tags: full-site-editing, block-styles, editor-style
*/

/* ── Theme chrome (header, footer, layout) ── */
/* ============================================================
   wp-agent-os theme chrome — header, footer, layout
   GENERATED companion theme (ADR-005). Do not hand-edit.
   Uses design tokens from theme.json (--wp--preset--* and
   --wp--custom--* CSS variables).
   ============================================================ */

/* ── Site layout ─────────────────────────────────────────── */
/* Footer at the bottom. The page (header part, main, footer part) is a column at
   least as tall as the window, less the admin bar, and main takes the spare
   height. On a short page the footer sits at the bottom of the window; on a long
   one it follows the last band with no gap. The footer is not fixed. Front end
   only: the editor canvas can give its root container the wp-site-blocks class,
   and its body is .editor-styles-wrapper. */
body:not(.editor-styles-wrapper) > .wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
body:not(.editor-styles-wrapper) > .wp-site-blocks > .wpaos-site-main {
  flex: 1 0 auto;
}
.wpaos-site-main {
  padding-top: var(--wp--custom--space--section--y, 48px);
  padding-bottom: var(--wp--custom--space--section--y, 48px);
}

/* Full-width pages (templates/full-width.html, front-page.html): bands run edge to
   edge and touch each other. Each band centres its own content. */
main.wpaos-site-main--full {
  padding: 0;
  margin-block: 0;
}
.wpaos-site-main--full > .wp-block-post-content > * {
  max-width: none;
  margin-block: 0;
}

/* Default page template (templates/page.html): post-content is the constrained
   layout, so a band with full alignment (the align block support on Section and
   CtaBanner) spans the viewport. It touches the blocks above and below it, as in
   the catalog renders; each band owns its padding. */
.wpaos-site-main > .wp-block-post-content > .alignfull {
  margin-block: 0;
}
/* The default page template keeps the page gutter on its title and content, as the posts and archives do: the
   root padding is 0 here, so the text of a page such as the privacy policy ran to the screen edges on phones. It is set
   through WordPress's root padding variables, which the title's group and post-content (both .has-global-padding)
   read, so a full-width band (.alignfull) still spans the viewport through core's matching negative margins, and a
   nested constrained group adds no second inset. */
main.wpaos-site-main--page {
  --wp--style--root--padding-left: var(--wp--custom--space--gutter--mobile, 1.25rem);
  --wp--style--root--padding-right: var(--wp--custom--space--gutter--mobile, 1.25rem);
}
@media (min-width: 881px) {
  main.wpaos-site-main--page {
    --wp--style--root--padding-left: var(--wp--custom--space--gutter--tablet, 2.25rem);
    --wp--style--root--padding-right: var(--wp--custom--space--gutter--tablet, 2.25rem);
  }
}

/* ── Part wrappers (parts/header.html, parts/footer.html) ── */
.wpaos-site-header,
.wpaos-site-footer {
  background: var(--wp--preset--color--navy, #1d365c);
  color: #fff;
}
/* The footer's 5px hot-pink top stripe (design system README, "Layout fixed elements"), in the
   AA pink (accentStrong, #df0562) through the action-primary preset (uofd-wp#231). */
.wpaos-site-footer {
  border-top: 5px solid var(--wp--preset--color--action-primary, #df0562);
}
/* The wrappers are flow-layout groups, so WordPress puts its block gap between
   their children. The chrome bands touch. */
.wpaos-site-header > .wpaos-header-nav,
.wpaos-site-footer > .wpaos-footer-nav,
.wpaos-site-footer > .wpaos-footer-subfooter {
  margin-block: 0;
}
/* The footer touches the end of main: no block gap above it. */
.wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0;
}

/* Sticky header, off by default. The theme adds the body class
   wpaos-sticky-header when the "Site header" setting under Settings > Reading is
   on, or when the wpaos_theme_sticky_header filter returns true. The element that
   sticks is the <header> WordPress renders around the part, a child of
   .wp-site-blocks. It stops under the admin bar, which scrolls away at 600px and
   under. Anchor jumps stop below the header: scroll-padding-top is the header
   height (85px; 65px at 880px and under; 118px at 720px and under without
   scripting, where the links take a row of their own, and 65px with it up to 1100px, where
   they sit in the menu drawer) plus the admin bar. A menu that makes the
   header taller than this (more links than fit, a third button) leaves anchor
   jumps a little short. */
.wpaos-sticky-header .wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
  background: var(--wp--preset--color--navy, #1d365c);
}
html:has(> body.wpaos-sticky-header) {
  --wpaos-site-header-height: 85px;
  scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wpaos-site-header-height));
}
@media (max-width: 880px) {
  html:has(> body.wpaos-sticky-header) {
    --wpaos-site-header-height: 65px;
  }
}
@media (max-width: 720px) {
  html:has(> body.wpaos-sticky-header) {
    --wpaos-site-header-height: 118px;
  }
}
@media (max-width: 1100px) and (scripting: enabled) {
  html:has(> body.wpaos-sticky-header) {
    --wpaos-site-header-height: 65px;
  }
}
@media (max-width: 600px) {
  .wpaos-sticky-header .wp-site-blocks > header.wp-block-template-part {
    top: 0;
  }
  html:has(> body.wpaos-sticky-header) {
    scroll-padding-top: var(--wpaos-site-header-height);
  }
}

/* One column for the chrome and the page. The header, the footer columns and the subfooter row start where a
   Section's content starts: the page gutter (20px to 56px, 4vw between) or, on a wide screen, the edge of the compact
   content column (59.25rem, 948px), whichever is further in. At 1440px all three start at 246px. */
.wpaos-header-nav,
.wpaos-footer-nav,
.wpaos-footer-subfooter {
  --wpaos-chrome-gutter: max(
    clamp(var(--space-gutter-mobile, 1.25rem), 4vw, var(--space-gutter-desktop, 3.5rem)),
    (100% - var(--space-raw-container-content, 59.25rem)) / 2
  );
}

/* Focus on the navy chrome: a 3px gold ring (DESIGN.md, Brand decisions). Pink on navy is 2.72:1, under the 3:1 a
   focus ring needs; gold is 7.88:1. */
.wpaos-site-footer a:focus-visible {
  outline: 3px solid var(--wp--preset--color--gold, #f1cd67);
  outline-offset: 3px;
}

/* ── Header: Primary nav ─────────────────────────────────── */
/* One row: the logo, the links, the buttons. The links take the space between
   the logo and the buttons and wrap inside it, so a long menu makes the row
   taller instead of pushing the logo or the buttons onto rows of their own; the
   buttons drop under only when the logo, the longest link and the buttons do not
   fit side by side. At 1100px and under, with scripting on, the links and the
   buttons move into a drawer that a menu button opens (header-drawer.js, below), and Contact Us stays in the bar beside
   the menu button. From 1101px the full row (logo, five links, two buttons: about 910px) fits on one line inside the 948px content column, and the links never wrap.
   The panel that holds them is display: contents above that width, so it adds no box. */
.wpaos-header-nav {
  background: var(--wp--preset--color--navy, #1d365c);
  color: #fff;
  padding: 0 var(--wpaos-chrome-gutter);
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  border-bottom: 1px solid rgba(241, 205, 103, 0.18);
}
.wpaos-header-nav a,
.wpaos-header-nav a:visited,
.wpaos-header-nav a:active {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.wpaos-header-nav a:focus-visible {
  outline: 3px solid var(--wp--preset--color--gold, #f1cd67);
  outline-offset: 3px;
}
.wpaos-header-nav__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  border: 0;
  padding: 4px 0;
  transition: opacity 0.15s ease;
}
.wpaos-header-nav__lockup:hover {
  opacity: 0.85;
}
.wpaos-header-nav__lockup:active {
  opacity: 0.7;
}
.wpaos-header-nav__lockup img {
  height: 38px;
  width: auto;
  max-width: 100%;
  display: block;
}

.wpaos-header-nav__links {
  display: flex;
  flex: 1 1 0%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
  min-width: min-content;
  align-items: center;
}
.wpaos-header-nav__link {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px;
  color: #fff;
  border-bottom: 2px solid transparent;
  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}
.wpaos-header-nav__link:hover {
  color: var(--wp--preset--color--gold, #f1cd67);
  border-bottom-color: rgba(241, 205, 103, 0.45);
}
/* The current page: gold text on a solid gold underline. Hover keeps its 45% underline, so the two differ. */
.wpaos-header-nav__link[aria-current="page"] {
  color: var(--wp--preset--color--gold, #f1cd67);
  border-bottom-color: var(--wp--preset--color--gold, #f1cd67);
}

@media (min-width: 1101px) {
  .wpaos-header-nav {
    flex-wrap: nowrap;
  }
  .wpaos-header-nav__links {
    flex-wrap: nowrap;
  }
}
.wpaos-header-nav__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wpaos-header-nav__ghost {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background-color 0.15s ease;
}
.wpaos-header-nav__ghost:hover {
  border-color: var(--wp--preset--color--gold, #f1cd67);
  color: var(--wp--preset--color--gold, #f1cd67);
  background: rgba(241, 205, 103, 0.06);
}
.wpaos-header-nav__enroll {
  background: var(--wp--preset--color--action-primary, #df0562);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 11px 16px;
  border: 1px solid var(--wp--preset--color--action-primary, #df0562);
  box-shadow: 0 6px 18px -6px rgba(234, 5, 103, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}
.wpaos-header-nav__enroll:hover {
  background: var(--wp--preset--color--action-primary-hover, #c9044f);
  box-shadow: 0 8px 22px -6px rgba(234, 5, 103, 0.7);
}
.wpaos-header-nav__enroll:active {
  background: #a8033f;
  transform: translateY(1px);
}
.wpaos-header-nav__arrow {
  font-weight: 900;
  transition: transform 0.15s ease;
}
.wpaos-header-nav__enroll:hover .wpaos-header-nav__arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .wpaos-header-nav__enroll,
  .wpaos-header-nav__arrow {
    transition: none;
    transform: none !important;
  }
}

/* ── Footer: Nav columns ─────────────────────────────────── */
.wpaos-footer-nav {
  background: var(--wp--preset--color--navy, #1d365c);
  color: #fff;
}
/* The brand column, then one column per top-level item of the footer menu, all on one row: three columns or six,
   the row splits the width between them. */
.wpaos-footer-nav__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 56px;
  padding: 56px var(--wpaos-chrome-gutter);
}
.wpaos-footer-nav__col {
  min-width: 0;
}
.wpaos-footer-nav__lockup {
  display: inline-block;
  max-width: 100%;
}
.wpaos-footer-nav__col--brand .wpaos-footer-nav__lockup img {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 18px;
}
.wpaos-footer-nav__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
  max-width: 32ch;
}

/* Status chip under the logo, such as "Cohort 5 enrolling" (SiteFooter statusText): an outlined chip with a gold
   dot, 11px white capitals (11.9:1). As a link it turns gold on hover. Empty by default. */
.wpaos-footer-nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}
a.wpaos-footer-nav__status:hover {
  color: var(--wp--preset--color--gold, #f1cd67);
  border-color: var(--wp--preset--color--gold, #f1cd67);
}
.wpaos-footer-nav__status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wp--preset--color--gold, #f1cd67);
}

/* Social links under the tagline (SiteFooter socials, FooterSocial): 36px square outlined buttons, a 16px white icon,
   gold on hover. Each icon is a mask over currentColor, so it follows the link colour; the network class sets which
   mask. */
.wpaos-footer-nav__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wpaos-footer-social {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}
.wpaos-footer-social:hover {
  color: var(--wp--preset--color--gold, #f1cd67);
  border-color: var(--wp--preset--color--gold, #f1cd67);
}
.wpaos-footer-social__icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--wpaos-footer-social-icon) center / contain no-repeat;
  mask: var(--wpaos-footer-social-icon) center / contain no-repeat;
}
.wpaos-footer-social--linkedin {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45z'/%3E%3C/svg%3E");
}
.wpaos-footer-social--x {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 1.15h3.68l-8.04 9.19L24 22.85h-7.4l-5.8-7.58-6.63 7.58H.49l8.6-9.83L0 1.15h7.59l5.24 6.93 6.07-6.93zm-1.29 19.5h2.04L6.48 3.24H4.3l13.31 17.41z'/%3E%3C/svg%3E");
}
.wpaos-footer-social--youtube {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.6 15.6V8.4l6.3 3.6-6.3 3.6z'/%3E%3C/svg%3E");
}
.wpaos-footer-social--spotify {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M6 9.4c4-1.3 8.6-1 12.2 1.1M6.8 12.9c3.2-1 6.8-.7 9.7 1M7.6 16.2c2.5-.8 5.2-.5 7.4.8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' mask='url(%23m)'/%3E%3C/svg%3E");
}
.wpaos-footer-social--instagram {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='2.1' y='2.1' width='19.8' height='19.8' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Ccircle cx='17.7' cy='6.3' r='.6' fill='black'/%3E%3C/svg%3E");
}
.wpaos-footer-social--facebook {
  --wpaos-footer-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8.2h2.8l.4-3.2h-3.2V8.6c0-.93.26-1.56 1.6-1.56h1.7V4.17c-.3-.04-1.3-.13-2.48-.13-2.46 0-4.14 1.5-4.14 4.25v2.36H7.3v3.2h2.8V22h3.4z'/%3E%3C/svg%3E");
}
/* 11px, the type floor, at 0.2em: white at 0.6 on navy is 5.44:1. */
.wpaos-footer-nav__col-heading {
  font-family: var(--wp--preset--font-family--roboto, system-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 18px;
}
.wpaos-footer-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Each link is at least 24px tall (WCAG 2.5.8 target size): 4px above and below the 16px line. */
.wpaos-footer-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.12s ease;
}
/* Hover and focus add an underline, so the state does not rest on colour alone. */
.wpaos-footer-nav__link:hover,
.wpaos-footer-nav__link:focus-visible {
  color: var(--wp--preset--color--gold, #f1cd67);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* A link that leaves the site (LinkedIn, learn.uof.digital) ends in a small arrow. It is decoration: the empty
   alternative text keeps it out of the link's name where the browser supports it. */
.wpaos-footer-nav__link[href^="http"]:not([href*="//uof.digital"]):not([href*="//www.uof.digital"]):not([href*="wpenginepowered.com"])::after {
  content: "\2197";
  content: "\2197" / "";
  font-size: 0.8em;
  line-height: 1;
}
/* A featured link's badge, such as "New": a small gold chip with navy text (11.6:1). */
.wpaos-footer-nav__badge {
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--wp--preset--color--gold, #f1cd67);
  color: var(--wp--preset--color--navy, #1d365c);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wpaos-footer-nav__link:has(.wpaos-footer-nav__badge) {
  color: #fff;
  font-weight: 600;
}

/* ── Footer: Subfooter ───────────────────────────────────── */
.wpaos-footer-subfooter {
  background: var(--wp--preset--color--navy, #1d365c);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--wp--preset--spacing--4, 1rem) 0;
}
/* Copyright on the left, the legal links centred, and a third column kept for social links (the design system's
   sub-footer), so the legal links sit in the middle of the row. */
.wpaos-footer-subfooter__inner {
  padding: 0 var(--wpaos-chrome-gutter);
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--wp--preset--spacing--3, 0.75rem) var(--wp--preset--spacing--5, 1.5rem);
}
/* Copyright and legal links are white at 65% on navy (6.09:1), the lowest white the brand uses for text. */
.wpaos-footer-subfooter__copyright {
  font-size: 12px;
  color: var(--wp--preset--color--ink-white-muted, rgba(255, 255, 255, 0.65));
}
.wpaos-footer-subfooter__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
}
/* 12px links on a 24px target (6px above and below), at 65% white (6.09:1 on navy). Hover and focus add an
   underline, so the state does not rest on colour alone; keyboard focus also draws the gold ring (7.88:1 on navy). */
.wpaos-footer-subfooter__legal a {
  display: inline-block;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1;
  color: var(--wp--preset--color--ink-white-muted, rgba(255, 255, 255, 0.65));
  text-decoration: none;
  transition: color 0.12s ease;
}
.wpaos-footer-subfooter__legal a:hover,
.wpaos-footer-subfooter__legal a:focus-visible {
  color: var(--wp--preset--color--gold, #f1cd67);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.wpaos-footer-subfooter__legal a:focus-visible {
  outline: 3px solid var(--wp--preset--color--gold, #f1cd67);
  outline-offset: 2px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 880px) {
  .wpaos-header-nav {
    min-height: 64px;
    gap: 6px 14px;
  }
  .wpaos-header-nav__lockup img {
    height: 28px;
  }
  .wpaos-header-nav__links {
    gap: 2px;
  }
  .wpaos-header-nav__link {
    font-size: 11px;
    padding: 8px 8px;
  }
  /* 11px type (the floor) on 44px targets. Row one still fits at 390px: the 28px lockup, then both buttons. */
  .wpaos-header-nav__ghost,
  .wpaos-header-nav__enroll {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    padding: 10px 14px;
    min-height: 2.75rem;
    box-sizing: border-box;
  }
  /* Phones: one column, the brand column and then each link column stacked (owner, 2026-11-25). */
  .wpaos-footer-nav__cols {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    gap: 28px 24px;
    padding-block: 36px;
  }
  .wpaos-footer-nav__col--brand {
    grid-column: 1 / -1;
  }
  .wpaos-footer-subfooter__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .wpaos-footer-subfooter__legal {
    justify-content: center;
  }
}

/* Tablets: the link columns share one row of three under the brand column, so three columns never leave one hanging
   on a row of its own (six wrap as two even rows). */
@media (min-width: 37.5rem) and (max-width: 880px) {
  .wpaos-footer-nav__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Under 360px: a smaller logo and tighter buttons, so the logo and both buttons still share row one at 320px (the
   WCAG 1.4.10 reflow width). */
@media (max-width: 359px) {
  .wpaos-header-nav {
    gap: 6px 10px;
  }
  .wpaos-header-nav__lockup img {
    height: 24px;
  }
  .wpaos-header-nav__ctas {
    gap: 6px;
  }
  .wpaos-header-nav__ghost,
  .wpaos-header-nav__enroll {
    padding-inline: 10px;
    letter-spacing: 0.1em;
  }
}

/* Phone, any header: the logo and the buttons share row one. Without scripting (or in a browser without the
   scripting media feature) the links take a row of their own under it and wrap; the drawer below replaces that. */
@media (max-width: 720px) {
  .wpaos-header-nav {
    padding-block: 10px 6px;
    min-height: 0;
  }
  .wpaos-header-nav__ctas {
    margin-left: auto;
  }
  .wpaos-header-nav__links {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  /* 11px links on 44px targets (13px above and below the 16px line, and the 2px underline; at least 44px wide). */
  .wpaos-header-nav__link {
    font-size: 11px;
    padding: 13px 8px;
    line-height: 16px;
    min-width: 2.75rem;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Without scripting, a header with links keeps them on a row of their own under the logo and buttons up to 1100px. */
@media (max-width: 1100px) {
  .wpaos-header-nav--collapsible .wpaos-header-nav__ctas {
    margin-left: auto;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__links {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* The phone menu drawer (uof-digital/uofd-wp#252, H1). Only for a header that has links (.wpaos-header-nav--collapsible)
   and only with scripting on: the button needs header-drawer.js, and the media feature keeps the links in view
   without it. The header stays one 64px row, so opening the drawer shifts nothing; the drawer is fixed, from the
   right edge, under the admin bar, with a scrim (the nav's own ::after) over the page. The toggle sits above it and
   becomes the close button. */
.wpaos-header-nav__panel {
  display: contents;
}
.wpaos-header-nav__toggle,
.wpaos-header-nav__bar-ctas {
  display: none;
}
@media (max-width: 1100px) and (scripting: enabled) {
  .wpaos-header-nav--collapsible {
    flex-wrap: nowrap;
    min-height: 64px;
    padding-block: 0;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1000;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 -10px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  /* Contact Us (the primary button) stays in the bar at every width, beside the menu button. Sign in and the other
     buttons are in the drawer. */
  .wpaos-header-nav--collapsible .wpaos-header-nav__bar-ctas {
    display: flex;
    align-items: center;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__lockup {
    margin-right: auto;
  }
  .wpaos-header-nav__bar-ctas .wpaos-header-nav__ghost {
    display: none;
  }
  .wpaos-header-nav__bar-ctas .wpaos-header-nav__enroll {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    box-sizing: border-box;
    padding: 10px 14px;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__toggle:focus-visible {
    outline: 3px solid var(--wp--preset--color--gold, #f1cd67);
    outline-offset: -3px;
  }
  .wpaos-header-nav__bars,
  .wpaos-header-nav__bars::before,
  .wpaos-header-nav__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease;
  }
  .wpaos-header-nav__bars {
    position: relative;
  }
  .wpaos-header-nav__bars::before,
  .wpaos-header-nav__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .wpaos-header-nav__bars::before {
    top: -7px;
  }
  .wpaos-header-nav__bars::after {
    top: 7px;
  }
  .wpaos-header-nav--collapsible[data-drawer-open] .wpaos-header-nav__bars {
    background: transparent;
  }
  .wpaos-header-nav--collapsible[data-drawer-open] .wpaos-header-nav__bars::before {
    transform: translateY(7px) rotate(45deg);
  }
  .wpaos-header-nav--collapsible[data-drawer-open] .wpaos-header-nav__bars::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .wpaos-header-nav--collapsible .wpaos-header-nav__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    right: 0;
    bottom: 0;
    z-index: 999;
    box-sizing: border-box;
    width: min(88vw, 22rem);
    padding: 72px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--wp--preset--color--navy, #1d365c);
    border-left: 1px solid rgba(241, 205, 103, 0.18);
    box-shadow: -18px 0 40px -12px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.22s ease,
      visibility 0s linear 0.22s;
  }
  .wpaos-header-nav--collapsible[data-drawer-open] .wpaos-header-nav__panel {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
  .wpaos-header-nav--collapsible[data-drawer-open]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(10, 22, 40, 0.6);
  }

  /* The links are a column of 48px rows with hairlines; the buttons follow, full width. */
  .wpaos-header-nav--collapsible .wpaos-header-nav__links {
    order: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__link {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 12px 4px;
    font-size: 13px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__link[aria-current="page"] {
    border-bottom-color: var(--wp--preset--color--gold, #f1cd67);
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__ghost,
  .wpaos-header-nav--collapsible .wpaos-header-nav__enroll {
    justify-content: center;
    text-align: center;
  }
  .wpaos-header-nav--collapsible .wpaos-header-nav__panel a:focus-visible {
    outline-offset: -3px;
  }
  /* The page behind the drawer does not scroll while it is open. */
  html.wpaos-header-drawer-open {
    overflow: hidden;
  }
}
@media (max-width: 1100px) and (scripting: enabled) and (prefers-reduced-motion: reduce) {
  .wpaos-header-nav__bars,
  .wpaos-header-nav__bars::before,
  .wpaos-header-nav__bars::after,
  .wpaos-header-nav--collapsible .wpaos-header-nav__panel {
    transition: none;
  }
}

/* ── Posts, archives and search ──────────────────────────── */
/* templates/home.html (the posts page), single.html, archive.html, search.html
   and index.html. Core blocks only, so no catalog CSS loads on these pages
   (404.html is catalog bands in the full-width main, styled by the blocks plugin): type and colour come from the theme.json tokens, with literal
   fallbacks. Link text is navy, not pink: pink on white is under 4.5:1. */
/* main.: WordPress's .has-global-padding (root padding, 0 here) loads later. */
main.wpaos-site-main--listing,
main.wpaos-site-main--single {
  padding-inline: var(--wp--custom--space--gutter--mobile, 1.25rem);
}
.wpaos-page-title {
  margin-block: 0 1.5rem;
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-size: var(--wp--custom--type--h-1--size-desktop, clamp(2.5rem, 4.8vw, 4.125rem));
  font-weight: var(--wp--custom--type--h-1--weight, 300);
  line-height: 1.05;
  letter-spacing: var(--wp--custom--type--h-1--letter-spacing, -0.022em);
}
.wpaos-page-lede {
  margin-block: 0 2rem;
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--lede--size, 1.125rem);
  line-height: var(--wp--custom--type--lede--line-height, 1.55);
}
.wpaos-page-lede a,
.wpaos-post-content a,
.wpaos-post-list__empty a,
:where(.wpaos-site-main--page .wp-block-post-content) :is(p.wp-block-paragraph, .wp-block-list li) a:not([class]) {
  color: var(--wp--preset--color--text-primary, #1d365c);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Headings and the FAQ questions balance their lines, so a heading does not end on one word alone (QA review,
   2026-11-25). No specificity: a block that sets its own wrap (FeatureCard's icon card keeps 'pretty', so a title does
   not break at its hyphen) keeps it, and the titles inside a heading inherit it. */
:where(h1, h2, h3, .wpaos-faq-item__question) {
  text-wrap: balance;
}

/* Search form (search.html). */
.wpaos-search {
  margin-block: 0 2.5rem;
}
.wpaos-search .wp-block-search__inside-wrapper {
  gap: 0.5rem;
}
.wpaos-search .wp-block-search__input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp--preset--color--border-control, #828d9e);
  border-radius: var(--wp--custom--radius--sm, 0.25rem);
  font: inherit;
  color: var(--wp--preset--color--text-primary, #1d365c);
}
.wpaos-search .wp-block-search__button {
  margin: 0;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--wp--custom--radius--pill, 999px);
  background: var(--wp--preset--color--surface-dark, #1d365c);
  color: var(--wp--preset--color--text-inverse, #fff);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.wpaos-search .wp-block-search__input:focus-visible,
.wpaos-search .wp-block-search__button:focus-visible {
  outline: 0.125rem solid var(--wp--preset--color--focus-ring, #ea0567);
  outline-offset: 0.125rem;
}

/* Post lists (home.html, archive.html, search.html, index.html). */
.wpaos-post-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wpaos-post-list__items > li {
  margin: 0;
  padding-block: 1.75rem;
  border-top: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
}
.wpaos-post-list__items > li:last-child {
  border-bottom: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
}
.wpaos-post-list__date,
.wpaos-post-header__date {
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--card-meta--size, 0.6875rem);
  font-weight: var(--wp--custom--type--card-meta--weight, 700);
  letter-spacing: var(--wp--custom--type--card-meta--letter-spacing, 0.16em);
  text-transform: uppercase;
}
.wpaos-post-list__title {
  margin-block: 0.5rem;
  font-size: var(--wp--custom--type--h-2--size, clamp(1.5rem, 4vw, 2.25rem));
  font-weight: var(--wp--custom--type--h-2--weight, 300);
  line-height: var(--wp--custom--type--h-2--line-height, 1.05);
  letter-spacing: var(--wp--custom--type--h-2--letter-spacing, -0.015em);
}
.wpaos-post-list__title a {
  color: var(--wp--preset--color--text-primary, #1d365c);
  text-decoration: none;
}
.wpaos-post-list__title a:hover,
.wpaos-post-list__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.wpaos-post-list__excerpt,
.wpaos-post-list__excerpt p {
  margin: 0;
  color: var(--wp--preset--color--text-secondary, #4a5870);
}
.wpaos-post-list__excerpt .wp-block-post-excerpt__more-text {
  margin-block-start: 0.5rem;
}
.wpaos-post-list__empty {
  color: var(--wp--preset--color--text-secondary, #4a5870);
}
.wpaos-post-list__pagination {
  margin-block-start: 2rem;
  font-weight: 600;
}
.wpaos-post-list__pagination a,
.wpaos-post-list__pagination .current {
  color: var(--wp--preset--color--text-primary, #1d365c);
}

.wpaos-post-list__pagination .page-numbers {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  text-decoration: none;
}
.wpaos-post-list__pagination .page-numbers.current {
  background: var(--wp--preset--color--surface-dark, #1d365c);
  color: var(--wp--preset--color--text-inverse, #fff);
}

/* Blog roll (home.html, archive.html). The posts page and the category and tag
   archives, top to bottom: the listing header (a gold bar over the title), the
   outlined lead card, a "Featured" row of three, and the
   list with a sidebar. The page structure is in the templates; the markup of
   each post (lead card, featured column, list row) is a Pods Template
   (wpaos-blog-lead-story, -featured-cover, -list-row), edited under Pods Admin >
   Templates and placed by a [pods] shortcode (wpaos includes/blog-roll.php).
   The catalog stylesheet (wpaos-blocks), which the theme loads on these views,
   gives the eyebrow. Everything stacks to one column on a phone. */
.wpaos-listing-header {
  margin-block: 0 var(--space-6);
}
.wpaos-listing-header::before {
  content: "";
  display: block;
  width: 3rem;
  height: 0.375rem;
  margin-block-end: var(--space-4);
  background: var(--color-gold);
}
.wpaos-listing-header .wpaos-page-title,
.wpaos-listing-header .wpaos-page-lede {
  max-width: 45rem;
}
.wpaos-listing-header .wpaos-page-lede {
  margin-block-end: 0;
}
/* The blog roll's column is the chrome column (above: the page gutter or, on a wide screen, the edge of the compact
   content column, 59.25rem, whichever is further in), so its left edge lines up with the header's logo and its right
   edge with the header's buttons, as a Section's content does. The constrained layout's wide size (1060px) is then
   wider than the space left, so the alignwide children fill it. */
main.wpaos-site-main--listing.wpaos-blogroll {
  padding-inline: max(
    clamp(var(--space-gutter-mobile, 1.25rem), 4vw, var(--space-gutter-desktop, 3.5rem)),
    (100% - var(--space-raw-container-content, 59.25rem)) / 2
  );
}
main.wpaos-site-main--listing.wpaos-blogroll > * {
  max-width: none;
}
/* Phones: the blog roll starts close under the header (owner review, 2026-11-25: too much white space between the
   navigation and the first item). No block gap above main, a smaller top padding, and the lead closer to the bar. */
@media (max-width: 44.9375rem) {
  main.wpaos-site-main--listing.wpaos-blogroll {
    margin-block-start: 0;
    padding-top: var(--space-5);
  }
  .wpaos-blogroll .wpaos-blogroll__top {
    margin-block-start: var(--space-4);
  }
}

/* The blog roll's header: the page title is our Eyebrow (an accessible h1), the search icon at the right end. */
.wpaos-blogroll .wpaos-listing-header::before {
  display: none;
}
.wpaos-blogroll__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.wpaos-blogroll__bar > .wpaos-page-title {
  max-width: none;
  margin: 0;
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  line-height: var(--type-eyebrow-line-height, 1.2);
  letter-spacing: var(--type-eyebrow-letter-spacing);
  text-transform: uppercase;
}
.wpaos-blogroll .wpaos-listing-header .wpaos-page-lede {
  margin-block-start: var(--space-4);
}
/* A category or tag archive: the eyebrow "Blog" over the term's name as the h1 in the page-title scale, then the
   term description as the lede. The blog index has the same header: "Blog" as the h1 and a one-line lede (QA review,
   2026-11-25). */
.wpaos-blogroll__heading {
  min-width: 0;
}
.wpaos-blogroll__kicker {
  margin: 0 0 var(--space-3);
}
/* The eyebrow is the way back to the blog roll: a left arrow before "Blog" (theme inc/blog.php sets the posts page's
   address). The arrow is a mask in the text colour, so it follows the eyebrow's tone; it moves a little on hover. */
.wpaos-blogroll__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2, 0.5rem);
  min-height: 1.5rem;
  color: inherit;
  text-decoration: none;
}
.wpaos-blogroll__back::before {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}
.wpaos-blogroll__back:hover,
.wpaos-blogroll__back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.wpaos-blogroll__back:hover::before {
  transform: translateX(-0.1875rem);
}
.wpaos-blogroll__back:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .wpaos-blogroll__back::before {
    transition: none;
  }
}
.wpaos-blogroll__term-title {
  margin: 0;
}
.wpaos-blogroll__search {
  flex: 0 0 auto;
  margin: 0;
}
.wpaos-blogroll__search .wp-block-search__inside-wrapper {
  align-items: center;
  gap: var(--space-2);
}
.wpaos-blogroll__search .wp-block-search__button.has-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: var(--border-width-hairline) solid var(--color-ink-navy-wash);
  border-radius: var(--wp--custom--radius--pill, 999px);
  background: var(--color-surface-base);
  color: var(--wp--preset--color--text-primary, #1d365c);
}
.wpaos-blogroll__search .wp-block-search__button.has-icon:hover {
  background: var(--color-surface-soft);
}
.wpaos-blogroll__search .wp-block-search__button svg {
  fill: currentColor;
}

/* A post's parts, in every template. Stray paragraphs and line breaks (wpautop) never take space. */
.wpaos-blogroll :where(p:empty, br) {
  display: none;
}
.wpaos-blogroll__eyebrow {
  flex-wrap: wrap;
  margin: 0 0 var(--space-2);
}
.wpaos-blogroll__eyebrow:empty,
.wpaos-blogroll__media:empty,
.wpaos-blogroll__thumb:empty {
  display: none;
}
.wpaos-blogroll__eyebrow a {
  color: inherit;
  text-decoration: none;
}
.wpaos-blogroll__eyebrow a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.wpaos-blogroll__title {
  margin: 0;
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-size: var(--type-program-title-size);
  font-weight: var(--wp--custom--type--h-2--weight, 300);
  line-height: 1.2;
}
.wpaos-blogroll__title--lead {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
}
.wpaos-blogroll__title a {
  color: inherit;
  text-decoration: none;
}
.wpaos-blogroll__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.wpaos-blogroll a:focus-visible {
  outline: 0.125rem solid var(--color-focus-ring);
  outline-offset: 0.125rem;
}
.wpaos-blogroll__date {
  margin: var(--space-2) 0 0;
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--card-meta--size, 0.6875rem);
  font-weight: var(--wp--custom--type--card-meta--weight, 700);
  letter-spacing: var(--wp--custom--type--card-meta--letter-spacing, 0.16em);
  text-transform: uppercase;
}
.wpaos-blogroll__media,
.wpaos-blogroll__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-surface-soft);
}
/* A post with no picture (and no default image set): a navy block with a quiet diagonal pattern and a gold edge, so
   the layout never shows an empty box. Decorative. */
.wpaos-blogroll__placeholder {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(135deg, rgba(241, 205, 103, 0) 60%, rgba(241, 205, 103, 0.22) 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 0.0625rem, transparent 0.0625rem 0.75rem),
    var(--wp--preset--color--navy, #1d365c);
}
.wpaos-blogroll__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The picture fills its box and never sets its height: the box's aspect ratio (or the grid row) does, so a portrait
   or an odd-sized image gives a thumbnail or a cover the same size as every other. */
.wpaos-blogroll__media > .wpaos-blogroll__img,
.wpaos-blogroll__thumb > .wpaos-blogroll__img {
  position: absolute;
  inset: 0;
}
/* The lead story: one of our outlined cards (the program-card hairline), the picture left and the story right on a
   wide screen, stacked on a phone. */
.wpaos-blogroll__top {
  margin-block-start: var(--space-6);
}
.wpaos-blogroll__lead > * {
  margin-block: 0;
}
.wpaos-blogroll__leadcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--color-surface-base);
  /* A real border, not an inset shadow: a shadow is painted under the picture, which then covers the outline. */
  border: 0.0625rem solid var(--color-border-hairline);
}
.wpaos-blogroll__leadcard > .wpaos-blogroll__media {
  aspect-ratio: 8 / 5;
}
/* Stacked (phones and tablets, under 64rem): the picture shows whole, at its own ratio, full width above the copy.
   The lead loads eagerly with its width and height, so the browser keeps the room before it arrives. */
@media (max-width: 63.99rem) {
  .wpaos-blogroll__leadcard > .wpaos-blogroll__media:has(> img) {
    aspect-ratio: auto;
  }
  .wpaos-blogroll__leadcard > .wpaos-blogroll__media > .wpaos-blogroll__img {
    position: static;
    height: auto;
  }
}
.wpaos-blogroll__leadcard > .wpaos-blogroll__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
}
.wpaos-blogroll__leadcard > .wpaos-blogroll__copy > * {
  margin-block-start: 0;
}
.wpaos-blogroll__title--lead {
  font-size: var(--type-program-title-size);
  line-height: 1.2;
}
.wpaos-blogroll__excerpt {
  margin: var(--space-3) 0 0;
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--type-small-size);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.wpaos-blogroll__excerpt:empty {
  display: none;
}
/* The item's foot: the date at the left and the Read link at the right, on the item's last line (owner review,
   2026-11-25). The link is the catalog Button's link form with its arrow (the design's tertiary arrow button: no box,
   no outline). In the lead card the foot sits at the bottom of the copy column, so the link lines up with the card's
   bottom right corner; in a row it ends the copy. */
.wpaos-blogroll__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-block-start: var(--space-3);
}
.wpaos-blogroll__foot > .wpaos-blogroll__date {
  margin: 0;
}
.wpaos-blogroll__foot > .wpaos-blogroll__readlink {
  margin-block: 0;
  margin-inline-start: auto;
}
.wpaos-blogroll__leadcard > .wpaos-blogroll__copy > .wpaos-blogroll__foot {
  align-self: stretch;
  margin-block-start: auto;
  padding-block-start: var(--space-4);
}
/* The post title after "Read", for screen readers only, so each Read link says which post it opens. */
.wpaos-blogroll__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Side by side from 64rem: below that the copy column is too narrow, the card grows tall and a wide picture lost its
   sides (the ANA and U of Digital logos at 834px). */
@media (min-width: 64rem) {
  .wpaos-blogroll__leadcard {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  .wpaos-blogroll__leadcard > .wpaos-blogroll__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
  .wpaos-blogroll__leadcard > .wpaos-blogroll__copy {
    justify-content: center;
    padding: var(--space-6);
  }
  /* A lead story with no picture takes the whole card. */
  .wpaos-blogroll__leadcard:not(:has(> .wpaos-blogroll__media:not(:empty))) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The "Featured" row: a label and a hairline, then three columns. */
.wpaos-blogroll__featured {
  margin-block-start: var(--space-6);
}
.wpaos-blogroll__section-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0 0 var(--space-5);
}
.wpaos-blogroll__section-label::after {
  content: "";
  flex: 1 1 auto;
  border-top: var(--border-width-hairline) solid var(--color-ink-navy-wash);
}
.wpaos-blogroll__featured-items {
  display: grid;
}
/* The featured row is a flow-layout group, so WordPress gives every card after the first a top margin. In a grid that
   pushes cards 2 and 3 down and, with the stretched 4:5 covers, makes the first card wider than its column. */
/* Scoped under .wpaos-blogroll so it outranks core's inline `:root :where(.is-layout-flow) > *`, which has the same
   specificity as a single class and loads later. */
.wpaos-blogroll .wpaos-blogroll__featured-items > * {
  margin-block: 0;
}
.wpaos-blogroll__col {
  padding-block: var(--space-4);
  border-top: var(--border-width-hairline) solid var(--color-ink-navy-wash);
}
.wpaos-blogroll__col:first-child {
  border-top: 0;
  padding-block-start: 0;
}
@media (min-width: 45rem) {
  .wpaos-blogroll__featured-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wpaos-blogroll__col,
  .wpaos-blogroll__col:first-child {
    padding: 0 var(--space-5);
    border-top: 0;
    border-inline-start: var(--border-width-hairline) solid var(--color-ink-navy-wash);
  }
  .wpaos-blogroll__col:first-child {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .wpaos-blogroll__col:last-child {
    padding-inline-end: 0;
  }
}

/* Featured cover cards (template wpaos-blog-featured-cover; the UI lab's PhotoHero): the picture fills the card, a navy
   scrim rises from the bottom, and the category, title and date sit in the lower third in white. The whole card is the
   title's link (a stretched ::after); the category links stay above it. */
.wpaos-blogroll__featured-items:has(.wpaos-blogroll__cover) {
  gap: var(--space-5);
  align-items: stretch;
}
/* Every card is the same size: the column sets the width, the 4:5 ratio the height, and the explicit stretch makes
   each card as tall as the tallest in the row (a grid item with an aspect ratio otherwise keeps its own height, so a
   card with a longer title stood taller than its neighbours). The title is held to four lines. */
.wpaos-blogroll__cover {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wp--preset--color--navy, #1d365c);
  color: #fff;
}
.wpaos-blogroll__cover-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.wpaos-blogroll__cover-media:empty {
  display: none;
}
.wpaos-blogroll__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* The bottom ~45% under the copy is near-opaque navy, so text in the picture never shows through the title. */
  background: linear-gradient(180deg, rgba(14, 27, 48, 0) 20%, rgba(14, 27, 48, 0.6) 40%, rgba(14, 27, 48, 0.9) 55%, rgba(14, 27, 48, 0.96) 100%);
}
.wpaos-blogroll__cover-copy {
  padding: var(--space-5);
}
.wpaos-blogroll__cover .wpaos-blogroll__eyebrow {
  position: relative;
  z-index: 2;
  color: #fff;
}
.wpaos-blogroll__cover .wpaos-blogroll__eyebrow a {
  color: #fff;
}
.wpaos-blogroll__cover .wpaos-blogroll__title {
  color: #fff;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.wpaos-blogroll__cover .wpaos-blogroll__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.wpaos-blogroll__cover .wpaos-blogroll__date {
  color: rgba(255, 255, 255, 0.9);
}
.wpaos-blogroll .wpaos-blogroll__cover .wpaos-blogroll__title a:focus-visible {
  outline: none;
}
.wpaos-blogroll__cover:has(.wpaos-blogroll__title a:focus-visible) {
  outline: 0.1875rem solid var(--color-focus-ring);
  outline-offset: 0.125rem;
}
.wpaos-blogroll__cover:hover .wpaos-blogroll__title a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* The list (two thirds) and the sidebar (one third), a hairline between, set well apart from the Featured row. Rows
   sit close together: a hairline and a small gap between. */
.wpaos-blogroll__main {
  display: grid;
  gap: var(--space-7);
  margin-block-start: var(--space-9);
}
.wpaos-blogroll__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-top: var(--border-width-hairline) solid var(--color-ink-navy-wash);
}
.wpaos-blogroll__row:first-child {
  padding-block-start: 0;
  border-top: 0;
}
.wpaos-blogroll__thumb {
  aspect-ratio: 16 / 9;
}
.wpaos-blogroll__row .wpaos-blogroll__copy > :last-child {
  margin-block-end: 0;
}
/* Every thumbnail is the same size: a fixed 11rem column at 16:9. */
@media (min-width: 36rem) {
  .wpaos-blogroll__row {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
  }
  .wpaos-blogroll__row:not(:has(> .wpaos-blogroll__thumb:not(:empty))) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 60rem) {
  .wpaos-blogroll__main {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0;
  }
  .wpaos-blogroll__list {
    padding-inline-end: var(--space-6);
  }
  .wpaos-blogroll__sidebar {
    padding-inline-start: var(--space-6);
    border-inline-start: var(--border-width-hairline) solid var(--color-ink-navy-wash);
  }
}
/* The list's pagination (Pods, paginate_links): one row. Under 480px the gaps close up and the ellipsis and the last
   page number after it are left out, so 'Next' stays on the row (QA review, 2026-11-25). */
.wpaos-blogroll__list .pods-pagination-paginate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}
.wpaos-blogroll__list .page-numbers.next,
.wpaos-blogroll__list .page-numbers.prev {
  white-space: nowrap;
}
@media (max-width: 29.9375rem) {
  .wpaos-blogroll__list .pods-pagination-paginate {
    gap: 0;
  }
  .wpaos-blogroll__list .pods-pagination-paginate .page-numbers {
    min-width: 2.25rem;
    padding-inline: 0.5rem;
  }
  .wpaos-blogroll__list .page-numbers.dots,
  .wpaos-blogroll__list .page-numbers.dots + .page-numbers:not(.next) {
    display: none;
  }
}
.wpaos-blogroll__list .page-numbers {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.wpaos-blogroll__list .page-numbers.current {
  background: var(--wp--preset--color--surface-dark, #1d365c);
  color: var(--wp--preset--color--text-inverse, #fff);
}
.wpaos-blogroll__list .page-numbers:not(.current):hover {
  text-decoration: underline;
}
.wpaos-blogroll__list > :last-child:not(.wpaos-blogroll__row) {
  margin-block-start: var(--space-5);
}

/* The newsletter signup in the sidebar: the same CtaBanner (compact) as after a post and on the Newsletters page
   (QA review, 2026-11-25: one signup style), its headline and padding sized for the narrow column. */
.wpaos-blogroll__newsletter .wpaos-cta-banner--compact .wpaos-cta-banner__inner {
  padding: var(--space-5);
}
.wpaos-blogroll__newsletter .wpaos-cta-banner__headline {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
}
/* An empty form area (no Gravity Form resolved for the key) hides the whole panel. */
.wpaos-blogroll__newsletter:not(:has(.wpaos-cta-banner__fields > *)) {
  display: none;
}

/* A part whose shortcode printed no post takes no space: an archive with four posts or fewer has no list (the
   newsletter then spans the row), one with a single post has no Featured row, and one with none has no top. Shortcode
   output can leave an empty paragraph or a line break, which do not count as content. A :has() cannot hold another
   :has(), so the row's rule tests the list's children directly. */
.wpaos-blogroll__list:not(:has(> :not(p:empty, br))),
.wpaos-blogroll__featured:not(:has(.wpaos-blogroll__featured-items > :not(p:empty, br))),
.wpaos-blogroll__top:not(:has(.wpaos-blogroll__lead > :not(p:empty, br))) {
  display: none;
}
@media (min-width: 60rem) {
  .wpaos-blogroll__main:not(:has(> .wpaos-blogroll__list > :not(p:empty, br))) {
    grid-template-columns: minmax(0, 1fr);
  }
  .wpaos-blogroll__main:not(:has(> .wpaos-blogroll__list > :not(p:empty, br))) > .wpaos-blogroll__sidebar {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

/* Page 2 and later (the Pods page variable): only the list and the sidebar. */
.wpaos-blogroll-paged .wpaos-blogroll__top {
  display: none;
}
.wpaos-blogroll-paged .wpaos-blogroll__main {
  margin-block-start: 0;
}

/* Without Pods the shortcodes print plain lists of linked titles. */
.wpaos-blogroll__fallback {
  margin: 0;
  padding-inline-start: 1.25rem;
}

/* Single post (single.html). main is a constrained layout: the header, the
   featured image, the content, tags, newsletter signup and links all take the
   content size (720px), so the featured image has the content column's edges
   (owner review, 2026-11-25), inside the page container (59.25rem, the
   header's edges) given by the same padding as the blog roll. */
main.wpaos-site-main.wpaos-site-main--single {
  padding-inline: max(
    clamp(var(--space-gutter-mobile, 1.25rem), 4vw, var(--space-gutter-desktop, 3.5rem)),
    (100% - var(--space-raw-container-content, 59.25rem)) / 2
  );
}
.wpaos-post-header {
  margin-block: 0;
}
.wpaos-post-header > * {
  margin-block: 0;
}
/* The post's topics: the catalog Eyebrow (accent, with its dot), the topics
   set apart by a middle dot. */
.wpaos-post-header__terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--wp--custom--space--2, 0.5rem);
  margin-block: 0 1.25rem;
  color: var(--wp--preset--color--text-accent, #df0562);
  font-size: var(--wp--custom--type--scale--eyebrow--size, 0.65625rem);
  font-weight: var(--wp--custom--type--scale--eyebrow--weight, 700);
  letter-spacing: var(--wp--custom--type--scale--eyebrow--letter-spacing, 0.22em);
  line-height: 1.5;
  text-transform: uppercase;
}
.wpaos-post-header__terms::before {
  content: "";
  flex: 0 0 auto;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}
.wpaos-post-header__terms a {
  color: inherit;
  text-decoration: none;
}
.wpaos-post-header__terms a:hover,
.wpaos-post-header__terms a:focus-visible {
  text-decoration: underline;
}
.wpaos-post-header .wpaos-post-header__title {
  margin-block: 0 1.5rem;
  font-size: var(--wp--custom--type--scale--section-h-2-display--size, clamp(2rem, 8.8vw, 3.625rem));
  line-height: 1.05;
}
.wpaos-post-header .wpaos-post-header__meta {
  gap: 0.375rem 0;
  padding-block-start: 1rem;
  border-top: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--scale--card-meta--size, 0.71875rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.wpaos-post-header__meta > * {
  margin: 0;
}
.wpaos-post-header__author {
  color: var(--wp--preset--color--text-primary, #1d365c);
}
/* The author's role (user meta job_title, added by the theme's inc/byline.php), after the name. */
.wpaos-post-header__role {
  color: var(--wp--preset--color--text-secondary, #4a5870);
}
.wpaos-post-header__meta > * + *::before {
  content: "·";
  margin-inline: 0.625rem;
}
/* The author's photo (core/avatar; theme inc/blog.php), a circle before the name, with no dot after it. An author
   with no photo of their own shows none (filter wpaos_theme_byline_show_avatar). */
.wpaos-post-header__meta > .wpaos-post-header__avatar {
  flex: 0 0 auto;
  margin-inline-end: 0.75rem;
  line-height: 0;
}
.wpaos-post-header__meta > .wpaos-post-header__avatar + *::before {
  content: none;
}
.wpaos-post-header__avatar img {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}
.wpaos-post-header__date,
.wpaos-post-header__time {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.wpaos-post-header__image {
  margin-block: 2.5rem 0;
}
.wpaos-post-header__image {
  max-width: 100%;
}
/* The whole picture at the column's width, at its own ratio: never cropped, never a fixed height. */
.wpaos-post-header__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  box-shadow: none;
}

/* Long-form type for the post body. Element rules only, on direct children
   where they set margins, so blocks with their own inline styles (the U of D
   callouts, resized images) keep them. Body copy is 18px on a 1.65 line. */
.wpaos-post-content {
  /* A float (an imported left or right picture) stays inside the body and never runs into the tags below. */
  display: flow-root;
  margin-block: 2.5rem 0;
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-size: var(--wp--custom--type--scale--program-body-feature--size, 1.125rem);
  line-height: 1.65;
}
.wpaos-post-content > * {
  margin-block: 0;
}
.wpaos-post-content > * + * {
  margin-block-start: 1.25rem;
}
.wpaos-post-content > :is(h1, h2, h3, h4) {
  color: var(--wp--preset--color--text-primary, #1d365c);
  text-wrap: balance;
}
/* An h1 in the body (imported posts have them; the post title is the page's h1) takes the h2 size. */
.wpaos-post-content > :is(h1, h2) {
  font-size: var(--wp--custom--type--scale--h-2--size, clamp(1.5rem, 4vw, 2.25rem));
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.wpaos-post-content > * + :is(h1, h2) {
  margin-block-start: 3rem;
}
.wpaos-post-content > h3 {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
}
.wpaos-post-content > * + h3 {
  margin-block-start: 2.25rem;
}
.wpaos-post-content > h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}
.wpaos-post-content > * + h4 {
  margin-block-start: 2rem;
}
.wpaos-post-content > :is(h1, h2, h3, h4) + * {
  margin-block-start: 0.75rem;
}
.wpaos-post-content :is(ul, ol) {
  padding-inline-start: 1.5rem;
}
.wpaos-post-content li + li {
  margin-block-start: 0.5rem;
}
.wpaos-post-content li::marker {
  color: var(--wp--preset--color--text-secondary, #4a5870);
}
.wpaos-post-content strong {
  font-weight: 700;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) {
  /* A quote in a post is the catalog VerbatimQuote, light variant: a white card with a 4px gold top rule and a navy
     hairline, the gold quote mark in the left column, the quote in light sans and the attribution under a hairline
     (owner review, 2026-11-25: the slab-serif quotes were too large). The typed opening and closing marks of an
     imported quote are taken off on render (inc/blog.php), so the gold mark is the only one. A headshot or a logo needs
     the VerbatimQuote block itself, which editors can insert in a post. Embedded posts (twitter-tweet, reddit-embed-bq)
     carry a class and keep their own look. */
  position: relative;
  margin-inline: 0;
  padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) + 2.5rem);
  border: var(--border-width-hairline, 0.0625rem) solid var(--color-ink-navy-hairline, rgba(29, 54, 92, 0.18));
  border-top: 0.25rem solid var(--color-gold, #f1cd67);
  background: var(--color-surface-base, #fff);
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-family: var(--wp--preset--font-family--roboto, Roboto, sans-serif);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-style: normal;
  font-weight: var(--type-quote-weight, 300);
  line-height: 1.4;
  text-align: start;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class]))::before {
  content: "\201C";
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  color: var(--color-gold, #f1cd67);
  font-family: var(--wp--preset--font-family--roboto-slab, "Roboto Slab", serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.6;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) > * {
  margin-block: 0;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) > * + * {
  margin-block-start: 0.75rem;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) strong {
  font-weight: 500;
}
/* The attribution: a cite, or the quote's last paragraph when it opens with the name in bold ("<strong>Name,</strong>
   role"), the way the imported posts and core's quote block write it. */
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) :is(cite, footer),
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) > p:last-child:not(:first-child):has(> :is(strong, b):first-child) {
  display: block;
  margin-block-start: var(--space-4);
  padding-block-start: var(--space-4);
  border-top: var(--border-width-hairline, 0.0625rem) solid var(--color-ink-navy-hairline, rgba(29, 54, 92, 0.18));
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-family: var(--wp--preset--font-family--roboto, Roboto, sans-serif);
  font-size: var(--type-caption-size, 0.8125rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) :is(cite, footer) :is(strong, b),
.wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) > p:last-child:not(:first-child) > :is(strong, b):first-child {
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-size: var(--type-name-size, 0.875rem);
  font-weight: var(--type-name-weight, 700);
}
@media (max-width: 44.9375rem) {
  .wpaos-post-content :is(.wp-block-quote, blockquote:not([class])) {
    padding: calc(var(--space-5) + 2.25rem) var(--space-5) var(--space-5);
  }
  .wpaos-post-content :is(.wp-block-quote, blockquote:not([class]))::before {
    top: var(--space-5);
    left: var(--space-5);
  }
}
.wpaos-post-content > :is(figure, .wp-block-image, .wp-block-embed, .wp-block-video, .wp-block-gallery, .wp-block-table, .wp-block-quote, .wp-block-pullquote, blockquote, .uofd-callout, .wpaos-verbatim-quote) {
  margin-block-start: 2rem;
}
.wpaos-post-content > :is(figure, .wp-block-image, .wp-block-embed, .wp-block-video, .wp-block-gallery, .wp-block-table, .wp-block-quote, .wp-block-pullquote, blockquote, .uofd-callout, .wpaos-verbatim-quote) + * {
  margin-block-start: 2rem;
}
/* Headings, quotes, callouts, tables and rules start below a floated picture, never beside it. */
.wpaos-post-content > :is(h1, h2, h3, h4, hr, table, .wp-block-table, .wp-block-separator, .wp-block-quote, .wp-block-pullquote, blockquote, .uofd-callout, .wpaos-verbatim-quote, .aligncenter, .alignwide, .alignfull) {
  clear: both;
}
/* A spacer block from an imported post adds at most one step to the flow's own spacing, and an embed holder that is
   still empty (an OptinMonster inline campaign that has not loaded) takes no room; it shows once it has content. */
.wpaos-post-content > .wp-block-spacer {
  max-height: var(--space-5, 1.5rem);
}
.wpaos-post-content > div[id$="-holder"]:not(:has(*)) {
  display: none;
}
.wpaos-post-content img {
  max-width: 100%;
  height: auto;
  box-shadow: none;
}
/* Classic captions (figure.wp-caption, with an inline width) and embeds never run wider than the column. */
.wpaos-post-content :is(.wp-caption, iframe, video, embed, object) {
  max-width: 100%;
}
.wpaos-post-content .wp-caption img {
  display: block;
}
/* Left and right pictures (classic alignleft and alignright, core image block alignment) float beside the text with a
   gutter, at most half the column; on a phone they take the full width. Centred ones sit in the middle. */
.wpaos-post-content :is(.alignleft, .alignright) {
  max-width: 50%;
  margin-block: 0.375rem 1.25rem;
}
.wpaos-post-content .alignleft {
  float: left;
  margin-inline: 0 1.75rem;
}
.wpaos-post-content .alignright {
  float: right;
  margin-inline: 1.75rem 0;
}
.wpaos-post-content .aligncenter {
  margin-inline: auto;
}
.wpaos-post-content img.aligncenter {
  display: block;
}
@media (max-width: 35.9375rem) {
  .wpaos-post-content :is(.alignleft, .alignright) {
    float: none;
    max-width: 100%;
    margin-inline: 0;
  }
}
.wpaos-post-content figcaption,
.wpaos-post-content .wp-caption-text,
.wpaos-post-content .wp-element-caption {
  margin-block: 0.75rem 0;
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--scale--caption--size, 0.8125rem);
  line-height: 1.5;
  text-align: start;
}
.wpaos-post-content .wp-block-embed iframe {
  max-width: 100%;
}
.wpaos-post-content :is(code, kbd) {
  padding: 0.125rem 0.375rem;
  background: var(--wp--preset--color--surface-soft, #f8f9fa);
  font-size: 0.875em;
}
.wpaos-post-content pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: var(--wp--preset--color--surface-soft, #f8f9fa);
  font-size: 0.875rem;
  line-height: 1.5;
}
.wpaos-post-content pre code {
  padding: 0;
  background: none;
}
.wpaos-post-content hr,
.wpaos-post-content .wp-block-separator {
  margin-block: 3rem;
  border: 0;
  border-top: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
}
.wpaos-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.wpaos-post-content :is(th, td) {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
  text-align: start;
}

/* Tags, the newsletter signup and the previous and next links. */
/* Tags: a small eyebrow line in the secondary grey, set apart by a middle
   dot, under a hairline. */
.wpaos-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--wp--custom--space--2, 0.5rem);
  margin-block-start: 3rem;
  padding-block-start: 1rem;
  border-top: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
  color: var(--wp--preset--color--text-secondary, #4a5870);
  font-size: var(--wp--custom--type--scale--eyebrow--size, 0.65625rem);
  font-weight: var(--wp--custom--type--scale--eyebrow--weight, 700);
  letter-spacing: var(--wp--custom--type--scale--eyebrow--letter-spacing, 0.22em);
  line-height: 1.5;
  text-transform: uppercase;
}
.wpaos-post-tags a {
  color: inherit;
  text-decoration: none;
}
.wpaos-post-tags a:hover,
.wpaos-post-tags a:focus-visible {
  color: var(--wp--preset--color--text-primary, #1d365c);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* The newsletter signup after a post: the catalog CtaBanner (compact, the light signup the Newsletters page uses) with
   the site's subscribe form (owner review, 2026-11-25). Which offer shows here, site-wide or per post, is post-launch
   work (uof-digital/uofd-wp issue, "Blog post footer offer"). */
main.wpaos-site-main--single > .wpaos-cta-banner {
  margin-block-start: 3.5rem;
}
.wpaos-post-nav {
  margin-block-start: 3rem;
}
.wpaos-post-nav__links {
  gap: 1rem;
  padding-block-start: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--border-hairline, #e2e8f0);
}
.wpaos-post-nav__links a {
  color: var(--wp--preset--color--text-primary, #1d365c);
  font-weight: 600;
}

@media (min-width: 881px) {
  main.wpaos-site-main--listing,
  main.wpaos-site-main--single {
    padding-inline: var(--wp--custom--space--gutter--tablet, 2.25rem);
  }
}
