/* @font-face {
    font-family: 'Calluna';
    src: url('/fonts/Calluna Light.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap; 
} */
    
.page_layout {
    width: 100%;
    padding-right: var(--layout_padding);
    padding-left: var(--layout_padding);
    margin-right: auto;
    margin-left: auto;
}

.top-bar {
    background-color: var(--header_background);
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}
    
.hero {
    padding-left: 12px;
    padding-right: 12px;
}

.hero-title  {
    margin-top: 0;
    margin-left: 20px 0;
}

.hero-title h1 {
    margin-left: 20px;
    padding: 2rem 2rem 0;
    position: relative; /* passe au-dessus du ::before */
    z-index: 1;
    color: white;
    margin:0;
}

.wrapper {
  position: relative;
  background-image: url('/img/hero/article/Glamping.webp');
  background-size: cover;
  background-position: center;
  padding-bottom: 0;
  border-radius: 15px !important;
  z-index: -80;
  min-height: 300px;
}

.wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    15deg, rgb(0 0 0 / 56%) 0%, 
    rgb(0 0 0 / 60%) 35%, 
    rgba(0, 0, 0, 0) 50%);
  border-radius: 15px;
}


.short_desc {
    z-index: 1; 
    padding: 0 2rem 0 2rem;
    display: none;
}

.wrapper div.hero-title .short_desc p {
    font-size: 1.2rem;
    color:white;
}

.article-sidebar {
    display: none;    
}

.summary {
    background-color: white;
    margin: 0px 15px 40px 0;
    padding: 15px 10px 15px 15px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px 2px #0000001c;
}

.summary p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 2rem;
    border-bottom: 4px solid var(--primary-green);
    display: inline-block;
    line-height: 2.5rem;
    padding-right: 5px;
}

.summary ul {
    list-style: decimal;
    margin: 0;
    padding: 0 5px 0 15px
}   

.summary li {
    font-size: 1rem;
    margin-bottom: 10px;
}

.article-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr);
  gap:20px;
  margin-top: 30px;
}

.article-media {
    margin:30px 0;
}

.article-media-img {
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    background: #fff;
    transition: transform .3s,box-shadow .3s;
    overflow: hidden
}

.article-media-img img {
    width: 100%;
}

.article-media-legend {
    margin:10px 0;
    font-size: 1.2rem;
}

.carousel-wrap {
    position: relative
}

.carousel {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto
}

.carousel::-webkit-scrollbar {
    display: none
}

.carousel-card {
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: #fff;
    flex: 0 0 280px;
    transition: transform .3s,box-shadow .3s;
    overflow: hidden
}

.carousel-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px)
}


h4.card-title {
    margin-top:10px;
    font-weight: 300;
    font-size: 1.1rem;;
}

.carousel-card img {
    object-fit: cover;
    width: 100%;
    height: 180px;
    transition: transform .4s;
    display: block
}

.carousel-card:hover img {
    transform: scale(1.05)
}

.carousel-nav {
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    display: flex
}

.carousel-btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: var(--brand-dark);
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: all .2s;
    display: flex
}

.carousel-btn svg {
    width: 16px;
    height: 16px
}

@media (min-width: 992px){
  .article-layout{
    grid-template-columns:minmax(0, 9fr) minmax(280px, 3fr);
    gap:32px;
    align-items:start;
  }
}


.article-section {
    margin-bottom: 50px;
}

section.article-section {
    scroll-margin-top: 200px;
}

.article-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 600;
    margin-bottom: 28px;
}

.border-red {
    border-left: 5px solid var(--primary-red);   
}

.border-green {
    border-left: 5px solid var(--primary-green);
}

.article-body {
    margin-top: 50px;   
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-section {
    padding: 52px 0;
    border-top: 1px solid #f0f0f0;
}
.faq-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 600;
    margin-bottom: 28px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 860px;
}
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    gap: 16px;
    transition: background 0.2s;
}
.faq-question:hover {
    background: var(--primary-green-pale);
}
.faq-question.open {
    background: var(--primary-green-pale);
    color: var(--primary-green);
}
.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 22px 18px;
}

@media (min-width: 768px) {
    .page_layout {
    }
    .wrapper {
        grid-template-columns: 1fr;
    }
    .short_desc {
        display: block;    
    }
}

@media (min-width: 992px) {
    .page_layout {
    }
    .article-sidebar {
        display: block;    
    }
}

@media (min-width: 1200px) {
    .page_layout {
    }
    .wrapper {
        min-height: 350px;
    }    
}

@media (min-width: 1400px) {
    .page_layout {
        max-width: 1320px;
    }
    .wrapper {
        min-height: 400px;
    }
}