/*
Theme Name:   Cali Voyages
Theme URI:    https://calivoyages.com
Description:  Hello Elementor child theme for Cali Voyages featuring Instrument Serif & Inter typography, California coastal hero video, About page, Blog Archive & Single Post templates, Blog Categories menus, SEO metadata, and 12 long-form (1,300–1,500 word) imported Field Journal dispatches.
Author:       Cali Voyages
Author URI:   https://calivoyages.com
Template:     hello-elementor
Version:      1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain:  cali-voyages
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --cv-bg: #ffffff;
  --cv-ink: #000000;
  --cv-muted: #6f6f6f;
  --cv-font-serif: "Instrument Serif", Georgia, serif;
  --cv-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--cv-bg);
  color: var(--cv-ink);
  font-family: var(--cv-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes cvFadeRise {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-animate-fade-rise {
  animation: cvFadeRise 0.8s ease-out both;
}

.cv-animate-fade-rise-delay {
  animation: cvFadeRise 0.8s ease-out 0.2s both;
}

.cv-animate-fade-rise-delay-2 {
  animation: cvFadeRise 0.8s ease-out 0.4s both;
}

@media (prefers-reduced-motion: reduce) {
  .cv-animate-fade-rise,
  .cv-animate-fade-rise-delay,
  .cv-animate-fade-rise-delay-2 {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Fullscreen Hero Shell */
.cv-shell {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--cv-bg);
}

/* Looping Video Background */
.cv-video-layer {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  top: 300px;
  z-index: 0;
  overflow: hidden;
}

.cv-video-element {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.cv-video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0.25) 48%,
    #ffffff 100%
  );
}

/* Navigation Bar */
.cv-header {
  position: relative;
  z-index: 9999;
  width: 100%;
}

.cv-nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 640px) {
  .cv-nav {
    padding: 1.5rem 2rem;
  }
}

.cv-brand {
  font-family: var(--cv-font-serif);
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cv-ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.cv-brand:hover {
  opacity: 0.8;
}

.cv-brand sup {
  position: relative;
  top: -0.45em;
  margin-left: 1px;
  font-size: 0.42em;
  font-weight: 400;
}

.cv-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cv-menu {
    display: flex;
  }
}

.cv-menu-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--cv-font-sans);
  font-size: 0.875rem;
  color: var(--cv-muted);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cv-menu-link:hover,
.cv-menu-link.is-active {
  color: var(--cv-ink);
}

.cv-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cv-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background-color: var(--cv-ink);
  color: #ffffff;
  font-family: var(--cv-font-sans);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.cv-btn-primary:hover {
  transform: scale(1.03);
	color: #fff !important;
}

.cv-btn-nav {
  display: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .cv-btn-nav {
    display: inline-flex;
  }
}

.cv-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--cv-ink);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .cv-mobile-toggle {
    display: none;
  }
}

.cv-mobile-panel {
  margin: 0 1.5rem 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
}

.cv-mobile-panel[hidden] {
  display: none;
}

.cv-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cv-mobile-cta {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .cv-mobile-cta {
    display: none;
  }
}

/* Hero Section */
.cv-hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(8rem - 75px) 1.5rem 10rem;
}

.cv-headline {
  margin: 0;
  max-width: 80rem;
  font-family: var(--cv-font-serif);
  font-weight: 400;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -2.46px;
  color: var(--cv-ink);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cv-headline {
    font-size: 4.5rem;
  }
}

@media (min-width: 768px) {
  .cv-headline {
    font-size: 6rem;
  }
}

.cv-headline em {
  font-style: italic;
  color: var(--cv-muted);
}

.cv-description {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-family: var(--cv-font-sans);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--cv-muted);
}

@media (min-width: 640px) {
  .cv-description {
    font-size: 1.125rem;
  }
}

.cv-btn-hero {
  margin-top: 3rem;
  padding: 1.25rem 3.5rem;
  font-size: 1rem;
}

/* Glassmorphic Drawer & Modal */
.cv-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.cv-modal-backdrop[hidden] {
  display: none;
}

.cv-modal-card {
  position: relative;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.96);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.cv-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: var(--cv-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cv-modal-close:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--cv-ink);
}

.cv-modal-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cv-muted);
}

.cv-modal-title {
  margin: 0.5rem 0 0;
  font-family: var(--cv-font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cv-ink);
}

.cv-modal-title em {
  font-style: italic;
  color: var(--cv-muted);
}

.cv-modal-body {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cv-muted);
}

.cv-detail-list {
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cv-detail-row:first-child {
  border-top: 0;
}

.cv-detail-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cv-muted);
}

.cv-detail-value {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--cv-ink);
}

.cv-route-btn {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cv-ink);
  cursor: pointer;
}

.cv-route-btn:hover {
  border-color: var(--cv-ink);
  background: rgba(0, 0, 0, 0.04);
}

.cv-corridor-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cv-corridor-pill {
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  padding: 0.5rem 1rem;
  font-family: var(--cv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cv-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cv-corridor-pill:hover {
  border-color: var(--cv-ink);
  color: var(--cv-ink);
}

.cv-corridor-pill.is-active {
  border-color: var(--cv-ink);
  background: var(--cv-ink);
  color: #ffffff;
}

.cv-concierge-divider {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-concierge-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cv-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  padding: 0.875rem 1.5rem;
  font-family: var(--cv-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cv-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cv-btn-outline:hover {
  border-color: var(--cv-ink);
  background: rgba(0, 0, 0, 0.04);
}

.cv-modal-footer {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cv-link-muted {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--cv-muted);
  cursor: pointer;
}

.cv-link-muted:hover {
  color: var(--cv-ink);
}

/* Full Website Sections (Voyages, Approach, Journal, Inquire, Footer) */
.cv-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .cv-section {
    padding: 7rem 2rem;
  }
}

.cv-section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cv-section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.cv-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--cv-muted);
}

.cv-section-title {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  font-family: var(--cv-font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--cv-ink);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cv-section-title {
    font-size: 3.5rem;
  }
}

.cv-section-title em {
  font-style: italic;
  color: var(--cv-muted);
}

.cv-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(245, 245, 245, 0.85);
}

.cv-tab {
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0.5rem 1rem;
  font-family: var(--cv-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cv-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cv-tab.is-active {
  background: var(--cv-ink);
  color: #ffffff;
}

.cv-voyages-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 2rem;
}

@media (min-width: 768px) {
  .cv-voyages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cv-voyage-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-voyage-card[hidden] {
  display: none;
}

.cv-voyage-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5f5f5;
}

.cv-voyage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cv-voyage-card:hover .cv-voyage-media img {
  transform: scale(1.03);
}

.cv-meta-line {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--cv-muted);
  font-variant-numeric: tabular-nums;
}

.cv-card-title {
  margin: 0.5rem 0 0;
  font-family: var(--cv-font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cv-ink);
}

.cv-card-desc {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.625;
  color: var(--cv-muted);
}

.cv-card-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cv-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .cv-split {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.cv-metrics-grid {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .cv-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cv-metric-value {
  font-family: var(--cv-font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--cv-ink);
  font-variant-numeric: tabular-nums;
}

.cv-journal-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cv-journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cv-journal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-voyage-media-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.cv-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--cv-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cv-ink);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: text-decoration-color 0.2s ease;
}

.cv-text-link:hover {
  text-decoration-color: var(--cv-ink);
}

.cv-approach-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cv-approach-row:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .cv-approach-row {
    grid-template-columns: 2fr 10fr;
    gap: 1.5rem;
  }
}

.cv-approach-index {
  font-family: var(--cv-font-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--cv-muted);
}

.cv-modal-meta-grid {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cv-modal-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cv-itinerary-list {
  margin-top: 1.5rem;
}

.cv-itinerary-stop {
  padding: 0.875rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cv-itinerary-stop:first-child {
  border-top: 0;
}

.cv-itinerary-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.cv-itinerary-day {
  font-family: var(--cv-font-serif);
  font-size: 1.125rem;
  color: var(--cv-muted);
  font-variant-numeric: tabular-nums;
}

.cv-itinerary-title {
  margin: 0;
  font-family: var(--cv-font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cv-ink);
}

.cv-journal-paragraphs {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cv-muted);
}

.cv-journal-paragraphs p {
  margin: 0;
}

.cv-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cv-planner-box {
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 2rem;
}

@media (min-width: 640px) {
  .cv-planner-box {
    padding: 2.5rem;
  }
}

.cv-footer {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cv-footer {
    padding: 3rem 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cv-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--cv-muted);
}

.cv-footer-links a {
  color: inherit;
  text-decoration: none;
}

.cv-footer-links a:hover {
  color: var(--cv-ink);
}

/* Blog Categories Navigation Dropdown */
.cv-menu-has-children,
.cv-wp-menu .menu-item-has-children {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cv-wp-menu a {
  font-family: var(--cv-font-sans);
  font-size: 0.875rem;
  color: var(--cv-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cv-wp-menu a:hover,
.cv-wp-menu .current-menu-item > a {
  color: var(--cv-ink);
}

.cv-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--cv-muted);
  cursor: pointer;
}

.cv-dropdown-toggle:hover {
  color: var(--cv-ink);
}

.cv-sub-menu,
.cv-wp-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  display: none;
  min-width: 14rem;
  list-style: none;
  margin:0px;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
}

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

.cv-sub-menu-link,
.cv-wp-menu .sub-menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 0.625rem;
  font-family: var(--cv-font-sans);
  font-size: 0.75rem;
  color: var(--cv-muted);
  text-decoration: none;
  white-space: nowrap;
}

.cv-sub-menu-link:hover,
.cv-wp-menu .sub-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--cv-ink);
}

.cv-mobile-blog-group {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.5rem;
}

.cv-mobile-sublist {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* About Page, Blog Archive & Single Blog Post Templates */
.cv-page-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 7rem;
}

@media (min-width: 640px) {
  .cv-page-shell {
    padding: 2.5rem 2rem 7rem;
  }
}

.cv-page-hero {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-page-title {
  margin: 1rem 0 0;
  max-width: 54rem;
  font-family: var(--cv-font-serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cv-ink);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cv-page-title {
    font-size: 4.5rem;
  }
}

.cv-page-title em {
  font-style: italic;
  color: var(--cv-muted);
}

.cv-page-intro {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--cv-muted);
}

.cv-studios-grid {
  margin: 2.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cv-studios-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cv-studio-city {
  font-family: var(--cv-font-serif);
  font-size: 1.25rem;
  color: var(--cv-ink);
}

.cv-studio-detail {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--cv-muted);
}

.cv-blog-tabs {
  margin-top: 2.5rem;
}

.cv-pagination {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--cv-ink);
  text-decoration: none;
}

.cv-pagination .page-numbers.current {
  background: var(--cv-ink);
  border-color: var(--cv-ink);
  color: #ffffff;
}

.cv-single-shell {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 7rem;
}

@media (min-width: 640px) {
  .cv-single-shell {
    padding: 2.5rem 2rem 7rem;
  }
}

.cv-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--cv-muted);
}

.cv-breadcrumb-home {
  font-weight: 500;
  color: var(--cv-ink);
  text-decoration: none;
}

.cv-breadcrumb-cat {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 4px;
}

.cv-single-article {
  margin-top: 2rem;
}

.cv-single-title {
  margin: 0;
  max-width: 52rem;
  font-family: var(--cv-font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--cv-ink);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cv-single-title {
    font-size: 3.75rem;
  }
}

.cv-single-meta {
  margin-top: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--cv-muted);
}

.cv-single-hero {
  margin-top: 2.5rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #f5f5f5;
}

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

.cv-single-prose {
  max-width: 42rem;
  margin: 3rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--cv-muted);
}

.cv-single-prose p {
  margin: 0 0 1.5rem;
}

.cv-single-prose h2,
.cv-single-prose h3 {
  margin: 2.75rem 0 1.125rem;
  font-family: var(--cv-font-serif);
  font-weight: 400;
  color: var(--cv-ink);
}

.cv-single-prose h2 {
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cv-related-section {
  margin-top: 5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cv-single-prose .cv-article-figure {
  margin: 2.75rem -1rem;
}

@media (min-width: 768px) {
  .cv-single-prose .cv-article-figure {
    margin: 3rem -4rem;
  }
}

.cv-single-prose .cv-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: #f5f5f5;
}

.cv-single-prose .cv-article-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--cv-muted);
}
