﻿/* Kill layout padding and margin globally for homepage */
article.content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.page-content {
    padding: 1.5rem;
}

.lg-disable-zoom-on-video .lg-video-cont {
    pointer-events: none;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1rem;
    max-width: 1200px;
    margin: auto;
    box-sizing: border-box;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

video {
    width: 100%;
    max-height: 360px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: #444;
    max-width: 90%;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .video-embed iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

h1, h2, h3, h4, h5, h6 {
    color: #3a3a3a !important;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
}

.form-check-label {
    margin-left: 0.5em;
    font-size: 1.2em;
}

.homepage-intro {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    color: #333;
}

.text-wolf {
    color: #2e5e4e;
    font-weight: bold;
}

.admin-menu {
    position: relative;
}

    .admin-menu .flyout-menu {
        position: static;
        display: none;
        flex-direction: column;
        padding-left: 1.2rem;
        background: none;
    }

    .admin-menu:hover .flyout-menu {
        display: flex;
    }

.alert-text-strong {
    font-size: 1.1rem;
    display: inline-block;
    font-weight: bold;
}

.blockquote-quote {
    font-size: 1.6rem;
}

.text-quote {
    font-size: 1.45rem;
}

.custom-fact-alert {
    background-color: #343a40;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.emoji {
    font-size: 1.5rem;
    margin-right: 0px;
    vertical-align: middle;
}

.did-you-know {
    font-size: 1.5rem;
    display: inline-block;
    font-weight: bold;
}

.fact-text {
    font-size: 1.05rem;
    color: #ffffff;
    margin-top: 0px;
    margin-left: 5px;
}

.fact-link {
    color: #17a2b8;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
}

    .fact-link:hover {
        text-decoration: underline;
    }

.text-big {
    font-size: 1.2rem;
}

.alert-custom-info {
    background-color: #dad2c5;
    border-color: #dad2c5;
    color: #055160;
}

.assistant-message-text img {
    display: block;
    width: 100% !important;
    height: auto;
    max-width: 100%;
    object-fit: contain !important;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.chat-header-spacer {
    height: 15rem;
}

@media (max-width: 600px) {
    .chat-header-spacer {
        height: 160px;
    }
}

.wolf-paw-icon {
    pointer-events: none;
    opacity: 0.85;
}

.map-container {
    height: 100%;
    width: 100%;
}

.map-wrapper {
    height: calc(100vh - 180px);
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

.map-title {
    transition: text-shadow 0.3s ease;
    cursor: default;
}

    .map-title:hover {
        text-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
    }

.tip-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1rem;
    flex: 1 1 350px;
}

.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.video-modal-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 1rem;
}

.video-player {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.video-caption {
    color: #fff;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

.video-actions {
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .video-modal-container {
        max-width: 100vw;
        max-height: 95vh;
        padding: 0.5rem;
    }

    .video-player {
        max-width: 100vw;
        max-height: 70vh;
        aspect-ratio: 16 / 9;
    }

    .video-caption {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }

    .video-actions {
        margin-top: 0.25rem;
    }
}

@keyframes scanline {
    0% {
        top: 10%;
        opacity: 0;
    }

    50% {
        top: 50%;
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .page-content > .container-fluid {
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }
}

.weather-widget {
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 0.5rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(4px);
}

    .weather-widget small {
        font-size: 100%;
    }

.weather-widget-scale {
    transform-origin: top right;
    transition: transform 0.3s ease;
    transform: scale(1) translateY(0);
}

@media (max-width: 992px) {
    .weather-widget-scale {
        transform: scale(0.70) translateY(0) !important;
    }
}

@media (max-width: 600px) {
    .weather-widget-scale {
        transform: scale(0.55) translateY(-10px) !important;
    }
}

.homepage-hero-container {
    margin: 0 !important;
    padding: 0 !important;
}

.homepage-hero-wrapper {
    position: relative;
    background-color: #111;
    margin: 0;
    padding: 0;
    z-index: 1;
    overflow: hidden;
}

.homepage-hero {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.breathing-img {
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.continue-button {
    margin-top: 1rem;
    background-color: #444;
    color: #eee;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .continue-button:hover {
        background-color: #666;
    }

.delay-1 {
    transition-delay: 0.5s;
}

.delay-2 {
    transition-delay: 1.5s;
}

.delay-3 {
    transition-delay: 3s;
}

.delay-4 {
    transition-delay: 5s;
}

.delay-9 {
    transition-delay: 9s;
}

.narrative-text p {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #333;
    line-height: 1.7;
}

.highlight-phrase {
    font-size: 1.1rem;
    color: #ccc;
    transition: all 0.4s ease;
}

    .highlight-phrase:hover {
        color: #fff;
        font-weight: bold;
    }

.pswp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

    .pswp-gallery a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }

    .pswp-gallery img {
        display: block;
    }

.thumb-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

.js .photo-fallback {
    display: none;
}

.no-js .photo-fallback {
    display: block;
}

.book-title {
    font-family: Georgia, serif;
    font-weight: normal;
}

/* Book store badges */
.store-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    align-items: center;
    justify-items: center;
}

    .store-badges a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 8px 10px;
        border-radius: 8px;
        background-color: transparent;
        transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    }

        .store-badges a:hover {
            transform: translateY(-2px);
            background-color: rgba(0, 0, 0, 0.04);
            box-shadow: 0 2px 4px rgba(0,0,0,0.06);
        }

.store-badge {
    height: 35px;
    max-width: 100%;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .store-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem 1.5rem;
        align-items: center;
        justify-content: center;
    }

        .store-badges a {
            width: auto;
        }
}

.bio-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.thinbreak {
    display: block;
    height: 0;
    margin: 0.15rem 0;
}

.story-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.featured-badge {
    background-color: #f8f1d5;
    color: #6b5800;
    border: 1px solid #e7d58d;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.featured-card {
    border: 2px solid rgba(231, 213, 141, 0.6);
    box-shadow: 0 0.35rem 0.8rem rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .featured-card:hover {
        border-color: rgba(231, 213, 141, 0.9);
        box-shadow: 0 0.55rem 1.1rem rgba(0,0,0,0.12);
    }

.story-cover-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= */
/* STORY LAYOUT (EDITORIAL) */
/* ========================= */

.story-layout {
    position: relative;
    background: linear-gradient( to right, transparent 0, transparent 760px, transparent 820px, rgba(0, 0, 0, 0.02) calc(100% - 20px), rgba(0, 0, 0, 0.02) 100% );
}

.story-main {
    max-width: 760px;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.28);
    border-right: 3px solid rgba(0, 0, 0, 0.45);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.55), 2px 0 8px rgba(0, 0, 0, 0.04);
}

.story-summary {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1b2427;
    font-style: italic;
    padding-left: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    border-left: 3px solid rgba(27, 36, 39, 0.35);
    opacity: 0.95;
}

.story-content {
    margin: 0;
}

    .story-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 1.5rem 0;
        border-radius: 0.5rem;
    }

    .story-content p,
    .story-content li {
        line-height: 1.75;
    }

    .story-content h2,
    .story-content h3,
    .story-content h4 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

/* ========================= */
/* MOBILE: disable layout FX */
/* ========================= */

@media (max-width: 991px) {
    .story-layout {
        background: none;
    }

    .story-main {
        padding: 0;
        background: transparent;
        border-right: none;
        box-shadow: none;
    }
}

.story-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .story-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

.story-clickable-card {
    cursor: pointer;
}

.stories-virtualized-list {
    width: 100%;
}

.story-virtual-row {
    min-height: 430px;
    margin-bottom: 1.5rem;
}

.story-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.story-virtual-row .card {
    height: 100%;
    min-height: 406px;
}

.story-card-placeholder {
    min-height: 406px;
}

@media (max-width: 991.98px) {
    .story-virtual-row {
        min-height: 860px;
    }

        .story-virtual-row .card {
            min-height: 406px;
        }
}

.admin-story-cover-preview {
    max-width: 720px;
    height: auto;
}

.admin-story-card-preview {
    width: min(100%, 480px);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.admin-story-thumb-preview {
    width: min(100%, 320px);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.story-crop-editor-shell {
    width: min(100%, 720px);
}

.story-crop-editor {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    background: #111;
    touch-action: none;
    cursor: grab;
    user-select: none;
}

    .story-crop-editor.dragging {
        cursor: grabbing;
    }

    .story-crop-editor img {
        position: absolute;
        top: 0;
        left: 0;
        will-change: transform;
        max-width: none;
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
    }

.story-content p,
.story-content .estratto,
.story-content .romanzo,
.story-content .note,
.story-content .fieldwork,
.story-content .citation {
    text-wrap: pretty;
}

.story-content .estratto,
.story-content .romanzo,
.story-content .note,
.story-content .fieldwork,
.story-content .citation {
    margin: 2rem 0;
}

/* ----------------------------- */
/* EXTRACT */
/* ----------------------------- */

.story-content .estratto {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.8;
    background: #faf8f4;
    border-left: 4px solid #8a7f73;
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    border-radius: 0.35rem;
}

    .story-content .estratto::before {
        content: "";
        display: block;
        margin-bottom: 0.75rem;
    }

    .story-content .estratto p {
        margin-bottom: 0.75rem;
        text-indent: 1.4em;
    }

        .story-content .estratto p:first-of-type {
            text-indent: 0;
        }

/* ----------------------------- */
/* NOVEL */
/* ----------------------------- */

.story-content .romanzo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 46rem;
    color: #2f2f2f;
    padding-right: 1.2rem;
    position: relative;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

    .story-content .romanzo::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0.5rem;
        bottom: 0.5rem;
        width: 3px;
        background: #e0ddd8;
    }

    .story-content .romanzo p {
        margin-bottom: 0.8rem;
        text-indent: 1.6em;
    }

        .story-content .romanzo p:first-of-type {
            text-indent: 0;
        }

            .story-content .romanzo p:first-of-type::first-letter {
                float: left;
                font-size: 2.9rem;
                line-height: 0.9;
                padding-right: 0.08em;
                padding-top: 0.05em;
                font-weight: 550;
            }

/* ----------------------------- */
/* NOTE */
/* ----------------------------- */

.story-content .note {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #4b4b4b;
    background: #f8f9fb;
    border-left: 3px solid #b8c0cc;
    padding: 1rem 1.1rem;
    border-radius: 0.35rem;
}

    .story-content .note::before {
        content: "Nota dell’autore";
        display: block;
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #6b7280;
        margin-bottom: 0.55rem;
        font-weight: 600;
    }

    .story-content .note p:last-child {
        margin-bottom: 0;
    }

/* ----------------------------- */
/* FIELDWORK */
/* ----------------------------- */

.story-content .fieldwork {
    font-size: 1rem;
    line-height: 1.75;
    background: #f6f5ef;
    border: 1px solid #dfdbcc;
    padding: 1rem 1.1rem;
    border-radius: 0.35rem;
    color: #38362f;
}

    .story-content .fieldwork::before {
        content: "Osservazione sul campo";
        display: block;
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #6f6a5d;
        margin-bottom: 0.55rem;
        font-weight: 600;
    }

    .story-content .fieldwork p:last-child {
        margin-bottom: 0;
    }

/* ----------------------------- */
/* CITATION */
/* ----------------------------- */

.story-content .citation {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #3f3f46;
    border-left: 4px solid #c7ccd6;
    padding: 0.85rem 0 0.85rem 1rem;
    margin-left: 0.25rem;
}

    .story-content .citation::before {
        content: "Riferimento";
        display: block;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #727784;
        margin-bottom: 0.45rem;
        font-weight: 600;
    }

    .story-content .citation p:last-child {
        margin-bottom: 0;
    }

/* ----------------------------- */
/* MOBILE */
/* ----------------------------- */

@media (max-width: 767.98px) {
    .story-content .estratto,
    .story-content .romanzo,
    .story-content .note,
    .story-content .fieldwork,
    .story-content .citation {
        margin: 1.5rem 0;
    }

    .story-content .estratto {
        padding: 1.1rem 1rem 0.95rem 1rem;
        font-size: 1rem;
        line-height: 1.75;
    }

    .story-content .romanzo {
        font-size: 1rem;
        line-height: 1.8;
        max-width: 100%;
        padding-right: 0.9rem;
        text-align: left;
        hyphens: none;
    }

        .story-content .romanzo::after {
            width: 2px;
            background: #e6e2dc;
            top: 0.4rem;
            bottom: 0.4rem;
        }

        .story-content .romanzo p:first-of-type::first-letter {
            font-size: 2.6rem;
        }

    .story-content .note,
    .story-content .fieldwork,
    .story-content .citation {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.story-share {
    margin-top: 2.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d9d6cf;
    color: #5b5b5b;
    background: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.18s ease;
}

    .share-btn:hover {
        background: #f4f3ef;
    }

        .share-btn:hover .fa-whatsapp {
            color: #25D366;
        }

        .share-btn:hover .fa-facebook {
            color: #1877F2;
        }

        .share-btn:hover .fa-instagram {
            color: #e1306c;
        }

        .share-btn:hover .fa-x-twitter {
            color: #000;
        }

        .share-btn:hover .fa-envelope {
            color: #666;
        }

        .share-btn:hover .fa-link {
            color: #444;
        }

.story-inline {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2.2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.rss-link {
    margin-left: 8px;
    text-decoration: none;
}

    .rss-link i {
        color: #f26522;
        font-size: 0.6em;
        position: relative;
        top: -0.35em;
    }

    .rss-link:hover i {
        color: #d35400;
    }

.footer-social {
    color: #6c757d;
    margin: 0 0.4rem;
    font-size: 0.95rem;
    text-decoration: none;
}

    .footer-social:hover {
        color: #6c757d;
        opacity: 0.7;
    }

.story-video-container {
    width: 100%;
    margin: 1.5rem 0;
}

    .story-video-container video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

.book-availability-page {
    max-width: 900px;
    margin: 0 auto;
}

.book-availability-header .lead {
    max-width: 760px;
}

.availability-section {
    margin-top: 2rem;
}

.physical-store-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.physical-store-item {
    padding: 1rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    background: #fff;
}

.availability-notes {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

    .availability-notes li {
        margin-bottom: 0.5rem;
    }

        .availability-notes li:last-child {
            margin-bottom: 0;
        }

.buy-link {
    font-weight: 600;
    color: #4da3ff;
    text-decoration: none;
}

    .buy-link:hover {
        text-decoration: underline;
    }

.topbar-login-link {
    color: #9aa0a6;
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.85;
}

    .topbar-login-link:hover {
        text-decoration: underline;
        opacity: 1;
    }

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.top-row a.topbar-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
}

    .top-row a.topbar-cta-link:hover {
        color: #fff !important;
        text-decoration: none !important;
    }

    .top-row a.topbar-cta-link span:last-child {
        border-bottom: 1px solid transparent;
        line-height: 1.1;
    }

    .top-row a.topbar-cta-link:hover span:last-child {
        border-bottom-color: currentColor;
    }

.topbar-cta-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.top-row a.topbar-login-link {
    color: #d0d0d0 !important;
    text-decoration: none;
}

    .top-row a.topbar-login-link:hover {
        color: #fff !important;
        text-decoration: underline;
    }

.availability-section-physical {
    margin-top: 1.25rem;
}

.gallery-glifo {
    font-size: 1.65em;
    /*margin-right: 0.10em;*/
    vertical-align: 0.08em;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    opacity: 0.95;
}

.gallery-note {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.45;
}

.bookshop-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1.2rem;
}

.romanzo-title {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.35rem;
    margin-top: 2.2rem;
    margin-bottom: 1.8rem;
    color: #2f2f2f;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

    .cta-buttons .btn {
        min-width: 170px;
    }


.prime-pages-cover {
    max-width: 180px;
}

.prime-pages-intro {
    max-width: 38rem;
}

@media (max-width: 767.98px) {
    .prime-pages-cover {
        max-width: 220px;
        width: 75%;
    }

    .prime-pages-intro {
        font-size: 1.05rem;
        line-height: 1.55;
    }
}

.press-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.press-card {
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.06);
}

    .press-card h3 {
        margin-top: 0.4rem;
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

    .press-card p {
        margin-bottom: 1rem;
    }

.press-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.press-source {
    font-weight: 600;
}

.press-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.press-type {
    font-size: 0.85rem;
    color: #6c757d;
}

.press-author {
    font-size: 0.85rem;
    color: #6c757d;
}

.author-contact-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #f7f4ef;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-overlay-title {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    z-index: 5;
    padding: 0.55rem 1.2rem;
    background: rgba(0, 0, 0, 0.42);
    color: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

@media (max-width: 600px) {
    .hero-overlay-title {
        bottom: 0.45rem;
        max-width: 86%;
        padding: 0.38rem 0.75rem;
        font-size: 0.78rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .hero-overlay-prefix {
        display: none;
    }
}

.hero-overlay-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

    .hero-overlay-link:hover {
        color: inherit;
        text-decoration: underline;
        opacity: 0.92;
    }

.topbar-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .topbar-pill-link:hover {
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-1px);
    }

    .topbar-pill-link .topbar-cta-icon {
        line-height: 1;
    }

.press-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}

.press-main-column {
    min-width: 0;
}

.press-side-column {
    position: sticky;
    top: 6rem;
}

.press-side-box {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.25rem;
    padding: 1.35rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

    .press-side-box h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

.press-kit-box {
    border-color: rgba(255, 255, 255, 0.26);
}

.press-side-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
    .press-two-columns {
        grid-template-columns: 1fr;
    }

    .press-side-column {
        order: -1;
        position: static;
    }
}

.home-event-banner {
    margin-top: 0;
    padding: 1.25rem 0 0;
}

.home-event-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.home-event-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.home-event-card h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 0.35rem;
}

.home-event-card p {
    margin-bottom: 0;
    color: var(--bs-secondary-color);
}

.home-event-actions {
    flex: 0 0 auto;
}

.home-event-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.5rem 0 0.65rem;
}

.home-event-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.78rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.26);
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

    .home-event-pill:hover,
    .home-event-pill:focus {
        color: #ffffff;
        background: #0d6efd;
        border-color: #0d6efd;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 0.35rem 0.9rem rgba(13, 110, 253, 0.22);
    }

    .home-event-pill:visited {
        color: #0d6efd;
    }

        .home-event-pill:visited:hover,
        .home-event-pill:visited:focus {
            color: #ffffff;
        }

.home-event-pill-featured {
    color: #ffffff;
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0.25rem 0.7rem rgba(13, 110, 253, 0.22);
}

    .home-event-pill-featured:hover,
    .home-event-pill-featured:focus {
        color: #ffffff;
        background: #0b5ed7;
        border-color: #0a58ca;
    }

    .home-event-pill-featured:visited {
        color: #ffffff;
    }

@media (max-width: 767.98px) {
    .home-event-card {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 1rem;
    }

    .home-event-actions .btn {
        width: 100%;
    }
}

.notes-placeholder::placeholder {
    color: var(--bs-secondary-color, #6c757d);
    font-style: italic;
    opacity: 1;
}

.prime-pages-event-banner {
    padding-top: 0;
    margin-bottom: 1.5rem;
}

.press-recognition-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1.5rem;
    background: #f7f3ec;
    border: 1px solid rgba(90, 70, 45, 0.18);
}

.press-recognition-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.press-recognition-content h2 {
    margin-top: 0.35rem;
}

.press-recognition-content blockquote {
    margin: 1.25rem 0 0;
    padding-left: 1rem;
    border-left: 4px solid #8b6f3d;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #3b3328;
}

@media (max-width: 900px) {
    .press-recognition-hero {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
}

.presentation-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

.presentation-header {
    width: 100%;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.presentation-kicker {
    max-width: 780px;
    margin: 0 auto 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    opacity: 0.75;
}

.presentation-header h1 {
    max-width: 780px;
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.presentation-subtitle {
    width: 100%;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.85;
}

.presentation-frame-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

    .presentation-frame-container:fullscreen {
        width: 100vw;
        height: 100vh;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .presentation-frame-container:-webkit-full-screen {
        width: 100vw;
        height: 100vh;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

.presentation-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #111;
}

.presentation-loader {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: radial-gradient(circle at center, rgba(72, 64, 54, 0.95), rgba(17, 17, 17, 0.98));
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
    animation: presentation-loader-auto-hide 12s ease forwards;
}

.presentation-loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.presentation-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: presentation-spin 0.9s linear infinite;
}

.presentation-loader-text {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    opacity: 0.9;
}

@keyframes presentation-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes presentation-loader-auto-hide {
    0% {
        opacity: 1;
        visibility: visible;
    }

    92% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.presentation-ms-controls-cover {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 20;
    width: 360px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    background: linear-gradient( to left, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0) );
    pointer-events: auto;
}

.presentation-cover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 104px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(47, 42, 36, 0.96);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

    .presentation-cover-button:hover {
        color: #fff;
        opacity: 0.92;
    }

.presentation-exit-label {
    display: none;
}

.presentation-frame-container:fullscreen .presentation-open-label {
    display: none;
}

.presentation-frame-container:fullscreen .presentation-exit-label {
    display: inline;
}

.presentation-frame-container:-webkit-full-screen .presentation-open-label {
    display: none;
}

.presentation-frame-container:-webkit-full-screen .presentation-exit-label {
    display: inline;
}

.presentation-note {
    width: 100%;
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .presentation-page {
        padding-top: 2rem;
    }

    .presentation-frame-container {
        border-radius: 12px;
    }

    .presentation-ms-controls-cover {
        width: 300px;
        height: 64px;
        padding-right: 10px;
    }

    .presentation-cover-button {
        height: 34px;
        min-width: 92px;
        padding: 0 0.8rem;
        font-size: 0.76rem;
    }

    .presentation-spinner {
        width: 38px;
        height: 38px;
    }

    .presentation-loader-text {
        font-size: 0.86rem;
    }
}

@media (max-width: 480px) {
    .presentation-ms-controls-cover {
        width: 240px;
        height: 58px;
    }

    .presentation-cover-button {
        font-size: 0.72rem;
    }
}