@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@300;400&family=League+Gothic&family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;1,6..96,400;1,6..96,600&family=Inter:wght@300;400;500&display=swap');

/* ─── THEMES (one file per theme) ─── */
@import url('theme-dark.css');
@import url('theme-brutalist.css');
@import url('theme-warm.css');
@import url('theme-vogue.css');


/* 1. EDITORIAL (default) — clean magazine, warm whites */
:root {
  --black: #0a0a0a;
  --white: #f5f3f0;
  --grey-100: #f0ede9;
  --grey-200: #e0ddd8;
  --grey-300: #c8c4be;
  --grey-500: #8c8880;
  --grey-700: #4a4844;
  --grey-900: #1e1c1a;
  --accent: #1a1a1a;
  --gold: #b8a882;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --nav-h: 64px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide scrollbar globally — all browsers */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--grey-900);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.transparent { background: transparent; }
#nav.solid {
  background: rgba(245, 243, 240, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-200);
}
#nav.dark {
  background: rgba(10, 10, 10, 1);
}
#nav.dark .nav-logo,
#nav.dark .nav-link { color: var(--white); }
#nav.dark .nav-link::after { background: var(--gold); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey-900);
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-700);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--grey-900);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--grey-900); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  color: var(--grey-900);
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}
#nav.dark .nav-burger,
#nav.transparent .nav-burger { color: var(--white); }

/* Mobile Nav — animated overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  pointer-events: none;
  /* Background slides in */
  background: var(--white);
  clip-path: circle(0% at calc(100% - 48px) 32px);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open {
  pointer-events: all;
  clip-path: circle(150% at calc(100% - 48px) 32px);
}

/* Each nav link fades + slides up with stagger */
.mobile-menu .nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--grey-900);
  padding: 14px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, color var(--transition);
}
.mobile-menu.open .nav-link { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.mobile-menu .nav-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu .nav-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu .nav-link:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu .nav-link:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu .nav-link:nth-child(5) { transition-delay: 0.43s; }

.mobile-menu .nav-link:hover { color: var(--gold); }
.mobile-menu .nav-link::after { background: var(--gold); }

/* Burger → X animation */
.nav-burger { position: relative; }

.nav-burger span {
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.25s ease,
              top 0.3s ease;
}

/* Open state: 3 lines → X */
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hide old close button (no longer needed) */
.mobile-close { display: none; }

@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─── HOME HERO CAROUSEL ─── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh; /* small viewport — stable, doesn't change with mobile browser chrome */
  overflow: hidden;
  background: var(--black);
}
/* Hero ratio variants */
.hero-carousel.ratio-square {
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 100svh;
}
.hero-carousel.ratio-rect {
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: calc(100svh - var(--nav-h));
  margin-top: var(--nav-h);
}
/* 3:2 ratio: compact hero text — less margin, smaller type */
.hero-carousel.ratio-rect .hero-tag {
  font-size: 0.62rem;
  margin-bottom: 0;
}
.hero-carousel.ratio-rect .hero-title {
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  margin-bottom: 0;
}
.hero-carousel.ratio-rect .hero-cta { display: none; }
/* 3:2 ratio: navbar is always solid (image starts below it) */
/* 3:2 ratio: hero starts below nav — nav uses normal scroll behavior (dark→light) */

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.active img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgb(0 0 0 / 30%) 0%, rgb(0 0 0 / 0%) 50%, #00000000 100%),
    linear-gradient(to bottom, rgb(0 0 0 / 0%) 0%, rgba(0,0,0,0) 75%, rgb(0 0 0 / 55%) 100%);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
  right: 60px;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  cursor: pointer;
  transition: border-color var(--transition), gap var(--transition);
}
.hero-cta:hover { border-color: var(--white); gap: 16px; }
/* Inactive slides must not intercept pointer events */
.hero-slide { pointer-events: none; }
.hero-slide.active { pointer-events: all; }

/* Hero content clickable area — tag and title only */
.hero-content-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hero-content-link:hover .hero-title { opacity: 0.85; }

.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 60px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Counter: 01 / XX */
.hero-counter {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progress bar track — shorter to leave room for arrows */
.hero-progress-track {
  flex: 1;
  max-width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

/* Active fill */
.hero-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--white);
  border-radius: 1px;
  transition: width 0.4s ease;
  width: 0%;
}

/* Individual dots — not used */
.hero-dot { display: none; }

/* Arrows: inline with controls, right side */
.hero-arrows {
  position: absolute;
  bottom: 28px;
  right: 60px;
  display: flex;
  gap: 6px;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 768px) {
  .hero-controls { left: 20px; right: 20px; bottom: 24px; }
  .hero-arrows { bottom: 20px; right: 20px; }
}

.hero-arrow {
  pointer-events: all;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  border-radius: 50%;
}
.hero-arrow svg { width: 14px; height: 14px; }
.hero-arrow:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: white;
}

/* ─── RECENT SECTION ─── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.recent-section,
.featured-section {
  padding: 80px 60px;
  background: var(--white);
}
.featured-section {
  padding: 80px 60px 0px;
}

.recent-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 20px;
}

.recent-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--grey-900);
  margin-top: 8px;
}

.view-all {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  border-bottom: 1px solid var(--grey-300);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.view-all:hover { color: var(--grey-900); border-color: var(--grey-900); }

.recent-slider-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  margin-left: -60px;
  margin-right: -60px;
  /* Snap scrolling */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.recent-slider {
  display: flex;
  gap: 24px;
  padding-left: 60px;
  padding-right: 60px;
  /* Rimuove i margin su first/last child — ora usa padding */
}
.recent-slider .recent-card { scroll-snap-align: start; }
/* Rimuove i vecchi margin laterali */
.recent-slider .recent-card:first-child { margin-left: 0; }
.recent-slider .recent-card:last-child  { margin-right: 0; }

/* Hide scrollbar in all browsers */
.recent-slider-wrap::-webkit-scrollbar { display: none; }
.recent-slider-wrap { -ms-overflow-style: none; scrollbar-width: none; }
.recent-slider::-webkit-scrollbar { display: none; }
.recent-slider { -ms-overflow-style: none; scrollbar-width: none; }

.recent-card {
  /* Default: 3+1/3 cards visible — peek segnala che c'è altro */
  flex: 0 0 calc((100% - 48px) / 3.33);
  max-width: 500px;
  cursor: pointer;
}

/* Schermi larghi: 4+1/3 card */
@media (min-width: 1400px) {
  .recent-card { flex: 0 0 calc((100% - 72px) / 4.33); }
}

/* Schermi molto larghi: 5 card se ce ne sono abbastanza */
@media (min-width: 1800px) {
  .recent-card { flex: 0 0 calc((100% - 96px) / 5.33); }
}

.recent-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-200);
  margin-bottom: 16px;
}

.recent-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.recent-card:hover .recent-card-img img { transform: scale(1.04); }

.recent-card-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.recent-card-type svg {
  fill: currentColor;
  flex-shrink: 0;
}

.recent-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--grey-900);
  margin-bottom: 6px;
  line-height: 1.3;
}

.recent-card-date {
  font-size: 0.75rem;
  color: var(--grey-500);
}

/* Recent section in list mode (slideshow type B) */
.recent-section.list-mode .recent-slider-wrap {
  overflow: visible;
}
.recent-section.list-mode .recent-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
  scroll-snap-type: none;
}
.recent-section.list-mode .recent-card {
  flex: none;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.recent-section.list-mode .recent-card-img {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 4/3;
  margin-bottom: 0;
  flex-shrink: 0;
}
/* Text wrapper — label, title, date in column on the right */
.recent-section.list-mode .recent-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recent-section.list-mode .recent-card-title {
  font-size: 1rem;
  margin-bottom: 0;
}
.recent-section.list-mode .recent-card-type {
  margin-bottom: 0;
}
.recent-section.list-mode .recent-card-date {
  font-size: 0.72rem;
}
.recent-section.list-mode .slider-nav { display: none; }

.slider-nav {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey-300);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active {
  background: var(--grey-900);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .recent-section, .featured-section { padding: 60px 0; }
  .recent-header { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .recent-slider-wrap { margin-left: 0; margin-right: 0; }
  .recent-slider { padding-left: 20px; padding-right: 20px; }
  .recent-card { flex: 0 0 78vw; }
  .recent-slider .recent-card:first-child { margin-left: 0; }
  .recent-slider .recent-card:last-child  { margin-right: 0; }
  .slider-nav { padding: 0 20px; }
  .hero-content { left: 24px; right: 24px; bottom: 60px; }
  .hero-controls { left: 20px; }
  .hero-counter { right: 20px; }
}

/* ─── PAGE HERO ─── */
.page-hero {
  height: 55vh;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  margin-top: var(--nav-h);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 60px;
  color: var(--white);
}
.page-hero-content .section-label { color: var(--gold); margin-bottom: 10px; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .page-hero-content { padding: 32px 20px; }
}
@media (min-width: 1400px) {
  .page-hero { height: 75vh; }
}

/* ─── CONTENT AREA ─── */
.content-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px;
}

.content-area p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 20px;
}

.content-area h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--grey-900);
  margin: 40px 0 16px;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
}

/* ─── PHOTOSWIPE GALLERY ─── */
.gallery-section {
  padding: 48px 60px 80px;
}

.pswp-gallery {
  position: relative; /* Masonry needs this */
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* pswp-gallery items */
.pswp-gallery a {
  display: block;
  background: var(--grey-200);
  width: calc(25% - 8px);   /* default: 4 columns */
  margin-bottom: 10px;
}
@media (min-width: 1600px) { .pswp-gallery a { width: calc(20% - 8px); } }     /* 5 col */
@media (max-width: 1200px) { .pswp-gallery a { width: calc(33.333% - 8px); } } /* 3 col */
@media (max-width: 900px)  { .pswp-gallery a { width: calc(50% - 5px); } }     /* 2 col */
@media (max-width: 450px)  { .pswp-gallery a { width: calc(50% - 5px) !important; margin-bottom: 8px; } } /* mobile 2 col default */

.pswp-gallery a img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 1;
  min-height: 60px;
  background: var(--grey-200);
}
/* Placeholder while lazy image hasn't loaded yet — invisible but holds space */
.pswp-gallery a img.lazy-img {
  opacity: 0;
  transition: none;
}
.pswp-gallery a:hover img:not(.lazy-img) {
  transform: scale(1.03);
  opacity: 1;
}

@media (max-width: 900px) {
  .gallery-section { padding: 32px 20px 60px; }
}


/* ─── PAGES GRID (galleries & videos listing) ─── */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* .recent-card inside grid: override flex sizing */
.pages-grid .recent-card {
  flex: none;
  width: 100%;
  min-width: 0;
  cursor: pointer;
}

@media (max-width: 900px) {
  .pages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pages-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pages-grid { padding: 0; }
  section:has(.pages-grid) { padding-left: 20px !important; padding-right: 20px !important; }
}







.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
}

.about-portrait {
  position: relative;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-portrait::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px;
  right: -20px; bottom: -20px;
  border: 1px solid var(--grey-200);
  z-index: -1;
}

.about-text h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-text .section-label { margin-bottom: 16px; }

.about-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin: 24px 0 40px;
}

/* Contact items */
.contact-section {
  background: var(--grey-100);
  padding: 80px 60px;
}

.contact-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: var(--grey-900);
}
.contact-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.contact-item-body { flex: 1; }

.contact-arrow {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--grey-300);
  transition: color var(--transition), transform var(--transition);
}
.contact-item:hover .contact-arrow {
  color: var(--grey-700);
  transform: translateX(3px);
}

.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  border-radius: 2px;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.contact-item-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-900);
}

/* Social */
.social-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px 80px;
}

.social-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--grey-700);
  margin: 48px 0 24px;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--grey-200);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--grey-700);
  transition: all var(--transition);
}
.social-btn:hover {
  border-color: var(--grey-900);
  color: var(--grey-900);
  background: var(--grey-100);
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 40px;
  }
  .contact-section { padding: 60px 20px; }
  .contact-section h2 { font-size: 1.4rem; }
  .social-section { padding: 0 20px 60px; }
}


/* ─── GALLERY COLUMN SWITCHER (mobile only) ─── */
.gallery-col-switcher {
  display: none; /* hidden on desktop */
  align-items: center;
  gap: 8px;
  padding: 0 20px 20px;
}
.gallery-toolbar-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-right: 4px;
}
.col-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-200);
  color: var(--grey-500);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
}
.col-btn:hover { border-color: var(--grey-700); color: var(--grey-700); }
.col-btn.active { border-color: var(--grey-900); color: var(--grey-900); background: var(--grey-100); }
.col-btn svg { width: 16px; height: 16px; }

/* Desktop: Masonry JS layout */
/* (centering handled by .gallery-section text-align:center above) */

/* Mobile: col switcher visible at ≤414px, Masonry handles layout */
.gallery-col-switcher { display: none !important; }

@media (max-width: 450px) {
  .gallery-col-switcher { display: flex !important; }
  .gallery-section { padding: 32px 16px 60px; }
  .pswp-gallery { width: 100% !important; }
  /* 2 columns (default) */
  .pswp-gallery[data-mobile-cols="2"] a { width: calc(50% - 5px) !important; margin-bottom: 8px; }
  /* 1 column */
  .pswp-gallery[data-mobile-cols="1"] a { width: 100% !important; margin-bottom: 8px; }
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--grey-200);
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--grey-900);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--grey-500);
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  footer { flex-direction: column; gap: 12px; padding: 24px 20px; text-align: center; }
}

/* ─── UTILITIES ─── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LOADING ─── */
#loading {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}
#loading.hidden { opacity: 0; pointer-events: none; }
.loading-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--grey-900);
  letter-spacing: 0.06em;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 12px 60px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--grey-500);
  text-transform: uppercase;
  border-bottom: 1px solid var(--grey-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  min-width: 0;
}
.breadcrumb > * { flex-shrink: 0; }
.breadcrumb > *:last-child {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb a { color: var(--grey-500); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--grey-900); }
.breadcrumb span.sep { margin: 0 8px; flex-shrink: 0; }
.breadcrumb span { margin: 0 8px; }

@media (max-width: 768px) {
  .breadcrumb { padding: 12px 20px; }
}

/* ─── PHOTOSWIPE CAPTION ─── */
.pswp__custom-caption {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: normal;
  width: max-content;
  max-width: min(560px, calc(100vw - 80px));
  text-align: center;
  word-wrap: break-word;
  pointer-events: none;
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════════
   JOURNAL / POSTS
   ═══════════════════════════════════════════════════════════ */

/* Journal listing */
.journal-main { padding-top: var(--nav-h); }

.journal-hero {
  padding: 60px 60px 40px;
  border-bottom: 1px solid var(--grey-200);
}
.journal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.journal-desc {
  font-size: 1rem;
  color: var(--grey-500);
  max-width: 520px;
}

.journal-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px 80px;
}

.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--grey-200);
  cursor: pointer;
  transition: opacity 0.2s;
  color: inherit;
  text-decoration: none;
}
.post-card:hover { opacity: 0.75; }

.post-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-100);
}
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }

.post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.post-card-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grey-900);
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-read {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Single post */
.post-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.post-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: 48px;
}

.post-header-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 14px;
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}

.post-cover {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey-100);
  margin-bottom: 48px;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Blocks */
.post-block { margin-bottom: 48px; }

.block-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2em;
  color: var(--grey-900);
}
.block-text p:last-child { margin-bottom: 0; }

.block-text-img,
.block-img-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.block-side-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-100);
}
.block-side-img img { width: 100%; height: 100%; object-fit: cover; }

.block-side-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1em;
  color: var(--grey-900);
}
.block-side-text p:last-child { margin-bottom: 0; }

.block-html {
  width: 100%;
  overflow: hidden;
}
.block-html iframe,
.block-html video,
.block-html embed {
  max-width: 100%;
  display: block;
}

.post-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--grey-500);
}
.post-back a { color: var(--grey-500); transition: color 0.2s; }
.post-back a:hover { color: var(--grey-900); }

/* Mobile */
@media (max-width: 768px) {
  .journal-hero { padding: 40px 20px 28px; }
  .journal-list { padding: 0 20px 60px; }
  .post-card    { grid-template-columns: 1fr; gap: 14px; }
  .post-card-img { aspect-ratio: 16/9; }
  .post-wrap    { padding: 0 20px 60px; }
  .post-header  { padding: 32px 0 24px; }
  .block-text-img,
  .block-img-text { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   VIDEOS PAGE (single-page, all videos listed)
   ═══════════════════════════════════════════════════════════ */

.videos-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.video-item {
  padding: 48px 0;
  border-bottom: 1px solid var(--grey-200);
}
.video-item:first-child { padding-top: 0; }
.video-item:last-child  { border-bottom: none; }

.video-item-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.video-item-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}
.video-item-date {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  white-space: nowrap;
}

.video-item-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-700, #333);
  margin-bottom: 24px;
}
.video-item-text--after { margin-top: 24px; margin-bottom: 0; }

.video-item-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.video-item-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-100);
}
.video-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-item-img:hover img { transform: scale(1.04); }

.video-item-embed { margin-bottom: 0; }
.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 4px;
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .videos-page { padding: 32px 20px 60px; }
  .video-item-images { grid-template-columns: 1fr 1fr; }
}

/* Video cover + play button */
.video-cover-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
  background: #000;
}
.video-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.video-cover-wrap:hover .video-cover-img { transform: scale(1.03); opacity: 0.85; }

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.video-cover-wrap:hover .video-play-btn {
  transform: scale(1.1);
  background: rgba(0,0,0,0.6);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
}
.video-modal-close:hover { opacity: 1; }
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Recent section — 2 column grid mode (Mode B) */
.recent-section.grid-mode .recent-slider-wrap { overflow: visible; }
.recent-section.grid-mode .recent-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  overflow: visible;
  scroll-snap-type: none;
  cursor: default;
}
/* Each card: image left + info right (like list-mode), but in 2 columns */
.recent-section.grid-mode .recent-card {
  flex: none;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.recent-section.grid-mode .recent-card-img {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 4/3;
  margin-bottom: 0;
  flex-shrink: 0;
}
.recent-section.grid-mode .recent-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.recent-section.grid-mode .recent-card-title {
  font-size: 1rem;
  margin-bottom: 0;
}
.recent-section.grid-mode .recent-card-type { margin-bottom: 0; }
.recent-section.grid-mode .recent-card-date { font-size: 0.72rem; }
.recent-section.grid-mode .slider-nav { display: none; }

/* Mobile: 1 column up to 680px, 2 columns above */
@media (max-width: 680px) {
  .recent-section.grid-mode .recent-slider { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   JOURNAL SECTION — home page
   Left: tall card linking to journal page (image background, centered text)
   Right: 3 latest posts in a vertical list (small image + date + title)
   ═══════════════════════════════════════════════════════════ */
.journal-section {
  padding: 60px 40px 80px;
  background: var(--cream, #faf8f4);
}
.journal-section-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* ── Left card ── */
.journal-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 480px;
  padding: 50px 40px;
  background-color: var(--grey-200, #e8e4dc);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.journal-card:hover { transform: scale(1.01); }
.journal-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.journal-card-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 460px;
}
.journal-card .section-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.journal-card-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--white);
}
.journal-card-tagline {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin: 0 0 20px;
  line-height: 1.45;
}
.journal-card-cta {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.75);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.journal-card:hover .journal-card-cta {
  background: var(--white);
  color: var(--black);
}

/* ── Right list ── */
.journal-posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
.journal-post-item {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200, #e8e4dc);
  transition: opacity 0.2s;
}
.journal-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.journal-post-item:hover { opacity: 0.7; }

.journal-post-img {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 4/3;
  background: var(--grey-100, #f4f2ee);
  overflow: hidden;
}
.journal-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journal-post-img--empty {
  background: var(--grey-100, #f4f2ee);
}

.journal-post-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.journal-post-date {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500, #6e6a62);
}
.journal-post-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--black);
}

/* Mobile */
@media (max-width: 900px) {
  .journal-section { padding: 50px 20px 60px; }
  .journal-section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .journal-card { min-height: 320px; }
  .journal-post-img { width: 100px; }
  .journal-post-title { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   POST BLOCKS — Journal article composer output
   ═══════════════════════════════════════════════════════════ */
.post-block {
  margin: 0 auto 48px;
  max-width: 860px;
}
.post-block-text {
  max-width: 860px;
}
.post-block-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .post-block-2col { grid-template-columns: 1fr; gap: 24px; }
}
.post-block-col { min-width: 0; }

/* Image inside any block */
.post-image {
  margin: 0;
}
.post-image img {
  width: 100%;
  height: auto;
  display: block;
}
.post-image figcaption {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  color: var(--grey-500, #6e6a62);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Video inside block */
.post-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.post-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Text content inside block */
.post-text { font-family: inherit; line-height: inherit; }
.post-text p { margin: 0 0 1em; }
.post-text h2, .post-text h3 { font-family: var(--font-display, serif); font-weight: 600; margin: 1.5em 0 0.5em; }
.post-text h2 { font-size: 1.6rem; }
.post-text h3 { font-size: 1.25rem; }
.post-text a { color: var(--accent, #b8001f); text-decoration: underline; text-underline-offset: 3px; }
.post-text blockquote {
  border-left: 3px solid var(--grey-300, #c8c2b6);
  padding-left: 20px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--grey-700, #383634);
}
.post-text ul, .post-text ol { margin: 0 0 1em 1.5em; }

/* Gallery card link */
.post-gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  text-decoration: none;
  background: var(--grey-100, #f4f2ee);
}
.post-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.post-gallery-card:hover img { transform: scale(1.04); }
.post-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 60%);
  color: var(--white);
}
.post-gallery-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.85;
}
.post-gallery-title {
  font-family: var(--font-display, serif);
  font-size: 1.3rem;
  font-weight: 600;
}

/* Slideshow inside post — fixed height (tallest image), nav below */
.post-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.post-slideshow-frame {
  position: relative;
  width: 100%;
  /* Height is set inline via JS based on the tallest slide */
}
.post-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.post-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.post-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Nav below: counter left, arrows right */
.post-slideshow-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--grey-700, #383634);
}
.post-slideshow-counter {
  font-variant-numeric: tabular-nums;
}
.post-slideshow-arrows {
  display: flex;
  gap: 4px;
}
.post-slideshow-arrow {
  background: transparent;
  border: 1px solid var(--grey-300, #c8c2b6);
  color: var(--grey-900, #0a0a0a);
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.post-slideshow-arrow:hover {
  background: var(--grey-900, #0a0a0a);
  color: #fff;
  border-color: var(--grey-900, #0a0a0a);
}
.post-slideshow-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: transparent;
  color: var(--grey-400);
}

/* H2 heading above any block */
.post-block-section {
  max-width: 860px;
  margin: 0 auto 48px;
}
.post-block-section .post-block { margin-bottom: 0; }
.post-block-heading {
  font-family: var(--font-display, serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 auto 22px;
  color: var(--grey-900, #0a0a0a);
  max-width: 860px;
}
