/* ============================================================
   PLAYBOY MAGAZINE — Common Stylesheet
   Converted from Tailwind + custom CSS sources
   ============================================================ */

/* ---------- Custom Fonts ---------- */
@font-face {
  font-family: 'PlayboyVisuelt';
  src: url('fonts/PlayboyVisuelt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PlayboyVisuelt';
  src: url('fonts/PlayboyVisuelt-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'PlayboyVisuelt';
  src: url('fonts/PlayboyVisuelt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'PlayboyVisuelt';
  src: url('fonts/PlayboyVisuelt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Masthead';
  src: url('fonts/Masthead-Regular.odA1W_lr.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HarrietDisplay';
  src: url('fonts/HarrietDisplay-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HarrietDisplay';
  src: url('fonts/HarrietDisplay-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HarrietDisplay';
  src: url('fonts/HarrietDisplay-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --color-beige-200: #F9F8F4;
  --color-beige-500: #EEEDE4;
  --color-orange-500: #F8BE00;
  --color-orange-600: #F3AE20;
  --color-black: #0E0A09;
  --color-white: #ffffff;
  --color-gray-300: #d1d5db;
  --color-gray-900: #111827;
  --color-stone-300: #d6d3d1;
  --color-stone-600: #57534e;
  --color-off-white: #EEEDE4;

  --font-sans: 'PlayboyVisuelt', ui-sans-serif, system-ui, sans-serif;
  --font-headline: 'Masthead', ui-sans-serif, sans-serif;
  --font-harriet: 'HarrietDisplay', Georgia, serif;

  --max-w-7xl: 80rem;
  /* 1280px */
  --max-w-3xl: 48rem;
  /* 768px */
  --max-w-2xl: 42rem;
  /* 672px */
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-beige-200);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w-7xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-7 {
  gap: 1.75rem;
}

.gap-x-2 {
  column-gap: 0.5rem;
}

.gap-x-3 {
  column-gap: 0.75rem;
}

.gap-x-4 {
  column-gap: 1rem;
}

.gap-x-6 {
  column-gap: 1.5rem;
}

.gap-x-12 {
  column-gap: 3rem;
}

.gap-y-6 {
  row-gap: 1.5rem;
}

.gap-y-10 {
  row-gap: 2.5rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-7xl {
  max-width: var(--max-w-7xl);
}

.max-w-3xl {
  max-width: var(--max-w-3xl);
}

.max-w-2xl {
  max-width: var(--max-w-2xl);
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-xl {
  max-width: 36rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-16 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.p-1 {
  padding: 0.25rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-5 {
  padding-bottom: 1.25rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-9 {
  padding-bottom: 2.25rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-14 {
  padding-top: 3.5rem;
}

.grid {
  display: grid;
}

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

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

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Typography ---------- */
.font-sans {
  font-family: var(--font-sans);
}

.font-headline {
  font-family: var(--font-headline);
}

.font-harriet {
  font-family: var(--font-harriet);
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-nowrap {
  white-space: nowrap;
}

.underline {
  text-decoration: underline;
}

/* Color utilities */
.text-white {
  color: #ffffff;
}

.text-black {
  color: #000000;
}

.text-black\/30 {
  color: rgba(0, 0, 0, 0.30);
}

.text-black\/50 {
  color: rgba(0, 0, 0, 0.50);
}

.text-black\/60 {
  color: rgba(0, 0, 0, 0.60);
}

.text-gray-900 {
  color: #111827;
}

.text-orange-500 {
  color: var(--color-orange-500);
}

.text-stone-100 {
  color: #f5f5f4;
}

.bg-white {
  background-color: #ffffff;
}

.bg-black {
  background-color: #000000;
}

.bg-beige-200 {
  background-color: var(--color-beige-200);
}

.bg-beige-500 {
  background-color: var(--color-beige-500);
}

.bg-orange-500 {
  background-color: var(--color-orange-500);
}

.bg-stone-600 {
  background-color: var(--color-stone-600);
}

.bg-stone-300 {
  background-color: var(--color-stone-300);
}

.bg-transparent {
  background-color: transparent;
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b-2 {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.border-white\/60 {
  border-color: rgba(255, 255, 255, 0.60);
}

.border-gray-300 {
  border-color: var(--color-gray-300);
}

.border-gray-900 {
  border-color: var(--color-gray-900);
}

.border-black {
  border-color: #000000;
}

.border-\[\#D9D9D9\] {
  border-color: #D9D9D9;
}

.border-\[\#E0E1E1\] {
  border-color: #E0E1E1;
}

.border-\[\#4F4F4F\] {
  border-color: #4F4F4F;
}

.border-transparent {
  border-color: transparent;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .10), 0 2px 4px -2px rgba(0, 0, 0, .10);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .10), 0 4px 6px -4px rgba(0, 0, 0, .10);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.top-10 {
  top: 2.5rem;
}

.right-2\.5 {
  right: 0.625rem;
}

.top-2\.5 {
  top: 0.625rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

/* Misc */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

.transition-all {
  transition: all 0.15s ease;
}

.cursor-pointer {
  cursor: pointer;
}

.opacity-0 {
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.object-cover {
  object-fit: cover;
}

.object-center {
  object-position: center;
}

.object-top {
  object-position: top;
}

.size-full {
  width: 100%;
  height: 100%;
}

.w-auto {
  width: auto;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.h-screen {
  height: 100vh;
}

.w-screen {
  width: 100vw;
}

.min-w-40 {
  min-width: 10rem;
}

.min-w-64 {
  min-width: 16rem;
}

.min-h-10 {
  min-height: 2.5rem;
}

.max-h-full {
  max-height: 100%;
}

.divide-y>*+* {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover states */
a:hover {
  opacity: 1;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:opacity-60:hover {
  opacity: 0.6;
}

.hover\:bg-orange-600:hover {
  background-color: var(--color-orange-600);
}

.hover\:border-gray-900:hover {
  border-color: var(--color-gray-900);
}

.hover\:border-b:hover {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

/* Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.animate-fade {
  animation: fadeIn 600ms ease-in-out;
}

/* ============================================================
   COMPONENT STYLES
   ============================================================ */

/* ---------- Page Wrapper ---------- */
main {
  flex-grow: 1;
  background-color: var(--color-beige-200);
}

/* ---------- HEADER ---------- */
.site-header {
  border-bottom: 1px solid #D9D9D9;
  background-color: #ffffff;
}

.site-header__nav {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem;
}

.site-header__left {
  display: flex;
  align-items: center;
}

.site-header__nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.site-header__link {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--color-gray-900);
  border-bottom: 2px solid transparent;
}

.site-header__link:hover {
  border-bottom-color: var(--color-gray-900);
  border-bottom-width: 1px;
}

.site-header__link--active {
  border-bottom: 2px solid var(--color-gray-900);
}

.site-header__logo img {
  height: 1.25rem;
  width: auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;

}

.site-header__cta-link {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--color-gray-900);
  display: none;
}

.site-header__profile {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.site-header__profile-btn {
  background-color: #000;
  color: #fff;
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* ---------- SUBHEADER (Black sticky bar) ---------- */
.subheader {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background-color: #000000;
}

.subheader__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  display: flex;
  min-height: 2.5rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 1rem;
}

.subheader__title {
  font-family: var(--font-headline);
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
}

.subheader__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: #ffffff;
}

.subheader__nav a {
  color: #ffffff;
  text-decoration: none;
}

.subheader__btn-member {
  color: #000;
}

.subheader__nav a:hover {
  text-decoration: underline;
}

.subheader__nav a.active {
  color: #999999;
}

.subheader__nav a.subheader__btn-member {
  background-color: var(--color-orange-500);
  color: #000000;
  border-radius: 0.5rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 500;
}

.subheader__nav a.subheader__btn-member:hover {
  background-color: var(--color-orange-600);
}

.subheader__search-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.subheader__search-btn:hover {
  opacity: 0.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 1.5rem 1.25rem 1.25rem;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.60);
  padding-bottom: 1.5rem;
}

.site-footer__logo img {
  height: 1.5rem;
}

.site-footer__body {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__column-title {
  font-family: var(--font-harriet);
  font-size: 1.875rem;
  font-weight: 400;
}

.site-footer__column-desc {
  font-family: var(--font-harriet);
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  margin-top: 0.25rem;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.60);

}

.site-footer__column {
  border-bottom: 1px solid rgba(255, 255, 255, 0.60);
  padding: 0.75rem 0 1rem;
}

.site-footer__link {
  display: block;
  margin: 0.5rem 0;
  font-weight: 300;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__link--small {
  font-size: 0.75rem;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.site-footer__social a {
  color: #ffffff;
  transition: opacity 0.15s;
}

.site-footer__social a:hover {
  opacity: 0.6;
}

.site-footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer__legal {
  font-size: 0.875rem;
  opacity: 0.5;
  margin-top: 1rem;
}

.footer-cookie-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 300;
  font-size: 0.75rem;
  margin: 0.5rem 0;
  cursor: pointer;
  display: block;
  text-align: left;
}

.footer-cookie-btn:hover {
  text-decoration: underline;
}

/* ---------- HERO (Home page) ---------- */
.hero-wrapper {
  background-color: var(--color-stone-600);
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  background-color: var(--color-stone-300);
}

.hero__content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #E0DAD6 75%, #DAD1C2);
  padding: 3.5rem 1.5rem 2.25rem;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000000;
  width: 100%;
  max-width: 32rem;
}

.hero__title {
  font-family: var(--font-headline);
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero__desc {
  margin-top: 1.25rem;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
}

.hero__cta {
  margin-top: 1.25rem;
  width: fit-content;
  background-color: var(--color-orange-500);
  color: #000000;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
}

.hero__cta:hover {
  background-color: var(--color-orange-600);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- HOME NAVIGATION ---------- */
.home-nav {
  display: none;
  width: 100%;
}

.home-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  border-bottom: 1px solid #E0E1E1;
  padding: 1.25rem 0;
  list-style: none;
}

.home-nav__link {
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--color-black);
}

.home-nav__link:hover {
  text-decoration: underline;
}

/* ---------- MEMBERSHIP UPSELL BANNER ---------- */
.membership-upsell {
  width: 100%;
  border-bottom: 1px solid #E0E1E1;
  padding: 1rem 1.5rem;
}

.membership-upsell__inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 28rem;
  margin: 0 auto;
}

.membership-upsell__text {
  margin-left: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 300;
}

.membership-upsell__link {
  margin-left: 0.25rem;
  display: inline-block;
  font-weight: 700;
  color: #0779C0;
  text-decoration: underline;
}

/* ---------- FEATURED SECTION ---------- */
.featured-sections-wrapper {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.featured-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.featured-section__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.featured-section__subtitle {
  max-width: 48rem;
  text-wrap: balance;
  font-family: var(--font-harriet);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
}

.featured-section__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.featured-section__grid--small-gaps {
  column-gap: 0.5rem;
}

.featured-section__show-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
  padding: 0 0;
}

.featured-section__show-more::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-gray-300);
}

.featured-section__show-more-btn {
  position: relative;
  width: 20rem;
  border: 1px solid #E0E1E1;
  border-radius: 9999px;
  background-color: var(--color-beige-200);
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 1;
}

.featured-section__show-more-btn:hover {
  background-color: var(--color-beige-500);
  text-decoration: underline;
}

/* ---------- FEATURED ITEM ---------- */
.featured-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.featured-item:hover .featured-item__title,
.featured-item:hover .featured-item__subtitle {
  text-decoration: underline;
}

.featured-item__image-wrap {
  position: relative;
}

.featured-item__image {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .10);
}

.featured-item__image--portrait {
  aspect-ratio: 194 / 280;
}

.featured-item__image--landscape {
  aspect-ratio: 250 / 173;
}

.featured-item__title {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.featured-item__subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #333333;
  opacity: 0.7;
}

/* ---------- FEATURED ARTICLE (Full-width banner) ---------- */
.featured-article {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  background-color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.featured-article__content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.featured-article__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  max-width: 32rem;
}

.featured-article__issue {
  font-family: var(--font-harriet);
  font-size: 1.125rem;
  font-style: italic;
}

.featured-article__title {
  margin-top: 1.25rem;
  font-family: var(--font-headline);
  font-size: 1.5rem;
}

.featured-article__excerpt {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  color: #FBFBFB;
  text-wrap: pretty;
  line-height: 1.6;
}

.featured-article__btn {
  margin-top: 1.25rem;
  border: 1px solid #4F4F4F;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  color: #ffffff;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5rem;
}

.featured-article:hover .featured-article__btn {
  background-color: #ffffff;
  color: #000000;
}

.featured-article__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 670 / 576;
  object-fit: cover;
  padding: 0.75rem;
}

/* ---------- ISSUE COVER CARD ---------- */
.issue-cover {
  display: block;
  text-decoration: none;
  color: inherit;
}

.issue-cover__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-beige-500);
  padding: 4rem 2.5rem 0.75rem;
  transition: all 0.15s ease;
}

.issue-cover:hover .issue-cover__frame {
  border-radius: 1rem;
}

.issue-cover__img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: -4px 5px 10px 0px #7F7E71;
  transition: transform 0.15s ease;
}

.issue-cover:hover .issue-cover__img {
  transform: translateY(-1.5rem);
}

.issue-cover__explore-btn {
  width: 100%;
  max-width: 10rem;
  background-color: var(--color-orange-500);
  padding: 0.625rem 1rem;
  text-align: center;
  border-radius: 0.375rem;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.15s ease;
}

.issue-cover:hover .issue-cover__explore-btn {
  opacity: 1;
  transform: translateY(-0.5rem);
}

.issue-cover__caption {
  margin-top: 1rem;
  text-align: center;
}

.issue-cover__year {
  font-size: 0.875rem;
  color: #000000;
}

.issue-cover__title {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- BOOKSHELF BANNER ---------- */
.bookshelf-banner {
  background-color: var(--color-stone-600);
}

.bookshelf-banner img {
  max-width: 130rem;
  margin: 0 auto;
  max-height: 36rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- ISSUES ARCHIVE PAGE ---------- */
.issues-list {
  max-width: var(--max-w-2xl);
  margin: 0 auto;
  padding: 1rem 1.5rem 2.5rem;
}

.issues-filter {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.issues-filter__label {
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-right: 0.75rem;
  font-size: 1rem;
  padding-top: 0.5rem;
}

.issues-filter__dropdowns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-dropdown {
  position: relative;
  display: inline-block;
}

.filter-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background-color: var(--color-beige-500);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.filter-dropdown__menu {
  position: absolute;
  z-index: 10;
  margin-top: 0.25rem;
  max-height: 24rem;
  min-width: 10rem;
  overflow: auto;
  border-radius: 0.375rem;
  background-color: #ffffff;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .10);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: none;
}

#decade-menu,
#year-menu {
  max-height: none;
  overflow: visible;
}

.filter-dropdown:focus-within .filter-dropdown__menu,
.filter-dropdown.open .filter-dropdown__menu {
  display: block;
}

.filter-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

.filter-dropdown__item:hover {
  background-color: var(--color-beige-200);
}

.year-section {
  margin-top: 2.5rem;
}

.year-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.year-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: var(--color-gray-300);
}

.year-divider__label {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--color-gray-900);
  background-color: var(--color-beige-200);
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
}

.issues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 0.5rem;
  row-gap: 2.5rem;
}

/* ---------- ISSUE DETAIL PAGE ---------- */
.issue-detail {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.issue-sidebar {
  background-color: var(--color-beige-500);
  padding: 0.75rem;
}

.issue-sidebar__volume {
  text-align: center;
  font-family: var(--font-harriet);
  color: rgba(14, 10, 9, 0.60);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.issue-sidebar__cover {
  width: 100%;
  aspect-ratio: 700 / 948;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .10);
}

.issue-sidebar__read-btn {
  display: block;
  width: 100%;
  background-color: #FFBE00;
  padding: 0.6rem;
  border-radius: 0.375rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1.5rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.issue-sidebar__nav {
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.issue-sidebar__nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.05em;
  list-style: none;
}

.issue-sidebar__nav li {
  flex: 1;
}

.issue-sidebar__nav li:nth-child(2) {
  text-align: center;
}

.issue-sidebar__nav li:last-child {
  text-align: right;
}

.issue-sidebar__nav a,
.issue-sidebar__nav span {
  font-family: var(--font-harriet);
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

.issue-sidebar__nav a:hover {
  text-decoration: underline;
}

.issue-sidebar__nav .disabled {
  color: rgba(0, 0, 0, 0.30);
}

.issue-sidebar__nav .archive-link {
  text-decoration: underline;
}

/* Table of Contents */
.toc-section {
  background-color: var(--color-beige-200);
}

.toc-header {
  position: sticky;
  top: 2.6rem;
  z-index: 40;
  border-bottom: 1px solid #E0E1E1;
  background-color: var(--color-beige-200);
  padding: 0.75rem;
}

.toc-header__title {
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.5rem;
}

.toc-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.toc-filter-btn {
  border-radius: 0.75rem;
  border: 1px solid rgba(238, 237, 228, 1);
  padding: 0.125rem 0.75rem;
  font-size: 1rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
}

.toc-filter-btn:hover,
.toc-filter-btn.active {
  border-color: rgba(128, 128, 128, 1);
  background-color: var(--color-beige-500);
}

.toc-list {
  padding: 0.75rem;
  padding-bottom: 3rem;
  list-style: none;
}

.toc-item {
  margin: 4rem 0;
}

.toc-item:first-child {
  margin-top: 0;
}

.toc-item:last-child {
  margin-bottom: 0;
}

.toc-item__link {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.toc-item__preview {
  aspect-ratio: 250 / 175;
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .10);
  animation: fadeIn 600ms ease-in-out;
}

.toc-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.toc-item__type-row {
  display: flex;
  gap: 0.25rem;
  font-family: var(--font-harriet);
  color: rgba(0, 0, 0, 0.50);
}

.toc-item__type {
  color: rgba(0, 0, 0, 0.60);
  font-weight: 500;
}

.toc-item__pages {
  font-style: italic;
}

/* Dot leader between type and pages */
.leader {
  display: flex;
  gap: 0.25rem;
}

.leader> :first-child {
  order: 1;
}

.leader::after {
  order: 2;
  flex-grow: 1;
  content: '';
  height: 1em;
  background: radial-gradient(circle at 50% 0.8em, currentColor 8%, transparent 8%);
  background-size: 0.5em;
  background-repeat: repeat-x;
}

.leader> :last-child {
  order: 3;
}

.toc-item__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: rgb(20, 20, 20);
}

.toc-item__link:hover .toc-item__title {
  text-decoration: underline;
}

/* ---------- ARTICLE PAGE ---------- */
.article-header {
  background-color: var(--color-beige-500);
}

.article-preview-wrap {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 1rem;
}

.article-breadcrumb {
  font-family: var(--font-harriet);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.article-breadcrumb a {
  color: rgba(0, 0, 0, 0.50);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-preview-img {
  margin: 1.5rem 0;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 250 / 175;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .10);
  cursor: pointer;
  transition: opacity 0.15s;
  animation: fadeIn 600ms ease-in-out;
}

.article-preview-img:hover {
  opacity: 0.8;
}

.article-preview-title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.article-preview-nav {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.article-preview-nav ol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.75rem 0;
  list-style: none;
}

.article-preview-nav li {
  flex: 0 0 33.33%;
}

.article-preview-nav li:nth-child(2) {
  text-align: center;
}

.article-nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.875rem;
  padding: 6px 0;
  font-size: 16px;
  line-height: 24px;
}

.article-nav-link:hover {
  text-decoration: underline;
}

.article-view-pages-btn {
  border: 1px solid #000000;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 24px;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* Article Body */
.article-body {
  max-width: var(--max-w-3xl);
  margin: 0 auto;
  padding: 3rem 1rem;
}

.article-hgroup {
  margin: 1.5rem 0;
}

.article-hgroup h1 {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.article-hgroup p {
  font-family: var(--font-harriet);
  color: rgba(14, 10, 9, 0.60);
}

.article-content {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.75rem;
  color: rgba(14, 10, 9, 1);
  opacity: 0.6;
}

.article-content p {
  margin: 1.5rem 0;
}

/* Paywall */
.paywall-section {
  position: relative;
}

.paywall-fade {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  left: 0;
  right: 0;
  height: 10rem;
  background: linear-gradient(to bottom, transparent, var(--color-beige-200) 60%);
}

.paywall-upsell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: var(--color-beige-200);
  padding: 1rem 1rem 5rem;
  width: 100%;
}

.paywall-upsell__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 32rem;
}

.paywall-upsell h2 {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
}

.paywall-upsell p {
  text-align: center;
  color: #000000;
  font-size: 1rem;
}

.paywall-upsell__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  font-size: 1rem;
}

.paywall-upsell__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.paywall-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-orange-500);
}

.paywall-upsell__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.paywall-upsell__btn-member {
  background-color: var(--color-orange-500);
  color: #000000;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
}

.paywall-upsell__btn-member:hover {
  background-color: var(--color-orange-600);
}

.paywall-upsell__signin {
  font-size: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.paywall-upsell__signin:hover {
  text-decoration: underline;
}

/* ---------- VIEWER OVERLAY (Magazine / Article) ---------- */
.viewer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(30, 41, 59, 0.90);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.viewer-overlay.open {
  display: flex;
}

.viewer-overlay__close {
  position: absolute;
  right: 0.625rem;
  top: 0.625rem;
  z-index: 10;
  border-radius: 9999px;
  background-color: rgba(68, 64, 60, 0.80);
  padding: 0.25rem;
  color: #f5f5f4;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.viewer-paywall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #f5f5f4;
}

.viewer-paywall h2 {
  font-size: 3rem;
  max-width: 36rem;
}

.viewer-paywall__btn {
  margin-top: 1rem;
  border: 1px solid #000;
  border-radius: 0.5rem;
  background-color: rgba(68, 64, 60, 0.80);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #f5f5f4;
  text-decoration: none;
}

/* ---------- SEARCH MODAL ---------- */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: #202020;
  overflow-y: auto;
  padding: 1.5rem;
}

.search-modal.open {
  display: block;
}

.search-modal__header {
  display: flex;
  align-items: center;
}

.search-modal__logo img {
  height: 1.25rem;
  width: auto;
}

.search-modal__close {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.search-modal__close:hover {
  text-decoration: underline;
}

.search-modal__body {
  max-width: var(--max-w-2xl);
  margin: 2rem auto 0;
  height: 100%;
}

.search-modal__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ffffff;
  background: transparent;
  font-size: 2.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  outline: none;
  font-family: var(--font-sans);
  padding-bottom: 0.25rem;
}

.search-modal__input::placeholder {
  color: #6a6a6a;
}

.search-modal__results {
  margin-top: 2.5rem;
  color: #6a6a6a;
}

.search-result {
  display: flex;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  color: inherit;
}

.search-result:first-child {
  border-top: none;
  padding-top: 0;
}

.search-result:hover {
  text-decoration: underline;
}

.search-result__thumb {
  flex-shrink: 0;
  background-color: var(--color-beige-500);
  padding: 0.875rem;
  border-radius: 0.5rem;
}

.search-result__thumb img {
  box-shadow: -1.129px 1.412px 2.936px 0px #7F7E71;
  width: 3.8125rem;
  height: 5.1875rem;
}

.search-result__info {
  margin-left: 1rem;
}

.search-result__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: #ffffff;
}

.search-result__date {
  font-size: 0.875rem;
}

/* ---------- SIDEBAR (Mobile drawer) ---------- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.80);
  z-index: 50;
}

.sidebar-overlay.open {
  display: block;
}

.sidebar {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  pointer-events: none;
}

.sidebar.open {
  display: block;
  pointer-events: auto;
}

.sidebar__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 20rem;
  background-color: var(--color-beige-200);
  padding: 1rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar__logo img {
  height: 1.5rem;
  width: auto;
}

.sidebar__nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.sidebar__link {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--color-gray-900);
  text-decoration: none;
  display: inline-block;
}

.sidebar__link:hover {
  border-bottom: 1px solid var(--color-gray-900);
}

.sidebar__link--active {
  border-bottom: 2px solid var(--color-gray-900);
}

.sidebar__divider {
  height: 1px;
  background-color: var(--color-gray-900);
}

.sidebar__close {
  position: absolute;
  right: 20px;
  top: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-beige-200);
  display: flex;
}

/* ---------- MAGAZINE SHEEN (custom CSS) ---------- */
.magazine-sheen-left {
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.5) 85%,
      rgba(255, 255, 255, 0.5) 10%,
      rgba(0, 0, 0, 0.2));
  position: relative;
}

.magazine-sheen-left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.25px;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}

.magazine-sheen-right {
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.1),
      rgba(255, 255, 255, 0.5) 10%,
      rgba(255, 255, 255, 0.5) 10%,
      transparent);
}

.magazine-shadow {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.1) inset;
}

.magazine-shadow::after {
  right: 10px;
  left: auto;
  transform: skew(8deg) rotate(3deg);
}

/* Paid content paywall clipping */
.paid-content>p:nth-child(n + 3) {
  display: none;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (min-width: 512px) {

  /* xs */
  .subheader__nav {
    display: flex;
  }
}

@media (min-width: 768px) {

  /* md */
  .site-header__nav {
    padding: 1.5rem 1rem 1.5rem;
  }

  .site-header__cta-link {
    display: inline;
  }

  .site-header__profile {
    gap: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  }

  .hero__content {
    padding: 1.5rem;
  }

  .hero__text {
    align-items: flex-start;
    text-align: left;
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .hero__desc {
    font-size: 1.125rem;
  }

  .hero__cta {
    margin-top: 1.75rem;
  }

  .featured-article {
    grid-template-columns: 1fr 1fr;
  }

  .featured-article__content {
    padding: 1.25rem;
  }

  .featured-article__title {
    font-size: 1.875rem;
  }

  .featured-article__image {
    padding: 0;
  }

  .featured-sections-wrapper {
    padding: 1.5rem 3rem;
    gap: 3rem;
  }

  .featured-section__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 3rem;
  }

  .featured-section__grid__5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 3rem;
  }

  .featured-section__grid--small-gaps {
    column-gap: 1rem;
  }

  .featured-section__subtitle {
    font-size: 1.125rem;
  }

  .home-nav {
    display: block;
  }

  /* .issues-list { max-width: 130rem; padding: 1.5rem 2.5rem 2.5rem; } */
  .issues-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-detail {
    flex-direction: row;
    align-items: flex-start;
  }

  .issue-sidebar {
    width: 41.666667%;
    padding: 0.75rem;
    position: sticky;
    top: 2.5rem;
  }

  .toc-section {
    width: 58.333333%;
  }

  .article-preview-wrap {
    padding: 1rem;
  }

  .toc-item__link {
    flex-direction: row;
    align-items: center;
  }

  .toc-item__preview {
    width: 12rem;
  }

  .toc-item {
    margin: 3rem 0;
  }

  .site-footer {
    padding: 2rem 2.5rem 3.5rem;
  }

  .site-footer__column {
    border-bottom: none;
  }

  .site-footer__social {
    margin: 0;
  }

  .paywall-upsell {
    flex-direction: row;
    padding: 1rem 0 5rem;
  }

  .paywall-upsell__inner {
    max-width: 32rem;
  }
}

@media (min-width: 1024px) {

  /* lg */
  .site-header__nav-links {
    display: flex;
  }

  .site-header__nav .sidebar-toggle {
    display: none;
  }

  .issue-sidebar {
    padding: 1.5rem;
  }

  .toc-header {
    padding: 1.5rem;
  }

  .toc-list {
    padding: 1.5rem;
  }

  .featured-section__grid {
    margin-top: 3.5rem;
  }

  .issues-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero__content {
    padding: 3.5rem 1.5rem 2.25rem;
  }
}

/* ============================================================
   RESPONSIVE FIXES — Hamburger, Subheader Mobile, Footer Social
   ============================================================ */

/* ---- Hamburger button: mobile only (< 1024px) ---- */
.site-header__hamburger {
  display: flex !important;
  /* shown by default (mobile-first) */
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
}

@media (min-width: 1024px) {
  .site-header__hamburger {
    display: none !important;
  }
}

/* ---- Subheader desktop nav: hidden < 512px ---- */
/* (CSS default already sets display:none; only shows at xs+) */
/* Remove the inline style override in HTML — handled by app.js */

/* ---- Subheader mobile controls: visible < 512px only ---- */
.subheader__mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #fff;
}

@media (min-width: 512px) {
  .subheader__mobile-controls {
    display: none !important;
  }
}

.subheader__mobile-unlock {
  background: var(--color-orange-500);
  color: #000;
  border-radius: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  text-decoration: none;
}

.subheader__mobile-unlock:hover {
  background: var(--color-orange-600);
}

.subheader__chevron-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0;
}

.subheader__chevron-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.subheader__chevron-btn.open svg {
  transform: rotate(180deg);
}

/* ---- Subheader mobile dropdown ---- */
#subheader-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 29;
  background: #000;
}

#subheader-mobile-nav.open {
  display: block;
}

.subheader__mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 2.5rem;
}

.subheader__mobile-nav-links a,
.subheader__mobile-nav-links button {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid #4E4E4F;
  background: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.subheader__mobile-nav-links a:last-child,
.subheader__mobile-nav-links button:last-child {
  border-bottom: none;
}

.subheader__mobile-nav-links a.active {
  color: #999;
}

.subheader__mobile-backdrop {
  height: 50vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
}

/* ---- Footer social: desktop show on lg+ ---- */
@media (min-width: 1024px) {
  #footer-social-desktop {
    display: flex !important;
  }

  .site-footer__social {
    display: none;
  }

  /* hide mobile copy on lg+ */
}

/* ---- Show more hidden grid ---- */
.featured-section__hidden-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .featured-section__hidden-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 3rem;
  }
}


@media (min-width: 768px) {
  .featured-section__hidden-grid--small-gaps {
    column-gap: 1rem;
  }
}

.featured-section__hidden-grid.open {
  display: grid;
}

/* ---- Show more button icon alignment ---- */
.featured-section__show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  justify-content: center;
}

.featured-section__show-more-btn svg {
  display: inline-block;
  vertical-align: middle;
}

/* ---- Header right: flex-1 for proper centering ---- */
.site-header__left {
  flex: 1;
}

.site-header__right {
  flex: 1;
}

/* ---- Become a Bunny: hidden on small, shown md+ ---- */
@media (min-width: 768px) {
  .site-header__cta-link {
    display: inline !important;
  }
}

/* ---- Profile btn: small pill on mobile, icon+text on md+ ---- */
.site-header__profile-btn {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .site-header__profile-btn {
    background: none;
    color: var(--color-gray-900);
    border-radius: 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .site-header__profile-btn:hover {
    text-decoration: underline;
  }
}

/* ---- Filter dropdown open state (CSS fallback for focus-within) ---- */
.filter-dropdown.open .filter-dropdown__menu {
  display: block;
}

/* ---- Year dropdown visibility managed via PHP/JS ---- */

/* ---- Issues year-section data attribute for JS filter ---- */

/* placeholder for JS data-year usage */


/* new style */

.issue-cover__year {
  font-size: 1rem;
  font-weight: bold;
}

.issue-cover__title {
  font-size: 0.875rem;
  font-weight: 300;
  color: #333;
  opacity: 0.7;
}


.issues-grid .issue-cover__year {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  opacity: 1;

}

.issues-grid .issue-cover__title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  opacity: 1;
}

.issues-list {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 2.5rem 2.5rem;
}

.filter-dropdown__item {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
  position: relative;
}

.filter-dropdown__item input {
  display: none;
}

/* custom box */
.filter-dropdown__item label {
  position: relative;
  padding: 3px 0 3px 29px;
  cursor: pointer;
  font-size: 14px;
  line-height: 16px;
}

/* checkbox box */
.filter-dropdown__item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
}

/* checkmark */
.filter-dropdown__item label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

/* checked state */
.filter-dropdown__item input:checked+label::before {
  background: #F8BE00;
  border-color: #F8BE00;
}

.filter-dropdown__item input:checked+label::after {
  opacity: 1;
}

.issue-sidebar__nav ul li a {
  color: #000000;
  font-family: var(--font-harriet);
  font-size: 1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.issue-sidebar__nav li:nth-child(2) a {
  justify-content: center;
  display: inline-flex;
  color: #000000;
  font-size: 1rem;
  white-space: nowrap;
  font-family: PlayboyVisuelt, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

.issue-sidebar__nav li:last-child {
  display: flex;
  justify-content: end;
}

@media (min-width: 768px) {
  .site-header__right {
    gap: .75rem;
  }
}

@media (min-width: 1024px) {
  .site-header__right {
    gap: 1.5rem;
  }

  .site-footer__body {
    flex-direction: row;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .featured-article__image {
    height: 100%;
  }

  .lg-hide {
    display: none;
  }
}

@media (max-width: 1023px) {
  .hero__text {
    text-align: center;
  }

  .hero__content .hero__title {
    font-size: 3rem;
    line-height: 1;
  }

  .hero__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__cta {
    margin: 20px auto 0;
  }

  .issue-cover__frame {
    padding: 3rem 1.75rem 0.75rem;
  }

  .featured-article__image {
    height: 100%;
  }

  .site-footer .site-footer__body {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .issues-list {
    max-width: 42rem;
  }
}

@media (max-width: 991px) {
  .sm-hide {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header__profile-btn svg {
    display: none;
  }

  .subheader__nav {
    gap: .75rem;
  }

  .featured-article {
    display: flex;
    flex-direction: column-reverse;
  }

  .issues-list {
    padding: 1rem 1.5rem 2.5rem;
  }

  .issues-filter {
    flex-direction: column;
    gap: .75rem;
  }

  .sm-hide {
    display: inline-block;
  }

  .lg-hide {
    display: inline-block;
  }

  .toc-item__link {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .toc-item__preview {
    width: 12rem;
  }
}

@media (max-width: 640px) {
  .lg-hide {
    display: none;
  }

  .toc-item__link {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .toc-item__preview {
    width: 100%;
  }

  .toc-item__meta {
    width: 100%;
  }

  .article-preview-nav ol li a span {
    display: none;
  }

  .article-preview-nav li {
    flex: none;
  }
}

@media (max-width: 510px) {
  .subheader__nav {
    display: none;
  }

  .site-header__left,
  .site-header__right {
    flex: inherit;
  }

  .sm-hide {
    display: none;
  }
}
/* ---------- LIVE SEARCH RESULTS ---------- */
.search-modal__results {
  margin-top: 1.5rem;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-result-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: opacity 0.2s;
}

.search-result-link:hover {
  opacity: 0.8;
}

.search-result-thumb {
  width: 4rem;
  aspect-ratio: 165/222;
  object-fit: cover;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-result-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  color: var(--color-white);
  margin: 0;
}

.search-result-date {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.search-loader {
  color: var(--color-white);
  font-style: italic;
}
