.h2opr-section {
    --h2opr-blue: #293896;
    --h2opr-blue-dark: #202d7d;
    --h2opr-text: #252525;
    --h2opr-line: rgba(41, 56, 150, 0.16);
    width: 100%;
    max-width: 760px;
    margin: 0 auto !important;
    color: var(--h2opr-text);
    font-family: inherit;
}

/*
 * Plugin záměrně neurčuje velikosti písma ani řádkování.
 * Nadpisy, odstavce, odkazy a tlačítko tak přebírají typografii aktivní šablony.
 */
.h2opr-section-title {
    margin: 0 0 10px;
    color: var(--h2opr-blue);
}

.h2opr-section-intro {
    margin: 0 0 26px;
    max-width: 620px;
    color: #3f3f3f;
}

.h2opr-item {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--h2opr-line);
}

.h2opr-item.has-no-image {
    grid-template-columns: 1fr;
}

.h2opr-item-image {
    overflow: hidden;
    aspect-ratio: 1.55 / 1;
    background: #f1f2f6;
}

.h2opr-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h2opr-item-content {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.h2opr-item-date {
    display: block;
    margin: 0 0 7px;
    color: #4b4b4b;
}

/*
 * Vyšší specificita a !important u horního okraje brání tomu,
 * aby obecné styly nadpisů z aktivní šablony přidaly vlastní margin-top.
 */
.h2opr-section .h2opr-item-title {
    margin-top: 0 !important;
    margin-bottom: 9px;
    color: var(--h2opr-blue);
    font-size: 2.5rem;
}

.h2opr-item-title-link {
    color: inherit;
    text-decoration: none;
}

.h2opr-item-title-link:hover,
.h2opr-item-title-link:focus {
    color: var(--h2opr-blue-dark);
    text-decoration: underline;
}

.h2opr-item-excerpt {
    margin: 0 0 13px;
    color: #333;
}

.h2opr-item-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--h2opr-blue);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.h2opr-item-download:hover,
.h2opr-item-download:focus {
    color: var(--h2opr-blue-dark);
    text-decoration: underline;
}

.h2opr-arrow {
    transition: transform 0.18s ease;
}

.h2opr-item-download:hover .h2opr-arrow,
.h2opr-item-download:focus .h2opr-arrow {
    transform: translateX(3px);
}

.h2opr-more-wrap {
    margin-top: 30px;
    text-align: center;
}

.h2opr-more-button {
    min-width: 145px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--h2opr-blue);
    color: #fff;
    font: inherit;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.h2opr-more-button:hover,
.h2opr-more-button:focus {
    background: var(--h2opr-blue-dark);
    transform: translateY(-1px);
}

.h2opr-more-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.h2opr-message {
    margin: 10px 0 0;
    color: #a12622;
}

@media (max-width: 680px) {
    .h2opr-section {
        margin: 0 auto !important;
    }

    .h2opr-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 26px;
        margin-bottom: 26px;
    }

    .h2opr-item.has-no-image {
        grid-template-columns: 1fr;
    }

    .h2opr-item-image {
        aspect-ratio: 16 / 9;
    }
}
