/* WordPress page layouts: skip link, admin bar, title band and plain text pages.
   Used by page.php, single.php, index.php and 404.php. */

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;z-index:1000;background:#fff;color:var(--ink);padding:12px 18px;border-radius:8px;font-weight:700}
.skip:focus{left:12px;top:12px}

/* Keep the fixed header below the WordPress toolbar when you're logged in. */
.admin-bar .hdr{top:32px}
@media (max-width:782px){.admin-bar .hdr{top:46px}}
@media (max-width:600px){.admin-bar .hdr{top:0}}
html{scroll-padding-top:96px}

/* Dark title band at the top of text pages, posts and 404. */
.tap-pagehead{background:linear-gradient(135deg,var(--deep) 0%,var(--indigo) 55%,var(--royal) 100%);color:#fff;
  padding:calc(88px + clamp(48px,7vw,104px)) var(--g) clamp(48px,6vw,88px)}
.tap-pagehead > *{max-width:var(--wrap);margin-inline:auto}
.tap-pagehead h1{color:#fff;margin:0 auto;font-size:clamp(40px,6vw,88px);max-width:var(--wrap)}
.tap-pagehead .tap-date{color:var(--tide);font-weight:700;margin:0 auto 14px}

/* Text pages: a readable column. TAP sections placed on a text page stay full width. */
.tap-prose{padding-block:clamp(48px,6vw,96px)}
.tap-prose:has(> section:first-child){padding-top:0}
.tap-prose:has(> section:last-child){padding-bottom:0}
.tap-prose > :not(section){max-width:min(760px,calc(100% - 2 * var(--g)));margin-inline:auto}
.tap-prose > section{max-width:none;margin-block:0}
.tap-prose > section + :not(section),
.tap-prose > :not(section) + section{margin-top:clamp(48px,6vw,96px)}
.tap-prose > p,.tap-prose > ul li,.tap-prose > ol li{color:var(--text);font-size:18px;line-height:1.65}
.tap-prose > h2,.tap-prose > h3,.tap-prose > h4{color:var(--ink);line-height:1.1;margin-top:1.6em;margin-bottom:.5em}
.tap-prose > h2{font-size:clamp(28px,3vw,40px)}
.tap-prose > h3{font-size:clamp(22px,2.2vw,28px)}
.tap-prose > :not(section) a:not(.btn){color:var(--violet);text-decoration:underline;text-underline-offset:3px}
.tap-prose > :not(section) a:not(.btn):hover{color:var(--royal)}
.tap-prose > .tap-updated{color:var(--muted);font-size:15px;font-weight:600}
.tap-prose > figure img,.tap-prose > .wp-block-image img{border-radius:14px;height:auto}

/* News list (index.php). */
.tap-postlist{list-style:none;padding:0;display:grid;gap:40px}
.tap-postlist > li{border-top:1px solid var(--rule);padding-top:28px}
.tap-postlist h2{font-size:clamp(24px,2.4vw,32px);margin:6px 0 12px}
.tap-postlist .tap-date{color:var(--muted);font-size:14px;margin:0}
.tap-prose .nav-links{display:flex;gap:12px;margin-top:40px}
