/*
 * 50 Page downloads.
 * Purpose: page-only styling for /downloads/ document-library cards.
 * Scope: rules stay under .dmax-downloads-* wrappers loaded only for page ID 5894.
 */

.dmax-downloads-hero {
    background: #ffffff;
}

.dmax-downloads-hero .kt-row-column-wrap {
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}

.dmax-downloads-intro {
    font-size: clamp(1.08rem, 1.2vw, 1.2rem);
    line-height: 1.65;
    color: var(--global-palette5, #1f2937);
}


.dmax-downloads-actions {
    margin: 24px 0 0;
}

.dmax-downloads-button,
.dmax-downloads-button:visited {
    background: #105493;
    border-color: #105493;
    color: #ffffff;
}

.dmax-downloads-button:hover,
.dmax-downloads-button:focus-visible {
    background: #084785;
    border-color: #084785;
    color: #ffffff;
}

.dmax-downloads-button-light,
.dmax-downloads-button-light:visited {
    background: #ffffff;
    border-color: #ffffff;
    color: #105493;
}

.dmax-downloads-button-light:hover,
.dmax-downloads-button-light:focus-visible {
    background: #f1f5f9;
    border-color: #f1f5f9;
    color: #084785;
}

.dmax-downloads-section {
    background: #f4f7fb;
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 64px);
}

.dmax-downloads-section + .dmax-downloads-section {
    padding-top: 0;
}


.single-content h2.dmax-downloads-group-title, .dmax-downloads-group-title {
    margin: 0 0 22px;
    padding: 14px 18px;
    background: #1c305c;
    line-height: 1.35;
    text-transform: none;
    font-family: inherit;
    letter-spacing: normal;
}

/* Card Styling & Interaction */
.dmax-downloads-card {
    min-width: 0;
    transition: transform 0.2s ease;
}

.dmax-downloads-card:hover {
    transform: translateY(-2px);
}

.dmax-downloads-card .kt-inside-inner-col {
    box-shadow: 0 10px 25px rgba(8, 38, 60, 0.04);
    transition: box-shadow 0.2s ease;
}

.dmax-downloads-card:hover .kt-inside-inner-col {
    box-shadow: 0 15px 35px rgba(8, 38, 60, 0.08);
}

.dmax-downloads-card h3 {
    margin: 0 0 14px;
    color: var(--global-palette1, #105493);
    font-size: 1.125rem;
    line-height: 1.25;
}

.dmax-downloads-card p,
.dmax-downloads-card li {
    color: var(--global-palette5, #1f2937);
    font-size: 0.94rem;
    line-height: 1.5;
}

.dmax-downloads-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dmax-downloads-card a {
    color: #105493;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.dmax-downloads-card a:hover,
.dmax-downloads-card a:focus-visible {
    color: #083e6e;
}

.dmax-downloads-cta {
    background: #20305e;
}

.dmax-downloads-cta .kt-row-column-wrap {
    align-items: center;
}

/* CTA action column alignments using both custom class and unique block ID for safety */
.dmax-downloads-cta-action .kt-inside-inner-col,
.kadence-columndownloads-cta-action .kt-inside-inner-col {
    display: flex;
    justify-content: flex-end;
}

.dmax-downloads-cta-action .dmax-downloads-actions,
.kadence-columndownloads-cta-action .dmax-downloads-actions {
    margin-top: 0;
}

@media (max-width: 767px) {
    .dmax-downloads-group-title {
        margin-bottom: 16px;
    }

    .dmax-downloads-cta-action .kt-inside-inner-col,
    .kadence-columndownloads-cta-action .kt-inside-inner-col {
        justify-content: flex-start;
    }
}
