main {
    margin-top: 95px;
    padding-top: 40px;
}

.breadcrumbs {
    margin-bottom: 40px;
}

.breadcrumbs__item .breadcrumbs__link {
    color: var(--color-primary);
}

.breadcrumbs__separator,
.breadcrumbs__current {
    color: var(--color-shades-tertiary);
}


/* --- Image + title box -------------------------------------------------- */
.image-title-box {
    height: 65vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.image-title-box .cs-main-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-title-box .title-box {
    z-index: 1;
    width: 80%;
    padding: 32px;
    padding-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    background-color: var(--color-surface);
    box-shadow: 0 10px 40px -10px #0000001a;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.image-title-box .title-box .title h2 {
    font-size: 24px;
    color: var(--color-shades-primary);
    font-family: var(--font-primary);
    font-weight: var(--weight-medium);
    margin-bottom: 16px;
}

.image-title-box .title-box .title .caption {
    font-size: 16px;
    color: var(--color-shades-secondary);
    font-family: var(--font-primary);
    font-weight: var(--weight-regular);
    margin-bottom: 16px;
}

.image-title-box .tabs {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    overflow-x: scroll;
    /* Firefox */
    scrollbar-width: none;
    /* IE / old Edge */
    -ms-overflow-style: none;
}


/* Chrome, Safari, Edge (Chromium) */
.image-title-box .tabs::-webkit-scrollbar {
    display: none;
}


.image-title-box .tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-shades-quad);
    z-index: 0;
}

.image-title-box .tabs .tab {
    display: block;
    box-sizing: border-box;
    padding-inline: 4px;
    padding-bottom: 12px;
    font-size: 14px;
    color: var(--color-shades-tertiary);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.image-title-box .tabs .tab:not(.selected):active {
    color: var(--color-primary);
    transform: translateY(1px);
}


.image-title-box .tabs .tab.selected {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.tab-contents-wrapper {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--title-overhang);
}

.cs-text {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}



/* ==========================================================================
   News grid (used inside the news tab content of the conference profile)
   Duplicated from /css/pages/news/index.css so this page is self-contained
   ========================================================================== */

/* Embedded news-container inside the tab wrapper — no page-level top padding */
.news-container--embedded {
    padding-top: 0;
}


/* --- News grid ---------------------------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 64px;
    gap: 1px;
    background-color: transparent;
    transition: background-color 400ms ease;
}

.news-container.is-visible .news-grid {
    background-color: var(--color-shades-quad);
    transition-delay: 600ms;
}


/* --- Card --------------------------------------------------------------- */
.news-grid .news-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background-color: var(--color-surface);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

/* Placeholder cells fill incomplete rows so the grid bg doesn't show as gray */
.news-grid .news-card--placeholder {
    background-color: var(--color-surface);
    pointer-events: none;
}

/* Image with date pill */
.news-grid .news-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-grid .news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-grid .news-card:hover .news-card__image img {
    transform: scale(1.05);
}

/* Title — bold, up to two lines */
.news-grid .news-card__title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: var(--weight-medium);
    color: var(--color-shades-primary);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.news-grid .news-card:hover .news-card__title {
    color: var(--color-primary);
}

/* Caption — lighter, up to two lines */
.news-grid .news-card__caption {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: var(--weight-regular);
    color: var(--color-shades-tertiary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Date pill on the image */
.news-grid .news-card__date {
    position: absolute;
    bottom: 16px;
    right: 16px;
    height: 32px;
    width: 100px;
    background-image: url('/images/assets/date_background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: var(--weight-medium);
    color: var(--color-shades-primary);
    white-space: nowrap;
    z-index: 1;
}

/* Row-edge padding (3 columns): start flush right, end flush left */
.news-grid .news-card:nth-child(3n + 1) {
    padding-right: 0;
}

.news-grid .news-card:nth-child(3n) {
    padding-left: 0;
}


/* --- Cards stagger fade-up --------------------------------------------- */
.news-container .news-grid .news-card {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 600ms ease,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        color 0.25s ease;
    transition-delay: calc(var(--card-index, 0) * 70ms + 400ms);
}

.news-container.is-visible .news-grid .news-card {
    opacity: 1;
    transform: translateY(0);
}

/* Placeholders shouldn't animate */
.news-container .news-grid .news-card--placeholder {
    opacity: 1;
    transform: none;
    transition: none;
}


/* --- Loading / empty / error states for the tab content ----------------- */
.tab-loading,
.tab-empty,
.tab-error {
    width: 100%;
    padding: 64px 16px;
    text-align: center;
    color: var(--color-shades-secondary);
    font-family: var(--font-primary);
    font-size: 16px;
}

.tab-error {
    color: var(--color-error, #c93030);
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .news-container .news-grid .news-card {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


/* ==========================================================================
   Responsive (same breakpoints as the news index page)
   ========================================================================== */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        background-color: transparent;
    }

    .news-container.is-visible .news-grid {
        padding: 0;
        background-color: transparent;
    }

    .news-grid .news-card--placeholder {
        display: none;
    }

    .news-grid .news-card:nth-child(3n + 1),
    .news-grid .news-card:nth-child(3n),
    .news-grid .news-card:nth-child(2n + 1),
    .news-grid .news-card:nth-child(2n) {
        padding: 0;
    }
}


@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        background-color: transparent;
    }

    .news-grid .news-card {
        padding: 0;
        background-color: transparent;
    }

    .news-grid .news-card--placeholder {
        display: none;
    }

    .news-grid .news-card:nth-child(3n + 1),
    .news-grid .news-card:nth-child(3n),
    .news-grid .news-card:nth-child(2n + 1),
    .news-grid .news-card:nth-child(2n) {
        padding: 0;
    }

    .news-grid .news-card__title {
        font-size: 16px;
    }

    .news-grid .news-card__caption {
        font-size: 14px;
    }
}




/* ==========================================================================
   Exports grid (embedded — inside conference profile tab)
   Only layout / container-specific rules — card design comes from
   /css/components/export-card.css (loaded globally)
   ========================================================================== */

.export-container--embedded {
    padding-top: 0;
    width: 100%;
}

.export-section-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 24px;
    row-gap: 120px;
    padding-bottom: 56px;
    padding-top: 56px;
}

/* --- Cards stagger fade-up --------------------------------------------- */
.export-container .export-section-grid .export-card {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 600ms ease,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--card-index, 0) * 70ms + 200ms);
}

.export-container.is-visible .export-section-grid .export-card {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .export-section-grid {
        row-gap: 80px;
    }
}


/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .export-container .export-section-grid .export-card {
        transition: none;
        transform: none;
        opacity: 1;
    }
}












/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .image-title-box {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-bottom: 32px;
    }

    .image-title-box {
        height: 50vh;
    }

    .image-title-box .title-box {
        padding: 16px;
        padding-bottom: 0px;
    }

    .image-title-box .title-box .title h2 {
        font-size: 20px;
        font-weight: var(--weight-semibold);
        margin-bottom: 12px;
    }

    .image-title-box .title-box .title .caption {
        font-size: 14px;
        margin-bottom: 12px;
    }


}

@media (max-width: 640px) {
    .image-title-box {
        height: 40vh;
    }

}

@media (max-width: 465px) {
    .image-title-box {
        height: 40vh;
    }

    .image-title-box .title-box {
        width: 100%;
    }
}




/* ==========================================================================
   Docs / Manuscripts grid (used inside the docs tab content of the
   conference profile). Duplicated from the /manuscripts listing styles
   so this page is self-contained.
   ========================================================================== */

/* Embedded inside the tab wrapper — no page-level top padding */
.docs-manuscripts-container--embedded {
    padding-top: 0;
    width: 100%;
}

.docs-manuscripts-container--embedded .docs-manuscripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    column-gap: 32px;
    row-gap: 56px;
    padding-bottom: 56px;
}

/* --- Item --------------------------------------------------------------- */
.docs-manuscripts-container--embedded .docs-item {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.docs-manuscripts-container--embedded .docs-item .docs-img {
    width: 100%;
    position: relative;
    display: block;
}

.docs-manuscripts-container--embedded .docs-item .docs-img ._bg {
    width: 290px;
    height: 408px;
    display: block;
    position: relative;
    z-index: 1;
    background-image: url('/images/assets/documents_manuscripts_bg.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.docs-manuscripts-container--embedded .docs-item .docs-img ._img {
    width: 257px;
    height: 376px;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 2;
}

.docs-manuscripts-container--embedded .docs-item .docs-img ._img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    --cut: 8px;
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0,
            calc(100% - var(--cut)) var(--cut), 100% var(--cut),
            100% calc(100% - var(--cut)),
            calc(100% - var(--cut)) calc(100% - var(--cut)),
            calc(100% - var(--cut)) 100%, var(--cut) 100%,
            var(--cut) calc(100% - var(--cut)), 0 calc(100% - var(--cut)),
            0 var(--cut), var(--cut) var(--cut));
}

.docs-manuscripts-container--embedded .docs-item .docs-img ._img::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 262px;
    height: 381px;
    background-image: url('/images/assets/documents_manuscripts_frame.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
    pointer-events: none;
}

.docs-manuscripts-container--embedded .docs-item .docs-title {
    font-size: 20px;
    font-weight: var(--weight-medium);
    color: var(--color-shades-primary);
    width: 100%;
    text-align: center;
    padding-inline: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: calc(1.6em * 2);
}


/* --- Hover & active (lift only, no scaling) ----------------------------- */
.docs-manuscripts-container--embedded .docs-item .docs-img,
.docs-manuscripts-container--embedded .docs-item .docs-title {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.25s ease;
}

.docs-manuscripts-container--embedded .docs-item:hover .docs-img {
    transform: translateY(-6px);
}

.docs-manuscripts-container--embedded .docs-item:hover .docs-title {
    color: var(--color-primary);
}

.docs-manuscripts-container--embedded .docs-item:active .docs-img {
    transform: translateY(-2px);
}


/* --- Items stagger fade-up --------------------------------------------- */
.docs-manuscripts-container--embedded .docs-item {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 600ms ease,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--item-index, 0) * 80ms + 300ms);
}

.docs-manuscripts-container--embedded.is-visible .docs-item {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Responsive — docs grid inside tab content
   ========================================================================== */

@media (max-width: 768px) {
    .docs-manuscripts-container--embedded .docs-manuscripts-grid {
        grid-template-columns: repeat(auto-fill, 144px);
        column-gap: 16px;
        row-gap: 32px;
        justify-content: center;
    }

    .docs-manuscripts-container--embedded .docs-item {
        width: 144px;
    }

    .docs-manuscripts-container--embedded .docs-item .docs-img {
        width: 144px;
        height: 207px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .docs-manuscripts-container--embedded .docs-item .docs-img ._bg {
        width: 138px;
        height: 195px;
        background-image: url('/images/assets/documents_manuscripts_bg_small.svg');
    }

    .docs-manuscripts-container--embedded .docs-item .docs-img ._img {
        width: 123px;
        height: 180px;
    }

    .docs-manuscripts-container--embedded .docs-item .docs-img ._img img {
        --cut: 4px;
    }

    .docs-manuscripts-container--embedded .docs-item .docs-img ._img::after {
        width: 125px;
        height: 182px;
        background-image: url('/images/assets/documents_manuscripts_frame_small.svg');
    }

    .docs-manuscripts-container--embedded .docs-item .docs-title {
        font-size: 14px;
        padding-inline: 5px;
    }
}


/* ==========================================================================
   Reduced motion (docs section)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .docs-manuscripts-container--embedded .docs-item,
    .docs-manuscripts-container--embedded .docs-item .docs-img,
    .docs-manuscripts-container--embedded .docs-item .docs-title {
        transition: none;
        transform: none;
        opacity: 1;
    }
}











/* ==========================================================================
   Conference images gallery (tab content)
   ========================================================================== */

.cs-images-container--embedded {
    width: 100%;
    padding-top: 0;
}

.cs-images-container--embedded .cs-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

/* --- Image cell --------------------------------------------------------- */
.cs-image-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    padding: 0;
    background-color: var(--color-surface-lower);
    cursor: pointer;
    border-radius: 8px;
}

.cs-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle zoom on hover */
.cs-image-item:hover img {
    transform: scale(1.05);
}

/* Active press feedback */
.cs-image-item:active {
    transform: scale(0.99);
}

/* --- Items stagger fade-up --------------------------------------------- */
.cs-images-container--embedded .cs-image-item {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 500ms ease,
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--item-index, 0) * 50ms + 200ms);
}

.cs-images-container--embedded.is-visible .cs-image-item {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .cs-images-container--embedded .cs-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .cs-images-container--embedded .cs-image-item,
    .cs-image-item img {
        transition: none;
        transform: none;
        opacity: 1;
    }
}













/* ==========================================================================
   Lightbox (duplicated from news profile)
   ========================================================================== */

.light-box {
    display: none;
}

.light-box.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-box.open .overlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    background-color: rgba(24, 24, 27, 0.98);
    z-index: 1000;
}

.light-box.open .overlay .lightbox-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.light-box.open .overlay .lightbox-image-box {
    width: 90%;
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-box.open .lightbox-image-box .lightbox-main-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.light-box.open .lightbox-image-box .lightbox-main-img.active {
    opacity: 1;
    visibility: visible;
}

.light-box.open .lightbox-image-box .lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    background-color: rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.light-box.open .lightbox-image-box .lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.light-box.open .lightbox-image-box .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    background-color: rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.light-box.open .lightbox-image-box .lightbox-nav-btn--prev {
    right: 12px;
}

.light-box.open .lightbox-image-box .lightbox-nav-btn--next {
    left: 12px;
}

.light-box.open .lightbox-image-box .lightbox-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.light-box.open .overlay .lightbox-nav {
    width: 90%;
    flex-shrink: 0;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-height: 30vh;
    overflow-y: auto;
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb {
    position: relative;
    width: 125px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb img {
    width: 100%;
    display: block;
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    transition: background-color 0.2s ease;
    pointer-events: none;
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb:hover::after {
    background-color: rgba(0, 0, 0, 0.25);
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb.active {
    border-color: #fff;
}

.light-box.open .overlay .lightbox-nav .lightbox-thumb.active::after {
    background-color: transparent;
}

@media (max-width: 1024px) {
    .light-box.open .overlay .lightbox-nav .lightbox-thumb {
        width: 110px;
    }
}

@media (max-width: 768px) {
    .light-box.open .overlay .lightbox-nav .lightbox-thumb {
        width: 100px;
    }

    .light-box.open .overlay .lightbox-nav {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .light-box.open .overlay .lightbox-nav {
        gap: 8px;
        justify-content: center;
        max-height: 28vh;
    }

    .light-box.open .overlay .lightbox-nav .lightbox-thumb {
        width: calc(25% - 6px);
    }
}

@media (max-width: 420px) {
    .light-box.open .overlay .lightbox-nav .lightbox-thumb {
        width: calc(33.333% - 6px);
    }
}