.detail-hero {
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    padding: 150px 0 26px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52)), url("../assets/images/banner21.webp");
}

.detail-hero-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: normal;
    text-transform: uppercase;
}

.detail-shell {
    position: relative;
    margin-top: -1px;
    padding: 82px 0 84px;
    border-radius: 0 180px 0 0;
    background: var(--white);
}

.detail-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(86vw, 1180px);
    height: 18px;
    border-radius: 0 100px 0 0;
    background: var(--primary);
}

.detail-container {
    width: min(1240px, calc(100% - 128px));
    margin: 0 auto;
}

.detail-category {
    margin-bottom: 22px;
    color: var(--primary);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: normal;
}

.detail-title {
    max-width: 980px;
    margin-bottom: 26px;
    color: var(--dark);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: normal;
    line-height: 1.12;
}

.detail-share {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 54px;
    color: #3b5c7f;
    /* WCAG AA compliant contrast */
    font-size: 1.28rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.detail-share:hover {
    color: #497096;
    transform: translateX(4px);
}

.detail-share::before {
    content: "";
    width: 4px;
    height: 42px;
    background: #3b5c7f;
    /* WCAG AA compliant contrast */
}

.share-arrow {
    font-size: 2.3rem;
    line-height: 1;
}

.detail-body {
    max-width: 880px;
    color: var(--dark);
    font-size: clamp(1.05rem, 1.55vw, 1.42rem);
    font-weight: normal;
    line-height: 1.18;
    word-break: break-word;
    overflow-wrap: break-word;
}

.detail-body p {
    margin-bottom: 1.1em;
}

.detail-body blockquote,
.detail-body .quote {
    margin: 48px 0;
    color: #202020;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.18;
}

.detail-source {
    margin-top: 44px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: normal;
}

.detail-divider {
    margin: 30px 0 34px;
    border: 0;
    border-top: 5px solid #d8d8d8;
    border-radius: 10px;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 42px;
    color: var(--primary);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: normal;
    text-transform: uppercase;
}

.related-title.with-bars::before {
    background: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
    align-items: stretch;
    max-width: 980px;
}

.related-grid .post-card {
    border-radius: 12px;
}

.more-news {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(270px, 100%);
    min-height: 52px;
    margin: 70px auto 0;
    border-radius: 999px;
    background: #497096;
    /* Deeper blue for accessible contrast */
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.more-news:hover {
    background: #3b5c7f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.more-news:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .detail-hero {
        min-height: 240px;
        padding-top: 120px;
    }

    .detail-shell {
        padding-top: 56px;
        border-radius: 0 82px 0 0;
    }

    .detail-container {
        width: min(100% - 32px, 760px);
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}