.news-back-btn {
    position: fixed;
    top: 90px;
    left: 32px;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--clr-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.25s, transform 0.2s;
}

.news-back-btn:hover {
    transform: scale(1.08);
    color: white;
}

.news-back-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 800px) {
    .news-back-btn {
        top: 72px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
}

.details{
    display:flex;
    width:100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container{
    width:80%;
}
.line{
    width: 100%;
    border-top: 1px solid #E41925;
    position:relative;
    margin-top: 200px;
    margin-bottom:5px;
}
.flex{
    display:flex;
    align-items: flex-start;
    justify-content: flex-start;
    width:100%;
}
.flex p{
    margin:0 10px 0 10px;
}

.info{
    margin:0 50px 50px 0;
}
.img img{
    width:80%;
}

.line .parentKey{
    position:relative;
    left:10%;
    top:50%;
    transform: translateY(-50%);
    margin:0;
    color: #E41925;
    padding:0 10px 5px 10px;
    background-color:  #ebe8e7;
    font-size: 30px;
    width:max-content;
    box-sizing: border-box;
    text-transform: uppercase;
}
/* circle position override — base in gmde_shared.css */
.circle-container {
    top: -100px;
}

.title{
    font-size: 50px;
}

.numbered-line{
    margin: 100px 0 100px 0;
    width:100%;
    border-bottom: 1px solid #E41925;
    position:relative;
}

.numbered-line::after{
    content: attr(data-number);
    font-family: 'EB Garamond', sans-serif;
    position: absolute;
    height:100px;
    width:100px;
    bottom:-50px;
    left: 20%;
    background-color: #fafafa;
    padding: 0 10px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 85px;
    font-weight: bold;
    text-shadow: -1px 0 #E41925, 0 1px #E41925, 1px 0 #E41925, 0 -1px #E41925;
    color: #fafafa;
}

/* newsletter → gmde_shared.css */

.word-line{
    width: 100%;
    border-top: 1px solid #E41925;
    position:relative;
    margin-top: 100px;
    margin-bottom:5px;
}

.word-line .parentKey{
    position:relative;
    left:10%;
    top:50%;
    transform: translateY(-50%);
    margin:0;
    padding:0 10px 5px 10px;
    background-color: #fafafa;
    font-size: 20px;
    width:max-content;
    box-sizing: border-box;
    text-transform: uppercase;
}

.word-line .parentKey .decoration{
    color: #E41925;
    position:relative;
}

.word-line .parentKey .decoration:before{
    position:absolute;
    bottom: -5px;
    left:0;
    content: '';
    border: 1px solid #E41925;
    border-radius: 5px;
    height: 5px;
    width:100%;
    box-sizing: border-box;
}

.cards{
    display:flex;
    justify-content: center;
    align-items: flex-start;
}

.cards .card{
    width:100%;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 280px;
}
.cards .card .flex{
    display:flex;
    justify-content: space-between;
    align-items: center;
    width:100%;

}

.card img{
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
}

/* =====================================================
   NEWSPAPER CARD
   ===================================================== */
.news-page {
    background: var(--clr-bg);
    display: flex;
    justify-content: center;
    padding: 140px 20px 80px;
}

.news-paper {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-top: 3px solid var(--clr-dark);
    border-radius: 25px;
    max-width: 820px;
    width: 100%;
    overflow: hidden;
    box-shadow:
        0 3px 0 2px #e8e4e4,
        0 6px 0 4px #dcd7d7,
        0 10px 16px rgba(0, 0, 0, 0.10);
}

.news-paper__header {
    padding: 36px 48px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-paper__section {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clr-white);
    background: var(--clr-red);
    padding: 3px 10px;
    align-self: flex-start;
}

.news-paper__headline {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--clr-dark);
    margin: 0;
}

.news-paper__title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-paper__deck {
    font-size: 17px;
    line-height: 1.55;
    color: #aaa;
    margin: 0;
    border-left: 3px solid var(--clr-red);
    padding-left: 16px;
}

.news-paper__event-meta {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: var(--clr-dark);
    border-top: 1px solid var(--clr-border);
    padding-top: 14px;
}

.news-paper__figure {
    margin: 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.news-paper__figure img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-paper__body {
    padding: 36px 48px 48px;
}

@media screen and (max-width: 800px) {
    .news-page {
        padding: 100px 16px 60px;
    }

    .news-paper__header,
    .news-paper__body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .news-paper__headline {
        font-size: 24px;
    }

    .news-paper__event-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media screen and (max-width: 800px) {
    .line{
        margin-top:120px;
    }
    .line .parentKey{
        font-size:16px;
    }

    .title{
        font-size:20px;
        font-weight:700;
    }

    .flex{
        flex-direction: column;
    }

    .flex p{
        margin: 10px 0;
    }

    .img img{
        width:90%;
    }

    /* newsletter mobile → gmde_shared.css */

    .cards{
        flex-direction: column;
    }

    .cards .card .flex{
        flex-direction: row;
        padding:10px;
    }

    .container {
        width:90%;
    }

    .details:has(.word-line) .container{
        width:100%;
    }

    .cards .card{
        margin:0;
    }
}

