:root {
    --scrollbar-width: 6px;
    --scrollbar-track-color: rgba(237, 20, 112, 0.08);
    --scrollbar-thumb-color: rgba(237, 20, 112, 0.4);
    --scrollbar-thumb-hover: #ED1470;
    --scrollbar-border-radius: 10px;
}

/* Custom Variable Scrollbar Indicator */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

.custom-scrollbar::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color);
    border-radius: var(--scrollbar-border-radius);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-color);
    border-radius: var(--scrollbar-border-radius);
    transition: background 0.2s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Main Archive Section & Container */
.archive-section {
    background-color: #FFFFFF;
    padding: 50px 0 100px 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    min-height: 100vh;
}

/* Background Murals Layer & Sticky Containers */
.archive-murals-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.archive-mural-sticky {
    position: -webkit-sticky;
    position: sticky;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.archive-mural-sticky.top-right {
    top: 0;
}

.archive-mural-sticky.bottom-left {
    top: 100vh;
}

/* Background Murals on Section */
.archive-section-mural {
    position: absolute;
    pointer-events: none;
}

.archive-section-mural.mural-top-right {
    top: 0;
    right: -3.5px;
    width: 182px;
    height: auto;
    object-fit: contain;
    transform-origin: top right;
    transform: rotate(-90deg) scaleY(-1);
}

.archive-section-mural.mural-bottom-left {
    bottom: 0;
    left: -36px;
    width: 320px;
    max-width: 40vw;
    height: auto;
    object-fit: contain;
    object-position: bottom left;
    opacity: 0.08;
    transform: scaleX(-1);
}

.archive-container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Controls Header (Search & Expandable Filter Bar) */
.archive-controls-wrapper {
    margin-bottom: 36px;
    position: relative;
    z-index: 10;
}

.archive-filters-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.archive-search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 420px;
}

.archive-search-box .search-icon {
    position: absolute;
    left: 18px;
    color: #212529;
    pointer-events: none;
    background: transparent;
    z-index: 2;
}

.archive-search-box input {
    height: 44px;
    width: 100%;
    border-radius: 100px;
    border: 1px solid #212529;
    padding: 10px 20px 10px 46px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #212529;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive-search-box input:focus {
    border-color: #ED1470;
    box-shadow: 0 0 0 3px rgba(237, 20, 112, 0.12);
}

.archive-search-box input::placeholder {
    color: rgba(33, 37, 41, 0.45);
}

/* Expandable Filter Toggle Button (E-commerce Pattern) */
.archive-filter-toggle-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    background: #FFFFFF;
    border: 1.5px solid #212529;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    cursor: pointer;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.archive-filter-toggle-btn:focus,
.archive-filter-toggle-btn:focus-visible,
.archive-filter-toggle-btn:active {
    outline: none !important;
    box-shadow: none;
}

.archive-filter-toggle-btn:hover {
    border-color: #ED1470;
    color: #ED1470;
    background: #FFF5F8;
}

.archive-filter-toggle-btn.active,
.archive-filter-toggle-btn.active:focus,
.archive-filter-toggle-btn.active:focus-visible {
    background: #ED1470;
    border-color: #ED1470;
    color: #FFFFFF;
    outline: none !important;
}

.archive-filter-toggle-btn .filter-icon {
    transition: transform 0.2s ease;
}

.archive-filter-toggle-btn .chevron-icon {
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.archive-filter-toggle-btn.active .chevron-icon {
    transform: rotate(180deg);
}

.archive-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ED1470;
    color: #FFFFFF;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.archive-filter-toggle-btn.active .archive-filter-badge {
    background: #FFFFFF;
    color: #ED1470;
}

/* Filter Button Container & Popup Overlay (Right Aligned, One Down the Other) */
.archive-filter-btn-container {
    position: relative;
    display: inline-block;
}

.archive-filter-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-width: 90vw;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16), 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    animation: filterPopupFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes filterPopupFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive-filter-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.archive-filter-popup-title {
    font-size: 15px;
    color: #111827;
    margin: 0;
}

.archive-filter-popup-close {
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.archive-filter-popup-close:hover {
    color: #111827;
}

/* Vertical Stack (One Down the Other) */
.archive-filter-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.archive-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.archive-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.archive-filter-label .mandatory-indicator {
    color: #ED1470;
    font-weight: 700;
    margin-left: 2px;
}

.archive-filter-control {
    position: relative;
    width: 100%;
}

/* Date Range Inputs */
.archive-date-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.archive-date-input {
    height: 38px;
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 25px;
    padding: 6px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #1F2937;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.archive-date-input:focus {
    border-color: #ED1470;
}

.archive-date-input:disabled {
    background-color: #F3F4F6;
    border-color: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.65;
}

.archive-date-inputs .date-sep {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #9CA3AF;
    white-space: nowrap;
}

/* Filter Popup Footer (Tags & Reset) */
.archive-filter-popup-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
}

.archive-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.archive-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1F5;
    border: 1px solid #FCE7F3;
    color: #BE185D;
    padding: 4px 10px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
}

.archive-filter-tag strong {
    font-weight: 700;
    color: #9D174D;
}

.archive-filter-tag .tag-remove-btn {
    background: transparent;
    border: none;
    color: #BE185D;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease;
}

.archive-filter-tag .tag-remove-btn:hover {
    color: #831843;
}

.btn-clear-filters {
    background: transparent;
    border: 1px solid #D1D5DB;
    color: #6B7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.btn-clear-filters:focus {
    outline: none;
}

.btn-clear-filters:hover {
    background: #FFF1F5;
    border-color: #ED1470;
    color: #ED1470;
}

/* Select2 Custom Select within Filter Popup */
.archive-filter-popup .select2-container {
    width: 100% !important;
}

.archive-filter-popup .select2-container--default .select2-selection--single {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 30px 0 12px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 25px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    outline: none !important;
}

.archive-filter-popup .select2-container--default .select2-selection--single:hover,
.archive-filter-popup .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #ED1470;
    box-shadow: 0 0 0 3px rgba(237, 20, 112, 0.1);
}

.archive-filter-popup .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 36px;
    color: #1F2937 !important;
    padding-left: 0;
    padding-right: 10px;
}

.archive-filter-popup .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-filter-popup .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6B7280 transparent transparent transparent;
    border-width: 5px 4px 0 4px;
    margin-left: -4px;
    margin-top: -2px;
}

.archive-filter-popup .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ED1470 transparent;
    border-width: 0 4px 5px 4px;
    margin-left: -4px;
    margin-top: -2px;
}

.archive-filter-popup .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9CA3AF !important;
}

/* Select2 Searchable Dropdown Popup Styling */
.select2-container--default .select2-dropdown.press-select2-dropdown {
    border-radius: 12px;
    border: 1px solid #efefef;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin-top: 5px;
    overflow: hidden;
    z-index: 1050;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-search--dropdown {
    padding: 8px 12px;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-search__field:focus {
    border-color: #ED1470;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-results__option {
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #fff0f3;
    color: #ED1470;
}

.select2-container--default .select2-dropdown.press-select2-dropdown .select2-results__option[aria-selected=true] {
    background-color: #ED1470;
    color: #ffffff;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #ffffff;
}

/* ==========================================================================
   Archive Cards Grid
   ========================================================================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.archive-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px;
    gap: 20px;
    min-height: 444.84px;
    background: #FFFFFF;
    border: 1px solid rgba(237, 20, 112, 0.25);
    box-shadow: 0 4px 4px rgba(237, 20, 112, 0.05);
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.archive-card:hover,
.archive-card:focus {
    background: #FFEAF1;
    border-color: #FFEAF1;
    box-shadow: 0 4px 12px rgba(237, 20, 112, 0.25);
    text-decoration: none !important;
    color: inherit !important;
}

.archive-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.archive-card-domain {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #ED1470;
}

.archive-card-title {
    font-style: normal;
    font-weight: 700;
    font-size: 24px !important;
    line-height: 29px;
    color: #004891;
    margin: 0;
    word-break: break-word;
}

.archive-card-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.archive-card-label {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 0;
}

.archive-card-label.donor-label {
    color: #212529;
}

.archive-card-donor-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.archive-card-donor-logo {
    max-width: 148.91px;
    max-height: 68.84px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.archive-card-donor-name {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

.archive-card-text {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 0;
    word-break: break-word;
}

/* Locations wrapper with inline 2-line clamp and inline more/hide button */
.archive-card-locations-wrapper {
    width: 100%;
    position: relative;
}

.archive-card-locations-text {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 0;
    word-break: break-word;
}

.archive-locations-toggle-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    margin-left: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: inherit;
    color: #ED1470;
    cursor: pointer;
    text-decoration: underline;
    display: inline;
    position: relative;
    z-index: 5;
    outline: none !important;
    vertical-align: baseline;
    transition: color 0.15s ease;
}

.archive-locations-toggle-btn:focus,
.archive-locations-toggle-btn:focus-visible,
.archive-locations-toggle-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.archive-locations-toggle-btn:hover {
    color: #004891;
}

.archive-card-duration-section {
    padding-right: 48px;
}

/* Bottom Right Card Arrow Indicator */
.archive-card-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ED1470;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.archive-card:hover .archive-card-arrow {
    transform: translateX(4px);
}

.archive-card-arrow svg {
    transition: transform 0.2s ease;
}

.archive-no-results {
    font-size: 16px;
    color: #666666;
    width: 100%;
}



/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1199px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .archive-section-mural.mural-top-right {
        width: 250px;
    }

    .archive-section-mural.mural-bottom-left {
        width: 320px;
    }
}

@media (max-width: 767px) {
    .archive-section {
        padding: 30px 0 60px 0;
    }

    .archive-controls-wrapper {
        margin-bottom: 24px;
    }

    .archive-filters-bar {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }

    .archive-search-box {
        max-width: none;
        flex: 1;
    }

    .archive-search-box input {
        width: 100%;
        font-size: 13px;
        height: 40px;
    }

    .archive-filter-toggle-btn {
        height: 40px;
        padding: 0 16px;
        font-size: 13px;
    }

    button.archive-filter-toggle-btn:focus {
        outline: none !important;
    }

    .archive-filter-popup {
        width: 300px;
        right: 0;
        padding: 16px;
        border-radius: 12px;
    }

    .archive-filter-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-clear-filters {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .archive-card {
        min-height: auto;
        padding: 20px;
        gap: 16px;
    }

    .archive-card-duration-section {
        padding-right: 40px;
    }

    .archive-card-arrow {
        right: 18px;
        bottom: 18px;
        width: 32px;
        height: 32px;
    }

    .archive-card-title {
        font-size: 20px !important;
        line-height: 25px;
    }

    .archive-card-donor-content {
        min-height: auto;
    }

    .archive-section-mural.mural-top-right {
        top: 20px;
        width: 220px;
        opacity: 0.6;
        transform-origin: top right;
        transform: rotate(-90deg) scaleY(-1);
    }

    .archive-section-mural.mural-bottom-left {
        width: 200px;
        opacity: 0.6;
    }
}

/* ==========================================================================
   Archive Details Dedicated Page Styles
   ========================================================================== */

.archive-detail-section {
    padding: 80px;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 250px);
}

.archive-detail-murals-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.archive-detail-mural.mural-top-left {
    position: absolute;
    top: 56px;
    left: -60px;
    width: 182px;
    height: auto;
    opacity: 0.85;
    pointer-events: none;
    transform: rotate(270deg);
}

.archive-detail-container {
    position: relative;
    z-index: 2;
}

.archive-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column: Frame 876 */
.archive-detail-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

/* Frame 821 */
.archive-detail-domain-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.archive-domain-pill {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    gap: 10px;
    min-height: 28px;
    background: #ED1470;
    border-radius: 20px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.archive-domain-pill:hover,
.archive-domain-pill:focus {
    background: #ed1470;
    color: #FFFFFF;
    text-decoration: none !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

/* Precision Health Platform Title */
.archive-detail-title {
    width: 100%;
    font-weight: 700;
    font-size: 32px !important;
    line-height: 39px !important;
    color: #000000 !important;
    margin: 10px 0 20px 0 !important;
    word-break: break-word;
}

.archive-detail-meta-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 100%;
}

.archive-detail-meta-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.archive-detail-meta-row strong {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
}

.archive-detail-meta-row span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    flex: 1;
    min-width: 0;
}

/* Dividers */
.archive-detail-divider {
    width: 100%;
    height: 0px;
    border: 0;
    border-top: 1px solid #909090;
    margin: 8px 0;
}

/* Project Summary */
.archive-detail-section-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
    width: 100%;
}

.archive-detail-section-heading {
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.archive-detail-summary-text {
    width: 100%;
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #000000 !important;
    margin: 0 !important;
}

/* Donor / Partner */
.archive-detail-partner-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0px;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.archive-detail-partner-link {
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.archive-detail-partner-link:hover {
    text-decoration: none;
}

.archive-detail-partner-logo-box,
.archive-detail-partner-name-box {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    max-height: 100px;
    max-width: 100%;
    flex: 0 0 200px;
    padding: 1.25rem;
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.archive-detail-partner-logo-box {
    padding: 0;
    text-align: center;
}

.archive-detail-partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.archive-detail-partner-link:hover .archive-detail-partner-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.archive-detail-partner-name-box {
    background-color: #E6F0FA;
    flex-direction: column;
    text-align: center;
    word-break: break-word;
}

a.archive-detail-partner-name-box:hover,
.archive-detail-partner-link:hover .archive-detail-partner-name-box {
    background-color: #E6F0FA;
    opacity: 0.95;
    transform: translateY(-2px);
}

a.archive-detail-partner-logo-box:hover,
.archive-detail-partner-link:hover .archive-detail-partner-logo-box {
    opacity: 0.95;
    transform: translateY(-2px);
}

.archive-detail-partner-name {
    font-weight: 700 !important;
    color: #004891 !important;
    word-break: break-word;
    text-align: center;
    transition: color 0.2s ease;
}

.archive-detail-partner-link:hover .archive-detail-partner-name {
    color: #004891;
}

/* Frame 874, Frame 838, Frame 836: Project Reports */
.archive-detail-reports-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.archive-report-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    gap: 10px;
    width: 208px;
    min-height: 151.78px;
    background: #FFFFFF;
    border: 1px solid #ED1470;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.archive-report-card:hover {
    transform: translateY(-3px);
    background: #FFF5F8;
    text-decoration: none !important;
    color: #ED1470 !important;
}

.archive-report-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-report-title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #000000;
    word-break: break-word;
    max-width: 185px;
}

/* RIGHT COLUMN: Map Card & Stats */
.archive-detail-right {
    position: sticky;
    top: 90px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.archive-detail-map-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #ED1470;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
}

.archive-map-svg-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 540 / 600;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    margin: 0 auto;
}

.archive-map-svg-wrapper svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    overflow: visible;
}

.archive-map-svg-wrapper svg path {
    transition: fill 0.25s ease;
}

.archive-map-svg-wrapper svg path[data-active="true"]:hover {
    opacity: 0.9;
}

/* Map Tooltip */
.archive-map-tooltip,
.map-tooltip {
    position: fixed;
    z-index: 99999;
    padding: 8px 12px;
    background: #ffffff;
    color: #2b2b2b;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -120%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
    white-space: normal !important;
    width: max-content;
    max-width: 320px !important;
    word-break: normal;
    overflow-wrap: break-word;
}

.archive-map-tooltip.show,
.map-tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.archive-map-tooltip strong,
.map-tooltip strong {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2b2b2b !important;
    display: inline-block !important;
    margin-bottom: 2px;
}

.archive-map-tooltip span,
.map-tooltip span {
    display: inline-block;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Stat Cards overlay at bottom right */
.archive-map-stat-cards {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-map-stat-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 14px;
    gap: 4px;
    background: #FFEAF1;
    border: 1px solid #ED1470;
    border-radius: 12px;
    width: 135px;
    transition: transform 0.2s ease;
}

.archive-map-stat-number {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #ED1470 !important;
    margin: 0 !important;
}

.archive-map-stat-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: #000000 !important;
}

.archive-map-stat-title img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Responsive Media Queries for Archive Details */
@media (max-width: 1199px) {
    .archive-detail-section {
        padding: 50px 30px 80px 30px;
    }

    .archive-detail-grid {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 28px;
    }

    .archive-detail-title {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    .archive-detail-map-card {
        max-width: 400px;
        padding: 16px;
    }

    .archive-map-svg-wrapper {
        max-width: 340px;
    }

    .archive-map-svg-wrapper svg {
        max-height: 380px;
    }

    .archive-map-stat-cards {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .archive-map-stat-card {
        padding: 10px 12px;
        width: 125px;
    }

    .archive-map-stat-number {
        font-size: 24px !important;
    }

    .archive-map-stat-title {
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .archive-detail-section {
        padding: 40px 24px 70px 24px;
    }

    .archive-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .archive-detail-left {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .archive-detail-right {
        position: static;
        width: 100%;
        height: auto;
        align-items: center;
    }

    .archive-detail-map-card {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        height: auto;
        min-height: auto;
        padding: 20px;
    }

    .archive-map-svg-wrapper {
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 540 / 600;
        margin: 0 auto;
    }

    .archive-map-svg-wrapper svg {
        width: 100%;
        height: 100%;
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .archive-detail-section {
        padding: 30px 16px 60px 16px !important;
    }

    .archive-detail-mural.mural-top-left {
        display: none;
    }

    .archive-detail-grid {
        gap: 32px;
    }

    .archive-domain-pill {
        font-size: 14px !important;
        line-height: 18px !important;
        padding: 4px 10px;
    }

    .archive-detail-title {
        font-size: 24px;
        line-height: 30px;
        margin: 8px 0 16px 0 !important;
    }

    .archive-detail-meta-list {
        gap: 12px;
    }

    .archive-detail-divider {
        margin: 6px 0 !important;
    }

    .archive-detail-meta-row {
        font-size: 14.5px !important;
        line-height: 20px !important;
    }

    .archive-detail-meta-row strong {
        font-size: 14.5px !important;
        line-height: 20px !important;
    }

    .archive-detail-meta-row span {
        font-size: 14.5px !important;
        line-height: 20px !important;
    }

    .archive-detail-summary-text {
        font-size: 14.5px !important;
        line-height: 22px !important;
    }

    .archive-detail-map-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 20px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        border-radius: 16px !important;
    }

    .archive-map-svg-wrapper {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        aspect-ratio: 540 / 600 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .archive-map-svg-wrapper svg {
        width: 100% !important;
        height: 100% !important;
        max-height: 340px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .archive-map-stat-cards {
        position: static !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .archive-map-stat-card {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: 160px !important;
        padding: 12px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 12px !important;
    }

    .archive-map-stat-number {
        font-size: 26px !important;
        line-height: 1 !important;
        margin-bottom: 2px !important;
    }

    .archive-map-stat-title {
        font-size: 13px !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    .archive-map-stat-title img {
        width: 18px !important;
        height: 18px !important;
    }

    .archive-detail-reports-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .archive-report-card {
        flex: 1 1 calc(50% - 6px) !important;
        width: auto !important;
        min-height: 130px !important;
        padding: 14px 10px !important;
    }

    .archive-report-icon-box {
        width: 36px !important;
        height: 36px !important;
    }

    .archive-report-icon-box svg {
        width: 36px !important;
        height: 36px !important;
    }

    .archive-report-title {
        font-size: 13px !important;
        line-height: 16px !important;
    }
}