/* ===== GRID CONTAINER ===== */
.koncerter-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 403px); /* 3 per row, fixed width */
  column-gap: 50px;      /* vertical spacing */
  row-gap: 61px;  /* horizontal spacing */
  justify-content: center;
  max-width: 1300px;
  /* padding: 30px 0; */
  padding-top: 50px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.koncerter-event-status {
    position: absolute;
    right: 0;
    padding: 7px 30px;
    display: flex;
    /* width: 50%; */
    background: white;
    top: 33px;
    justify-content: center;
}
.koncerter-event-card .event-image img {
    filter: grayscale(100);
}
p.event-status.jost-text {
    font-size: 14px;
    margin: 0;
    color: #114542;
    line-height: 20px;
}

/* ===== CARD ===== */
.koncerter-event-card {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 403px;
}

/* ===== IMAGE BLOCK ===== */
.koncerter-event-card .event-image {
  position: relative;
  width: 100%;
  height: 560px; /* Figma height */
  overflow: hidden;
}
.koncerter-event-card:hover .event-image img {
    transform: scale(1.1);
}
.koncerter-event-card .event-image img {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  object-fit: cover;
  display: block;
}

/* ===== CONTENT OVERLAY (INSIDE IMAGE) ===== */

.koncerter-event-card .event-content {
    position: absolute;
    bottom: 100px;
    display: flex;
    color: #fff;
    text-align: left;
    z-index: 2;
    flex-direction: column;
    align-items: center;
}

.koncerter-event-card .event-author {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  line-height: 43.2px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

.koncerter-event-card .event-type {
  font-size: 12px;
  margin: 0 0 6px;
  font-weight: 400;
  line-height: 14.4px;
  text-align: center;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.koncerter-event-card .event-date {
  font-size: 16px;
  margin: 0;
}

/* ===== BOOK LINK (OUTSIDE IMAGE) ===== */
.event-book-link {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
    color: white!important;
    padding: 10px 20px !important;
    background: #114542;
  text-decoration: none; /* disable default underline */
  transition: 0.3s all ease-in-out;
}
.event-book-link:hover{
    color: #114542!important;
    background-color: white!important;
}
/* .event-book-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);              /* full underline by default */
  /* transform-origin: left;           /* shrink starts from right */
  /* transition: transform 0.3s ease;
} */

/* .event-book-link:hover::after {
  transform: scaleX(0);             
  transform-origin: left;          
}  */
.event-book-buttons {
    display: flex;
    gap: 50px;
}
/* ====== Large Laptops (â‰¤1280px) ====== */
@media (max-width: 1280px) {
  .koncerter-events-grid {
    grid-template-columns: repeat(3, 1fr); /* 2 per row */
    column-gap: 40px;
    row-gap: 50px;
    max-width: 90%;
    padding: 40px 20px;
  }

  .koncerter-event-card {
    width: 100%;
  }

  .koncerter-event-card .event-image {
    height: 500px;
  }

  .koncerter-event-card .event-author {
    font-size: 28px;
    line-height: 38px;
  }
}


/* ====== Tablets Landscape (â‰¤1024px) ====== */
@media (max-width: 1024px) {
  .koncerter-events-grid {
    grid-template-columns: repeat(3, 1fr); /* 2 cards per row */
    column-gap: 30px;
    row-gap: 45px;
    padding: 30px 15px;
  }

  .koncerter-event-card .event-image {
    height: 450px;
  }

  .koncerter-event-card .event-author {
    font-size: 24px;
    line-height: 34px;
  }
}


/* ====== Tablets Portrait (â‰¤768px) ====== */
@media (max-width: 768px) {
  .koncerter-events-grid {
    grid-template-columns: repeat(2, 1fr);; /* single column */
    row-gap: 40px;
    padding: 20px;
  }

  .koncerter-event-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .koncerter-event-card .event-image {
    height: 400px;
  }

  .koncerter-event-card .event-author {
    font-size: 22px;
    line-height: 30px;
  }

  .koncerter-event-card .event-type {
    font-size: 11px;
  }

  .koncerter-event-card .event-date {
    font-size: 15px;
  }
}


/* ====== Mobile (â‰¤480px) ====== */
@media (max-width: 480px) {
  .koncerter-events-grid {
    grid-template-columns: 1fr; /* single column */

    padding: 15px;
    row-gap: 35px;
  }

  .koncerter-event-card .event-image {
    height: 350px;
  }

  .koncerter-event-card .event-author {
    font-size: 20px;
    line-height: 28px;
  }

  .koncerter-event-card .event-type {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .koncerter-event-card .event-date {
    font-size: 14px;
  }

  .event-book-link {
    font-size: 15px;
    margin-top: 20px;
  }
}


/* ====== Small Mobile (â‰¤360px) ====== */
@media (max-width: 360px) {
  .koncerter-event-card .event-image {
    height: 300px;
  }

  .koncerter-event-card .event-author {
    font-size: 18px;
    line-height: 26px;
  }

  .koncerter-event-card .event-type {
    font-size: 9px;
  }

  .koncerter-event-card .event-date {
    font-size: 13px;
  }

  .event-book-link {
    font-size: 14px;
  }
}




/* Marienlyst Koncerter Event Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* Reset and Base Styles */
.marienlyst-site-main {
    font-family: 'Jost', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}
p.koncerter-events-type-content {
    max-width: 703px;
    font-family: 'Futura PT Book';
    color: #114542;
    text-align: center;
    font-size: 18px;
}
h2.koncerter-events-type-content-center.marienlyst-section-title {
    font-size: 36px;
}
/* Hero Section */
.marienlyst-event-hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
p.koncerter-events-type-content-top {
    color: #114542;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 !important;
    font-size: 12px;
    font-family: 'Jost' !important;
}
.marienlyst-content-wrapper.events {
    flex-direction: column;
    padding: 10px 40px!important;
}
.marienlyst-content-wrapper.events .marienlyst-content-static {
    display: flex;
    gap: 20px;
    padding-top: 50px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.marienlyst-hero-background {
    position: absolute;
    object-position: top;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.marienlyst-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}


.marienlyst-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

/* Main Content */
.marienlyst-event-main-content {
    background-color: var(--e-global-color-297426c);
}


.marienlyst-hero-content .marienlyst-event-date ,.marienlyst-hero-content .marienlyst-event-title {
    color: white !important;
}
.marienlyst-content-wrapper {
    padding: 80px 40px;
    max-width: 1150px;
    justify-content: space-between;
    margin: 0 auto;
    display: flex;
}

/* Left Content Area */
.marienlyst-content-left {
    padding-right: 40px;
    width: 66.66%;
}
img.marienlyst-hero-background.grayscale {
    filter: grayscale(1);
}
.marienlyst-section-header {
    /* margin-bottom: 40px; */
}
.koncerter-event-status-label {
    background: white;
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 7px 30px;
}
.marienlyst-section-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.marienlyst-section-subtitle {
    font-family: "Futura PT Book" !important;
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgb(17, 69, 66);
}
.marienlyst-section-title {
    font-family: "ivy-mode" !important;
    font-size: 56px;
    font-weight: 400;
    text-transform: uppercase;
    color: #114542;
    margin: 0;
    line-height: normal;
}

.marienlyst-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #2c4a3b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.marienlyst-event-date {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 30px;
}

.marienlyst-event-description {
    font-family: 'Futura PT Book';
    font-size: 18px;
    line-height: 1.8;
    color: #114542!important;
    margin-bottom: 30px;
}



/* Action Buttons */
.marienlyst-event-book-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.marienlyst-event-book-link {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c4a3b;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 2px solid #2c4a3b;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.marienlyst-event-book-link:hover {
    background: #2c4a3b;
    color: white;
    transform: translateY(-2px);
}

.marienlyst-event-back-link {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.marienlyst-event-back-link:hover {
    color: #2c4a3b;
}

/* Right Sidebar - Contact Card */
.marienlyst-content-right {
    width: 28%;
    margin-top: 10%;
}

.marienlyst-contact-card {
    background:rgb(17, 69, 66);
    color: white;
    padding: 40px 30px;
    border-radius: 0;
}

.marienlyst-contact-title {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.marienlyst-contact-item {
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.marienlyst-contact-item .marienlyst-email {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
}

.marienlyst-contact-label {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.marienlyst-contact-link {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.marienlyst-contact-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: white;
    color: #2c4a3b;
    text-decoration: none;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 30px;
    transition: all 0.3s ease;
}



/* No Event Message */
.marienlyst-no-event {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    color: #666;
}
@media (max-width: 1028px) {
.marienlyst-content-right , .marienlyst-content-left{
  width: 100%!important;
}
.marienlyst-section-title{
  font-size: 36px !important;
}
.marienlyst-content-wrapper{
  flex-direction: column;
}
.marienlyst-content-wrapper {
    max-width: 850px !important;
    padding: 40px 20px !important;
}
}
/* Responsive Design */
@media (max-width: 768px) {
    .marienlyst-hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .marienlyst-section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .marienlyst-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .marienlyst-content-left {
        padding-right: 0;
    }
    
    .marienlyst-content-right {
        padding-left: 0;
    }
    .marienlyst-content-wrapper {
      max-width: 620px !important;
    }
    
    .marienlyst-event-book-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    

}

@media (max-width: 480px) {
    .marienlyst-hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .marienlyst-section-title {
        font-size: 24px !important;
    }
    
    .marienlyst-service-icons {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .marienlyst-contact-card {
        padding: 30px 20px;
    }
    .marienlyst-content-wrapper {
        padding: 40px 0 !important;
        max-width: 320px !important;
    }  
}


@keyframes marienlystFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .marienlyst-contact-card,
    .marienlyst-event-book-buttons,
    .marienlyst-image-gallery {
        display: none;
    }
    
    .marienlyst-event-hero-section {
        height: auto;
        min-height: 200px;
    }
    
    .marienlyst-hero-background {
        position: static;
        opacity: 1;
    }
}