/* =============================================================================
   Downloads Page Styles
   ============================================================================= */

.downloads-page {
    background: url('/wp-content/uploads/2026/06/CONTACT-BR.png') center center / cover no-repeat;
    min-height: 100vh;
    direction: rtl;
}

/* Downloads Section */
.downloads-section {
    padding: clamp(3rem, 6vw, 5rem) 24px;
}

.downloads-section__inner {
    max-width: min(1100px, 94vw);
    margin: 0 auto;
}

/* Header */
.downloads-header {
    text-align: right;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.downloads-header__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-blue-dark, #001A4D);
    margin: 0 0 12px;
}

.downloads-header__subtitle {
    font-size: 1.25rem;
    color: #3A5070;
    margin: 0;
}

/* Downloads List — single column of rows */
.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.downloads-list hr {
    border: none;
    border-top: 1px solid #b0bec5;
    margin: 0;
}

/* Outer row strip */
.download-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid #C5D8F0;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    min-height: 160px;
}

/* Description — left side of the row */
.download-card__description {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    font-size: 1.15rem;
    color: var(--color-blue-dark, #001A4D);
    line-height: 1.7;
    min-width: 0;
}

.download-card__description p {
    margin: 0;
}

/* Inner card panel — right side only */
.download-card__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 220px;
    background: #fff;
    border: 1.5px solid #C5D8F0;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: right;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.download-card__panel::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-teal, #2FC7B6), var(--color-blue-light, #1E71B5));
    border-radius: 0 14px 14px 0;
}

.download-card:hover .download-card__panel {
    box-shadow: 0 6px 22px rgba(0, 26, 77, 0.11);
    border-color: var(--color-teal, #2FC7B6);
}

/* PDF Icon — card panel within the row */
.download-card__icon {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 90px;
    padding: 16px 12px;
    background: #F7FAFF;
    border: 1.5px solid #C5D8F0;
    border-radius: 14px;
    font-size: 2.2rem;
    color: var(--color-blue-dark, #001A4D);
    box-shadow: 0 3px 12px rgba(0,26,77,0.10);
}

.download-card__icon::after {
    display: none;
}

/* Content — title + desc */
.download-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.download-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-blue-dark, #001A4D);
    margin: 0;
    line-height: 1.4;
}

.download-card__desc {
    font-size: 0.95rem;
    color: #3A5070;
    margin: 0;
    line-height: 1.5;
}

/* Download Button */
.download-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 9px 18px;
    background: var(--color-blue-dark, #001A4D);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.download-card__link:hover {
    background: var(--color-teal, #2FC7B6);
    color: #fff;
    transform: translateY(-1px);
}

.download-card__link i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 540px) {
    .downloads-section {
        padding: 2.5rem 16px;
    }

    .download-card {
        flex-wrap: wrap;
    }

    .download-card__link {
        margin-right: 0;
        margin-left: auto;
    }

    .downloads-header__title {
        font-size: 1.8rem;
    }

    .download-card__icon {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}
