.akcii-page:has(.promo-card) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 348px));
    gap: 24px;
    grid-auto-rows: 1fr;
    margin: 24px 0 36px;
}
.promo-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e3dbd2;
    box-shadow: 0 8px 24px #33271e12;
}
.promo-card .promo-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #332b26;
    text-decoration: none;
}
.promo-card__link:focus-visible { outline: 3px solid #805530; outline-offset: -4px; }
.promo-card__media {
    display: grid;
    position: relative;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: radial-gradient(ellipse at 24% 18%, #f4e7d9, #d9c4ae);
}
.promo-card__placeholder { color: #69482f; font-size: 24px; font-weight: 650; letter-spacing: .16em; }
.promo-card__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.promo-card__image[hidden] { display: none; }
.promo-card__image:not([src]), .promo-card__image[src=""] { display: none; }
.promo-card__info { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 18px 20px; }
.promo-card__title { font-size: 18px; font-weight: 650; line-height: 1.35; }
.promo-card__more { margin-top: auto; color: #774620; font-weight: 650; font-size: 14px; }
.promo-card__link:hover .promo-card__more { text-decoration: underline; }

.promo-dialog:not([open]) { display: none; }
.promo-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(860px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    border: 0;
    border-radius: 18px;
    padding: clamp(16px, 4vw, 32px);
    background: #faf7f3;
    color: #332b26;
    box-shadow: 0 16px 64px #0005;
}
.promo-dialog::backdrop { background: #1a1411ba; }
.promo-dialog__heading { display: flex; gap: 12px; align-items: flex-start; }
.promo-dialog__heading h2 { margin: 0; flex: 1; font-size: clamp(19px, 3vw, 27px); line-height: 1.25; color: inherit; }
.promo-dialog__heading button {
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eee5db;
    color: inherit;
    font-size: 25px;
    cursor: pointer;
}
.promo-dialog__body { margin-top: 18px; font-size: 16px; line-height: 1.55; }
.promo-dialog__body > div { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.promo-dialog__body a[href="/akczii/#call-akcii"] {
    display: inline-block;
    border-radius: 8px;
    padding: 10px 16px;
    color: #fff;
    background: #583d2b;
    text-decoration: none;
}
@media (max-width: 580px) {
    .promo-dialog__body > div { grid-template-columns: minmax(0, 1fr); }
    .promo-dialog__body img { max-width: 210px !important; margin-inline: auto; }
}

@media (max-width: 580px) {
    .akcii-page:has(.promo-card) { grid-template-columns: minmax(0, 348px); }
}

.promo-card .promo-card__title,
.promo-dialog .promo-dialog__heading h2,
.promo-detail h1,
.promo-dialog__body strong,
.promo-detail strong {
    font-family: MontserratBold, Arial, sans-serif;
    font-weight: 400;
}
.promo-card .promo-card__more,
.promo-dialog__body ul li,
.promo-dialog__body ol li,
.promo-detail ul li,
.promo-detail ol li,
.promo-dialog__body p,
.promo-detail p {
    font-family: MontserratMedium, Arial, sans-serif;
    font-weight: 400;
}
