/*
 * ZayZay.com v5.0.0 — Architectural Broadsheet Inner Templates
 * Fonts: Barlow Condensed (Display) + Newsreader (Prose & Decks) + Plus Jakarta Sans (UI) + JetBrains Mono (Meta)
 * Zero Inter, zero transition:all, zero hover font-weight jitter, zero backdrop-filter.
 */

/* --- Single Post Reading Progress Hairline --- */
.zay-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-orange);
  z-index: 99999;
  pointer-events: none;
  transition: width 60ms linear;
}

body.admin-bar .zay-read-progress {
  top: 32px;
}

.a5-main {
  min-height: 62vh;
  padding-bottom: 28px;
}

/* --- Archive & Category Masthead (Architectural Broadsheet Section Front) --- */
.a5-archive-masthead {
  padding: 32px 0 0;
  border-bottom: 2px solid var(--hairline-strong);
}

.a5-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
}

.a5-breadcrumb a:hover {
  color: var(--brand-orange-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.a5-breadcrumb-sep {
  opacity: 0.45;
}

.a5-archive-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.a5-archive-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.a5-count-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-teal-ink);
  white-space: nowrap;
}

.a5-archive-desc {
  margin: 10px 0 18px;
  max-width: 68ch;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* Ensure mastheads without tabs/search still breathe cleanly */
.a5-archive-masthead > .container > *:last-child:not(.a5-filter-pills) {
  margin-bottom: 22px;
}

/* --- Sub-Category & Quick Navigation Flush Underlined Tabs --- */
.a5-filter-pills {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  border-top: 1px solid var(--hairline);
  padding-top: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.a5-filter-pills::-webkit-scrollbar {
  display: none;
}

.a5-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 2px 12px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}

.a5-filter-pill:hover {
  color: var(--ink-primary);
}

.a5-filter-pill.is-active {
  color: var(--brand-orange-ink);
  border-bottom-color: var(--brand-orange);
}

.a5-quick-cats .a5-filter-pill,
.a5-404-actions .a5-filter-pill {
  min-height: 38px;
  padding: 6px 14px;
  margin-bottom: 0;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--bg-surface);
  color: var(--ink-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.a5-quick-cats .a5-filter-pill:hover,
.a5-404-actions .a5-filter-pill:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-ink);
}

/* --- Author Profile Header --- */
.a5-author-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 20px;
}

.a5-author-avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.a5-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a5-author-avatar--brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

html[data-theme="dark"] .a5-author-avatar--brand img {
  filter: none;
}

.a5-author-initials {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-orange-ink);
}

/* --- Page-1 Un-boxed Split Category Lead --- */
.a5-archive-lead-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}

.a5-archive-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.a5-archive-lead__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
}

.a5-archive-lead__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 420ms var(--ease-editorial);
}

.a5-archive-lead:hover .a5-archive-lead__media img {
  transform: scale(1.03);
}

.a5-archive-lead__title {
  margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--ink-primary);
  transition: color 140ms ease;
}

.a5-archive-lead:hover .a5-archive-lead__title {
  color: var(--brand-teal-ink);
}

.a5-archive-lead__deck {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.a5-archive-lead__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}

/* --- Archive Grid & Empty States --- */
.a5-archive-grid-section {
  padding: 34px 0 54px;
}

.a5-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 26px;
}

.a5-archive-grid .feed-title {
  font-size: 24px;
}

.feed-deck {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.a5-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(248, 103, 0, 0.14), rgba(0, 88, 99, 0.18));
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-teal-ink);
}

/* --- Editorial Pagination --- */
.a5-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.a5-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-primary);
  transition: border-color 140ms ease, color 140ms ease;
}

.a5-pagination a.page-numbers:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-ink);
}

.a5-pagination .page-numbers.current {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-ink);
}

.a5-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: auto;
  padding: 0 6px;
  color: var(--ink-muted);
}

/* --- Inline Search & Recovery Blocks --- */
.a5-inline-search {
  margin-top: 16px;
  margin-bottom: 22px;
  max-width: 640px;
}

.a5-empty-box {
  margin: 8px 0 36px;
  padding: 24px 26px;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--brand-orange);
  background: var(--bg-surface);
}

.a5-empty-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.a5-empty-box p {
  margin: 0 0 18px;
  color: var(--ink-secondary);
}

.a5-quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- 404 Page --- */
.a5-404-section {
  padding: 44px 0 38px;
  border-bottom: 1px solid var(--hairline);
}

.a5-404-card {
  max-width: 740px;
  margin: 0 auto;
}

.a5-404-card h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.a5-404-card p {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.a5-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* --- Single Editorial Article (Broadsheet Reading Surface) --- */
.a5-article-wrap {
  padding: 34px 0 52px;
  border-bottom: 1px solid var(--hairline);
}

.a5-article-header {
  max-width: 900px;
  margin: 0 auto 28px;
}

.a5-article-title {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.a5-article-standfirst {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.42;
  color: var(--ink-secondary);
}

.a5-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.a5-article-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.a5-article-byline a {
  color: var(--ink-primary);
  font-weight: 700;
}

.a5-article-byline a:hover {
  color: var(--brand-orange-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.a5-byline-avatar {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.a5-byline-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.a5-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a5-article-hero-figure {
  max-width: 1040px;
  margin: 0 auto 36px;
}

.a5-article-hero-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
}

.a5-article-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a5-article-caption {
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.a5-article-caption a {
  color: var(--brand-teal-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Prose Reading Column (Newsreader 19px / 68ch + Drop Cap) --- */
.a5-prose {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.66;
  color: var(--ink-primary);
  overflow-wrap: break-word;
}

.a5-prose > p:first-child {
  margin-top: 0;
}

.a5-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.1rem;
  line-height: 0.82;
  padding-right: 11px;
  padding-top: 6px;
  color: var(--brand-orange-ink);
}

.a5-prose p {
  margin: 0 0 1.25rem;
}

.a5-prose h2 {
  margin: 2.2rem 0 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
  color: var(--ink-primary);
}

.a5-prose h3 {
  margin: 1.5rem 0 0.45rem;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-primary);
}

.a5-prose h4 {
  margin: 1.4rem 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal-ink);
}

.a5-prose a:not(.zay-affiliate-card__btn):not(.zay-amz-card__cta):not(.zay-hub-cta):not(.zay-related-links a) {
  color: var(--brand-orange-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.a5-prose a:not(.zay-affiliate-card__btn):not(.zay-amz-card__cta):not(.zay-hub-cta):not(.zay-related-links a):hover {
  color: var(--brand-teal-ink);
}

.a5-prose ul,
.a5-prose ol {
  margin: 0 0 1.4rem;
  padding-left: 1.45em;
}

.a5-prose li {
  margin-bottom: 0.45rem;
}

.a5-prose blockquote {
  margin: 1.8rem 0;
  padding: 18px 22px;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--brand-orange);
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-primary);
}

.a5-prose blockquote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.a5-prose img,
.a5-prose figure {
  max-width: 100%;
  height: auto;
}

.a5-prose figure {
  margin: 1.85rem 0;
}

.a5-prose figcaption {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.a5-prose iframe,
.a5-prose video,
.a5-prose embed {
  max-width: 100%;
}

.a5-prose .wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

.a5-prose .wp-block-embed-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --- Key Takeaways, Data Tables & Related Links inside Prose --- */
.a5-prose .zay-key-takeaways {
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.55;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--brand-orange);
  padding: 20px 24px;
  margin: 28px 0 32px;
}

.a5-prose .zay-key-takeaways h2,
.a5-prose .zay-key-takeaways h3,
.a5-prose .zay-key-takeaways .zay-takeaways-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-teal-ink);
  margin: 0 0 12px;
  padding-top: 0;
  border-top: none;
}

.a5-prose .wp-block-table {
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-ui);
  font-size: 14.5px;
  border-top: 2px solid var(--hairline-strong);
  border-bottom: 2px solid var(--hairline-strong);
}

.a5-prose .wp-block-table table,
.a5-prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}

.a5-prose .wp-block-table th,
.a5-prose table th {
  text-align: left;
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-primary);
}

.a5-prose .wp-block-table td,
.a5-prose table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.5;
  word-spacing: 0.08em;
}

.a5-prose .wp-block-table tr:last-child td,
.a5-prose table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .a5-prose > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.a5-prose .zay-related-links {
  font-family: var(--font-ui);
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--brand-teal-ink);
  padding: 20px 24px;
  margin: 34px 0 0;
}

.a5-prose .zay-related-links h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-teal-ink);
  margin: 0 0 10px;
}

.a5-prose .zay-related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.a5-prose .zay-related-links li {
  padding: 8px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0;
}

.a5-prose .zay-related-links li:first-child {
  border-top: none;
  padding-top: 0;
}

/* --- Author Colophon Signoff --- */
.a5-author-signoff {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-ui);
}

.a5-author-signoff picture {
  flex-shrink: 0;
  display: block;
  width: 44px;
  height: 44px;
}

.a5-author-signoff img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

html[data-theme="dark"] .a5-author-signoff img {
  filter: none;
}

.a5-signoff-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink-primary);
}

.a5-author-signoff p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-secondary);
}

/* --- Share Bar, Tag Chips & Prev/Next --- */
.a5-article-footer {
  max-width: 720px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-ui);
}

.a5-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.a5-share-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-right: 4px;
}

.a5-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--bg-surface);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.a5-share-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-ink);
}

.a5-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.a5-tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--bg-surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: border-color 140ms ease, color 140ms ease;
}

.a5-tag-chip:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-ink);
}

.a5-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline);
}

.a5-post-nav__link {
  display: block;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--hairline-strong);
  background: var(--bg-surface);
  transition: border-color 140ms ease;
}

.a5-post-nav__link:hover {
  border-top-color: var(--brand-orange);
}

.a5-post-nav__dir {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-teal-ink);
}

.a5-post-nav__title {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink-primary);
}

/* --- Comments Section --- */
.a5-comments-wrap {
  max-width: 720px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-ui);
}

.a5-comments-wrap .comments-title,
.a5-comments-wrap .comment-reply-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.a5-comments-wrap .comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.a5-comments-wrap .comment-body {
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
}

.a5-comments-wrap .comment-form input[type="text"],
.a5-comments-wrap .comment-form input[type="email"],
.a5-comments-wrap .comment-form input[type="url"],
.a5-comments-wrap .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-ui);
  font-size: 15px;
}

.a5-comments-wrap .comment-form input[type="submit"],
.a5-prose input[type="submit"] {
  min-height: 42px;
  padding: 10px 22px;
  border: none;
  border-radius: 3px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- Static Pages & Deep-Petrol WZZM Show Hub --- */
.a5-page-body-section {
  padding: 36px 0 48px;
}

.a5-wzzm-masthead {
  background: var(--wzzm-band-bg);
  color: #FFFFFF;
  padding: 32px 0 30px;
  border-bottom: 1px solid rgba(50, 208, 228, 0.22);
}

.a5-wzzm-masthead .a5-breadcrumb,
.a5-wzzm-masthead .a5-archive-desc {
  color: var(--wzzm-secondary);
}

.a5-wzzm-masthead .a5-archive-title {
  color: #FFFFFF;
}

.a5-wzzm-masthead .a5-count-text {
  color: #FF8C38;
}

.a5-wzzm-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.a5-wzzm-logo-wrap img {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.48));
}

.a5-related-section {
  padding: 36px 0 48px;
}

.a5-related-section .section-bar {
  padding-bottom: 14px;
  align-items: flex-end;
}

.a5-related-section .section-bar .section-heading,
.a5-related-section .section-bar .section-all-link {
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .a5-archive-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .a5-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.admin-bar .zay-read-progress {
    top: 46px;
  }

  .a5-archive-masthead {
    padding: 22px 0 0;
  }

  .a5-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .a5-author-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .a5-wzzm-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .a5-wzzm-logo-wrap img {
    width: 150px;
  }

  .a5-post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .a5-filter-pills {
    gap: 14px;
  }

  .a5-filter-pill {
    min-height: 44px;
  }

  .a5-prose {
    font-size: 18px;
  }

  .a5-prose > p:first-of-type::first-letter {
    font-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zay-read-progress,
  .a5-archive-lead__media img {
    transition: none;
  }
  .a5-archive-lead:hover .a5-archive-lead__media img {
    transform: none;
  }
}


/* =========================================================================
   WAVE 18: CATEGORY PINNED CHARTS & SLANG BANNERS
   ========================================================================= */
.a5-cat-microsite-banner {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.a5-cat-microsite-banner--teal {
  border-left-color: var(--brand-teal-ink);
}
.a5-cmb-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.a5-cmb-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-orange-ink);
  margin-bottom: 4px;
}
.a5-cat-microsite-banner--teal .a5-cmb-kicker {
  color: var(--brand-teal-ink);
}
.a5-cmb-text {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-primary);
}
.a5-cmb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.a5-cmb-links a {
  color: var(--ink-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.a5-cmb-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.a5-cmb-btn--teal {
  background: var(--brand-teal);
  color: #FFFFFF;
}
html[data-theme="dark"] .a5-cmb-btn--teal {
  background: var(--brand-teal-ink);
  color: #0A0B0E;
}

/* === WAVE 21 AMAZON CARD === */
.zay-amz-card {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline-strong, var(--hairline));
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.zay-amz-card__body {
  flex: 1 1 300px;
  min-width: 0;
}
.zay-amz-card__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(248, 103, 0, 0.14);
  color: var(--brand-orange-ink, var(--brand-orange));
}
.zay-amz-card__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink-primary);
}
.zay-amz-card__sub {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-secondary);
}
.zay-amz-card__ftc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-secondary);
}
.a5-prose a.zay-amz-card__cta,
.zay-amz-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--cta-bg);
  color: var(--cta-ink, #0F1115);
  font-family: var(--font-ui, var(--font-display));
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}
.zay-amz-card__cta:hover {
  opacity: 0.92;
}
