.ocf-download,
.ocf-related {
    --ocf-blue: #2563eb;
    --ocf-blue-dark: #1d4ed8;
    --ocf-ink: #172033;
    --ocf-muted: #64748b;
    --ocf-line: #dfe6ef;
    --ocf-soft: #f6f9fc;
    box-sizing: border-box;
    color: var(--ocf-ink);
    font-family: inherit;
}

.ocf-download *,
.ocf-related * {
    box-sizing: border-box;
}

.ocf-download {
    display: grid;
    gap: 12px;
    margin: 28px 0;
    width: 100%;
}

.ocf-download__card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ocf-line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 35, 60, .06);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.ocf-download__summary {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.ocf-download__icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 13px;
    color: var(--ocf-blue);
    display: inline-flex;
    flex: 0 0 54px;
    height: 54px;
    justify-content: center;
}

.ocf-download__icon svg,
.ocf-download__button svg {
    fill: none;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 23px;
}

.ocf-download__meta {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ocf-download__eyebrow {
    color: #8491a6;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.ocf-download__filename {
    color: var(--ocf-ink);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.3;
}

.ocf-download__button {
    align-items: center;
    background: linear-gradient(135deg, var(--ocf-blue), var(--ocf-blue-dark));
    border: 0;
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: 700 14px/1 inherit;
    gap: 9px;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ocf-download__button:hover {
    box-shadow: 0 10px 24px rgba(37, 99, 235, .3);
    transform: translateY(-1px);
}

.ocf-download__button:focus-visible,
.ocf-download button:focus-visible,
.ocf-download a:focus-visible,
.ocf-related a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .3);
    outline-offset: 3px;
}

.ocf-download__button:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.ocf-download__progress {
    background: #edf1f7;
    bottom: 0;
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
}

.ocf-download__progress > span {
    background: linear-gradient(90deg, #60a5fa, var(--ocf-blue));
    display: block;
    height: 100%;
    transition: width .12s linear;
    width: 0;
}

.ocf-adblock-bait {
    height: 1px !important;
    left: -10000px !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -10000px !important;
    width: 1px !important;
}

.ocf-download__adblock,
.ocf-download__feedback {
    align-items: center;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.ocf-download__adblock[hidden],
.ocf-download__feedback[hidden],
.ocf-download__suggestions[hidden] {
    display: none !important;
}

.ocf-download__adblock {
    background: #fff9e8;
    border: 1px solid #f4c95d;
    color: #744b00;
}

.ocf-download__adblock strong {
    display: block;
    width: 100%;
}

.ocf-download__adblock button,
.ocf-download__feedback button,
.ocf-download__feedback a {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: 700 12px/1.2 inherit;
    padding: 10px 13px;
    text-decoration: none;
}

.ocf-download__adblock button {
    background: var(--ocf-blue);
    color: #fff;
}

.ocf-download__feedback {
    background: #effcf5;
    border: 1px solid #b5e8cd;
    color: #146b3a;
}

.ocf-download__feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ocf-download__feedback button {
    background: #ffe7e7;
    color: #c92a2a;
}

.ocf-download__feedback a {
    background: #e7efff;
    color: #244fc5;
}

.ocf-download__suggestions {
    background: var(--ocf-soft);
    border: 1px solid var(--ocf-line);
    border-radius: 15px;
    padding: 18px;
}

.ocf-download__suggestions > p {
    color: #8491a6;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .055em;
    margin: 0 0 13px;
    text-transform: uppercase;
}

.ocf-download__share {
    margin: 0;
    text-align: right;
}

.ocf-download__share a {
    border: 1px solid #e60023;
    border-radius: 8px;
    color: #d70021;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    text-decoration: none;
}

.ocf-related {
    border-top: 1px solid var(--ocf-line);
    margin-top: 36px;
    padding-top: 26px;
}

.ocf-related h2 {
    color: var(--ocf-ink);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.ocf-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ocf-card {
    background: #fff;
    border: 1px solid var(--ocf-line);
    border-radius: 13px;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ocf-card:hover {
    border-color: #8ab8ff;
    box-shadow: 0 9px 24px rgba(25, 50, 85, .1);
    transform: translateY(-2px);
}

.ocf-card__image {
    align-items: center;
    aspect-ratio: 4/3;
    background: #f2f5f9;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ocf-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ocf-card__placeholder {
    color: #a3adba;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ocf-card__badge {
    background: var(--ocf-blue);
    border-radius: 6px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 4px 7px;
    position: absolute;
    right: 9px;
    top: 9px;
}

.ocf-card__body {
    display: grid;
    gap: 8px;
    padding: 13px 14px 15px;
}

.ocf-card__body strong {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ocf-ink);
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
}

.ocf-card__body span {
    color: var(--ocf-muted);
    font-size: 12px;
    font-weight: 650;
}

.ocf-download-notice {
    background: #fff4e5;
    border: 1px solid #f2c078;
    border-radius: 8px;
    color: #754500;
    padding: 12px 14px;
}

@media (max-width: 700px) {
    .ocf-download {
        margin: 20px 0;
    }

    .ocf-download__card {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .ocf-download__button {
        width: 100%;
    }

    .ocf-download__feedback,
    .ocf-download__adblock {
        align-items: stretch;
        flex-direction: column;
    }

    .ocf-download__feedback-actions,
    .ocf-download__feedback button,
    .ocf-download__feedback a,
    .ocf-download__adblock button {
        text-align: center;
        width: 100%;
    }

    .ocf-card-grid {
        grid-template-columns: 1fr;
    }
}

