/* WRAPPER */

.media-gallery-wrap {
    background: #f6efe9; /* licht oranje/bruin */
    padding: 60px 0;
}

/* HEADER */
.media-gallery-header {
    max-width: 640px;
    margin-bottom: 32px;
}

/* TITEL */
.media-gallery-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 12px;
    font-weight: 800;
    color: #1a1a1a;
}

/* DESCRIPTION */
.media-gallery-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* DESCRIPTION P RESET */
.media-gallery-description p {
    margin: 0;
}


.media-gallery {
    display: flex;
    
    gap: 24px;
    margin: 40px 0;
}

/* LINKS GROOT */
.media-card {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}

/* FORMATEN */
.media-card--large {
    flex: 2;
    min-height: 420px;

}

.media-gallery__side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.media-card--small {
    min-height: 198px;
}

/* BOVENSTE TITELBALK */
.media-card__title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
     background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
}

/* ONDERSTE META-BALK */
.media-card__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

/* HOVER */
.media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
/* VIS OVERGANG */
.section-divider-fish {
    display: block;
    width: 300px;
    margin-top: -160px;  /* helft omhoog */
 margin-top: -160px; 
    z-index: 10;
    position: relative;
    pointer-events: none;
}

.section-divider-fish img {
    width: 100%;
    height: auto;
    display: block;
}
/* MOBIEL */
@media (max-width: 768px) {
    .media-gallery {
        flex-direction: column;
        padding-left:20px;
        padding-right:20px;
    }

    .media-card--large {
        min-height: 260px;
    }

    .media-card--small {
        min-height: 180px;
    }
    .section-divider-fish {
    display: none; 
}
  .media-gallery-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .media-gallery-title {
        margin-left: auto;
        margin-right: auto;
    }

    .media-gallery-description {
        margin-left: auto;
        margin-right: auto;
    }
}



/* Home Stories */
.hbw {
    margin: 60px 0;
}
.hbw__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TABS */
.hbw__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.hbw__tab {
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 999px;
    background: #f3f3f3;
    font-weight: bolder;
    font-size: 16px;
    color: #333;
    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
    user-select: none;
}
.hbw__tab.is-active::after {
    content: '';
    display: block;
    height: 3px;
    width: 20px;
    margin: 6px auto 0;
    background: #000;
    border-radius: 3px;
}

.hbw__tab.is-active {
    background: #ff7900;
    font-weight:bolder;   
  
    color: #000;
    box-shadow: 0 6px 18px rgba(10,108,99,0.35);
}


/* CONTENT */
.hbw__content { display: none; }
.hbw__content.is-active { display: block; }

/* GRID */
.hbw__grid {
    display: flex;
    gap: 40px;
    align-items: stretch;

}

/* FEATURED */
.hbw__featured {
    flex: 1;
    
}

.hbw__featured-link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hbw__featured-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 70%;
    color: #fff;
}


/* ZWARTE OVERLAY ONDERIN */
.hbw__featured-overlay {
    position: absolute;
    width:50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.0)
    );
    color: #fff;
}

/* TEKST */
.hbw__featured-cat {
    display: inline-block;
    font-size: 13px;
    background: rgba(255,255,255,.9);
    color: #000;
}


.hbw__featured-title {
    font-size: 26px;
    margin: 0 0 8px;
    color: #fff;
}

.hbw__featured-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}
.hbw-right-readmore {
    position: absolute;
    right: 0;
    top: 0;

    display: inline-flex;
    align-items: center;

    height: 25px;
    padding: 0 16px 0 18px;

    background: #ff7900;
    color: #000;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    border-radius: 0 0 0 999px; 
    box-shadow: -4px 0 12px rgba(0,0,0,0.25);

    transform: translateX(6px);
    transition:
        transform 0.25s ease,
        background-color 0.2s ease;
        z-index:999;
}


/* RIGHT SIDE */
.hbw__side {
    flex: 1;
    display: flex;
    flex-direction: column;
    
}
.hbw-right-item {
    display: flex;
    gap: 20px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.28);
    box-shadow:
        0 6px 10px rgba(0,0,0,0.12),
        0 8px 8px rgba(0,0,0,0.22);
 overflow: hidden;
    margin-bottom: 25px;
    
}
.hbw-right-item.is-top {
    align-items: flex-start;
}
.hbw-right-item.is-bottom {
    margin-top: auto;
}

.hbw-right-excerpt a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

@media (hover: hover) {

    .hbw-right-item,
    .hbw__featured {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
    }

    .hbw-right-item:hover,
    .hbw__featured:hover {
        transform: translateY(-6px);
    }

}

/* THUMB */
.hbw-right-thumb {
    width: 200px;
    flex-shrink: 0;
}
.hbw-right-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}
.hbw-right-cat{
    position:absolute;
    bottom:0px;
    left:0px;
    text-align: center;
    width: 100%;
    color: #0a6c63;
    font-weight: 600;
    text-decoration: none;
    background: #e6f3f1;
    font-size: 13px;
    border-top: 1px dotted rgba(0,0,0,0.25);
}

.hbw-right-cat:hover {
    text-decoration: underline;
}

/* TEXT */
.hbw-right-content {
    max-width: 420px;
    
}
.hbw-right-title {
      font-size: 16px;
}
.hbw-right-excerpt {
    font-size: 13px;
    line-height: 1.5;
}


@media (max-width: 768px) {

    /* GRID onder elkaar op mobiel */
    .hbw__grid {
        flex-direction: column;
        gap: 0px;
    }

    /* FEATURED → column */
    .hbw__featured {
        display: flex;
        flex-direction: column;
        
    }

    .hbw__featured-link {
        min-height: 240px;
            border-radius: 0px;
    }


    .hbw-right-item {
        display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 20px;
        background: transparent;
        border-radius: 1;
        border-bottom: 1px solid rgba(0,0,0,0.25);
  margin-left:5px;
  margin-right:5px;
        margin-top:20px;
        margin-bottom: 20px;
    }
    
.hbw-right-title {
    font-size: clamp(14px, 2.8vw, 14px);
}
p, .hbw-right-excerpt {
    font-size: clamp(13px, 2.4vw, 14px);
}

    /* Thumb iets kleiner op mobiel */
    .hbw-right-thumb {
        width: 120px;
    }

    .hbw-right-content {
        max-width: none;
    }
      .hbw__featured-excerpt {
        display: none;
    }
        .hbw__tabs {
        gap: 10px;
        margin-bottom: 24px;
    }

    .hbw__tab {
        padding: 6px 14px;
        font-size: 14px;
    }

    .hbw__tab.is-active::after {
        height: 2px;
        width: 14px;
        margin-top: 4px;
    }
}
