/* ==========================================
   Minimalist Brochures List Page Styles
   ========================================== */

/* Downloads Section - Sits directly below the fixed header */
.downloads-section {
    padding-top: clamp(6.5rem, 12vw, 8.5rem);
    padding-bottom: var(--section-padding-y);
    min-height: 55vh;
}

/* Minimalist Brochure List - Full width to match container */
.minimal-brochure-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
}

/* Minimalist List Item */
.minimal-brochure-item {
    background: var(--color-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    padding: 0.625rem 0.75rem 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.minimal-brochure-item:hover {
    border-color: rgba(var(--rgb-brand-primary), 0.4);
    background-color: rgba(255, 255, 255, 0.02);
}

/* Normal Font Size for Brochure Title */
.brochure-title {
    font-size: var(--text-base); /* 1rem / 16px normal font size */
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
    word-break: break-word;
}

/* Compact Download Button - Aligned to right border */
.minimal-brochure-item .btn-download {
    margin-left: auto !important; /* Force tight alignment to the right border */
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    font-size: var(--text-xs) !important; /* 0.75rem compact text */
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0 !important;
    width: 6rem !important; /* Compact width */
    min-width: 0 !important;
    max-width: 6rem !important;
    height: 1.75rem !important; /* Sleek height */
    min-height: 0 !important;
    border-radius: 0.25rem !important;
    background: var(--color-brand-primary) !important;
    color: #0b0b0b !important;
    border: 1px solid var(--color-brand-primary) !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.minimal-brochure-item .btn-download:hover {
    background: #47d675 !important;
    border-color: #47d675 !important;
    color: #0b0b0b !important;
    box-shadow: 0 2px 8px rgba(var(--rgb-brand-primary), 0.3);
}

.minimal-brochure-item .btn-download:focus-visible {
    outline: 2px solid var(--color-brand-primary);
    outline-offset: 2px;
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 768px) {
    .minimal-brochure-item {
        padding: 0.875rem 1rem;
    }

    .minimal-brochure-item .btn-download {
        width: 6rem !important;
    }
}
