/* Jednotný průvodce rozměry bannerů (partner stránka + admin) */
.banner-specs-guide {
    margin-top: 2.5rem;
    --banner-green: #087b3c;
}

.banner-specs-guide__head {
    margin-bottom: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 24px;
    background: linear-gradient(125deg, #eaf7ef, #f7faf8 75%);
    border: 1px solid #dceee2;
}

.banner-specs-guide__hero-icon,
.banner-specs-guide__slot-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: #fff;
    color: var(--banner-green);
    font-size: 1.6rem;
    box-shadow: 0 6px 20px -12px #087b3c66;
}

.banner-specs-guide__requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.25rem 0 0;
}
.banner-specs-guide__requirement {
    padding: 18px;
    background: #f6f9f7;
    border: 1px solid #e7eee9;
    border-radius: 16px;
    min-width: 0;
}
.banner-specs-guide__requirement:last-child { grid-column: 1 / -1; }
.banner-specs-guide__requirement dt { display: flex; align-items: center; gap: 10px; color: #243d30; font-size: 0.92rem; }
.banner-specs-guide__requirement dd { margin: 12px 0 0; color: #526259; font-size: 0.88rem; line-height: 1.7; }
.banner-specs-guide__requirement-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; background: #e3f1e9; color: var(--banner-green); border-radius: 9px; font-size: 1rem; }
.banner-specs-guide__slot-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.banner-specs-guide__slot-head > div { min-width: 0; }
.banner-specs-guide__slot-icon { background: #eaf6ef; width: 48px; height: 48px; font-size: 1.35rem; box-shadow: none; border-radius: 14px; }
.banner-specs-guide__dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.banner-specs-guide__dimensions > div { padding: 17px 20px; border: 1px solid #dceee2; background: #f0f8f3; border-radius: 14px; min-width: 0; }
.banner-specs-guide__dimensions > div + div { background: #f7f9fc; border-color: #e4eaf1; }
.banner-specs-guide__dimensions span { display: flex; align-items: center; gap: 8px; color: #53675b; font-size: 0.76rem; font-weight: 600; }
.banner-specs-guide__dimensions strong { display: block; margin-top: 7px; font-size: clamp(1.05rem, 2vw, 1.4rem); color: #173e28; font-weight: 850; letter-spacing: -0.03em; }
.banner-specs-guide__block-title > i { color: var(--banner-green); margin-right: 5px; }

.banner-specs-guide__title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--fl-text-dark);
    margin: 0 0 0.65rem;
}

.banner-specs-guide__lead {
    margin: 0;
    max-width: 46rem;
    color: #475569;
    line-height: 1.65;
    font-size: 0.95rem;
}

.banner-specs-guide__block,
.banner-specs-guide__slot {
    margin-bottom: 1.75rem;
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    box-shadow: 0 16px 36px -32px rgba(15, 23, 42, 0.18);
}

.banner-specs-guide__block-title,
.banner-specs-guide__slot-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--fl-text-dark);
    margin: 0 0 0.85rem;
    line-height: 1.35;
}

.banner-specs-guide__slot-num {
    color: var(--banner-green);
    margin-right: 0.5rem;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.banner-specs-guide__slot-where {
    margin: 0 0 0.85rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.banner-specs-guide__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.banner-specs-guide__table th,
.banner-specs-guide__table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    vertical-align: top;
    text-align: left;
}

.banner-specs-guide__table thead th {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
}

.banner-specs-guide__table tbody th[scope="row"] {
    width: 34%;
    font-weight: 700;
    color: #334155;
    background: rgba(248, 250, 252, 0.65);
}

.banner-specs-guide__table tbody td {
    color: #475569;
    line-height: 1.55;
}

.banner-specs-guide__table tbody tr:last-child > * { border-bottom: 0; }
.banner-specs-guide__table--summary td:nth-child(2) { font-weight: 700; color: #173e28; white-space: nowrap; }
.banner-specs-guide__slot { scroll-margin-top: 150px; }

.banner-specs-guide__table--summary tbody th[scope="row"] {
    width: 28%;
}

.banner-specs-guide--admin .banner-specs-guide__title {
    font-size: 1.35rem;
}

.banner-specs-guide--admin .banner-specs-guide__block,
.banner-specs-guide--admin .banner-specs-guide__slot {
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .banner-specs-guide__head { padding: 1.25rem; gap: 14px; }
    .banner-specs-guide__hero-icon { width: 42px; height: 42px; font-size: 1.25rem; border-radius: 13px; }
    .banner-specs-guide__requirements { grid-template-columns: 1fr; }
    .banner-specs-guide__block, .banner-specs-guide__slot { padding: 1.15rem; }
    .banner-specs-guide__dimensions > div { padding: 14px 12px; }
    .banner-specs-guide__table tbody th[scope="row"],
    .banner-specs-guide__table--summary tbody th[scope="row"] {
        width: 42%;
    }
}

@media (max-width: 420px) {
    .banner-specs-guide__head { flex-direction: column; }
    .banner-specs-guide__dimensions { grid-template-columns: 1fr; }
    .banner-specs-guide__slot-head { gap: 10px; }
    .banner-specs-guide__table:not(.banner-specs-guide__table--summary) tbody th[scope="row"] { width: 35%; }
    .banner-specs-guide__table th, .banner-specs-guide__table td { padding: 0.6rem 0.45rem; overflow-wrap: anywhere; }
}
