/* ==========================================================================
   Diver on Tour
   Artikelseiten im Bereich Wissen Rotes Meer
   Datei: /assets/css/riffsterben-rotes-meer.css
   ========================================================================== */


/* Breadcrumb
   ========================================================================== */

.dot-breadcrumb {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    font-size: 0.95rem;
}

.dot-breadcrumb a {
    color: #0077b6;
    text-decoration: none;
}

.dot-breadcrumb a:hover {
    text-decoration: underline;
}

.dot-breadcrumb span {
    margin: 0 8px;
}


/* Bildgalerie
   ========================================================================== */

.dot-article-gallery {
    max-width: 1100px;
    margin: 50px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.dot-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 45, 70, 0.14);
    background: #003a5d;
}

.dot-gallery-item a {
    display: block;
}

.dot-gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.dot-gallery-item img:hover {
    transform: scale(1.04);
}


/* Artikelbereich
   ========================================================================== */

.dot-article {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.dot-article-header {
    margin-bottom: 60px;
}

.dot-article-header h2 {
    margin: 0 0 25px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: #003a5d;
}

.dot-article-lead {
    max-width: 900px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5a66;
}

.dot-article section {
    margin-bottom: 70px;
}

.dot-article h2 {
    margin: 0 0 25px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: #003a5d;
}

.dot-article p {
    margin: 0 0 24px;
    font-size: 1.12rem;
    line-height: 1.9;
    color: #17313b;
}


/* Einzelbilder innerhalb von Artikeln
   ========================================================================== */

.dot-article-image {
    margin: 50px 0;
}

.dot-article-image a {
    display: block;
}

.dot-article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.dot-article-image img:hover {
    transform: scale(1.01);
}

.dot-article-image figcaption {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    color: #666666;
}


/* Autorenbox
   ========================================================================== */

.dot-author-box {
    background: #f5f9fc;
    border-left: 6px solid #0077b6;
    padding: 40px;
    border-radius: 12px;
}

.dot-author-box h2 {
    margin-top: 0;
}


/* Quellen
   ========================================================================== */

.dot-sources {
    background: #fafafa;
    padding: 40px;
    border-radius: 12px;
}

.dot-sources ul {
    margin: 0;
    padding-left: 24px;
}

.dot-sources li {
    margin-bottom: 12px;
    line-height: 1.7;
}


/* Zurück-Button
   ========================================================================== */

.dot-back-section {
    padding: 0 20px 80px;
    text-align: center;
}

.dot-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border-radius: 999px;
    background: #003a5d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.25s ease;
}

.dot-back-button:hover {
    background: #005f92;
    color: #ffffff;
}


/* Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .dot-article-gallery {
        grid-template-columns: 1fr;
    }

    .dot-gallery-item img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .dot-article {
        padding: 30px 16px 60px;
    }

    .dot-article-header {
        margin-bottom: 45px;
    }

    .dot-article section {
        margin-bottom: 55px;
    }

    .dot-author-box,
    .dot-sources {
        padding: 25px;
    }

    .dot-article p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .dot-author-box,
    .dot-sources {
        padding: 20px;
    }
}