/* Base layer: typography, links, resets, utility defaults */
/* Migrated from style.css as part of CSS split refactoring */

/* ----------------------------------------------------------------
   FONT-FACE DECLARATIONS
---------------------------------------------------------------- */
/* Font-faces removed: MyriadPro files missing. Using Figtree via Google Fonts instead. */

/* ----------------------------------------------------------------
   DESIGN TOKENS
---------------------------------------------------------------- */
:root {
  --card-width: 234.6px;
  --card-image-height: 263.8px;
  --card-total-height: 360px;
  --grid-gutter: 1%;
  --font-nantes: "Playfair Display", Times, serif;
  --font-untitled: "Figtree", sans-serif;
}

/* ----------------------------------------------------------------
   BODY & BASE TYPOGRAPHY
---------------------------------------------------------------- */
body {
  font-family: "Figtree", "untitled-sans-web-regular", Times, serif;
  font: 400 13px/21px "Figtree", "untitled-sans-web-regular", Times, serif;
  color: #333;
  margin: 0;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  height: auto;
}

ul {
  display: block;
}

/* ----------------------------------------------------------------
   TYPOGRAPHY PATTERNS (shared across pages)
---------------------------------------------------------------- */
.title {
  font: 400 28px/30px "NantesWeb-Bold", Times, serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.0625em;
  color: #005f69;
}

.title a {
  color: #000;
}

.title a:hover {
  text-decoration: underline;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  text-align: center;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 37px;
  color: #005f69;
}

.subtitle {
  font-style: italic;
  font: 400 28px/30px "untitled-sans-web-regular-italic", Times, serif;
  -webkit-font-smoothing: antialiased;
  color: #666;
}

.breadcrumbs {
  text-align: center;
  font: 400 16px/20px "NantesWeb", Times, serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.0625em;
  color: #005f69;
}

.breadcrumbs span {
  margin: 0 4px;
}

/* ----------------------------------------------------------------
   ENTRY (ARTICLE) TYPOGRAPHY
---------------------------------------------------------------- */
.entry-content {
  font-size: 13px;
  font-family: "untitled-sans-web-regular", sans-serif;
}

.entry-content .description {
  margin: 10px 0;
}

.entry-content .social.share {
  overflow: hidden;
  margin: 10px 0;
}

.entry-content .social.share em {
  margin-right: 10px;
  display: block;
  float: left;
  color: #000;
}

.entry-content .social.share em:hover {
  color: #666;
}

/* ----------------------------------------------------------------
   BUTTONS & LOCATION
---------------------------------------------------------------- */
.button {
  width: 150px;
  height: 38px;
  background: #666;
  color: #fff;
}

.button:hover {
  color: #ccc;
}

.location li {
  display: inline-block;
  width: 26px;
  height: 18px;
  border: 1px solid #666;
  text-align: center;
  font: 400 16px/20px "untitled-sans-web-regular", Times, serif;
  color: #666;
}

/* ----------------------------------------------------------------
   CREDITS
---------------------------------------------------------------- */
.credits {
  padding: 0;
  margin: 0;
  text-align: left;
  list-style: none;
  font-weight: 700;
  font-family: "Figtree", sans-serif;
}

.credits span {
  font-weight: normal;
  font-style: italic;
}

/* ----------------------------------------------------------------
   UTILITY CLASSES
---------------------------------------------------------------- */
.first {
  margin-left: 0;
}

/* Visibility toggles removed - unused in React app */

/* ===============================================
     GLOBAL MOBILE WHITESPACE FIX - ALL PAGES
     =============================================== */

/* Remove all top padding/margins from body and main containers */
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Main content container - reduce top spacing */
.site-content,
#content {
  padding-top: 10px !important;
  margin-top: 0 !important;
}

/* Container/grid system - remove top margins */
.container_12 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.grid_12 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Mobile home page background - white instead of black */
body.home {
  background-color: #fff !important;
}

.mobile-home {
  background-color: #fff;
  padding-top: 0;
}

/* Ensure mobile header is visible with white background */
#mobile-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  min-height: 50px;
}

/* Hamburger button - larger clickable area, centered */
#mobile-nav-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

#mobile-nav-trigger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Active state for hamburger */
#mobile-nav-trigger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-nav-trigger.active span:nth-child(2) {
  opacity: 0;
}

#mobile-nav-trigger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo should be visible (black mask on white bg) */
#mobile-logo .mobile-icon {
  background: #000;
}

/* ===============================================
     MOBILE LAYOUT FIX - ALL PAGES
     =============================================== */

/* Hide page h1 titles on mobile - causes whitespace */
.entry-header {
  display: none !important;
}

/* Make the intro/Directors section full width and centered */
.list-group {
  display: block !important;
}

.list-group .grid_3.intro,
.mobile-artist-category {
  width: 100% !important;
  float: none !important;
  text-align: center !important;
  padding: 15px 0 !important;
  margin: 0 !important;
}

/* Center the "Directors" heading */
.list-group .intro .title,
.mobile-artist-category .title {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Make the artist grid full width */
.list-group .grid_9,
.mobile-artist-grid {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
}

/* Reduce whitespace on mobile pages */
.intro {
  height: auto !important;
  min-height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
}

/* Artists page mobile: center names under photos - SINGLE LINE */
.mobile-artist-grid .heading,
.artist-card .heading,
.list-group .heading,
.artists .heading {
  text-align: center !important;
  margin-top: 8px;
  width: 100% !important;
}

.mobile-artist-grid .title,
.artist-card .title,
.artists .title {
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mobile-artist-grid .subtitle,
.artist-card .subtitle,
.artists .subtitle {
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Artist cards stacked in single column on mobile */
.list-group section.artists,
.mobile-artist-grid .artists {
  width: 100% !important;
  float: none !important;
  margin-bottom: 20px !important;
  padding: 0 20px !important;
}
}

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Only animate page content - NOT header/footer (they're persistent) */
.intro,
.content-area:not(:has([role="dialog"])) {
  animation: fadeInUp 0.4s ease-out forwards;
}