/* ===== Page Header ===== */

.downloads-header {
    padding-top: 190px;
    padding-bottom: 100px;
    background: linear-gradient(150deg, #f0f9ff 0%, #eaf7eb 100%);
    position: relative;
    overflow: hidden;
}

.downloads-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300adef' fill-opacity='0.06' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.downloads-header-content {
    position: relative;
    z-index: 1;
}

.downloads-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 2.2rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 173, 239, 0.3);
}

.downloads-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.downloads-header .lead {
    font-size: 1.05rem;
    color: #666;
    max-width: 480px;
    margin: 0 auto;
}

/* ===== Downloads Grid ===== */

.downloads-grid {
    background-color: #f7f9fc;
    padding-top: 70px;
    padding-bottom: 100px;
}

/* ===== Brochure Card ===== */

.brochure-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.brochure-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

/* Thumbnail area */
.brochure-thumb {
    position: relative;
    width: 100%;
    padding-top: 72%;
    overflow: hidden;
    background: #f0f0f0;
}

.brochure-thumb a {
    position: absolute;
    inset: 0;
    display: block;
}

.brochure-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.brochure-card:hover .brochure-thumb img {
    transform: scale(1.04);
}

/* PDF badge */
.pdf-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(200, 35, 51, 0.88);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(4px);
}

/* Card body */
.brochure-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brochure-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #050315;
}

.brochure-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

/* Download button */
.brochure-btn {
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* ===== Empty State ===== */

.downloads-empty {
    padding: 80px 20px;
}

.downloads-empty-icon {
    width: 90px;
    height: 90px;
    background: rgba(0, 173, 239, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.downloads-empty h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.downloads-empty p {
    color: #777;
    max-width: 360px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .downloads-header {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .downloads-header h1 {
        font-size: 2rem;
    }

    .downloads-icon-wrap {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
        border-radius: 16px;
    }

    .downloads-grid {
        padding-top: 50px;
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .downloads-header h1 {
        font-size: 1.75rem;
    }
}

