/*
Theme Name: WPM Redesign
Theme URI: https://thepickleballcommentator.com
Description: Mockup-driven redesign for World Pickleball Magazine
Author: XoX Digital
Template: astra
Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Oswald:wght@500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --wpm-navy: #0D0B3F;
  --wpm-navy-light: #1A1750;
  --wpm-gold: #FFD700;
  --wpm-bg: #f5f5f7;
  --wpm-text: #333;
  --wpm-white: #fff;
  --wpm-border: #e6e6ea;
  --wpm-font-heading: 'Oswald', sans-serif;
  --wpm-font-body: 'Inter', sans-serif;
  --wpm-font-serif: 'Lora', serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--wpm-font-body);
  background: var(--wpm-bg);
  color: var(--wpm-text);
}

body .site,
body .site-content,
body .ast-container,
body .ast-builder-grid-row-container,
body .entry-content,
body .ast-plain-container.ast-no-sidebar #primary,
body .ast-plain-container.ast-no-sidebar #main {
  max-width: none !important;
  width: 100% !important;
}

.site-content .ast-container,
.ast-separate-container #primary,
.ast-container {
  display: block !important;
  max-width: none !important;
  padding: 0 !important;
}

.ast-builder-grid-row,
.ast-desktop .ast-mega-menu-enabled .main-header-menu .menu-item,
.site-header,
.ast-primary-header-bar,
.ast-breadcrumbs,
.ast-single-post .entry-header,
.ast-single-post .post-navigation,
.post-navigation,
.comments-area,
.ast-archive-description,
.ast-page-builder-template .entry-header {
  display: none !important;
}

.site-primary-footer-wrap,
.site-below-footer-wrap {
  display: none !important;
}

.wpm-site-main { min-height: 60vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--wpm-font-heading);
  text-transform: uppercase;
  color: var(--wpm-navy);
  letter-spacing: 0;
}
p { margin: 0; }

.top-bar {
  background: var(--wpm-navy);
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.social-icons { display: flex; gap: 14px; flex-wrap: wrap; }
.social-icons a {
  color: #fff;
  width: 18px;
  height: 18px;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icons svg { width: 18px; height: 18px; }
.top-bar-cta {
  color: var(--wpm-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}
.top-bar-cta span {
  display: inline-block;
  padding-left: 100%;
  animation: topBarSlide 18s linear infinite;
}
.wpm-issue-page .top-bar-cta {
  text-align: center;
}
.wpm-issue-page .top-bar-cta span {
  padding-left: 0;
  animation: none;
}
@keyframes topBarSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.header {
  background: var(--wpm-navy);
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--wpm-gold);
}
.logo img { height: 55px; width: auto; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  border-radius: 4px;
  padding: 10px 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}
.nav-toggle span + span {
  margin-top: 6px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav a,
.nav-menu a {
  font-family: var(--wpm-font-body);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.nav a.active,
.nav a:hover,
.nav-menu .current-menu-item > a,
.nav-menu a:hover,
.social-icons a:hover,
.footer a:hover {
  color: var(--wpm-gold);
}
.nav-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.nav .subscribe-btn,
.hero-cta,
.download-btn,
.sidebar-button,
.contact-form button,
.newsletter-form button {
  font-family: var(--wpm-font-body);
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 0;
  display: inline-block;
}
.search-icon {
  background: var(--wpm-gold);
  border: 0;
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--wpm-navy);
  cursor: pointer;
  font-family: var(--wpm-font-body);
  line-height: 1;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(320px, 100%);
  min-width: 0;
  overflow: hidden;
}
.header-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
  font-family: var(--wpm-font-body);
}
.header-search input::placeholder {
  color: rgba(255,255,255,0.75);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.hero-text {
  background: linear-gradient(135deg, var(--wpm-navy) 0%, var(--wpm-navy-light) 100%);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-category,
.card-category {
  font-family: var(--wpm-font-body);
  display: inline-block;
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  width: fit-content;
}
.hero-category { margin-bottom: 20px; }
.hero-title {
  font-size: 52px;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero-excerpt {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-meta,
.card-meta,
.tc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.hero-meta { margin-bottom: 26px; }
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .hero-image {
  background: #151248;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.home .hero-image::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  filter: blur(18px);
  opacity: .42;
  transform: scale(1.06);
  z-index: -2;
}
.home .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,11,63,.18), rgba(13,11,63,.34));
  z-index: -1;
}
.home .hero-image img {
  object-fit: contain;
  object-position: center center;
  position: relative;
  z-index: 1;
}

.ticker {
  background: var(--wpm-navy-light);
  padding: 10px 0;
  overflow: hidden;
  border-top: 2px solid var(--wpm-gold);
  border-bottom: 2px solid var(--wpm-gold);
}
.ticker-inner {
  display: flex;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  animation: tickerScroll 36s linear infinite;
}
.ticker-item {
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-link {
  color: #fff;
  transition: color .2s ease;
}
.ticker-link:hover,
.ticker-link:focus {
  color: var(--wpm-gold);
}
.ticker-label {
  font-family: var(--wpm-font-body);
  color: var(--wpm-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.ticker-sep { color: var(--wpm-gold); }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-40%); }
}

.category-tabs,
.page-hero {
  background: #fff;
}
.category-tabs {
  padding: 24px 40px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.category-tabs a {
  font-family: var(--wpm-font-body);
  padding: 10px 24px;
  border: 2px solid var(--wpm-border);
  border-radius: 4px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.category-tabs a.active,
.category-tabs a:hover {
  background: var(--wpm-navy);
  border-color: var(--wpm-navy);
  color: var(--wpm-gold);
}

.page-hero {
  padding: clamp(32px, 5vw, 50px) clamp(24px, 6vw, 60px);
  text-align: center;
  background: linear-gradient(135deg, var(--wpm-navy), var(--wpm-navy-light));
}
.page-hero h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 8px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}
.gold-bar {
  width: 80px;
  height: 4px;
  background: var(--wpm-gold);
  margin: 16px auto 0;
}

.articles-section,
.related-section,
.past-issues,
.toc-section,
.news-layout,
.article-layout,
.mission-section,
.contact-layout {
  padding: clamp(24px, 4vw, 40px);
}
.section-title,
.section-heading {
  font-family: var(--wpm-font-heading);
  font-size: 26px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--wpm-gold);
  display: inline-block;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.article-card,
.news-card,
.art-card,
.issue-card,
.sidebar-card,
.contact-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.article-card.featured {
  grid-row: span 2;
}
.card-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.article-card.featured .card-image {
  min-height: 420px;
  height: 100%;
}
.home .article-card.featured .card-image {
  background: #151248;
}
.home .article-card.featured .card-image img {
  object-fit: contain;
  object-position: center top;
}
.article-card:not(.featured) .card-image,
.news-card .card-image {
  height: auto;
  aspect-ratio: 16 / 10;
}
.card-image img,
.featured-news img,
.art-card .card-img img,
.issue-card img,
.sidebar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-overlay,
.featured-news-overlay,
.article-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.84));
}
.card-title,
.featured-news h2,
.article-hero h1 {
  color: #fff;
  line-height: 1.15;
}
.article-card.featured .card-title { font-size: 26px; }
.article-card:not(.featured) .card-title { font-size: 18px; }

.trending-section {
  padding: 40px;
  background: var(--wpm-navy);
}
.trending-section .section-title { color: #fff; }
.trending-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.trending-card {
  background: var(--wpm-navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.trending-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}
.home .trending-card {
  background: #151248;
}
.home .trending-card img {
  object-fit: contain;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 42%, transparent 74%), #151248;
}
.home .trending-card .tc-body {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tc-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tc-cat {
  color: var(--wpm-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tc-title {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.newsletter {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--wpm-navy-light), var(--wpm-navy));
}
.newsletter h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 10px;
}
.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--wpm-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--wpm-font-body);
}
.newsletter-form input {
  border-radius: 4px 0 0 4px;
  border-right: 0;
}
.newsletter-form button { border-radius: 0 4px 4px 0; }
.newsletter-feedback {
  max-width: 520px;
  margin: 0 auto 14px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.newsletter-feedback.success {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.newsletter-feedback.error {
  background: rgba(255,215,0,0.14);
  color: #fff7c4;
}
.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.newsletter-popup.is-visible {
  display: flex;
}
.newsletter-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 34, 0.7);
  backdrop-filter: blur(6px);
}
.newsletter-popup-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: linear-gradient(180deg, #1b165f 0%, #0d0b3f 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 34px 30px 28px;
  text-align: center;
}
.newsletter-popup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,215,0,0.18);
  color: var(--wpm-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.newsletter-popup-panel h3 {
  font-family: var(--wpm-font-heading);
  font-size: 34px;
  line-height: 1;
  color: #fff;
  margin-bottom: 14px;
}
.newsletter-popup-panel p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.newsletter-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.newsletter-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.footer {
  background: var(--wpm-navy);
  padding: 56px 40px 22px;
}
.footer-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 26px;
}
.footer-kicker {
  color: var(--wpm-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-summary {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.85;
}
.footer-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}
.footer-lead-actions .download-btn {
  color: var(--wpm-navy) !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.footer-col h4 {
  color: var(--wpm-gold);
  font-size: 14px;
  margin-bottom: 16px;
}
.footer-col p,
.footer-col a,
.footer-bottom p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.8;
}
.footer-col {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 24px;
}
.footer-col-lead {
  background: rgba(255,255,255,0.02);
}
.footer-col-subscribe p {
  margin-bottom: 16px;
}
.footer-menu {
  display: block;
}
.footer-menu li {
  margin-bottom: 8px;
}
.footer-links,
.footer-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li + li,
.footer-checks li + li {
  margin-top: 8px;
}
.footer-checks li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.7);
}
.footer-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wpm-gold);
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-socials a {
  width: 18px;
  height: 18px;
  color: #fff;
  opacity: .88;
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}
.footer-logo img { height: 40px; width: auto; margin-bottom: 12px; }
.footer .newsletter-signup {
  max-width: 100%;
}
.footer .newsletter-form {
  max-width: 100%;
  margin: 0;
}
.footer .newsletter-feedback {
  max-width: 100%;
  margin: 0 0 12px;
}
.footer .newsletter-form input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.footer .newsletter-form input::placeholder {
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.article-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.article-layout,
.news-layout,
.contact-layout,
.mission-section,
.latest-issue,
.issue-hero {
  display: grid;
  gap: 30px;
}
.article-layout {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
}
.article-body {
  background: #fff;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.article-body p,
.article-body li {
  font-family: var(--wpm-font-serif);
  font-size: 18px;
  line-height: 1.85;
  color: #2a2a2a;
}
.article-body h2,
.article-body h3 {
  margin: 28px 0 12px;
  font-size: 28px;
}
.article-body > * + * { margin-top: 18px; }
.article-sidebar { display: grid; gap: 20px; align-content: start; }
.sidebar-card { padding: 20px; }
.sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}
.sidebar-card a {
  color: var(--wpm-navy);
  font-weight: 600;
}
.sidebar-magazine-cover {
  display: block;
  background: #f7f8fc;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}
.sidebar-card img.sidebar-magazine-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  margin: 0;
}
.sidebar-magazine-actions {
  display: grid;
  gap: 10px;
}
.author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.author-box h3 { margin-bottom: 8px; }
.tag-list a {
  display: inline-block;
  margin: 8px 8px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ececf1;
  color: #4d4d56;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-layout { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr); }
.featured-news {
  position: relative;
  min-height: clamp(320px, 34vw, 420px);
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.featured-news h2 {
  font-size: 30px;
  margin: 8px 0 10px;
}
.featured-news p {
  color: rgba(255,255,255,0.78);
  max-width: 600px;
}
.news-grid,
.related-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card-body { padding: 16px; }
.card-body h3 {
  font-family: var(--wpm-font-body);
  text-transform: none;
  font-size: 18px;
  line-height: 1.3;
  margin: 8px 0;
}
.card-body p {
  color: #60606c;
  line-height: 1.6;
}
.card-meta-text {
  color: #8a8a94;
  font-size: 12px;
  margin-top: 12px;
}

.latest-issue {
  grid-template-columns: 1fr 1fr;
  padding: clamp(28px, 5vw, 50px) clamp(24px, 7vw, 80px);
  align-items: center;
  background: #fff;
}
.magazines-latest {
  position: relative;
  isolation: isolate;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13,11,63,0.08);
  box-shadow: 0 18px 48px rgba(13,11,63,0.12);
}
.magazines-latest::before {
  content: none;
}
.magazines-latest .issue-cover {
  min-height: 0;
  align-items: center;
  padding: 22px;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
  border-radius: 8px;
}
.magazine-cover-glow {
  position: absolute;
  width: min(70%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(13,11,63,.1);
  filter: blur(52px);
  transform: translate(0, 8%);
  pointer-events: none;
}
.magazines-latest .issue-cover-link {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  transform: none;
  transition: transform .25s ease, filter .25s ease;
}
.magazines-latest .issue-cover-link:hover {
  transform: translateY(-4px);
  filter: saturate(1.04);
}
.magazines-latest .issue-cover img {
  background: #fff;
  box-shadow: 18px 20px 44px rgba(13,11,63,.18);
}
.magazines-latest .issue-details {
  max-width: 680px;
  padding: clamp(4px, 1.5vw, 16px) 0;
}
.magazines-latest .issue-copy p {
  color: #555562;
  line-height: 1.8;
}
.magazine-issue-copy {
  margin-bottom: 19px;
}
.magazine-issue-copy p {
  max-width: 62ch;
  font-size: 15px;
}
.magazine-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.magazine-highlights li {
  position: relative;
  padding-left: 16px;
  color: #383847;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}
.magazine-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wpm-gold);
}
.magazine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wpm-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.magazine-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.magazine-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 19px;
}
.magazine-meta-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f4f8;
  color: #4b4b58;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.read-latest-btn {
  background: var(--wpm-gold);
  color: var(--wpm-navy) !important;
}
.wpm-magazines-page .header .subscribe-btn,
.wpm-issue-page .header .subscribe-btn {
  display: none !important;
}
.magazines-archive .issues-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.magazines-archive {
  background: #f5f6fb;
}
.archive-heading {
  display: block;
  margin-bottom: 24px;
}
.archive-heading .section-title {
  margin-bottom: 0;
}
.magazines-archive .issue-card {
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 36px rgba(13,11,63,0.09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.magazines-archive .issue-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,215,0,.55);
  box-shadow: 0 22px 46px rgba(13,11,63,0.14);
}
.issue-card-cover {
  display: block;
  background: linear-gradient(180deg, #fafafe 0%, #f1f2f8 100%);
  padding: 14px;
}
.issue-card-cover img {
  padding: 0;
  background: transparent;
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(13,11,63,.1);
}
.issue-card-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.issue-card-actions .download-inline-link,
.issue-card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
}
.issue-card-actions a {
  width: 100%;
}
.issue-card-legacy img {
  background: #f5f5f7;
}
.issue-cover {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
}
.cover-wrapper {
  position: relative;
}
.issue-cover-link {
  display: inline-flex;
  width: min(100%, 380px);
}
.issue-cover img,
.cover-wrapper img {
  width: 100%;
  height: auto;
  max-height: 540px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.2);
}
.issue-badge,
.cover-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
}
.issue-details h2,
.issue-intro h1 {
  font-size: 36px;
  margin-bottom: 12px;
}
.issue-details .issue-meta,
.issue-intro .issue-meta {
  color: #84848e;
  margin-bottom: 18px;
}
.issue-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.issue-toc li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.issue-toc li::before,
.toc-category li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--wpm-gold);
  border-radius: 50%;
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.issue-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(13,11,63,0.08);
  box-shadow: 0 12px 28px rgba(13,11,63,0.08);
}
.issue-card img {
  width: 100%;
  aspect-ratio: 0.707 / 1;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #fafafe 0%, #f1f2f8 100%);
  padding: 14px;
}
.issue-card .ic-body {
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.issue-card h4 {
  font-family: var(--wpm-font-body);
  text-transform: none;
  font-size: 15px;
  margin-bottom: 4px;
}
.issue-card p { color: #8a8a94; font-size: 12px; margin-bottom: 10px; }
.issue-card a {
  display: inline-block;
  background: var(--wpm-navy);
  color: var(--wpm-gold);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.issue-card a.issue-card-cover {
  display: block;
  background: linear-gradient(180deg, #fafafe 0%, #f1f2f8 100%);
  color: inherit;
  padding: 14px;
  border-radius: 0;
}
.issue-card a.issue-card-cover img {
  padding: 0;
  background: transparent;
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(13,11,63,.1);
}
.issue-card-download-now {
  display: flex !important;
  width: 100%;
  margin-top: 14px;
  background: var(--wpm-gold) !important;
  color: var(--wpm-navy) !important;
  border: 1px solid rgba(13,11,63,0.08);
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 12px 16px !important;
  border-radius: 4px;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(13,11,63,0.12);
}
.issue-story-card .issue-story-thumb {
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9fd 0%, #eef0f8 100%);
}
.issue-story-card .issue-story-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  padding: 0;
}
.issue-stories {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 0 0 8px;
  overflow: hidden;
}
.issue-stories-head {
  background: linear-gradient(135deg, var(--wpm-navy) 0%, var(--wpm-navy-light) 58%, #252070 100%);
  padding: 34px 36px 110px;
}
.issue-stories-kicker {
  color: var(--wpm-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.issue-stories .section-title {
  color: #fff;
  margin-bottom: 8px;
}
.issue-stories-intro {
  max-width: 720px;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.75;
}
.issue-stories .issue-articles-grid {
  margin: -82px 36px 0;
}
.issue-stories .issue-story-card {
  background: #fff;
  border: 1px solid rgba(13,11,63,0.08);
  box-shadow: 0 14px 34px rgba(13,11,63,0.14);
}
.issue-stories .issue-story-card .issue-story-thumb {
  padding: 10px 10px 0;
  background: linear-gradient(180deg, rgba(13,11,63,0.1) 0%, rgba(13,11,63,0.02) 100%);
}
.issue-stories .issue-story-card .issue-story-thumb img {
  object-fit: contain;
  background: #fff;
  border-radius: 6px 6px 0 0;
}
.issue-stories .tc-body {
  background: #fff;
}
.issue-stories .tc-title {
  color: var(--wpm-navy);
}
.issue-stories .tc-meta {
  color: #6f7180;
}

.issue-hero {
  background: linear-gradient(135deg, var(--wpm-navy) 0%, var(--wpm-navy-light) 60%, #252070 100%);
  grid-template-columns: 380px 1fr;
  padding: clamp(34px, 6vw, 60px) clamp(24px, 7vw, 80px);
  align-items: center;
}
.issue-label {
  display: inline-block;
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 16px;
}
.issue-intro h1,
.issue-intro h1 span { color: #fff; }
.issue-intro h1 span { color: var(--wpm-gold); }
.issue-intro .issue-desc {
  font-family: var(--wpm-font-serif);
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.toc-section { background: #fff; }
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}
.toc-category h3 {
  position: relative;
  padding-left: 14px;
  font-size: 18px;
  margin-bottom: 12px;
}
.toc-category h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: 22px;
  background: var(--wpm-gold);
  border-radius: 2px;
}
.toc-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-category li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.issue-articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.art-card .card-img { height: 180px; }
.art-card .card-body { padding: 16px; }
.art-card .card-cat {
  color: var(--wpm-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.art-card .card-title,
.art-card .card-meta,
.read-more {
  font-family: var(--wpm-font-body);
  text-transform: none;
}
.art-card .card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 6px;
  color: #1a1a1a;
}
.art-card .card-meta {
  color: #999;
  font-size: 11px;
  margin-top: 8px;
}
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--wpm-navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-section {
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
}
.mission-section p { line-height: 1.8; margin-bottom: 16px; }
.about-panel { padding: 28px; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: var(--wpm-navy);
}
.stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--wpm-font-heading);
  color: var(--wpm-gold);
  font-size: 44px;
}
.stat-label {
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.contact-layout { grid-template-columns: 1.2fr 1fr; }
.contact-card { padding: 28px; }
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: block;
  color: var(--wpm-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--wpm-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--wpm-font-body);
  background: #fff;
  color: #333;
}
.contact-form textarea {
  min-height: 160px;
}
.contact-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b5b66;
  font-size: 14px;
  line-height: 1.6;
}
.contact-optin input {
  width: auto;
  margin-top: 3px;
}
.contact-note {
  color: #666674;
  line-height: 1.8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.faq-item + .faq-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--wpm-border);
}
.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.page-content-shell {
  padding: clamp(24px, 4vw, 40px);
}
.search-shell {
  padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 40px) 0;
}
.search-page-form {
  display: flex;
  gap: 0;
  max-width: 720px;
}
.search-page-form input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--wpm-border);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  font-size: 15px;
}
.search-page-form button {
  background: var(--wpm-gold);
  color: var(--wpm-navy);
  border: 0;
  border-radius: 0 4px 4px 0;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.empty-state {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  margin-top: 18px;
}
.articles-section .empty-state,
.news-grid .empty-state,
.archive-grid .empty-state {
  color: #666674;
}
.page-content-entry > * + * {
  margin-top: 20px;
}
.page-content-entry .section-title {
  margin-bottom: 0;
}
.page-content-entry .contact-layout,
.page-content-entry .mission-section,
.page-content-entry .stats-bar,
.page-content-entry .latest-issue,
.page-content-entry .past-issues,
.page-content-entry .news-layout,
.page-content-entry .issue-hero {
  padding: 0;
}
.about-intro,
.about-points,
.about-pillar,
.about-cta,
.policy-nav,
.policy-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
  gap: 24px;
  padding: 34px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.9;
  color: #42424d;
}
.about-copy p + p {
  margin-top: 16px;
}
.about-points {
  padding: 28px;
}
.about-points h3,
.about-cta h3,
.policy-section h2 {
  margin-bottom: 14px;
  font-size: 22px;
}
.about-points ul,
.policy-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-points li,
.policy-nav li {
  position: relative;
  padding-left: 18px;
}
.about-points li + li,
.policy-nav li + li {
  margin-top: 12px;
}
.about-points li::before,
.policy-nav li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--wpm-gold);
  border-radius: 50%;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.about-pillar {
  padding: 24px;
}
.about-pillar p {
  color: #5f5f69;
  line-height: 1.75;
}
.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 20px;
  align-items: center;
  padding: 30px 34px;
}
.about-cta p {
  color: #555562;
  line-height: 1.8;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.policy-nav {
  position: sticky;
  top: 24px;
  padding: 24px;
}
.policy-nav p {
  color: #656572;
  line-height: 1.7;
  margin-bottom: 18px;
}
.policy-nav a {
  color: var(--wpm-navy);
  font-weight: 600;
}
.policy-sections {
  display: grid;
  gap: 18px;
}
.policy-section {
  padding: 28px 30px;
}
.policy-section p,
.policy-section li {
  color: #494955;
  line-height: 1.85;
}
.policy-section ul {
  margin: 14px 0 0 20px;
}
.policy-section p + p,
.policy-section p + ul,
.policy-section ul + p {
  margin-top: 14px;
}
.policy-contact {
  display: inline-flex;
  margin-top: 8px;
  align-items: center;
  gap: 10px;
}

.magazine-promo {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
}
.magazine-promo-cover img {
  aspect-ratio: .71;
  object-fit: cover;
  border-radius: 8px;
}
.magazine-promo-title {
  font-family: var(--wpm-font-heading);
  font-size: 34px;
  color: var(--wpm-navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.magazine-promo-summary {
  font-size: 16px;
  line-height: 1.7;
  color: #39394a;
  max-width: 62ch;
  margin-bottom: 14px;
}
.magazine-promo-meta {
  color: #70707a;
  margin-bottom: 18px;
}
.magazine-promo-actions,
.issue-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.download-link,
.download-inline-link,
.sidebar-link {
  color: var(--wpm-navy);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .6px;
}
.sidebar-button,
.sidebar-link {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 0;
  text-align: center;
}
.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}
.footer-col {
  min-width: 0;
}
.footer-col h4 {
  margin-bottom: 14px;
}
.footer-col-subscribe,
.footer-col-lead,
.footer-col {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-col-subscribe {
  display: grid;
  align-content: start;
  gap: 14px;
}
.footer-col-subscribe p,
.footer-summary {
  color: rgba(255,255,255,0.78);
}
.footer-col .footer-menu {
  display: grid;
  gap: 14px;
  align-content: start;
}
.footer-col .footer-menu a {
  color: rgba(255,255,255,0.86);
}
.footer-col .footer-menu a:hover {
  color: var(--wpm-gold);
}
.footer-lead-actions {
  margin-top: 22px;
}
.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-button {
  background: var(--wpm-gold);
  color: var(--wpm-navy);
}
.sidebar-link {
  background: #f2f3fb;
  border: 1px solid rgba(13, 11, 63, 0.12);
}
.wpm-pagination {
  margin-top: 28px;
}
.wpm-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.wpm-pagination .page-numbers li {
  margin: 0;
}
.wpm-pagination .page-numbers a,
.wpm-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid var(--wpm-border);
  background: #fff;
  color: var(--wpm-navy);
  font-size: 13px;
  font-weight: 700;
}
.wpm-pagination .page-numbers .current {
  background: var(--wpm-navy);
  border-color: var(--wpm-navy);
  color: var(--wpm-gold);
}

@media (max-width: 1280px) {
  .top-bar,
  .header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }
  .hero-title {
    font-size: clamp(40px, 4.2vw, 52px);
  }
  .articles-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }
  .article-layout,
  .news-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.82fr);
  }
  .issue-hero {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.95fr) minmax(200px, 0.75fr);
  }
}

@media (max-width: 1100px) {
  .hero,
  .latest-issue,
  .issue-hero,
  .article-layout,
  .news-layout,
  .contact-layout,
  .mission-section,
  .magazine-promo,
  .about-intro,
  .about-cta,
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
    min-height: min(54vw, 420px);
  }
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .article-card.featured .card-image {
    min-height: clamp(280px, 42vw, 360px);
  }
  .trending-scroll,
  .issue-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .issues-grid,
  .magazines-archive .issues-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col-lead {
    grid-column: 1 / -1;
  }
  .issue-stories-head {
    padding: 30px 28px 96px;
  }
  .issue-stories .issue-articles-grid {
    margin: -70px 28px 0;
  }
}

@media (max-width: 1024px) {
  .hero,
  .latest-issue,
  .issue-hero,
  .article-layout,
  .news-layout,
  .contact-layout,
  .mission-section {
    grid-template-columns: 1fr;
  }
  .articles-grid,
  .issue-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trending-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid,
  .toc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-shell,
  .about-intro,
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col-lead {
    grid-column: 1 / -1;
  }
  .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .issues-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .magazine-promo {
    grid-template-columns: 1fr;
  }
  .magazines-latest {
    background: #fff;
  }
  .magazines-latest .issue-cover {
    min-height: 0;
  }
  .magazines-latest .issue-details {
    max-width: none;
  }
  .latest-issue,
  .issue-hero,
  .magazine-promo,
  .about-intro,
  .about-cta,
  .contact-card,
  .policy-section {
    gap: 24px;
  }
  .issue-stories-head {
    padding: 30px 28px 88px;
  }
  .issue-stories .issue-articles-grid {
    margin: -64px 28px 0;
  }
}

@media (max-width: 900px) {
  .top-bar {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header {
    padding-left: 18px;
    padding-right: 18px;
    gap: 18px;
  }
  .hero-title {
    font-size: clamp(34px, 7vw, 44px);
  }
  .hero-excerpt,
  .issue-intro .issue-desc,
  .magazine-promo-summary {
    font-size: 15px;
  }
  .header-search,
  .search-page-form,
  .newsletter-form,
  .magazine-promo-actions,
  .issue-actions {
    width: 100%;
  }
  .search-page-form {
    max-width: none;
  }
  .search-page-form input {
    min-width: 0;
  }
  .magazine-promo-actions,
  .issue-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .magazine-promo-actions a,
  .issue-actions a,
  .magazine-promo-actions button,
  .issue-actions button {
    width: 100%;
    justify-content: center;
  }
  .issues-grid,
  .magazines-archive .issues-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 10px 16px 8px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .top-bar-cta {
    flex: 1;
    text-align: right;
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.96;
  }
  .top-bar-cta span {
    padding-left: 0;
    animation: none;
    white-space: normal;
    line-height: 1.35;
  }
  .social-icons {
    gap: 12px;
    flex-shrink: 0;
  }
  .social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .social-icons svg {
    width: 14px;
    height: 14px;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 28px rgba(3, 3, 18, 0.18);
  }
  .logo {
    grid-column: 2;
    justify-self: center;
  }
  .logo img { height: 50px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.16);
    flex-direction: column;
    gap: 5px;
  }
  .nav-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    pointer-events: none;
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    backdrop-filter: blur(12px);
  }
  .nav.is-open { display: flex; }
  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 0;
    background: #fff;
    border-radius: 999px;
    opacity: 0.96;
  }
  .nav a,
  .nav-menu a {
    font-size: 15px;
  }
  .nav-menu {
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }
  .nav-menu li,
  .nav-menu a { max-width: 100%; width: 100%; }
  .nav-menu a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu li:last-child a {
    border-bottom: 0;
  }
  .nav .subscribe-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 11px;
    border-radius: 10px;
    margin-top: 4px;
  }
  .header-search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    padding-top: 10px;
  }
  .header-search input {
    font-size: 14px;
    text-overflow: ellipsis;
    min-height: 48px;
    border-radius: 10px 0 0 10px;
    background: rgba(255,255,255,0.09);
  }
  .search-icon {
    min-height: 48px;
    border-radius: 0 10px 10px 0;
    padding: 0 18px;
    font-size: 13px;
  }

  .page-hero { padding: 30px 20px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 13px; }

  .hero-text { padding: 30px 20px; }
  .hero-title { font-size: 32px; }
  .hero-excerpt { font-size: 14px; }
  .hero-image { height: 250px; }

  .category-tabs { padding: 14px 16px; gap: 6px; }
  .category-tabs a { padding: 8px 14px; font-size: 11px; }

  .articles-section,
  .related-section,
  .past-issues,
  .toc-section,
  .news-layout,
  .article-layout,
  .mission-section,
  .contact-layout,
  .trending-section,
  .newsletter,
  .footer,
  .latest-issue,
  .issue-hero,
  .stats-bar,
  .page-content-shell,
  .magazine-promo {
    padding: 24px 16px;
  }
  .issue-stories-head {
    padding: 26px 20px 26px;
  }
  .issue-stories .issue-articles-grid {
    margin: 0 20px 20px;
  }

  .section-title,
  .section-heading { font-size: 20px; }
  .articles-grid,
  .news-grid,
  .related-grid,
  .archive-grid,
  .issue-articles-grid,
  .trending-scroll,
  .toc-grid,
  .issues-grid,
  .stats-bar,
  .form-row {
    grid-template-columns: 1fr;
  }

  .article-card.featured { grid-row: auto; }
  .article-card.featured .card-image { min-height: 220px; }
  .article-card.featured .card-title { font-size: 20px; }
  .featured-news {
    min-height: 250px;
    aspect-ratio: auto;
  }
  .featured-news h2 { font-size: 22px; }
  .magazine-promo-summary {
    font-size: 15px;
  }
  .footer {
    padding: 28px 16px 20px;
  }
  .footer-shell {
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-col-lead,
  .footer-col-subscribe,
  .footer-col {
    grid-column: auto;
    padding: 20px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
  }
  .footer-logo img {
    height: 42px;
    width: auto;
  }
  .footer-kicker {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .footer-summary,
  .footer-col-subscribe p {
    font-size: 14px;
    line-height: 1.75;
  }
  .footer-lead-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
  .footer-lead-actions .download-btn,
  .footer-lead-actions .download-link {
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 10px;
  }
  .footer-col h4 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .footer .newsletter-form {
    display: grid;
    gap: 10px;
  }
  .footer .newsletter-form input,
  .footer .newsletter-form button {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
  }
  .footer .newsletter-form input {
    border-right: 1px solid rgba(255,255,255,0.14);
  }
  .footer-col .footer-menu {
    gap: 10px;
  }
  .footer-col .footer-menu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .footer-col .footer-menu li:last-child a {
    border-bottom: 0;
  }
  .footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }
  .footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.74);
  }
  .footer-socials {
    gap: 12px;
  }
  .footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .newsletter-popup-panel {
    padding: 28px 22px 22px;
  }
  .newsletter-popup-panel h3 {
    font-size: 28px;
  }
  .newsletter-popup-panel p {
    font-size: 15px;
  }
  .article-hero { height: 280px; }
  .article-hero h1 { font-size: 26px; }
  .article-body { padding: 22px; }
  .article-body p,
  .article-body li { font-size: 16px; }
  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-shell,
  .footer-grid,
  .about-pillars,
  .about-cta,
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .footer .newsletter-form {
    flex-direction: column;
    gap: 8px;
  }
  .footer .newsletter-form input,
  .footer .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
  .footer-col,
  .about-intro,
  .about-points,
  .about-pillar,
  .about-cta,
  .policy-nav,
  .policy-section {
    padding: 22px;
  }
  .policy-nav {
    position: static;
  }

  .latest-issue .issue-details h2,
  .issue-intro h1 { font-size: 28px; }
  .magazines-latest {
    background: #fff;
  }
  .magazines-latest .issue-cover {
    padding: 18px 10px 4px;
  }
  .magazines-latest .issue-cover-link {
    width: min(100%, 280px);
    transform: none;
  }
  .magazine-meta-pills span {
    width: 100%;
    justify-content: center;
  }
  .magazine-highlights {
    grid-template-columns: 1fr;
  }
  .issue-cover img,
  .cover-wrapper img { max-height: 350px; }
  .issue-intro .issue-desc { font-size: 14px; }

  .newsletter h2 { font-size: 24px; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-form input,
  .newsletter-form button { border-radius: 4px; width: 100%; }
  .wpm-pagination .page-numbers {
    gap: 8px;
  }
  .wpm-pagination .page-numbers a,
  .wpm-pagination .page-numbers span {
    min-width: 38px;
    height: 38px;
  }
  .search-shell { padding: 24px 16px 0; }
  .search-page-form { flex-direction: column; gap: 8px; }
  .search-page-form input,
  .search-page-form button { width: 100%; border-radius: 4px; }

.footer-bottom {
  flex-direction: column;
  text-align: center;
}
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #ffd700;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.special-page-hero {
  max-width: 1100px;
  margin: 0 auto;
}

.special-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.special-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.special-page-btn:hover { transform: translateY(-1px); }

.special-page-btn.is-primary {
  background: #ffd700;
  color: #0d0b3f;
  box-shadow: 0 18px 36px rgba(255, 215, 0, 0.18);
}

.special-page-btn.is-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.special-page-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.special-page-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.page-content-shell.has-special-layout {
  max-width: 1220px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.academy-page-entry,
.application-page-entry {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.special-page-aside {
  position: sticky;
  top: 120px;
  padding: 28px 24px;
  border: 1px solid rgba(13, 11, 63, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #17124f 0%, #0d0b3f 100%);
  box-shadow: 0 24px 44px rgba(13, 11, 63, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.special-page-aside h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
}

.special-page-aside p,
.special-page-aside li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.75;
}

.special-page-aside ul {
  margin: 16px 0;
  padding-left: 18px;
}

.special-page-aside a { color: #ffd700; }

.academy-page-entry .elementor,
.application-page-entry .elementor,
.paddles-page-entry {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(13, 11, 63, 0.08);
  background: #fff;
  box-shadow: 0 24px 44px rgba(13, 11, 63, 0.08);
}

.wpm-academy-page .page-content-entry .eael-call-to-action .title,
.wpm-academy-page .page-content-entry .eael-call-to-action p:first-of-type,
.wpm-academy-page .page-content-entry .eael-call-to-action p:nth-of-type(2),
.wpm-academy-page .page-content-entry .eael-call-to-action .cta-button,
.wpm-application-page #academyForm > h2,
.wpm-application-page #academyForm > p:first-of-type {
  display: none;
}

.wpm-academy-page .page-content-entry .elementor-widget-divider,
.wpm-application-page .page-content-entry .elementor-widget-divider {
  margin: 26px 0;
}

.wpm-academy-page .page-content-entry .elementor-heading-title,
.wpm-application-page .page-content-entry legend {
  color: #0d0b3f;
}

.wpm-academy-page .page-content-entry .elementor-heading-title {
  font-size: 32px;
}

.wpm-academy-page .page-content-entry .elementor-widget-text-editor p,
.wpm-academy-page .page-content-entry .elementor-icon-list-text,
.wpm-application-page .page-content-entry p,
.wpm-application-page .page-content-entry label,
.paddles-page-entry p,
.paddles-page-entry li {
  color: #4f5674;
  font-size: 17px;
  line-height: 1.8;
}

.wpm-academy-page .page-content-entry .elementor-icon-list-items {
  display: grid;
  gap: 12px;
}

.wpm-academy-page .page-content-entry .elementor-icon-list-item,
.wpm-application-page fieldset {
  padding: 18px 20px;
  border: 1px solid rgba(13, 11, 63, 0.08);
  border-radius: 14px;
  background: #f7f8ff;
}

.wpm-academy-page .page-content-entry h6 {
  padding: 20px 24px;
  border-left: 4px solid #ffd700;
  border-radius: 12px;
  background: rgba(13, 11, 63, 0.04);
  color: #0d0b3f;
  font-size: 18px;
  line-height: 1.7;
}

.wpm-application-page #academyForm {
  margin-top: 0 !important;
}

.wpm-application-page fieldset {
  margin-bottom: 18px !important;
}

.wpm-application-page legend {
  padding: 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.wpm-application-page input[type="text"],
.wpm-application-page input[type="email"],
.wpm-application-page input[type="url"],
.wpm-application-page select,
.wpm-application-page textarea {
  min-height: 50px;
  border: 1px solid rgba(13, 11, 63, 0.14) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.wpm-application-page textarea {
  min-height: 120px;
}

.wpm-application-page button[type="submit"] {
  min-height: 56px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #ffd700 !important;
  color: #0d0b3f !important;
  font-size: 14px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(255, 215, 0, 0.18);
}

.paddles-page-entry {
  max-width: 980px;
  margin: 0 auto;
}

.paddles-page-entry h2,
.paddles-page-entry h3 {
  color: #0d0b3f;
}

.paddles-page-entry h2 {
  margin-top: 40px;
  font-size: 34px;
}

.paddles-page-entry h3 {
  margin-top: 28px;
  font-size: 24px;
}

.paddles-page-entry table {
  width: 100%;
  margin: 22px 0 30px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(13, 11, 63, 0.08);
}

.paddles-page-entry th,
.paddles-page-entry td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(13, 11, 63, 0.08);
  text-align: left;
}

.paddles-page-entry thead th {
  background: #0d0b3f;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paddles-page-entry tbody tr:nth-child(even) {
  background: #f7f8ff;
}

.paddles-page-entry .schema-faq {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.paddles-page-entry .schema-faq-section {
  padding: 20px 22px;
  border: 1px solid rgba(13, 11, 63, 0.08);
  border-radius: 16px;
  background: #f7f8ff;
}

.paddles-page-entry .schema-faq-question {
  display: block;
  margin-bottom: 10px;
  color: #0d0b3f;
  font-size: 18px;
}

.special-page-callout {
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, #17124f 0%, #0d0b3f 100%);
  box-shadow: 0 24px 44px rgba(13, 11, 63, 0.12);
}

.special-page-callout h2,
.special-page-callout p { color: #fff; }

.special-page-callout h2 { margin: 0 0 10px; }

@media (max-width: 980px) {
  .academy-page-entry,
  .application-page-entry {
    grid-template-columns: 1fr;
  }

  .special-page-aside { position: static; }
}

@media (max-width: 720px) {
  .page-content-shell.has-special-layout {
    padding: 0 16px;
  }

  .academy-page-entry .elementor,
  .application-page-entry .elementor,
  .paddles-page-entry {
    padding: 22px;
  }

  .special-page-actions {
    flex-direction: column;
  }

  .special-page-btn { width: 100%; }

  .paddles-page-entry h2 { font-size: 28px; }

  .paddles-page-entry table,
  .paddles-page-entry thead,
  .paddles-page-entry tbody,
  .paddles-page-entry th,
  .paddles-page-entry td,
  .paddles-page-entry tr {
    display: block;
  }

  .paddles-page-entry thead { display: none; }

  .paddles-page-entry tr {
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f8ff;
  }

  .paddles-page-entry td { padding: 12px 16px; }
}
