/* --- Global Design System Overrides (Sharp Corners & Corporate Blue) --- */
:root {
    --accent-color: #0056D2;
    /* Corporate Blue */
}

/* ARCHIVE CARD HOVER EFFECTS */
.archive-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.archive-card-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.archive-card:hover .archive-card-img img {
    transform: scale(1.1);
}

.archive-card:hover .archive-card-overlay {
    opacity: 1;
}

.overlay-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.overlay-loc {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.8;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.1s;
}

.archive-card:hover .overlay-title,
.archive-card:hover .overlay-loc {
    transform: translateY(0);
}

/* Editorial Style Overrides */
.editorial-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    /* Reduced from 120px */
}

#detailTitle {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.detail-data-grid {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 24px 0;
    /* Reduced from 40px */
    margin: 30px 0;
    /* Reduced from 60px */
}

#detailDesc {
    white-space: pre-wrap;
    word-break: keep-all;
    line-height: 1.8;
    text-align: left;
}

/* Homepage Truncation Overrides */
#dataDesc,
.ba-desc {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    /* No newline preservation */
    text-overflow: ellipsis;
    line-height: 1.6;
}