/* ============================================================
   GelivableGlass / Downloads Page
   All selectors are scoped to .gel-downloads-page to avoid
   changes to other pages or the common header and footer.
   ============================================================ */

.gel-downloads-page {
    --gel-dl-accent: #279889;
    --gel-dl-accent-hover: #197b70;
    --gel-dl-ink: #1c3033;
    --gel-dl-muted: #64767b;
    --gel-dl-border: #e2ebeb;
    color: var(--gel-dl-ink);
    background: #fff;
}
.gel-downloads-page, .gel-downloads-page * { box-sizing: border-box; }
.gel-downloads-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ==================== PDF Downloads List ==================== */
.gel-downloads-section { padding: 56px 0 42px; }
.gel-downloads-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}
.gel-downloads-section-head h1 {
    margin: 0 0 10px;
    font-size: clamp(29px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--gel-dl-ink);
    line-height: 1.25;
}
.gel-downloads-section-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--gel-dl-muted);
}
.gel-downloads-format-note {
    padding: 8px 14px;
    border: 1px solid #d7eae6;
    border-radius: 30px;
    color: var(--gel-dl-accent-hover);
    background: #eef7f5;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}
.gel-downloads-list {
    border: 1px solid var(--gel-dl-border);
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
}
.gel-downloads-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 23px 25px;
    transition: background-color .2s ease;
}
.gel-downloads-item + .gel-downloads-item { border-top: 1px solid var(--gel-dl-border); }
.gel-downloads-item:hover { background: #fafdfc; }
.gel-downloads-file-icon {
    width: 58px;
    height: 62px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gel-dl-accent);
    background: #ecf7f4;
    border-radius: 10px;
}
.gel-downloads-file-icon svg { width: 28px; height: 34px; }
.gel-downloads-file-info { flex: 1 1 auto; min-width: 0; }
.gel-downloads-file-info h3 {
    margin: 0;
    color: var(--gel-dl-ink);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.gel-downloads-file-info h3 a { color: inherit; text-decoration: none; }
.gel-downloads-file-info h3 a:hover,
.gel-downloads-file-info h3 a:focus-visible { color: var(--gel-dl-accent-hover); }
.gel-downloads-file-description {
    margin: 5px 0 0;
    color: var(--gel-dl-muted);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.gel-downloads-file-description:empty { display: none; }
.gel-downloads-file-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 9px;
    color: #7b898e;
    font-size: 12px;
    line-height: 1.5;
}
.gel-downloads-meta-dot { width: 3px; height: 3px; background: #94a4a7; border-radius: 50%; }
.gel-downloads-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 139px;
    min-height: 45px;
    padding: 11px 19px;
    border: 1px solid var(--gel-dl-accent);
    border-radius: 7px;
    background: var(--gel-dl-accent);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color .2s ease, border-color .2s ease;
}
.gel-downloads-button:hover,
.gel-downloads-button:focus-visible {
    background: var(--gel-dl-accent-hover);
    border-color: var(--gel-dl-accent-hover);
    color: #fff;
    text-decoration: none;
}
.gel-downloads-file-info h3 a:focus-visible,
.gel-downloads-button:focus-visible,
.gel-downloads-contact-button:focus-visible {
    outline: 3px solid rgba(39, 152, 137, .3);
    outline-offset: 3px;
}
.gel-downloads-list-note {
    margin: 20px 0 0;
    color: var(--gel-dl-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ==================== Downloads Contact CTA ==================== */
.gel-downloads-support { padding: 0 0 77px; }
.gel-downloads-support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 38px;
    background: #f3f8f6;
    border: 1px solid #dfebe6;
    border-radius: 12px;
}
.gel-downloads-support-copy { min-width: 0; }
.gel-downloads-support h2 {
    margin: 0 0 9px;
    color: var(--gel-dl-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}
.gel-downloads-support p {
    max-width: 710px;
    margin: 0;
    color: var(--gel-dl-muted);
    font-size: 14px;
    line-height: 1.8;
}
.gel-downloads-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex: 0 0 auto;
    min-height: 45px;
    padding: 11px 19px;
    color: var(--gel-dl-accent-hover);
    background: #fff;
    border: 1px solid var(--gel-dl-accent);
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}
.gel-downloads-contact-button:hover,
.gel-downloads-contact-button:focus-visible {
    background: var(--gel-dl-accent);
    color: #fff;
    text-decoration: none;
}

/* ==================== Tablet ==================== */
@media (max-width: 900px) {
    .gel-downloads-section { padding: 46px 0 38px; }
    .gel-downloads-item { gap: 18px; padding: 20px; }
    .gel-downloads-support-inner { padding: 30px; }
}

/* ==================== Mobile ==================== */
@media (max-width: 640px) {
    .gel-downloads-container { width: calc(100% - 36px); }
    .gel-downloads-section { padding: 31px 0 32px; }
    .gel-downloads-section-head { display: block; margin-bottom: 19px; }
    .gel-downloads-section-head h1 { font-size: 28px; margin-bottom: 9px; }
    .gel-downloads-section-head p { font-size: 13px; }
    .gel-downloads-format-note { display: none; }
    .gel-downloads-item {
        display: grid;
        grid-template-columns: 47px minmax(0, 1fr);
        align-items: start;
        column-gap: 14px;
        row-gap: 15px;
        padding: 19px 16px;
    }
    .gel-downloads-file-icon { width: 47px; height: 53px; }
    .gel-downloads-file-icon svg { width: 25px; height: 32px; }
    .gel-downloads-file-info h3 { font-size: 14px; }
    .gel-downloads-file-description { font-size: 12px; }
    .gel-downloads-file-meta { font-size: 11px; }
    .gel-downloads-button { grid-column: 2; justify-self: start; min-width: 130px; min-height: 40px; padding: 9px 15px; font-size: 12px; }
    .gel-downloads-support { padding-bottom: 51px; }
    .gel-downloads-support-inner { display: block; padding: 24px 22px; }
    .gel-downloads-support h2 { font-size: 20px; }
    .gel-downloads-support p { font-size: 13px; }
    .gel-downloads-contact-button { margin-top: 20px; }
}
