/* ==========================================================================
   Counterpoint Dance Company — Modern Static Stylesheet
   Preserves original Arvo / Vollkorn / Century Gothic palette & layout
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-card: #f4f4f4;
  --bg-card-alt: #ebebeb;
  --text-main: #3f3f3f;
  --text-heading: #222222;
  --text-muted: #666666;
  --text-nav: #767676;
  --text-nav-hover: #222222;
  --border-light: #e5e5e5;
  --border-dark: #333333;
  --border-submenu: #767575;
  --border-sage: #558448;
  --border-sky: #64bce8;
  --border-gold: #f5d44f;
  --border-footer: #c8c8c8;
  --accent: #333333;
  --accent-hover: #111111;
  --overlay-dark: rgba(0, 0, 0, 0.65);
  --overlay-light: rgba(255, 255, 255, 0.90);
  --font-display: 'Arvo', Georgia, serif;
  --font-body: 'Vollkorn', Georgia, 'Palatino Linotype', serif;
  --font-nav: 'Century Gothic', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 960px;
  --radius: 2px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.14);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a {
  color: #444444;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: #111111;
}

:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #222222;
  color: #ffffff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-family: var(--font-nav);
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  padding: 1.25rem 0 0.75rem;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: inline-block;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.header-top-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #444444;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Primary Navigation */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #cccccc;
  color: var(--text-heading);
  font-family: var(--font-nav);
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.primary-nav {
  width: 100%;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-list > .nav-item > a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-nav);
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-list > .nav-item > a:hover,
.nav-dropdown-trigger:hover,
.nav-list > .nav-item.is-active > a,
.nav-list > .nav-item.is-active > .nav-dropdown-trigger {
  color: var(--text-nav-hover);
}

.nav-list > .nav-item.is-active > a,
.nav-list > .nav-item.is-active > .nav-dropdown-trigger {
  font-weight: 600;
}

.nav-caret {
  font-size: 0.65rem;
  line-height: 1;
}

/* Desktop Dropdown */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border-submenu);
  box-shadow: var(--shadow-sm);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  z-index: 100;
}

.nav-item.has-children:hover > .sub-menu,
.nav-item.has-children:focus-within > .sub-menu,
.nav-item.has-children.is-open > .sub-menu {
  display: block;
}

.sub-menu li a {
  display: block;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-nav);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text-nav);
}

.sub-menu li a:hover,
.sub-menu li.is-active a {
  background-color: var(--bg-card);
  color: var(--text-nav-hover);
}

/* ==========================================================================
   Homepage: Hero Carousel, Feature Tiles, Recent Articles
   ========================================================================== */

.main-content {
  padding: 0.75rem 0 2rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-section {
  margin-bottom: 1.5rem;
}

.hero-carousel .carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 360px;
  aspect-ratio: 970 / 400;
  background: #1a1a1a;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 48px;
  bottom: 0;
  width: 28%;
  min-width: 220px;
  background: var(--overlay-light);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-overlay h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: #111111;
}

.hero-overlay-body {
  font-family: var(--font-body);
  font-size: 0.975rem;
  line-height: 1.45;
  color: #222222;
}

.hero-overlay-body p {
  margin: 0 0 0.75rem;
}

.hero-overlay-body img {
  max-width: 175px;
  margin-top: 0.75rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 44px;
  border: 0;
  background: rgba(85, 85, 85, 0.85);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.carousel-btn:hover {
  background: rgba(34, 34, 34, 0.95);
}

.carousel-btn--prev {
  left: 0;
}

.carousel-btn--next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #777777;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.carousel-dot.is-active {
  background: #333333;
  border-color: #333333;
}

/* Feature Tiles (3-column grid) */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.feature-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #e9e9e9;
  border-top: 5px solid #222222;
  text-decoration: none;
}

.feature-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feature-tile:hover img {
  transform: scale(1.03);
}

.feature-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-dark);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: center;
  padding: 0.65rem 1rem;
}

/* Recent Articles Panel */
.recent-articles {
  background: var(--bg-card);
  border-top: 4px solid var(--border-dark);
  padding: 1.25rem 1.25rem 1.5rem;
}

.section-display-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  color: #000000;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dddddd;
  margin-bottom: 0.6rem;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.03);
}

.article-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
}

.article-card-title a {
  color: var(--text-heading);
  text-decoration: none;
}

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

/* ==========================================================================
   Subpage 2-Column Layout (Content + Sidebar)
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(240px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.content-column {
  min-width: 0;
}

.content-card {
  background: var(--bg-card);
  border-top: 5px solid var(--border-dark);
  padding: 1.25rem 1.5rem 1.75rem;
}

.content-card--attached {
  border-top: 0;
}

.subpage-banner {
  margin-bottom: 0;
  border-top: 5px solid var(--border-dark);
  background: #ffffff;
}

.subpage-banner img {
  width: 100%;
  height: auto;
}

.subpage-slider {
  margin-bottom: 0;
  border-top: 5px solid var(--border-dark);
}

.subpage-slider .carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.subpage-slider .subpage-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  background: #e5e5e5;
}

.subpage-slider .subpage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-subtitle {
  margin: 0 0 0.5rem;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.entry-header {
  margin-bottom: 1.25rem;
}

.entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text-heading);
}

.entry-meta {
  margin-top: 0.5rem;
  font-family: var(--font-nav);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-banner {
  margin: -1.25rem -1.5rem 1.25rem;
}

.post-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

/* Entry Content Typography */
.entry-content {
  font-family: var(--font-body);
  font-size: 1.09375rem;
  line-height: 1.7;
  color: #2b2b2b;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.3;
  margin: 1.5rem 0 0.65rem;
}

.entry-content h2 {
  font-size: 1.3rem;
}

.entry-content h3 {
  font-size: 1.15rem;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.45rem;
}

.entry-content img {
  margin: 0.5rem 0 1rem;
}

.entry-content img.alignleft {
  float: left;
  margin: 0.25rem 1.25rem 0.75rem 0;
  max-width: 50%;
}

.entry-content img.alignright {
  float: right;
  margin: 0.25rem 0 0.75rem 1.25rem;
  max-width: 50%;
}

.entry-content img.aligncenter {
  margin: 0.75rem auto 1rem;
}

.entry-content a[data-lightbox] img {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}

.entry-content a[data-lightbox]:hover img {
  opacity: 0.9;
}

.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Embeds (YouTube, Vimeo, Google Map) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.25rem 0;
  background: #111111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed {
  width: 100%;
  height: 360px;
  border: 1px solid #d5d5d5;
  background: #eaeaea;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-caption {
  margin: 0.6rem 0 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Photo Galleries */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.gallery-item {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid #d4d4d4;
  background: #e0e0e0;
  cursor: zoom-in;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Story Figures & Wordmarks (clean non-colliding inline photos) */
.migrations-wordmark {
  max-width: 280px;
  height: auto;
  margin: 0 0 1rem;
}

.story-figure {
  margin: 1.25rem 0 1.5rem;
  background: #ffffff;
  border: 1px solid #dddddd;
  padding: 0.5rem;
}

.story-figure--medium {
  max-width: 520px;
}

.story-figure a {
  display: block;
}

.story-figure img {
  width: 100%;
  height: auto;
  margin: 0;
}

.story-figure figcaption {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  line-height: 1.4;
  color: var(--text-heading);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.sidebar-widget {
  background: var(--bg-card);
  border-top: 5px solid var(--border-dark);
  padding: 1.15rem 1.25rem;
  min-width: 0;
  overflow: hidden;
}

.sidebar-widget--nav {
  border-top-color: var(--border-sage);
}

.sidebar-widget--signup {
  border-top-color: var(--border-sky);
}

.sidebar-widget--map {
  border-top-color: var(--border-gold);
}

/* MailerLite Sign-Up Widget Integration */
.ml-form-embedSubmitLoad {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.ml-form-embedSubmitLoad::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 1px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  border-color: #ffffff #ffffff #ffffff transparent;
  animation: ml-form-embedSubmitLoad 1.2s linear infinite;
}

@keyframes ml-form-embedSubmitLoad {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ml-form-embedContainer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ml-form-embedContainer .ml-form-align-center,
.ml-form-embedContainer .ml-form-embedWrapper,
.ml-form-embedContainer .ml-form-embedBody,
.ml-form-embedContainer .ml-form-successBody {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  background: transparent;
}

.ml-form-embedContainer .ml-form-embedContent,
.ml-form-embedContainer .ml-form-successContent {
  margin: 0 0 1rem;
  width: 100%;
}

.ml-form-embedContainer .ml-form-embedContent h4,
.ml-form-embedContainer .ml-form-successContent h4 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #dedede;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-heading);
  word-break: break-word;
}

.ml-form-embedContainer .ml-form-embedContent p,
.ml-form-embedContainer .ml-form-successContent p {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
  overflow-wrap: break-word;
}

.ml-form-embedContainer .ml-form-embedContent p:last-child,
.ml-form-embedContainer .ml-form-successContent p:last-child {
  margin-bottom: 0;
}

.ml-form-embedContainer .ml-block-form {
  margin: 0;
  width: 100%;
}

.ml-form-embedContainer .ml-form-formContent {
  margin: 0 0 0.85rem;
  width: 100%;
}

.ml-form-embedContainer .ml-form-fieldRow {
  margin: 0 0 0.65rem;
  width: 100%;
}

.ml-form-embedContainer .ml-form-fieldRow.ml-last-item {
  margin-bottom: 0;
}

.ml-form-embedContainer .ml-form-fieldRow input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  color: #222222;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: var(--radius);
}

.ml-form-embedContainer .ml-form-fieldRow input:focus {
  border-color: #333333;
  outline: none;
}

.ml-form-embedContainer .ml-form-recaptcha {
  width: 100%;
  max-width: 100%;
  height: 60px;
  overflow: hidden;
  margin: 0 0 0.85rem;
}

.ml-form-embedContainer .ml-form-recaptcha .g-recaptcha {
  transform: scale(0.76);
  -webkit-transform: scale(0.76);
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}

.ml-form-embedContainer .ml-form-embedSubmit {
  margin: 0;
  width: 100%;
}

.ml-form-embedContainer .ml-form-embedSubmit button {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--accent);
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  cursor: pointer;
}

.ml-form-embedContainer .ml-form-embedSubmit button:hover {
  background-color: var(--accent-hover);
}

.ml-form-embedContainer .ml-form-embedSubmit button.loading {
  display: none;
}

.ml-form-embedContainer .ml-error input {
  border-color: #c00000;
}

.ml-form-embedContainer .ml-form-recaptcha.ml-error iframe {
  border: 1px solid #c00000;
}

.widget-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-heading);
  border-bottom: 1px solid #dedede;
  padding-bottom: 0.45rem;
}

.sidebar-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-articles li {
  border-bottom: 1px solid #e4e4e4;
}

.sidebar-articles li:last-child {
  border-bottom: 0;
}

.sidebar-articles a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.975rem;
  line-height: 1.35;
  color: #333333;
  text-decoration: none;
}

.sidebar-articles a:hover,
.sidebar-articles li.is-active a {
  color: #000000;
  text-decoration: underline;
}

.sidebar-articles li.is-active a {
  font-weight: 600;
}

/* ==========================================================================
   News Index & Pagination
   ========================================================================== */

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-item {
  background: var(--bg-card);
  border-top: 4px solid var(--border-dark);
  display: flex;
  flex-direction: column;
}

.news-item-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dddddd;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-thumb img {
  transform: scale(1.03);
}

.news-item-thumb--video {
  background: #222222;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.news-item-thumb--video:hover {
  background: #111111;
  color: #ffffff;
}

.video-thumb-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  font-size: 1.1rem;
  padding-left: 3px;
}

.video-thumb-label {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-item-title {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.news-item-title a {
  color: var(--text-heading);
  text-decoration: none;
}

.news-item-title a:hover {
  text-decoration: underline;
}

.news-item-date {
  margin: 0 0 0.6rem;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-item-excerpt {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
}

.read-more {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: #e2e2e2;
  color: #222222;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
}

.read-more:hover {
  background: #333333;
  color: #ffffff;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #333333;
  border-radius: var(--radius);
}

.pagination a:hover {
  background: var(--bg-card);
  border-color: #888888;
}

.pagination .is-current {
  background: #333333;
  border-color: #333333;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Contact & Booking Form (Formspark)
   ========================================================================== */

.contact-form-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dddddd;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.contact-form[hidden] {
  display: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-heading);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222222;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #333333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.12);
  outline: none;
}

.btn-primary {
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  max-width: 560px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.975rem;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: #e9f5ec;
  border: 1px solid #a8d5b5;
  color: #1c4d2b;
}

.form-status--error {
  background: #fbeaea;
  border: 1px solid #e0a6a6;
  color: #6b1d1d;
}

/* ==========================================================================
   Archived Read-Only Comments (Edinburgh Fringe 2013)
   ========================================================================== */

.archived-comments {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid #dddddd;
}

.archived-comments-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-heading);
}

.archived-comments-note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
}

.comment-list,
.comment-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-replies {
  margin-top: 0.85rem;
  padding-left: 1.5rem;
  border-left: 2px solid #d8d8d8;
}

.comment-item {
  margin-bottom: 1.1rem;
}

.comment-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 0.95rem 1.1rem;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #444444;
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-heading);
}

.comment-date {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-body p {
  margin: 0 0 0.5rem;
  font-size: 0.975rem;
}

.comment-body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 15, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  position: relative;
  max-width: min(92vw, 1080px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000000;
  box-shadow: var(--shadow-md);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #eeeeee;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  gap: 1rem;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav--prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 2rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border-footer);
  text-align: center;
}

.footer-links {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.footer-links a {
  text-decoration: none;
  color: #444444;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-logo {
    align-self: flex-start;
  }

  .header-right {
    align-items: stretch;
  }

  .header-top-bar {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    border-bottom: 0;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list > .nav-item {
    border-bottom: 1px solid var(--border-light);
  }

  .nav-list > .nav-item > a,
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
  }

  .sub-menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: var(--bg-card);
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .nav-item.has-children:hover > .sub-menu {
    display: none;
  }

  .nav-item.has-children.is-open > .sub-menu {
    display: block;
  }

  .hero-slide {
    aspect-ratio: auto;
    min-height: 0;
  }

  .hero-slide > img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .hero-overlay {
    position: static;
    width: 100%;
    background: var(--bg-card);
    padding: 1rem 1.25rem 1.25rem;
  }

  .feature-tiles,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .news-list {
    grid-template-columns: 1fr;
  }
  .content-card {
    padding: 1rem 1rem 1.35rem;
  }

  .post-banner {
    margin: -1rem -1rem 1rem;
  }

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

  .entry-content img.alignleft,
  .entry-content img.alignright {
    float: none;
    max-width: 100%;
    margin: 0.5rem 0 1rem;
  }
}
