/*
Theme Name: Gallery Showroom
Theme URI: https://localhost/ShowRoom
Author: Andreas Skyum Paulsen
Version: 1.0
Description: Showroom-tema til udstilling af malerier og skulpturer
Text Domain: gallery-showroom
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
  }
  
 /* Header & Navigation - Optimeret version */
/* Header Styles */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(224, 224, 224, 0.3);
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  min-height: 70px;
}

.logo a {
  font-size: 1.5rem; font-weight: 700; color: #333;
  text-decoration: none; transition: color 0.3s ease;
}
.logo a:hover { color: #007cba; }

.nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.nav ul {
  display: flex; list-style: none; gap: 2rem;
  margin: 0; padding: 0;
}
.nav a {
  color: #333; text-decoration: none;
  font-weight: 500; padding: .5rem 0;
  position: relative; transition: color .3s ease;
}
.nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: #007cba;
  transition: width .3s ease;
}
.nav a:hover::after,
.nav .current-menu-item > a::after {
  width: 100%;
}
.nav a:hover,
.nav .current-menu-item > a {
  color: #007cba;
}

.header-icons {
  display: flex; gap: 1rem; align-items: center;
}
.mobile-menu-toggle {
  display: none; /* kommer frem ved <768px */
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; padding: .5rem;
}

/* Mobile Header Justering */
@media (max-width: 768px) {
  /* Lad header‐containeren wrappe og reducér padding */
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;          /* mindre end desktop */
  }

  /* Logo fylder resten af pladen, så toggle knap ryger til højre */
  .logo {
    flex: 1 1 auto;
    text-align: left;
    font-size: 1.2rem;      /* evt. mindre font */
  }

  /* Burger-ikon til højre, ingen flex-vækst */
  .mobile-menu-toggle {
    flex: 0 0 auto;
    font-size: 1.5rem;
    margin-left: auto;
  }

  /* Skjul desktop-menuen fuldstændigt */
  .nav {
    display: none !important;
  }
}


/* MOBILE */
@media (max-width:768px) {
  .nav { display: none; }
  .mobile-menu-toggle { display: block; }
  html { scroll-padding-top: 70px; }



/* Responsive design */

  
  .logo {
    font-size: 18px;
    letter-spacing: 1px;
  }
}
 
  .icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  .icon-group:hover {
    opacity: 0.7;
  }
  .icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .icon-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Main & Breadcrumb */
  main {
    padding-top: 100px;
    min-height: 100vh;
  }
  .breadcrumb {
    padding: 20px 40px;
    background: #f8f8f8;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .breadcrumb a { color: inherit; text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb .current { color: #555; }
  
  

  
  
  .section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .contact-item {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .contact-item:hover {
    color: #333;
  }
  .phone {
    font-weight: 500;
    color: #333;
  }
  .email {
    color: #0066cc;
  }
  .email:hover {
    text-decoration: underline;
  }
  .guidelines-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .guidelines-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .guidelines-list li a:hover {
    color: #333;
  }
  .gallery-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .image-placeholder {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23f0f0f0"/><rect x="150" y="100" width="100" height="80" rx="8" fill="%23d0d0d0"/><circle cx="170" cy="130" r="8" fill="%23b0b0b0"/><path d="M160 150 L180 140 L200 155 L190 165 Z" fill="%23b0b0b0"/></svg>') center/cover;
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  /* Gallery Description Section Styling */
.gallery-description {
  background-color: #f9f9f9;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 700px;
  margin-top: 24px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

/* Tekst afsnit */
.gallery-description p {
  margin-bottom: 1.4em;
  text-align: justify;
  color: #555;
}

/* Første afsnit fremhævet */
.gallery-description p:first-of-type {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  margin-bottom: 1.6em;
}

/* Info grid container */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* Info blokke */
.info-block {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  border-left: 3px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Overskrifter i info blokke */
.highlight-text {
  display: block;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Liste styling */
.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-block ul li {
  padding: 3px 0;
  color: #666;
  font-size: 14px;
  font-weight: 300;
}

/* Adresse styling */
.info-block address {
  font-style: normal;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 300;
}

/* Responsiv tilpasning */
@media (max-width: 768px) {
  .gallery-description {
    padding: 24px;
    max-width: none;
    margin-top: 20px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }
  
  .gallery-description p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .gallery-description {
    padding: 20px;
    border-radius: 6px;
  }
  
  .info-block {
    padding: 16px;
  }
}
  
  /* Overskrifter i info-blokke */
  .info-block .highlight-text {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
  }
  
  /* Liste-styling */
  .info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .info-block ul li {
    margin-bottom: 4px;
  }
  
  /* Adresse styling */
  .info-block address {
    font-style: normal;
    line-height: 1.5;
  }
  
/* Responsivt: én kolonne på small screens */
@media (max-width: 600px) {
  .info-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.highlight-text {
  color: #d4946b;
  font-weight: 500;
}

/* INDEX PAGE CAROUSEL */
.carousel-container {
  position: relative;
  height: 90vh;
  overflow: hidden;
  margin-top: 80px;
}

.carousel {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slide-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.slide-category {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Forbedret slide-title styling */
.slide-title {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
  
  /* Responsiv font-størrelse */
  font-size: clamp(2.5rem, 6vw, 4rem);
  
  /* Tillad line-wrap for bedre læsbarhed */
  line-height: 1.1;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  
  /* Begræns til maksimalt 2 linjer */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: normal;
  
}

.slide-subtitle {
  display: block;
  width: 100%;
  max-width: 95%;
  margin: 0 auto 1rem;
  text-align: center;
  
  /* Responsiv font-størrelse */
  font-size: clamp(2rem, 5vw, 3.5rem);
  
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.7);
  opacity: 0.85;
  
  /* Forbedret line-height og begræns til 2 linjer */
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsiv tilpasning til mobile enheder */
@media (max-width: 768px) {
  .slide-content {
    max-width: 95%;
    padding: 0 15px;
  }
  
  .slide-title {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
  }
  
  .slide-subtitle {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .slide-title {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
    letter-spacing: 1px;
  }
  
  .slide-subtitle {
    font-size: clamp(1.2rem, 8vw, 2rem);
    letter-spacing: 0.5px;
  }
}

/* Responsivt: på smallere skærme skaleres de ned */
@media (max-width: 768px) {
  .slide-title, .slide-subtitle {
    font-size: 2.5rem;
    white-space: normal; /* tillad opbrud på små enheder */
  }
}

  .cta-button {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 15px 40px;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
  }
  .cta-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
  }
  .black-cta {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
  }
  .black-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
  }
  .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  .nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transform: translateY(-50%) scale(1.1);
  }
  .nav-arrow.prev { left: 30px; }
  .nav-arrow.next { right: 30px; }
  .dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
  }
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
  }
  .dot.active {
    background: white;
    transform: scale(1.2);
  }
  .help-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .help-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    transform: scale(1.1);
  }

  .paintings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  .painting-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .painting-card img {
    width: 100%;
    height: auto;
  }
 
  .painting-meta {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #333;
  }
  .painting-meta .price {
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
  }
  
  
  .painting-artist {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
  }
  .no-image {
    width: 100%;
    padding: 5rem 0;
    background: #f0f0f0;
    color: #999;
  }
  
  
  /* ARTISTS PAGE */
  .floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
  }

  
  
  .shape {
    position: absolute;
    background: #333;
    border-radius: 50%;
    animation: float 20s infinite linear;
  }
  .shape:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-delay: 0s; }
  .shape:nth-child(2) { width: 120px; height: 120px; right: 10%; animation-delay: -7s; }
  .shape:nth-child(3) { width: 60px; height: 60px; left: 50%; animation-delay: -14s; }
  @keyframes float {0% {transform: translateY(100vh) rotate(0deg);}100% {transform: translateY(-100px) rotate(360deg);}}
  .page-title {text-align: center; font-size: 48px; font-weight: bold; letter-spacing: 8px; margin-bottom: 60px; color: #333; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);}
  
  .meet-button {background: #333; color: white; border: none; padding: 15px 40px; font-size: 14px; font-weight: bold; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; border-radius: 5px;}
  .meet-button:hover {background: #555; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);}
  .featured-section {background: rgba(255,255,255,0.8); margin: 80px 40px; border-radius: 30px; padding: 80px 60px; text-align: center; backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1);}
  .featured-title {font-size: 24px; color: #888; letter-spacing: 4px; margin-bottom: 30px;}
  .featured-artist {font-size: 64px; font-weight: bold; color: #333; letter-spacing: 8px; margin-bottom: 40px; text-shadow: 2px 2px 4px rgba(0,0,0,0.1);}
  .info-section {display: flex; gap: 4rem; padding: 2rem 0; margin-left: 2rem;}
  .info-block {flex: 1;}
  .info-title {margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; color: #d4946b; text-transform: uppercase; letter-spacing: 0.05em;}
  .info-text {margin: 0; color: #666; font-size: 0.875rem; line-height: 1.7;}
  
  /* SCULPTURES PAGE */
  .hero-section {background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; text-align: center; padding: 4rem 2rem;}
  .hero-title {font-size: 3rem; font-weight: 300; letter-spacing: 2px;}
  .filter-section {background: white; padding: 1.5rem 2rem; border-bottom: 1px solid #e9ecef; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;}
  .filter-dropdown {display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: #495057; transition: color 0.3s ease;}
  .filter-dropdown:hover {color: #212529;}
  .clear-filters {margin-left: auto; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: #6c757d; transition: color 0.3s ease;}
  .clear-filters:hover {color: #dc3545;}
  .main-content {max-width: 1400px; margin: 0 auto; padding: 2rem;}
  .artwork-count {font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: #212529;}
  .actions-bar {display: flex; justify-content: flex-end; margin-bottom: 2rem;}
  .see-all-btn {background: #212529; color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 4px; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; transition: background 0.3s ease;}
  .see-all-btn:hover {background: #343a40;}
 
  .artworks-grid {display: flex; gap: 1.5rem; flex: 1; overflow-x: auto; padding-bottom: 1rem;}
  .artwork-card {min-width: 200px; cursor: pointer; transition: transform 0.3s ease;}
  .artwork-card:hover {transform: translateY(-5px);}
  .artwork-image {width: 200px; height: 200px; background: #f8f9fa; border-radius: 8px; overflow: hidden; position: relative; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center;}
  .artwork-placeholder {color: #6c757d; font-size: 0.9rem; font-weight: 500;}
  .sold-badge {position: absolute; top: 10px; right: 10px; background: #dc3545; color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600;}
  .new-badge {position: absolute; top: 10px; left: 10px; background: #28a745; color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600;}
  .scroll-indicator {width: 40px; height: 40px; background: #f8f9fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s ease;}
  .scroll-indicator:hover {background: #e9ecef;}
  .sculpture-bronze {background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);} 
  
  /* PAINTINGS PAGE */
/* PAINTINGS PAGE */
.hero-section{
  background:
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.25)),
    var(--hero, url('assets/images/hero-paintings.jpg')) center/cover no-repeat; /* bemærk: ingen foranstillet / */
  min-height: clamp(160px, 22vw, 320px);
  display:flex; align-items:center; justify-content:center;
  margin:0; overflow:hidden;
}

  .hero-title {font-size:48px; font-weight:bold; color:#333; text-shadow:2px 2px 4px rgba(0,0,0,0.1); letter-spacing:3px;}
  .breadcrumb {padding:15px 40px; background:#f8f8f8; font-size:12px; color:#888; display:flex; align-items:center; gap:10px;}
  .filter-section {padding:20px 40px; background:#fff; border-bottom:1px solid #e0e0e0; display:flex; flex-wrap:wrap; gap:20px; align-items:center;}
  .filter-dropdown {position:relative; display:flex; align-items:center; gap:8px; padding:8px 15px; border:1px solid #ddd; background:white; cursor:pointer; font-size:14px; color:#333; transition:border-color 0.3s ease;}
  .filter-dropdown:hover {border-color:#999;}
  .clear-filters {margin-left:auto; display:flex; align-items:center; gap:10px; color:#666; font-size:14px; cursor:pointer;}
  .main-content {padding:30px 40px;}
  .artwork-count {font-size:18px; font-weight:bold; color:#333; margin-bottom:30px;}
  .actions-bar {display:flex; justify-content:space-between; align-items:center; margin-bottom:40px;}
  .see-all-btn {background:#333; color:white; border:none; padding:15px 30px; font-size:16px; font-weight:bold; cursor:pointer; transition:all 0.3s ease; text-transform:uppercase; letter-spacing:1px; display:flex; align-items:center; gap:10px;}
  .see-all-btn:hover {background:#555; transform:translateY(-2px); box-shadow:0 5px 15px rgba(0,0,0,0.2);}
 /*
Theme Name: Gallery Showroom
Theme URI: https://localhost/ShowRoom
Author: Andreas Skyum Paulsen
Version: 1.0
Description: Showroom-tema til udstilling af malerier og skulpturer
Text Domain: gallery-showroom
*/



/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Header & Navigation */

.logo {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav {
  display: flex;
  gap: 35px;
}
.nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav a:hover {
  color: #666;
  transform: translateY(-2px);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #333;
  transition: width 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
}
.nav a.active {
  color: #666;
  transform: none;
}

.icon-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.icon-group:hover {
  opacity: 0.7;
}
.icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}
.icon-label {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main & Breadcrumb */
main {
  padding-top: 100px;
  min-height: 100vh;
}
.breadcrumb {
  padding: 20px 40px;
  background: #f8f8f8;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ABOUT PAGE */
/* ... (beholdes uændret) ... */

/* INDEX PAGE CAROUSEL */
/* ... (beholdes uændret) ... */

/* PAINTINGS PAGE */
/* ... (beholdes uændret) ... */

/* ARTISTS PAGE */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}
.shape {
  position: absolute;
  background: #333;
  border-radius: 50%;
  animation: float 20s infinite linear;
}
.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-delay: 0s;
}
.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  right: 10%;
  animation-delay: -7s;
}
.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 50%;
  animation-delay: -14s;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}
.page-title {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 8px;
  margin-bottom: 60px;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.artists-grid {
  max-width: 1400px;
  margin: 0 auto 100px;
  padding: 0 40px;
  display: grid;
  /* præcis 3 kolonner på desktop */
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}


.artist-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
}
.artist-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.artist-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(90deg, #ccc, #f0f0f0);
  position: relative;
  overflow: hidden;
}
.artist-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
}
.placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
}
.artist-info {
  padding: 40px 30px;
  text-align: center;
}
.artist-category {
  font-size: 12px;
  color: #888;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.artist-name {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.artist-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 14px;
}
.meet-button {
  background: #333;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 5px;
}
.meet-button:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .header {
      padding: 15px 20px;
  }
  .nav {
      display: none;
  }
  .page-title {
      font-size: 36px;
      letter-spacing: 4px;
  }
  .artists-grid {
      grid-template-columns: 1fr;
      padding: 0 20px;
      gap: 40px;
  }
  .artist-card {
      margin-bottom: 40px;
  }
  .artist-name {
      font-size: 28px;
  }
}


  .artworks-grid {flex:1; padding:30px; display:flex; gap:25px; overflow-x:auto; overflow-y:hidden;}
  .artwork-card {min-width:280px; background:white; border-radius:8px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,0.1); transition:all 0.3
  }  

  /* Artwork Title Styling */
.artwork-title {
  font-size: 1.25rem;           /* lidt større end standard tekst */
  font-weight: 600;             /* semi-fed */
  color: #333;                  /* mørk grå */
  text-transform: uppercase;    /* store bogstaver */
  letter-spacing: 1px;          /* lidt luft mellem bogstaver */
  margin: 0.75rem 0 0.5rem;     /* lidt luft over/under */
  position: relative;           /* for pseudo-element */
  display: inline-block;        /* så underline kun dækker teksten */
  transition: color 0.3s ease;  /* blid farveskift */
}

.artwork-title::after {
  content: '';
  position: absolute;
  bottom: -4px;                 /* lige under teksten */
  left: 0;
  width: 0;
  height: 2px;
  background: #007cba;          /* accent-farve */
  transition: width 0.3s ease;
}

.artwork-title:hover,
.artwork-title:focus {
  color: #007cba;               /* accent-farve på hover/fokus */
}

.artwork-title:hover::after,
.artwork-title:focus::after {
  width: 100%;                  /* fylder hele tekstens bredde */
}

/* ========================================
   Artist card info + bio styling
   ======================================== */
   .artist-info {
    padding: 40px 30px;
    text-align: center;
  }
  
  .artist-info h2,
  .artist-info .artist-category {
    margin-bottom: 15px;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 12px;
  }
  
  .artist-info h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    letter-spacing: 4px;
    margin-bottom: 20px;
  }
  
  .artist-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  /* If you want the full bio on taxonomy-artist.php to look the same */
  .artist-bio-full {
    max-width: 800px;
    margin: 2rem auto 3rem;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
  }
  /* Skjul almindelig nav og vis burger på mobil */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* Overlay skjult som standard */
/* Sørg for at mobil-menu-overlayet ligger øverst */
.mobile-menu-overlay {
  position: fixed;        /* fylder hele skærmen */
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;          /* højere end header (1000) og alt andet */
  display: none;          /* skjult som standard */
}

/* Når overlayet er aktivt */
.mobile-menu-overlay.active {
  display: block;
}

/* Stil selve menuen inde i overlayet */
.mobile-nav {
  position: fixed;
  top: 70px;              /* lige under headeren */
  right: 0;
  width: 75%;             /* hvor bred den skal være på mobil */
  max-width: 320px;
  height: calc(100% - 70px);
  background: #fff;
  z-index: 2100;          /* endnu én tand højere til menufeltet */
  overflow-y: auto;       /* rul hvis listen er lang */
}

/* Ryd evt. standardmargin på listen */
.mobile-nav ul {
  margin: 0;
  padding: 1.5rem;
}

/* Ekstra: lås scroll på body når menuen er åben */
body.menu-open {
  overflow: hidden;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

/* Burger toggle skjules på desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}



/* Artwork title styling (painting-title) */
.painting-title {
  display: inline-block;           /* gør underline-effekt mulig */
  margin: 1rem 0 0.5rem;           /* bevarer din margin-top og margin-bottom */
  font-size: 1.25rem;              /* lidt større end standard */
  font-weight: 600;                /* semibold for bedre kontrast */
  text-transform: uppercase;       /* store bogstaver */
  letter-spacing: 1px;             /* luft mellem bogstaver */
  color: #333;                     /* primær tekstfarve */
  position: relative;              /* til pseudo-element */
  transition: color 0.3s ease;     /* blød farveovergang ved hover */
}

.painting-title::after {
  content: '';
  position: absolute;
  bottom: -4px;                    /* lidt afstand under teksten */
  left: 0;
  width: 0;                        /* starter null */
  height: 2px;                     /* tykkelsen på stregen */
  background: #333;                /* samme som teksten */
  transition: width 0.3s ease;     /* glidende udvidelse */
}

.painting-title:hover,
.painting-title:focus {
  color: #007cba;                  /* eks. brand-blå ved hover */
}

.painting-title:hover::after,
.painting-title:focus::after {
  width: 100%;                     /* strækker linjen ud */
}

/* Gør selve grid’en responsiv og ensartet */
.paintings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Kortet omkring hver maleri */
.painting-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Selve billedcontaineren */
.painting-card .wp-post-image {
  width: 100%;
  height: 200px;           /* fast højde for ensartethed */
  object-fit: cover;       /* beskær pænt, centrer motivet */
  display: block;          /* fjern evt. underliggende inline-margener */
}

/* Titel og meta bagefter */
.painting-card .painting-title,
.painting-card .painting-artist {
  padding: 0.75rem 1rem;
}

/* Sørg for at billedet ikke strækker kortet */
.painting-card a {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

/* Kunstner­navn under hvert værk */
.artwork-artist {
  margin: 0.5rem 0 1rem;      /* lidt luft over og under */
  font-size: 0.9rem;         /* en smule mindre end titlen */
  color: #666;               /* gråt highlight-farve */
  font-weight: 500;          /* lidt tydeligere end normal tekst */
  text-transform: uppercase; /* pas på om du vil have det */
  letter-spacing: 0.5px;     /* små mellemrum for luft */
}

/* Wrapper til hele layoutet */
.all-paintings-wrapper {
  display: flex;
  padding-top: 100px; /* juster efter din header-højde */
}

/* VENSTRE: kunstner-liste */
.artist-list {
  width: 200px;
  border-right: 1px solid #e0e0e0;
}
.artist-list ul {
  list-style: none;
}
.artist-item {
  padding: 1rem;
  cursor: pointer;
  transition: background .3s;
}
.artist-item.active,
.artist-item:hover {
  background: #f0f0f0;
}

/* HØJRE: sliders */
.artist-sliders {
  flex: 1;
  padding: 0 2rem;
}
.slider {
  display: none;
}
/* kun den valgte synlig */
.slider.is-visible {
  display: block;
}

/* Slider-inner: vandret rulning */
.slider-inner {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
}
.slide-item {
  min-width: 200px;
  flex-shrink: 0;
  text-align: center;
}
.slide-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.footer {
  background: #f8f8f8;
  padding: 40px 20px;
  font-size: 14px;
  color: #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-section h4 {
  margin-bottom: 0.5rem;
  font-size: 16px;
  font-weight: bold;
}

.footer-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-hours li + li {
  margin-top: 0.25rem;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.4;
}

.footer-contact a {
  color: #333;
  text-decoration: none;
}

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

.footer-social .footer-instagram,
.footer-social .footer-facebook {
  display: inline-block;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social .footer-instagram:hover,
.footer-social .footer-facebook:hover {
  color: #007cba;
}


@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* Minimal booking link styling */
.booking-link {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #333;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.booking-link:hover {
  color: #000;
  border-bottom-color: #000;
  transform: translateY(-1px);
}

/* Alternative with subtle background on hover */
.booking-link-alt {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.booking-link-alt:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.single-painting {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.painting-container {
  display: grid;
  grid-template-columns: 60px 1fr 400px;
  grid-template-rows: auto auto;   /* To rækker: første til thumbs+media+info, anden til description */
  gap: 2rem 2rem;                  /* 2rem lodret og vandret gab */
  align-items: start;
}
/* Thumbnail column på venstre side (som Norrøna) */
.thumbnail-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 2rem;
  position: relative;  /* beholder sticky/flow */
  z-index: 2;   
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #000;
}

/* Hovedbillede sektion */
/* Hovedbillede sektion */
.main-image-section {
  position: relative;
  z-index: 1;
  max-width: 500px; /* Maksimal bredde for containeren */
  margin: 0 auto; /* Centrerer sektionen */
}

.main-image {
  position: relative;
  display: block;
  width: 100%;
  background: #f5f5f5;
  border-radius: 8px; /* Tilføjer blødere hjørner */
  overflow: hidden; /* Sikrer at billede ikke går uden for container */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Hover effekt på hovedbillede */
.main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsivt design */
@media (max-width: 768px) {
  .main-image-section {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .main-image:hover {
    transform: scale(1.01); /* Mindre zoom på mobile */
  }
}

/* Loading state (valgfrit) */
.main-image.loading {
  background: #f5f5f5;
  position: relative;
}

.main-image.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Produktinfo sektion til højre */
.painting-info {
  padding-left: 1rem;
  position: sticky;
  top: 2rem;
}

.brand-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.5rem;
}

.painting-title {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: #000;
}

.price-section {
  margin-bottom: 2rem;
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.9rem;
  color: #666;
}

/* Frame toggle som Norrøna størrelse buttons */
.frame-options {
  margin-bottom: 2rem;
}

.frame-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #000;
}

.frame-buttons {
  display: flex;
  gap: 0.5rem;
}

.frame-btn {
  padding: 0.8rem 1.2rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.frame-btn:hover {
  border-color: #000;
}

.frame-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Dimensioner */
.dimensions-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: #000;
}

.dimensions-text {
  font-size: 0.95rem;
  color: #333;
}

/* Stock status som Norrøna */
.stock-status {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11c901;
}

.stock-text {
  font-size: 0.9rem;
  color: #666;
}

/* CTA button som Norrøna */
.cta-section {
  margin-bottom: 2rem;
}

.booking-btn {
  width: 100%;
  background: #2d5016;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.booking-btn:hover {
  background: #1e3610;
}

/* Shipping info */
.shipping-info {
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.shipping-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: #333;
}

.shipping-icon {
  color: #2d5016;
  font-size: 1rem;
}

/* Beskrivelse sektion */
.description-section {
  grid-column: 2;     /* midterkolonnen */
  grid-row: 2;        /* anden række */
  margin-top: 0;      /* fjern ekstra afstand */
}

.description-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.0em;
  /* tidligere var margin-bottom: 1rem; */
  margin-bottom: 0.5rem;      /* mindre luft under titlen */
  color: #000;
}


.description-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .painting-container {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
  
  .thumbnail-column {
      flex-direction: row;
      overflow-x: auto;
      padding-bottom: 0.5rem;
      position: static;
  }
  
  .thumbnail {
      flex-shrink: 0;
  }
  
  .painting-info {
      position: static;
      padding-left: 0;
  }
  
  .description-section {
      margin-left: 0;
  }
}

@media (max-width: 768px) {
  .single-painting {
      padding: 1rem;
  }
  
  .frame-buttons {
      flex-direction: column;
  }
  
  .painting-title {
      font-size: 1.5rem;
  }
}

/* Shapes i baggrunden */
.shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.shape {
  position: absolute;
  background: rgba(100,100,255,0.1);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  mix-blend-mode: multiply;
}
.shape1 { top: 10%; left: 20%; }
.shape2 { top: 30%; left: 70%; width: 150px; height: 150px; }
.shape3 { top: 60%; left: 40%; width: 180px; height: 180px; }
.shape4 { top: 75%; left: 85%; width: 120px; height: 120px; }

/* Sørg for at artists-overview er position: relative, så shapes absolutte positioner virker */
.artists-overview {
  position: relative;
  padding: 100px 40px;
}

/* Forside: Featured malerier & kunstnere */
.featured-paintings .artwork-grid,
.featured-artists .artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.artwork-card, .artist-card {
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.artwork-card:hover, .artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ==============================
   ANIMATED BACKGROUND & SHAPES
   ============================== */
   .background-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    opacity: 0.6;
  }
  
  .floating-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
  }
  
  .shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(212,175,55,0.1), rgba(244,228,188,0.1));
    border-radius: 50%;
    animation: float 20s infinite linear;
  }
  
  .shape:nth-child(1) {
    width: 120px; height: 120px;
    top: 20%; left: 10%;
    animation-delay: -2s;
    animation-duration: 25s;
  }
  .shape:nth-child(2) {
    width: 80px; height: 80px;
    top: 60%; left: 80%;
    animation-delay: -8s;
    animation-duration: 30s;
  }
  .shape:nth-child(3) {
    width: 200px; height: 200px;
    top: 80%; left: 20%;
    animation-delay: -15s;
    animation-duration: 35s;
  }
  .shape:nth-child(4) {
    width: 60px; height: 60px;
    top: 30%; left: 70%;
    animation-delay: -5s;
    animation-duration: 20s;
  }
  .shape:nth-child(5) {
    width: 150px; height: 150px;
    top: 10%; left: 50%;
    animation-delay: -12s;
    animation-duration: 28s;
  }
  
  @keyframes float {
    0%   { transform: translate(0,0) rotate(0deg);    opacity: 0.3; }
    33%  { transform: translate(100px,-100px) rotate(120deg); opacity: 0.6; }
    66%  { transform: translate(-50px,80px) rotate(240deg);  opacity: 0.4; }
    100% { transform: translate(0,0) rotate(360deg);    opacity: 0.3; }
  }
  
  /* ==============================
     PARTICLE EFFECTS
     ============================== */
  .particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
  }
  
  .particle {
    position: absolute;
    width: 4px; height: 4px;
    background: radial-gradient(circle, rgba(212,175,55,0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
  }
  
  @keyframes particleFloat {
    0%   { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px) rotate(360deg); opacity: 0; }
  }
  
  /* ==============================
     ARTISTS GRID & CARDS
     ============================== */
  .artists-overview {
    position: relative;
    padding: 100px 40px;
  }
  
  .artists-grid {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
    gap: 60px;
  }
  
  .artist-card {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all .5s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn .8s ease-out forwards;
  }
  
  .artist-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: rgba(212,175,55,0.3);
  }
  .artist-card:nth-child(1) { animation-delay: .2s; }
  .artist-card:nth-child(2) { animation-delay: .4s; }
  .artist-card:nth-child(3) { animation-delay: .6s; }
  
  @keyframes cardFadeIn {
    to { opacity: 1; transform: translateY(0); }
  }
  
/* ==============================
   RESPONSIV DESIGN
   ============================== */
   @media (max-width: 1200px) {
    .artists-grid {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
    }
    
    .artist-image {
      height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .artists-grid {
      grid-template-columns: 1fr;
      padding: 0 20px;
      gap: 30px;
    }
    
    .artist-image {
      height: 220px;
    }
    
    .artist-card {
      padding: 25px;
    }
  }
  
  @media (max-width: 480px) {
    .artist-image {
      height: 200px;
      border-radius: 8px;
    }
    
    .artist-card {
      padding: 20px;
      border-radius: 12px;
    }
  }

 /* ==============================
   ARTIST IMAGE - REKTANGULÆR CONTAINER
   ============================== */
.artist-image-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.artist-image {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transition: all .4s ease;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.artist-image.no-image {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Hover-effekter på billede og kort */
.artist-card:hover .artist-image {
  transform: scale(1.05);
  border-color: rgba(212,175,55,0.7);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Overlay effekt på hover */
.artist-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(212,175,55,0.1) 0%, 
    rgba(0,0,0,0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artist-card:hover .artist-image::after {
  opacity: 1;
}
  /* ==============================
     ARTIST INFO
     ============================== */
  .artist-name {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  
  .artist-specialty {
    display: inline-block;
    background: linear-gradient(45deg, rgba(212,175,55,.1), rgba(244,228,188,.1));
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(212,175,55,.2);
  }
  
  .artist-tagline {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.5;
  }
  
  .artist-name-link {
    display: inline-block;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: 
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
  }
  

  

  /* ==============================
     SEE MORE BUTTON
     ============================== */
  .see-more-btn {
    background: linear-gradient(45deg,#333,#555);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
  }
  
  .see-more-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
    transition: left .5s ease;
  }
  
  .see-more-btn:hover::before { left: 100%; }
  
  .see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: linear-gradient(45deg,#d4af37,#f4e4bc);
    color: #333;
  }
  
  /* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
  .artist-archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .artist-archive__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .artist-archive__header {
    flex-direction: column;
    text-align: center;
  }
  .artist-archive__portrait-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }
  .artist-archive__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   ARTIST-PROFIL HEADER
   ========================================================================== */
.artist-archive__header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.artist-archive__portrait-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;    /* Sikrer at billedet bevarer proportioner */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.artist-archive__intro {
  max-width: 600px;
}

.artist-archive__title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #333;
}

.artist-archive__bio p {
  line-height: 1.6;
  color: #555;
}

/* ==========================================================================
   ARTIST GALLERI
   ========================================================================== */
.artist-archive__gallery {
  padding: 80px 40px;
}

.artist-archive__gallery-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #333;
}

/* Grid for paintings */
.artist-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* Base styling for main image */





/* Container for begge billeder */
.gallery-images {
  display: flex;
  gap: 20px;               /* afstand mellem billederne */
  justify-content: center; /* centrerer horisontalt */
  align-items: stretch;    /* sørger for ens højde */
  flex-wrap: wrap;         /* falder til én kolonne på small screens */
}

/* Hver enkelt billede-wrapper */
.gallery-image {
  flex: 1 1 48%;          /* vokser/skalerer, basis 48% af bredden */
  max-width: 48%;         /* undgå at blive større end 48% */
}

/* Selve <img> elementet */
.about-hero-image {
  width: 100%;            /* fylder hele wrapperen */
  height: auto;           /* bevarer proportioner */
  display: block;         /* fjerner evt. inline-spacing */
  object-fit: cover;      /* centrerer og cropper hvis nødvendigt */
}

/* Minimal pagination styling */
.page-numbers {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #333;
  padding-bottom: 2px;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.page-numbers:hover {
  color: #000;
  border-bottom-color: #000;
  transform: translateY(-1px);
}

/* Current page styling */
.page-numbers.current {
  color: #000;
  border-bottom: 3px solid #000;
  font-weight: 700;
  cursor: default;
  transform: translateY(-1px);
}

/* Next/Previous links */
.page-numbers.next,
.page-numbers.prev {
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* Pagination container */
.pagination {
  text-align: center;
  margin: 40px 0;
}

/* Alternative with subtle background */
.page-numbers-alt {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.page-numbers-alt:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.page-numbers-alt.current {
  background-color: rgba(0, 0, 0, 0.08);
}

.frame-buttons {
  display: grid;
  /* Lav to kolonner af lige bredde */
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem; /* afstand mellem knapperne */
  margin-top: 1rem;
}

.frame-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

/* Aktiv tilstand */
.frame-btn.active {
  background: #e0a865;
  border-color: #c49654;
  color: #fff;
}

/* Hover-effekt */
.frame-btn:not(.active):hover {
  background: #ddd;
}

/* Sikrer, at knapperne bryder korrekt på helt små skærme */
@media (max-width: 480px) {
  .frame-buttons {
    grid-template-columns: 1fr;
  }
}

/* Main Media Container - Minimalistisk og moderne */
.main-media {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.main-media:hover {
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Hovedbilleder og videoer */
#main-display {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 70vh;
  min-height: 400px;
  display: block;
  border: none;
  border-radius: 4px;
  transition: opacity 0.4s ease;
}

/* Specifik styling for billeder */
.main-media img#main-display {
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

.main-media img#main-display:hover {
  filter: contrast(1.1) saturate(1.15);
  transition: filter 0.3s ease;
}

/* Specifik styling for videoer */
.main-media video#main-display {
  object-fit: cover;
  background: #000;
}

.main-media video#main-display::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.main-media video#main-display::-webkit-media-controls-play-button,
.main-media video#main-display::-webkit-media-controls-volume-slider,
.main-media video#main-display::-webkit-media-controls-timeline {
  filter: invert(1);
}

/* Loading state */
#main-display.loading {
  opacity: 0.7;
  filter: blur(1px);
}

/* Responsive design */
@media (max-width: 768px) {
  .main-media {
    margin: 2rem auto;
    padding: 0 0.5rem;
    border-radius: 4px;
  }
  
  #main-display {
    max-height: 60vh;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .main-media {
    margin: 1rem auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  
  #main-display {
    max-height: 50vh;
    min-height: 250px;
    border-radius: 0;
  }
}

/* Thumbnail styling - moderne aktiv tilstand */
.thumbnail.active,
.video-thumb.active {
  outline: 3px solid #2c2c2c;
  outline-offset: 2px;
  transform: scale(1.05);
  transition: all 0.2s ease;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(44, 44, 44, 0.25);
}

.thumbnail,
.video-thumb {
  transition: all 0.2s ease;
  border-radius: 4px;
  cursor: pointer;
}

.thumbnail:hover,
.video-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Skjul WordPress galleri elementer */
.description-text .wp-block-image,
.description-text .wp-block-gallery {
  display: none;
}

/* Alternativ layout for kunstværker - mere luftig */
.main-media.artwork-focus {
  background: #ffffff;
  padding: 2rem;
  max-width: 1200px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

.main-media.artwork-focus #main-display {
  max-height: 80vh;
  object-fit: contain;
  background: #ffffff;
}

/* Fade-in animation for nye billeder/videoer */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#main-display.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Pagination layout (fixer at ... står på linjen) */
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 3rem 0 0;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f8f6f3;
  color: #333;
  text-decoration: none;
  line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s;
}

.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* Dots: gør dem “smalle” og inline */
.navigation.pagination .page-numbers.dots {
  display: inline;     /* vigtigt: inline, ikke block/flex */
  border: none;
  background: transparent;
  min-width: auto;
  height: auto;
  padding: 0 6px;
  line-height: 1;
}

/* Prev/Next kan være smalle */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  min-width: auto;
  padding: 0 12px;
}

/* Showroom e-mail-knap */
.email-btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:12px 18px;
  border-radius:9999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.2px;
  box-shadow:0 4px 14px rgba(0,0,0,.15);
  transition:transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.email-btn:hover{
  background:#000;
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.email-btn:active{
  transform:translateY(0);
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.email-btn .icon{
  display:block;
  width:18px;
  height:18px;
  fill:currentColor;
}

.email-hint{
  display:block;
  margin-top:8px;
  color:#666;
  font-size:12px;
}

/* Lille responsiv tweak */
@media (max-width: 480px){
  .email-btn{ width:100%; justify-content:center; }
}

/* === Frames overview (page-frames.php) === */
.frames-archive { padding: 24px 16px 56px; }
.frames-hero { max-width: 1100px; margin: 0 auto 20px; }
.frames-hero h1 { font-size: 32px; margin: 0 0 6px; }
.frames-hero p { color:#666; margin:0; }

.frames-grid {
  max-width: 1100px; margin: 0 auto;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 900px){ .frames-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .frames-grid{ grid-template-columns: 1fr; } }

.frame-card { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.06); }
.frame-thumb { display:block; background:#f6f6f6; }
.frame-thumb img { display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; }
.frame-meta { padding:12px 14px 16px; }
.frame-brand { font-size:12px; color:#777; letter-spacing:.3px; }
.frame-title { font-size:18px; margin:6px 0 4px; }
.frame-title a { color:inherit; text-decoration:none; }
.frame-price { font-weight:700; }

/* === Single frame === */
.frame-single { padding: 24px 16px 56px; }
.frame-single-wrap { max-width:1100px; margin:0 auto; display:grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 900px){ .frame-single-wrap{ grid-template-columns:1fr; } }

.frame-gallery { background:#fafafa; border-radius:16px; padding:20px; box-shadow:0 6px 18px rgba(0,0,0,.05); }
.frame-gallery img { width:100%; height:auto; object-fit:contain; }

.frame-title { font-size:28px; margin:.25rem 0 1rem; }
.frame-config label { display:block; font-size:13px; color:#666; margin-bottom:6px; }
.frame-config select { width:100%; max-width:260px; padding:10px 12px; border:1px solid #ddd; border-radius:10px; }

.frame-price-live { font-size:22px; font-weight:800; margin:14px 0; }

.link-frames { color:#111; text-decoration:none; border-bottom:1px solid #111; }
.link-frames:hover { opacity:.85; }

/* Related frames strip */
.frame-related{margin-top:56px; position:relative;}
.frame-related .rel-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
.frame-related .rel-title{font-size:1.25rem; letter-spacing:.02em; margin:0;}
.frame-related .rel-all{font-size:.9rem; text-decoration:none; border:1px solid #222; padding:6px 10px; border-radius:999px;}
.frame-related .rel-all:hover{background:#222; color:#fff;}

/* ==== FRAMES: layout & image fix ==== */
.frame-single { padding: 24px 0 64px; }

.frame-single-wrap{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) 440px;
  gap: 40px;
  align-items: start;
}

/* important so children can shrink in grid */
.frame-left, .frame-right { min-width: 0; }

/* Main image */
.frame-gallery{ width: 100%; }
.frame-gallery img#frame-main{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f6f6;
}

/* ===== Related strip (inside .frame-left, bleed across right col) ===== */
:root{
  --frames-right-col: 440px;   /* must match your grid right col */
  --frames-gap:       40px;    /* must match your grid gap       */
  --rel-header-h:     34px;    /* approx header height for centering arrows */
}

.frame-left { overflow: visible; }

.frame-left .frame-related{
  width: calc(100% + var(--frames-gap) + var(--frames-right-col));
  max-width: none;
}

.frame-related { position: relative; margin-top: 16px; }

.frame-related .rel-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 8px;
}
.frame-related .rel-title{ font-size: 16px; font-weight: 600; margin:0; }
.frame-related .rel-all{ font-size: 13px; text-decoration: underline; }

/* the scroller row */
.frame-related .rel-scroller{
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 6px;
}

.frame-related .rel-card{
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
}

.frame-related .rel-img{
  aspect-ratio:1/1;
  border-radius:8px;
  overflow:hidden;
  background:#f5f5f5;
  display:flex; align-items:center; justify-content:center;
}
.frame-related .rel-img img{ width:100%; height:100%; object-fit:cover; display:block; }

.frame-related .rel-meta{ margin-top:8px; font-size:12px; line-height:1.35; }
.frame-related .rel-brand{ color:#666; letter-spacing:.08em; text-transform: uppercase; font-size:.72rem; }
.frame-related .rel-name{ font-weight:600; margin:3px 0 2px; }
.frame-related .rel-price{ color:#333; font-size:.9rem; }

/* arrows – centered on the scroller area */
.frame-related .rel-nav{
  position:absolute;
  top: calc(var(--rel-header-h) + 50%);
  transform: translateY(-50%);
  width:36px; height:36px;
  border:none; border-radius:50%;
  background:#000; color:#fff;
  opacity:.75; cursor:pointer;
  display:grid; place-items:center;
}
.frame-related .rel-prev{ left:-10px; }
.frame-related .rel-next{ right:-10px; }
.frame-related .rel-nav:hover{ opacity:1; }

/* Responsive */
@media (max-width: 900px){
  .frame-single-wrap{ grid-template-columns: 1fr; gap: 28px; }
  .frame-related .rel-card{ flex-basis: 160px; }
  .frame-related .rel-nav{ display:none; }
}
@media (max-width: 640px){
  .frame-related .rel-prev{ left:6px; }
  .frame-related .rel-next{ right:6px; }
}

/* ===========================================
   MOBILSTYLS - MANGLENDE RESPONSIVITET
   =========================================== */

/* Main content padding for mobile */
@media (max-width: 768px) {
  main {
    padding-top: 70px; /* Mindre end desktop */
  }
  
  .breadcrumb {
    padding: 15px 20px;
    font-size: 11px;
  }
}

/* ABOUT PAGE - Mobiloptimering */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  
  .gallery-images {
    flex-direction: column;
    gap: 15px;
  }
  
  .gallery-image {
    max-width: 100%;
    flex: 1 1 100%;
  }
  
  .about-hero-image {
    border-radius: 8px;
  }
}

/* CAROUSEL - Mobiloptimering */
@media (max-width: 768px) {
  .carousel-container {
    height: 60vh;
    margin-top: 70px;
  }
  
  .slide-content {
    padding: 0 20px;
  }
  
  .slide-category {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 12px;
  }
  
  .nav-arrow {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .nav-arrow.prev { left: 15px; }
  .nav-arrow.next { right: 15px; }
  
  .dots {
    bottom: 20px;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* PAINTINGS PAGE - Grid mobiloptimering */
@media (max-width: 768px) {
  .hero-section {
    height: 200px;
    margin-top: 0;
  }
  
  .hero-title {
    font-size: 28px;
    letter-spacing: 2px;
  }
  
  .filter-section {
    padding: 15px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .filter-dropdown {
    width: 100%;
    justify-content: center;
  }
  
  .clear-filters {
    margin-left: 0;
    justify-content: center;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .artwork-count {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .actions-bar {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .see-all-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .paintings-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .painting-card .wp-post-image {
    height: 160px;
  }
  
  .painting-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .paintings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .painting-card .wp-post-image {
    height: 200px;
  }
}

/* SCULPTURES PAGE - Mobiloptimering */
@media (max-width: 768px) {
  .artworks-grid {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .artwork-card {
    min-width: 100%;
  }
  
  .artwork-image {
    width: 100%;
    height: 180px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* SINGLE PAINTING - Stor mobiloptimering */
@media (max-width: 1024px) {
  .painting-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 20px;
  }
  
  .thumbnail-column {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    position: static;
    margin-top: 1rem;
  }
  
  .thumbnail {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
  }
  
  .main-image-section {
    order: 1;
    max-width: 100%;
  }
  
  .painting-info {
    order: 3;
    padding-left: 0;
    position: static;
  }
  
  .description-section {
    order: 4;
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .single-painting {
    padding: 1rem;
  }
  
  .painting-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 1.1rem;
  }
  
  .frame-buttons {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .frame-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .booking-btn {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
  
  .shipping-item {
    font-size: 0.85rem;
  }
}

/* ARTISTS OVERVIEW - Forbedret mobiloptimering */
@media (max-width: 768px) {
  .artists-overview {
    padding: 50px 20px;
  }
  
  .page-title {
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 40px;
  }
  
  .artists-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }
  
  .artist-card {
    padding: 20px;
    border-radius: 12px;
  }
  
  .artist-image {
    height: 220px;
  }
  
  .artist-name {
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  .artist-specialty {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-bottom: 20px;
  }
  
  .artist-tagline {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  
  .see-more-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .featured-section {
    margin: 40px 20px;
    padding: 40px 30px;
    border-radius: 20px;
  }
  
  .featured-title {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  
  .featured-artist {
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .artist-image {
    height: 180px;
  }
  
  .artist-name {
    font-size: 1.3rem;
  }
  
  .featured-artist {
    font-size: 28px;
    letter-spacing: 2px;
  }
}

/* FOOTER - Mobiloptimering */
@media (max-width: 768px) {
  .footer {
    padding: 30px 20px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  
  .footer-section {
    flex: none;
  }
}

/* HELP BUTTON - Mobilpositionering */
@media (max-width: 768px) {
  .help-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* PAGINATION - Mobiloptimering */
@media (max-width: 768px) {
  .navigation.pagination .nav-links {
    gap: 4px;
    margin: 2rem 0 0;
  }
  
  .navigation.pagination .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 14px;
    padding: 0 6px;
  }
  
  .navigation.pagination .page-numbers.prev,
  .navigation.pagination .page-numbers.next {
    padding: 0 8px;
  }
}

/* FRAMES - Mobiloptimering */
@media (max-width: 768px) {
  .frames-archive {
    padding: 20px 16px 40px;
  }
  
  .frames-hero h1 {
    font-size: 24px;
  }
  
  .frames-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .frame-single {
    padding: 20px 16px 40px;
  }
  
  .frame-single-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .frame-title {
    font-size: 22px;
  }
  
  .frame-config select {
    max-width: 100%;
  }
  
  .frame-price-live {
    font-size: 18px;
    margin: 12px 0;
  }
}

/* MOBILE MENU - Forbedret styling */
.mobile-menu-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-nav {
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.current-menu-item {
  color: #007cba;
}

/* TOUCH-FRIENDLY BUTTONS */
@media (max-width: 768px) {
  .cta-button,
  .see-all-btn,
  .meet-button,
  .see-more-btn,
  .booking-btn,
  .email-btn {
    min-height: 44px; /* Apple's recommended touch target */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .frame-btn,
  .nav-arrow,
  .dot,
  .thumbnail,
  .page-numbers {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===========================================
   HEADER OVERLAP FIX - MOBIL
   =========================================== */

/* Øg header højde på mobil hvis nødvendigt */
@media (max-width: 768px) {
  .header-inner {
    min-height: 60px; /* Sikrer konsistent højde */
    padding: 0.75rem 1rem;
  }
  
  .logo a {
    font-size: 1.1rem; /* Mindre logo på mobil */
  }
}

/* FIX: Main content padding for alle sider */
@media (max-width: 768px) {
  main {
    padding-top: 80px !important; /* Mere plads til headeren */
  }
  
  /* Specifikke sider der har særlige behov */
  .single-painting main {
    padding-top: 85px !important;
  }
  
  .artists-overview {
    padding-top: 120px; /* Ekstra plads på artists siden */
  }
  
  /* Carousel specifik fix */
  .carousel-container {
    margin-top: 80px !important;
    height: 50vh; /* Mindre højde på mobil */
  }
  
  /* Hero sections */
  .hero-section {
    margin-top: 80px !important;
  }
}

/* FIX: Single painting billede positioning */
@media (max-width: 1024px) {
  .single-painting {
    padding-top: 90px; /* Ekstra plads øverst */
  }
  
  .painting-container {
    margin-top: 0; /* Fjern eventuel ekstra margin */
  }
  
  .main-image-section {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .single-painting {
    padding-top: 100px !important; /* Endnu mere plads på små skærme */
  }
  
  /* Sikrer at thumbnails ikke kolliderer med header */
  .thumbnail-column {
    margin-top: 1.5rem;
  }
}

/* FIX: Artists page specifik */
@media (max-width: 768px) {
  .page-title {
    margin-top: 20px; /* Ekstra afstand fra header */
  }
  
  .artists-grid {
    margin-top: 20px;
  }
}

/* FIX: Paintings page */
@media (max-width: 768px) {
  .breadcrumb {
    margin-top: 0;
    padding-top: 20px; /* Ekstra luft fra header */
  }
  
  .filter-section {
    padding-top: 20px;
  }
}

/* FIX: About page */
@media (max-width: 768px) {
  .about-container {
    padding-top: 60px; /* Mere plads fra header */
  }
}

/* ALTERNATIV: Sticky header der bliver mindre på scroll */
@media (max-width: 768px) {
  .header.scrolled {
    transform: translateY(-10px); /* Skjuler header delvist når man scroller */
    transition: transform 0.3s ease;
  }
  
  .header.scrolled .header-inner {
    min-height: 50px; /* Mindre når scrolled */
    padding: 0.5rem 1rem;
  }
  
  .header.scrolled .logo a {
    font-size: 1rem;
  }
}

/* FIX: Frames pages */
@media (max-width: 768px) {
  .frames-archive,
  .frame-single {
    padding-top: 100px;
  }
}

/* EXTRA: Smooth scroll adjustment */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px; /* Når man klikker på interne links */
  }
}

/* ====== PAINTINGS GRID – SQUARE OVERRIDES ====== */

/* 3 faste kolonner på desktop */
.gallery-main .paintings-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap: 2.2rem;
  margin: 0 auto 3rem;
}

/* Fjern “rammen”/baggrund omkring værket */
.gallery-main .painting-card{
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform .2s ease;
}
.gallery-main .painting-card:hover{ transform: translateY(-4px); }

.gallery-main .painting-frame{
  background: transparent;
  padding: 0;
  border: 0;
}

/* Kvadratisk visning + hvid kant */
.gallery-main .painting-image-link{ display:block; position:relative; }
.gallery-main .painting-image{
  width: 100%;
  height: auto;              /* tilsidesæt evt. inline height */
  aspect-ratio: 1 / 1;       /* perfekt kvadrat */
  object-fit: cover;         /* fyld kvadratet, crop hvis nødvendigt */
  display: block;
  border: 12px solid #fff;   /* den hvide kant */
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  background: #f8f8f8;       /* neutral baggrund ved langsom load */
}

/* Hvis et værk mangler billede */
.gallery-main .no-image{
  aspect-ratio: 1 / 1;
  height: auto;
  border: 12px solid #fff;
  background:#f2f2f2;
  display:flex; align-items:center; justify-content:center;
  color:#999;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* NEW-badge – placeret på billedet */
.gallery-main .new-badge{
  position:absolute;
  top: 10px;
  left: 10px;
  transform: rotate(-12deg);
  background:#111;
  color:#fff;
  font-weight:700;
  font-size:.7rem;
  letter-spacing:.08em;
  padding:.28rem .55rem;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* Kompakt info under billedet */
.gallery-main .painting-info{
  padding: .5rem 0 0;
}
.gallery-main .painting-artist{
  margin: 0 0 .1rem;
  font-size: .72rem;
  letter-spacing: .06em;
  color:#666;
  text-transform: uppercase;
  font-weight: 600;
}
.gallery-main .painting-title{
  margin: 0 0 .2rem;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.25;
}
.gallery-main .painting-title a{ color:#222; text-decoration:none; }
.gallery-main .painting-title a:hover{ opacity:.85; }

/* Meta i én kompakt linje */
.gallery-main .painting-meta{
  display:flex;
  gap:.5rem;
  align-items:center;
  flex-wrap: wrap;
  margin-top: .05rem;
}
.gallery-main .painting-meta .dimensions{
  font-size:.75rem; color:#777; font-style: normal;
}
.gallery-main .painting-meta .price{
  font-size:.85rem; font-weight:700; color:#222;
  background: transparent; padding: 0; border: 0;
}

/* Pagination – diskret */
.gallery-main .pagination{ margin-top: 2.5rem; }
.gallery-main .pagination .page-numbers{
  background:#f5f5f5; border-radius:6px;
}
.gallery-main .pagination .page-numbers.current{
  background:#111; color:#fff;
}

/* ====== Responsivitet ====== */
@media (max-width: 1100px){
  .gallery-main .paintings-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-main .painting-image{ border-width: 10px; }
}
@media (max-width: 640px){
  .gallery-main .paintings-grid{ grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-main .painting-image{ border-width: 8px; }
  .gallery-main .painting-info{ padding: .45rem 0 0; }
}
/* ===== BIG, WIDE, 3-UP SQUARE GRID (OVERRIDES) ===== */

/* Fjern max-width og giv siden mere bredde */
.gallery-main{ max-width:none !important; padding:0 !important; }
.gallery-main .main-content{ 
  max-width: 2100px;             /* brug pladsen */
  margin: 0 auto; 
  padding-inline: clamp(12px, 2vw, 32px);
}

/* Gør breadcrumb og filter lige så brede som indholdet */
.gallery-main .breadcrumb,
.gallery-main .filter-section{
  max-width: 2100px;
  margin: 0 auto 1.75rem;
  padding-inline: clamp(12px, 2vw, 32px);
  background: transparent !important; /* ingen grå baggrund */
}

/* 3 faste kolonner på desktop – store felter */
.gallery-main .paintings-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3.5rem);
  margin-bottom: 3rem;
}

/* Fjern “ramme”-look omkring kortet */
.gallery-main .painting-card{ background:transparent; box-shadow:none; overflow:visible; }
.gallery-main .painting-frame{ background:transparent; padding:0; border:0; }

/* Store, perfekte kvadrater med hvid kant */
.gallery-main .painting-image,
.gallery-main .no-image{
  width: 100%;
  height: auto;                 /* neutraliser evt. inline height */
  aspect-ratio: 1 / 1;          /* perfekt kvadrat */
  object-fit: cover;            /* fyld kvadratet */
  border: clamp(10px, 0.9vw, 18px) solid #fff;  /* hvid kant */
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  background:#f3f3f3;
}
.gallery-main .no-image{
  display:flex; align-items:center; justify-content:center; color:#999; font-weight:600;
}

/* NEW-badge */
.gallery-main .new-badge{
  position:absolute; top:12px; left:12px;
  transform: rotate(-12deg);
  background:#111; color:#fff; font-weight:700; font-size:.7rem;
  letter-spacing:.08em; padding:.3rem .55rem; border-radius:3px;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
}

/* Kompakt tekst under billedet */
.gallery-main .painting-info{ padding:.6rem 0 0; }
.gallery-main .painting-artist{
  margin:0 0 .1rem; font-size:.72rem; letter-spacing:.06em;
  text-transform:uppercase; color:#666; font-weight:600;
}
.gallery-main .painting-title{ margin:0 0 .25rem; font-size:1rem; font-weight:500; line-height:1.25; }
.gallery-main .painting-title a{ color:#222; text-decoration:none; }
.gallery-main .painting-title a:hover{ opacity:.85; }
.gallery-main .painting-meta{ display:flex; align-items:center; gap:.5rem; margin-top:.05rem; }
.gallery-main .painting-meta .dimensions{ font-size:.75rem; color:#777; font-style:normal; }
.gallery-main .painting-meta .price{ font-size:.95rem; font-weight:700; color:#222; background:transparent; padding:0; border:0; }

/* Pagination let diskret */
.gallery-main .pagination{ margin-top:2.5rem; }
.gallery-main .pagination .page-numbers{ background:#f5f5f5; border-radius:6px; }
.gallery-main .pagination .page-numbers.current{ background:#111; color:#fff; }

/* Breakpoints */
@media (max-width: 1200px){
  .gallery-main .paintings-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .gallery-main .paintings-grid{ grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-main .painting-image{ border-width: 8px; }
}

/* Layout */
.frame-gallery{ display:flex; gap:16px; align-items:flex-start; }
.frame-gallery .thumbnail-column{
  width:64px; display:flex; flex-direction:column; gap:8px;
}

/* Thumbnails */
.frame-gallery .thumbnail,
.frame-gallery .video-thumb{
  width:60px; height:60px; object-fit:cover; cursor:pointer;
  border:2px solid transparent; border-radius:6px; overflow:hidden; display:block;
}
.frame-gallery .thumbnail.active,
.frame-gallery .video-thumb.active{ border-color:#111; }

/* MAIN MEDIA – kvadratisk scene til 800×800 */
.frame-gallery .main-media{
  flex:1 1 auto;
  aspect-ratio:1 / 1;                 /* altid perfekt kvadrat */
  max-width:100%;
  max-height:min(80vh, 1200px);
  background:#f6f6f6;
  border-radius:16px;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  padding:clamp(8px, 1.5vw, 24px);    /* lidt “luft” rundt om motivet */
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

/* Billedet/videoen fylder scenen uden at blive beskåret */
.frame-gallery .main-media img,
.frame-gallery .main-media video{
  width:100%; height:100%;
  object-fit:contain;                 /* behold hele motivet */
  display:block;
}

/* (valgfrit) gør thumbnails sticky på høje skærme */
@media (min-width: 1024px){
  .frame-gallery .thumbnail-column{ position:sticky; top:96px; }
}

/* ====== FORBEDRET PAINTINGS GRID – TYDELIGERE OPDELING ====== */

/* 3 faste kolonner på desktop med større mellemrum */
.gallery-main .paintings-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4rem); /* Øget gap mellem kolonnerne */
  margin: 0 auto 3rem;
  padding: 0 1rem; /* Lidt luft på siderne */
}

/* Tydeligere kort-struktur med subtil baggrund og skygge */
.gallery-main .painting-card{
  background: #fafafa; /* Meget lys baggrund */
  border-radius: 8px;
  padding: 0 0 1.2rem 0; /* Plads i bunden til metadata */
  box-shadow: 0 2px 12px rgba(0,0,0,.04); /* Subtil skygge */
  overflow: hidden;
  transition: all .3s ease;
  border: 1px solid rgba(0,0,0,.03); /* Meget subtil kant */
}

.gallery-main .painting-card:hover{ 
  transform: translateY(-6px); 
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  background: #fff; /* Helt hvid ved hover */
}

/* Fjern gamle frame-styles */
.gallery-main .painting-frame{
  background: transparent;
  padding: 0;
  border: 0;
  margin: 0;
}

/* Billede-containeren */
.gallery-main .painting-image-link{ 
  display: block; 
  position: relative; 
  margin-bottom: 0;
}

/* Kvadratisk billede med hvid kant */
.gallery-main .painting-image{
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 8px solid #fff; /* Mindre hvid kant */
  background: #f8f8f8;
  transition: border-color .3s ease;
}

.gallery-main .painting-card:hover .painting-image{
  border-color: #f5f5f5; /* Lidt mørkere kant ved hover */
}

/* Hvis et værk mangler billede */
.gallery-main .no-image{
  aspect-ratio: 1 / 1;
  height: auto;
  border: 8px solid #fff;
  background: #f2f2f2;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #999;
  font-weight: 500;
}

/* NEW-badge – bedre placering */
.gallery-main .new-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  transform: rotate(-8deg); /* Mindre rotation */
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .08em;
  padding: .3rem .6rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  z-index: 2;
}

/* FORBEDRET metadata-sektion med tydeligere opdeling */
.gallery-main .painting-info{
  padding: 1rem 1rem 0 1rem; /* Padding på siderne og toppen */
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8)); /* Subtil gradient */
  border-top: 1px solid rgba(0,0,0,.05); /* Meget subtil linje øverst */
  margin-top: .5rem;
}

/* Artist navn med bedre spacing */
.gallery-main .painting-artist{
  margin: 0 0 .3rem 0;
  font-size: .7rem;
  letter-spacing: .08em;
  color: #666;
  text-transform: uppercase;
  font-weight: 600;
}

/* Titel med bedre hierarchy */
.gallery-main .painting-title{
  margin: 0 0 .8rem 0; /* Mere afstand til metadata */
  font-size: 1rem;
  font-weight: 600; /* Lidt federe */
  line-height: 1.3;
  color: #222;
}

.gallery-main .painting-title a{ 
  color: inherit; 
  text-decoration: none; 
}

.gallery-main .painting-title a:hover{ 
  color: #0066cc;
  transition: color .3s ease;
}

/* Metadata i en tydeligere boks */
.gallery-main .painting-meta{
  display: flex;
  justify-content: space-between; /* Spred ud over hele bredden */
  align-items: center;
  padding: .8rem 0 0 0;
  border-top: 2px solid #eee; /* Tydeligere skillelinje */
  margin-top: .5rem;
  gap: .5rem;
}

.gallery-main .painting-meta .dimensions{
  font-size: .75rem; 
  color: #777; 
  font-style: italic;
  flex-shrink: 0; /* Forhindrer sammentrykning */
}


/* Hover effekt på pris */
.gallery-main .painting-card:hover .painting-meta .price{
  background: #e6f3ff;
  border-color: #ccc;
}

/* Pagination – unchanged */
.gallery-main .pagination{ margin-top: 2.5rem; }
.gallery-main .pagination .page-numbers{
  background: #f5f5f5; 
  border-radius: 6px;
}
.gallery-main .pagination .page-numbers.current{
  background: #111; 
  color: #fff;
}

/* ====== Responsivitet ====== */
@media (max-width: 1200px){
  .gallery-main .paintings-grid{ 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
    gap: clamp(2rem, 3vw, 3rem);
  }
}

@media (max-width: 768px){
  .gallery-main .paintings-grid{ 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }
  
  .gallery-main .painting-card{
    margin: 0 .5rem; /* Lidt margin på mobil */
  }
  
  .gallery-main .painting-image{ 
    border-width: 6px; 
  }
  
  .gallery-main .painting-info{ 
    padding: .8rem .8rem 0 .8rem; 
  }
  
  .gallery-main .painting-meta{
    flex-direction: column; /* Stack på mobil */
    align-items: flex-start;
    gap: .5rem;
  }
  
  .gallery-main .painting-meta .price{
    align-self: stretch; /* Fuld bredde på mobil */
    text-align: center;
  }
}
/* ====== SINGLE PAINTING - FIX BILLEDE ZOOM/CROP ====== */

/* Main display billede - vis hele billedet */
.main-media #main-display,
.main-media img {
  width: 100%;
  height: auto !important; /* Fjern fast højde */
  max-width: 100%;
  object-fit: contain !important; /* Vis hele billedet inden for rammen */
  object-position: center;
  display: block;
  border: none; /* Fjern eventuelle borders der kan påvirke sizing */
}

/* Hvis der er en container der begrænser højden */
.main-media {
  width: 100%;
  height: auto !important; /* Ikke fast højde */
  max-height: none !important; /* Fjern max-height begrænsninger */
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frame styling - justér hvis nødvendigt */
.main-media.frame-white_gloss {
  background: #fff;
  padding: 20px; /* Tilpas efter dine frames */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 4px;
}

/* Alternativ løsning hvis ovenstående ikke virker */
.single-painting .main-image-section {
  width: 100%;
  height: auto;
  overflow: visible;
}

.single-painting .main-image-section img {
  max-width: 100%;
  width: auto;
  height: auto !important;
  object-fit: contain !important;
}

/* For at sikre billedet ikke bliver for stort på store skærme */
.main-media img {
  max-height: 80vh; /* Maksimalt 80% af skærmhøjden */
  width: auto;
}

/* Mobil-specifikke justeringer */
@media (max-width: 768px) {
  .main-media img {
    max-height: 60vh; /* Mindre på mobil */
  }
  
  .main-media.frame-white_gloss {
    padding: 15px; /* Mindre frame padding på mobil */
  }
}

/* Fjern “ring”/pill-styling om prisen på All Paintings-siden */
.paintings-by-artist-grid .painting-meta .price{
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline;
  color: #222;           /* valgfrit: lidt mørkere tekst */
  font-weight: 600;      /* behold tydelig vægt */
}

/* Mindre afstand under HERO */
.post-type-archive-painting .hero-section,
.page-template-all-paintings .hero-section,
.page-template-all-sculptures .hero-section {
  margin-bottom: 0.5rem;
}

/* Stram breadcrumb + filter på de relevante sider */
.post-type-archive-painting .gallery-main .breadcrumb,
.post-type-archive-painting .gallery-main .filter-section,
.page-template-all-paintings .gallery-main .breadcrumb,
.page-template-all-paintings .gallery-main .filter-section,
.page-template-all-sculptures .gallery-main .breadcrumb,
.page-template-all-sculptures .gallery-main .filter-section {
  /* var: margin: 0 auto 1.75rem; */
  margin: 0 auto 0.75rem !important;
}

/* (valgfrit) Gør selve indholdet lidt tættere på toppen */
.post-type-archive-painting .gallery-main,
.page-template-all-paintings .gallery-main,
.page-template-all-sculptures .gallery-main {
  /* var 2rem 1rem */
  padding-top: 0.5rem;
}

/* Sørg for at titel ikke tilføjer ekstra luft */
.hero-title { margin: 0; }
/* Frames: mindre afstand fra hero til grid */
.frames-archive .hero-section { margin-bottom: 0.75rem; }


/* Push content on the right column a bit down from the header */
.frame-single .frame-right{
  padding-top: clamp(16px, 4vw, 40px);
}

/* (Optional) if you prefer to only move the title itself */
.frame-single .frame-title{
  margin-top: 1.25rem !important; /* overrides earlier margin */
}

/* (Optional) if you’re logged in and see the WP admin bar */
body.admin-bar .frame-single .frame-right{
  padding-top: calc(clamp(16px, 4vw, 40px) + 32px);
}

.rel-all{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid #111;
  border-radius:999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-size:0.9rem;
  font-weight:600;
  line-height:1;
  letter-spacing:.02em;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}


.rel-all::after{
  content:"→";
  font-size:.95em;
  transform:translateX(2px);
}

.rel-all:hover{
  background:#fff;
  color:#111;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

.rel-all:active{
  transform:translateY(0);
  box-shadow:none;
}

.rel-all:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(17,17,17,.25);
  background:#111;
  color:#fff;
}

/* Basis: fyld helt ud */
.carousel .slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Slide 1–2: vis toppen mere */
.carousel .slide:nth-child(1) {
  background-position: center top;   /* 50% 0% */
  background-position: 50% 20%; /* Skubber fokus længere ned */

}
/* Slide 3: vis mere af bunden */
.carousel .slide:nth-child(3) {
  background-size: cover;
  background-position: 50% 80%; /* 0% = top, 100% = bund */
}


/* Lodrette billeder (2–5): lidt mere “luft” på mobil/tablet */
@media (max-width: 900px) {
  .carousel .slide:nth-child(n+2):nth-child(-n+5) {
    /* Skift til contain for at undgå at toppen klippes */
    background-size: contain;
    background-position: center top;
    background-color: #000; /* eller din sidebaggrund for at “letterbox” ser pænt ud */
  }
}



