/* Mareonline 4.0 — Pagina articolo. Caricare dopo style.css. */
.article-heading h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    color: var(--sea-navy, #071d3a);
}

.article-lead {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.65;
    color: #495b6c;
}

.article-hero {
    position: relative;
    overflow: hidden;
    background: #dce9ef;
    aspect-ratio: 16 / 7;
}

.article-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    background: rgba(7, 29, 58, .8);
    font-size: .75rem;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #293746;
    overflow-wrap: break-word;
}

.article-body p {
    margin-bottom: 1.65rem;
}

.article-body h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 3rem 0 1.25rem;
    padding-top: .45rem;
    color: var(--sea-navy, #071d3a);
}

.article-body strong {
    font-weight: 700;
}

.article-body a {
    color: var(--sea-accent, #0876df);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-share a {
    color: var(--sea-blue, #073c65);
    font-size: 1.1rem;
}

.article-related img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.6 / 1;
    object-fit: cover;
    transition: opacity .3s ease;
}

.article-related a:hover img {
    opacity: .7;
}

.article-sidebar .sidebar-panel .article-title {
    font-size: 1.1rem;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .article-hero { aspect-ratio: 4 / 3; }
    .photo-label { font-size: .65rem; left: .5rem; bottom: .5rem; }
    .article-body {
        font-size: 1.0625rem;
        line-height: 1.85;
    }
}

.article-comments .comment-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #e5eef5;
    color: var(--sea-navy);
    font-size: 1.25rem;
}



.polly-slim-player .form-range::-webkit-slider-thumb {
    background-color: var(--sea-blue, #073c65);
}

.polly-slim-player .form-range::-moz-range-thumb {
    background-color: var(--sea-blue, #073c65);
}

.polly-slim-player .slim-play-btn:hover {
    opacity: .7;
}

.article-comments {
    font-size: .9375rem;
    line-height: 1.6;
}

.article-comments .comment-item {
    margin-bottom: 0 !important;
    padding-bottom: 1.5rem;
}

.article-comments > .comment-item + .comment-item {
    border-top: 1px solid #dce2e8;
    padding-top: 1.5rem;
}

.article-comments .comment-item .mb-2 p {
    margin-bottom: .5rem;
}

.article-comments .comment-reply-link {
    color: var(--sea-accent, #0876df);
    text-decoration: none;
    font-size: .875rem;
}

.article-comments .comment-item.depth-2,
.article-comments .comment-item.depth-3 {
    margin: 1rem 0 0 .5rem !important;
    padding: .25rem 0 .25rem 1rem;
    border-left: 1px solid #c8d9e7;
}

.comment-form .comment-form-cookies-consent {
    margin-bottom: 0;
}

.comment-form .form-submit {
    margin-top: 0;
    margin-bottom: 0;
}

.comment-pagination .page-numbers {
    display: inline-block;
    padding: .25rem .55rem;
    border: 1px solid #e0e8ee;
    border-radius: .25rem;
    color: var(--sea-navy);
    font-size: .8rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all .2s ease;
}

.comment-pagination a.page-numbers:hover {
    background: #eaf2f7;
    border-color: #c9dce7;
}

.comment-pagination .page-numbers.current {
    background: var(--sea-navy);
    border-color: var(--sea-navy);
    color: #fff;
}

.comment-pagination .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3rem;
}

.article-map {
    width: 100%;
    height: 500px;
    z-index: 0;
}

.article-map[hidden],
.article-map-toggle[hidden] {
    display: none !important;
}

.article-map .leaflet-popup-content {
    min-width: 150px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .article-map {
        height: 350px;
    }
}