.c3-downloads {
    --c3-downloads-border: #8994a5;
    color: var(--e-global-color-primary, #17243f);
    font-family: var(--e-global-typography-text-font-family, sans-serif), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 18px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: var(--e-global-typography-text-line-height, 1.5);
}

.c3-downloads__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--c3-downloads-border);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.c3-downloads__summary::-webkit-details-marker {
    display: none;
}

.c3-downloads__caret {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 max(16px, var(--c3-downloads-icon-size, 6px));
    width: max(16px, var(--c3-downloads-icon-size, 6px));
    min-height: 16px;
}

.c3-downloads__caret-icon {
    display: block;
    flex: 0 0 auto;
    width: var(--c3-downloads-icon-size, 6px);
    line-height: 0;
    transition: transform 280ms ease;
}

.c3-downloads__caret-icon svg {
    display: block;
    width: 100%;
    height: auto;
    fill: currentColor;
}

.c3-downloads__panel[open] > .c3-downloads__summary .c3-downloads__caret-icon {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .c3-downloads__caret-icon {
        transition: none;
    }
}

.c3-downloads__files {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
    margin: 0;
    padding: 32px 0;
    list-style: none;
}

.c3-downloads__file {
    display: grid;
    grid-template-columns: minmax(72px, 32%) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.c3-downloads__preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.c3-downloads__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.c3-downloads__file-icon {
    position: relative;
    display: block;
    width: 64px;
    height: 80px;
    color: var(--e-global-color-primary, #17243f);
}

.c3-downloads__file-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.c3-downloads__file-icon span {
    position: absolute;
    inset: 32px 6px auto;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
}

.c3-downloads__info {
    min-width: 0;
    overflow-wrap: anywhere;
}

.c3-downloads__title {
    margin: 0 0 12px;
    color: inherit;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.c3-downloads__description,
.c3-downloads__meta {
    margin: 0 0 12px;
}

.c3-downloads__description > :last-child {
    margin-bottom: 0;
}

.c3-downloads__button.elementor-button {
    display: inline-block;
    max-width: 100%;
    padding: 12px 24px;
    border-radius: 0;
    background-color: var(--e-global-color-accent, #c0183c);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.c3-downloads__button.elementor-button:is(:hover, :focus-visible) {
    background-color: var(--e-global-color-primary, #17243f);
    color: #fff;
}

.c3-downloads__summary:focus-visible,
.c3-downloads__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .c3-downloads__files {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 24px;
    }

    .c3-downloads__file {
        grid-template-columns: minmax(64px, 25%) minmax(0, 1fr);
        gap: 16px;
    }
}
