/* TapTrial: heavy headlines, black magazine bands, magenta signals. */
:root {
  --tb-ink: var(--wp--preset--color--text);
  --tb-paper: var(--wp--preset--color--background);
  --tb-accent: var(--wp--preset--color--accent);
  --tb-link: var(--wp--preset--color--link);
  --tb-muted: var(--wp--preset--color--muted);
  --tb-line: var(--wp--preset--color--line);
  --tb-soft: var(--wp--preset--color--soft);
  --tb-gutter: clamp(20px, 3.5vw, 56px);
  --tb-heading: var(--wp--preset--font-family--heading);
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > header, .wp-site-blocks > footer { margin-block: 0; }
.tb-main { margin-block: 0 !important; }
.tb-header { position: relative; z-index: 20; border-bottom: 3px solid var(--tb-ink); }
.tb-edition { margin: 0; padding: 9px var(--tb-gutter); background: var(--tb-ink); color: var(--tb-paper); font-size: 13px; font-weight: 600; }
.tb-edition strong { color: var(--tb-accent); font-weight: 700; }
.tb-header-inner, .tb-shell, .tb-not-found, .tb-footer-inner { width: calc(100% - var(--tb-gutter) * 2); max-width: 1320px; margin-inline: auto; }
.tb-header-inner { display: flex; align-items: center; gap: 28px; min-height: 108px; padding-block: 20px; }
.tb-header-inner > * { margin-block: 0; }
.tb-brand { display: flex; gap: 14px; align-items: center; min-width: 0; }
.tb-brand > * { margin: 0; }
.tb-brand .wp-block-site-logo { line-height: 0; flex-shrink: 0; }
.tb-brand img { width: 52px; height: 52px; object-fit: contain; }
.tb-brand .wp-block-site-title { font-family: var(--tb-heading); font-size: clamp(26px, 3.1vw, 44px); font-weight: 900; line-height: 1; letter-spacing: -.065em; }
.tb-brand a { color: var(--tb-ink); text-decoration: none; }
.tb-header-inner > .tb-primary-navigation { margin-left: auto; }
.tb-primary-navigation { font-size: 15px; font-weight: 650; line-height: 1.4; }
.tb-primary-navigation .wp-block-navigation__container { gap: 24px; }
.tb-primary-navigation a { color: var(--tb-ink); text-decoration: none; }
.tb-primary-navigation .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; }
.tb-primary-navigation .wp-block-navigation__submenu-container { min-width: 220px; padding: 12px; border: 2px solid var(--tb-ink); background: var(--tb-paper); color: var(--tb-ink); }
.tb-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item { padding-inline: 10px; }
.tb-primary-navigation .wp-block-navigation-submenu__toggle { min-width: 24px; min-height: 44px; }
.tb-header-search { position: relative; flex-shrink: 0; margin: 0; }
.tb-header-search summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; border: 1px solid var(--tb-ink); }
.tb-header-search summary::-webkit-details-marker { display: none; }
.tb-header-search summary:hover, .tb-header-search[open] summary { background: var(--tb-accent); }
.tb-search-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 350px; padding: 22px; border: 2px solid var(--tb-ink); background: var(--tb-paper); }
.tb-main > .tb-shell { margin-block: 48px 80px; }
.tb-home-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.tb-home-intro > * { margin: 0; }
.tb-latest-title { font-size: clamp(48px, 6.7vw, 96px); line-height: .99; letter-spacing: -.065em; }
.tb-home-intro p { max-width: 28ch; padding: 0 0 8px 20px; border-left: 5px solid var(--tb-accent); font-size: 20px; line-height: 1.5; }
.tb-section-title { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font-size: 18px; letter-spacing: -.02em; }
.tb-section-title::after { content: ""; flex: 1; height: 3px; background: var(--tb-ink); }
.tb-home-query .wp-block-post-template, .tb-archive-query .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 30px; margin: 0; padding: 0; list-style: none; align-items: start; }
.tb-home-query .wp-block-post-template > li, .tb-archive-query .wp-block-post-template > li { min-width: 0; margin: 0; }
.tb-story { min-width: 0; margin: 0 !important; border-bottom: 2px solid var(--tb-ink); }
.tb-media { position: relative; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: var(--tb-ink) url("editorial-placeholder.svg") center / cover no-repeat; }
.tb-media .wp-block-post-featured-image, .tb-media .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; margin: 0; }
.tb-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-story-copy { min-width: 0; padding-block: 16px 24px; margin: 0 !important; }
.tb-story-copy > * { margin-block: 0; }
.tb-category, .tb-story .wp-block-post-terms { min-width: 0; margin: 0 0 9px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.tb-category a, .tb-story .wp-block-post-terms a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 6px 0; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.tb-category a::before, .tb-story .wp-block-post-terms a:first-of-type::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; margin-right: 8px; background: var(--tb-accent); }
.tb-story .wp-block-post-terms a ~ a, .tb-story .wp-block-post-terms__separator { display: none; }
.tb-story .wp-block-post-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 14px; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.14; letter-spacing: -.04em; }
.tb-story .wp-block-post-title a { display: inline; color: inherit; text-decoration: none; }
.tb-story .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--tb-accent); text-decoration-thickness: 3px; }
.tb-story .wp-block-post-title:focus-within { overflow: visible; -webkit-line-clamp: unset; }
.tb-story .wp-block-post-excerpt { margin: 0 0 18px; font-size: 16px; line-height: 1.6; }
.tb-story .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; }
.tb-meta { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tb-muted); overflow-wrap: anywhere; }
.tb-story .wp-block-read-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 700; color: inherit; text-underline-offset: 4px; }
.tb-home-query .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
.tb-home-query .wp-block-post-template > li:first-child .tb-story { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--tb-ink); color: var(--tb-paper); border: 0; }
.tb-home-query .wp-block-post-template > li:first-child .tb-media { height: 100%; min-height: 420px; aspect-ratio: auto; }
.tb-home-query .wp-block-post-template > li:first-child .tb-story-copy { align-self: center; padding: clamp(24px, 3vw, 44px); }
.tb-home-query .wp-block-post-template > li:first-child .wp-block-post-title { font-size: clamp(32px, 3.25vw, 48px); line-height: 1.07; }
.tb-home-query .wp-block-post-template > li:first-child .tb-meta { color: var(--tb-paper); }
.tb-home-query .wp-block-post-template > li:first-child a:focus-visible { outline-color: var(--tb-paper); }
.tb-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
.tb-reading { min-width: 0; }
.tb-shell > .wp-block-query-title { margin: 0 0 36px; padding-bottom: 28px; border-bottom: 5px solid var(--tb-ink); font-size: clamp(38px, 5vw, 72px); line-height: 1.05; }
.tb-archive-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-archive-query .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
.tb-archive-query .wp-block-post-template > li:first-child .tb-story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.tb-archive-query .wp-block-post-template > li:first-child .tb-media { height: 100%; min-height: 280px; aspect-ratio: auto; }
.tb-archive-query .wp-block-post-template > li:first-child .tb-story-copy { padding: 0; }
.tb-sidebar { min-width: 0; margin: 0 !important; padding-top: 20px; border-top: 8px solid var(--tb-accent); }
.tb-sidebar section { margin-bottom: 36px; }
.tb-sidebar h2 { margin: 0 0 16px; font-size: 24px; }
.tb-sidebar ul { margin: 0; padding: 0; list-style: none; }
.tb-sidebar li { padding-block: 12px; border-bottom: 1px solid var(--tb-line); font-size: 16px; line-height: 1.5; }
.tb-sidebar a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.wp-block-query-pagination { flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 3px solid var(--tb-ink); font-size: 16px; font-weight: 650; }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-query-pagination a, .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; text-decoration: none; }
.page-numbers.current { background: var(--tb-ink); color: var(--tb-paper); }
.tb-main > .tb-single, .tb-main > .tb-page { width: calc(100% - var(--tb-gutter) * 2); max-width: 760px; margin: 56px auto 80px; }
.tb-single-heading { margin: 0 0 36px; padding-bottom: 28px; border-bottom: 5px solid var(--tb-ink); }
.tb-single-heading h1, .tb-page > h1 { margin: 0 0 24px; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.05em; }
.tb-single-heading .tb-meta { font-size: 14px; }
.tb-single > .wp-block-post-content, .tb-page > .wp-block-post-content { min-width: 0; padding-inline: 0; }
.wp-block-post-content { max-width: 72ch; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.wp-block-post-content > * { max-width: 100%; }
.wp-block-post-content p { margin-block: 0 24px; }
.wp-block-post-content h2 { margin-block: 40px 18px; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; }
.wp-block-post-content h3 { margin-block: 28px 16px; font-size: 25px; line-height: 1.25; }
.wp-block-post-content :is(figure, pre, iframe, video, .alignwide, .alignfull, .wp-block-columns, [class*="toc"]) { min-width: 0; max-width: 100%; margin-inline: 0; }
.wp-block-post-content img { display: block; max-width: 100%; height: auto; }
.wp-block-post-content a { color: var(--tb-link); }
.wp-block-post-content pre { overflow-x: auto; padding: 20px; background: var(--tb-soft); font-size: 15px; }
.wp-block-post-content :is(code, kbd) { font-family: Consolas, monospace; overflow-wrap: anywhere; }
.wp-block-post-content blockquote { margin-inline: 0; border-left: 5px solid var(--tb-accent); padding-left: 24px; font-size: 1.2em; }
.tb-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 48px; padding-block: 24px; border-block: 2px solid var(--tb-ink); font-size: 16px; }
.tb-post-navigation > * { min-width: 0; margin: 0; }
.tb-post-navigation > :last-child { text-align: right; }
.tb-post-navigation a { display: inline-block; min-height: 44px; }
.tb-comment, .aen-native-comments { margin-top: 40px; }
.tb-comment h2, .aen-native-comments h2, .comment-reply-title { font-size: 30px; }
.tb-comment label, .comment-form label { display: block; margin-bottom: 8px; }
.tb-comment :is(input:not([type="checkbox"]), textarea), .comment-form :is(input:not([type="checkbox"]), textarea) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--tb-ink); border-radius: 0; padding: 12px; background: var(--tb-paper); color: var(--tb-ink); }
.tb-comment textarea, .comment-form textarea { resize: vertical; }
.tb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tb-consent { display: flex; gap: 12px; align-items: start; font-size: 14px; }
.tb-consent input { flex-shrink: 0; margin-top: 6px; }
.comment-form .form-submit input, .tb-comment .wp-element-button { width: auto; max-width: 100%; background: var(--tb-ink); color: var(--tb-paper); padding: 14px 24px; border: 0; font-weight: 700; }
.comment-form-cookies-consent { display: flex; gap: 12px; align-items: baseline; }
.comment-form-cookies-consent label { margin: 0; }
.wp-block-search { max-width: 100%; }
.wp-block-search__label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.wp-block-search__inside-wrapper { min-width: 0; max-width: 100%; gap: 0; }
.wp-block-search__input { min-width: 0; max-width: 100%; min-height: 48px; border: 1px solid var(--tb-ink); border-radius: 0; padding: 10px 12px; font-size: 16px; color: var(--tb-ink); }
.wp-block-search__button { min-height: 48px; margin-left: 0; border: 0; border-radius: 0; padding: 10px 14px; background: var(--tb-ink); color: var(--tb-paper); }
.wp-block-search__button svg { min-width: 24px; }
.tb-footer { margin: 0; border-top: 8px solid var(--tb-accent); background: var(--tb-ink); color: var(--tb-paper); }
.tb-footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr); gap: 80px; padding-block: 56px; }
.tb-footer-brand > a { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-family: var(--tb-heading); font-size: 36px; font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
.tb-footer a { color: inherit; }
.tb-footer a:hover { color: var(--tb-accent); }
.tb-footer-brand img { width: 48px; height: 48px; }
.tb-footer-brand p { max-width: 42ch; margin: 20px 0 0; font-size: 18px; line-height: 1.65; }
.tb-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 4px 20px; font-size: 15px; }
.tb-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.tb-copyright { margin: 0; padding: 22px var(--tb-gutter); border-top: 1px solid var(--tb-muted); font-size: 13px; text-align: center; }
.tb-footer :focus-visible { outline-color: var(--tb-paper); }
.tb-main > .tb-not-found { margin-block: 64px 96px; }
.tb-not-found h1 { max-width: 15ch; margin: 0 0 24px; font-size: clamp(44px, 6.5vw, 88px); line-height: 1.05; }
.tb-not-found p { max-width: 55ch; }
.tb-not-found > .wp-block-search { max-width: 560px; margin-block: 32px; }
.aen-back-to-top { position: fixed; right: 20px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--tb-paper); border-radius: 0; background: var(--tb-ink); color: var(--tb-paper); z-index: 19; }
.aen-back-to-top[hidden], .tb-comment [hidden] { display: none; }
@media (max-width: 1000px) {
  .tb-header-inner { gap: 18px; }
  .tb-primary-navigation .wp-block-navigation__container { gap: 14px; }
  .tb-archive-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 220px; }
  .tb-home-query .wp-block-post-template { gap: 32px 24px; }
  .tb-home-query .wp-block-post-template > li:first-child .tb-media { min-height: 360px; }
  .tb-footer-inner { gap: 40px; }
}
@media (min-width: 701px) and (max-width: 850px) {
  .tb-home-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-archive-layout { grid-template-columns: minmax(0, 1fr); }
  .tb-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 800px) {
  .tb-header-inner { min-height: 84px; gap: 8px; padding-block: 16px; }
  .tb-brand { gap: 10px; }
  .tb-brand img { width: 36px; height: 36px; }
  .tb-brand .wp-block-site-title { font-size: 28px; }
  .tb-header-inner > .tb-primary-navigation { order: 3; margin-left: 0; }
  .tb-header-search { order: 2; margin-left: auto; }
  .tb-primary-navigation .wp-block-navigation__responsive-container-open { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .tb-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .tb-primary-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 64px 24px 32px; background: var(--tb-paper); color: var(--tb-ink); overflow-y: auto; }
  .tb-primary-navigation .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 24px; }
  .tb-primary-navigation .wp-block-navigation__container { align-items: stretch; gap: 16px; font-size: 24px; }
  .tb-primary-navigation .wp-block-navigation-item { align-items: stretch; }
  .tb-primary-navigation .wp-block-navigation__submenu-container { align-items: stretch !important; padding: 8px 0 0 16px !important; border: 0; gap: 4px; }
  .tb-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item { padding: 0; font-size: 18px; }
  .tb-primary-navigation .wp-block-navigation__responsive-container-close { top: -44px; right: 0; width: 44px; height: 44px; }
  .tb-search-panel { right: -52px; width: min(350px, calc(100vw - var(--tb-gutter) * 2)); }
}
@media (max-width: 700px) {
  .tb-edition { font-size: 12px; }
  .tb-main > .tb-shell { margin-block: 32px 56px; }
  .tb-home-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .tb-latest-title { font-size: clamp(43px, 11.5vw, 72px); }
  .tb-home-intro p { max-width: 32ch; padding-bottom: 0; font-size: 17px; }
  .tb-home-query .wp-block-post-template, .tb-archive-query .wp-block-post-template { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tb-home-query .wp-block-post-template > li:first-child .tb-story, .tb-archive-query .wp-block-post-template > li:first-child .tb-story { display: block; }
  .tb-home-query .wp-block-post-template > li:first-child .tb-media, .tb-archive-query .wp-block-post-template > li:first-child .tb-media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .tb-home-query .wp-block-post-template > li:first-child .tb-story-copy { padding: 18px 22px 26px; }
  .tb-home-query .wp-block-post-template > li:first-child .wp-block-post-title { font-size: 32px; }
  .tb-archive-query .wp-block-post-template > li:first-child .tb-story-copy { padding-block: 16px 0; }
  .tb-story .wp-block-post-title { font-size: 29px; }
  .tb-archive-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tb-main > .tb-single, .tb-main > .tb-page { margin-block: 36px 56px; }
  .tb-single-heading h1, .tb-page > h1 { font-size: 36px; }
  .wp-block-post-content { font-size: 17px; line-height: 1.8; }
  .tb-post-navigation { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tb-post-navigation > :last-child { text-align: left; }
  .tb-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tb-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px; }
  .tb-footer-brand > a { font-size: 32px; }
  .tb-footer-brand p { font-size: 17px; }
  .tb-main > .tb-not-found { margin-block: 40px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
