/*------------------------------------------------------------------
[ AB Editions Map — издания, countdown и карта на Африка ]
------------------------------------------------------------------*/
.mapsec {
    background: var(--ab-navy);
    border-block: 1px solid var(--ab-line);
    overflow: hidden;
    padding-bottom: 90px;
}
.mapsec::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    left: 30%;
    top: -200px;
    pointer-events: none;
    background: radial-gradient(circle,rgba(47,98,255,.16),transparent 62%);
}
.maplay {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    position: relative;
    align-items: start;
}
.mapcv {
    position: relative;
    width: 100%;
    aspect-ratio: 72/75;
    max-height: 760px;
    justify-self: end;
    align-self: start;
}
.mapcv canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}
.panel h2 {
    margin-bottom: 36px;
}
.cd {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}
.cd div {
    flex: 1;
    text-align: center;
    padding: 14px 4px;
    border-radius: 16px;
    border: 1px solid var(--ab-line);
    max-width: 100px;
}
.cd b {
    display: block;
    font-family: var(--ab-display);
    font-size: clamp(1.8rem,3vw,2.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cd small {
    color: var(--ab-muted);
    font-size: 12.5px;
}
.cdl {
    margin: 0 0 12px;
    color: var(--ab-muted);
    font-size: 15px;
}
.erows {
    display: grid;
    gap: 10px;
    max-height: 440px;
    overflow-y: auto;
    padding: 4px 8px 14px 2px;
    margin-right: -8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(11,16,34,.25) transparent;
    align-content: start;
}
.er {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid var(--ab-line);
    transition: all .25s;
}
.er .d {
    font-family: var(--ab-display);
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: -.04em;
    line-height: 1;
}
.er .d small {
    display: block;
    font-family: var(--ab-body);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0;
    color: var(--ab-muted);
    margin-top: 4px;
}
.er .c b {
    display: block;
    font-family: var(--ab-display);
    font-size: 1.25rem;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.er .c span {
    color: var(--ab-muted);
    font-size: 14px;
}
.er .tg {
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--ab-line);
    white-space: nowrap;
}
.er.past .d,
.er.past .c b {
    opacity: .55;
}
.er.next .tg {
    background: var(--ab-red);
    border-color: var(--ab-red);
}
.einfo {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.einfo p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 15px;
    flex: 1 1 220px;
}
@media (max-width:980px) {
    .maplay {
        grid-template-columns: 1fr;
    }
}
@media (max-width:980px) {
    .mapcv {
        order: -1;
        justify-self: center;
        max-width: 520px;
    }
}
@media (max-width:560px) {
    .er {
        grid-template-columns: 1fr auto;
    }
}
@media (max-width:560px) {
    .er .d {
        grid-column: 1/-1;
    }
}
.cd div {
    background: rgba(255,255,255,.8);
}
.er {
    background: rgba(255,255,255,.7);
    cursor: pointer;
}
.er:hover {
    background: #fff;
}
.er.active {
    border-color: var(--ab-text);
    background: #fff;
}
.er .tg {
    background: rgba(255,255,255,.85);
}
.er.next .tg {
    color: #fff;
}
.er.soon .tg {
    border-color: var(--ab-blue);
    color: var(--ab-blue);
}
.er .d,
.cd b {
    letter-spacing: -.04em;
}
.ser-sub {
    margin: -18px 0 24px;
    color: #2B3453;
    font-size: 1.05rem;
    max-width: 30em;
}
.etabs {
    display: inline-flex;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--ab-line);
    margin: 0 0 16px;
    box-shadow: 0 14px 30px -22px rgba(30,60,160,.5);
}
.et {
    border: 0;
    background: transparent;
    padding: 10px 20px;
    border-radius: 999px;
    font: 700 14px var(--ab-body);
    color: var(--ab-muted);
    cursor: pointer;
    transition: all .25s;
}
.et:hover {
    color: var(--ab-text);
}
.et.on {
    background: var(--ab-text);
    color: #fff;
}
.er[hidden] {
    display: none;
}
.er.y27row .d {
    font-size: 1.45rem;
}
.er.y27row .tg {
    border-color: var(--ab-blue);
    color: var(--ab-blue);
}
@media (max-width:980px) {
    .erows {
        max-height: none;
        overflow: visible;
        min-height: 0;
    }
}
@media (max-width:980px) {
    .ser-sub {
        margin-top: -14px;
    }
}
.er:focus-visible {
    outline: 2px solid var(--ab-blue-soft);
    outline-offset: 2px;
}
.er .rg {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ab-red);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 26px -10px rgba(255,22,80,.85);
    transition: transform .25s;
}
.er .rg:hover {
    transform: translateY(-2px);
}
.er .nx {
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255,22,80,.12);
    color: var(--ab-red);
    font-size: 11.5px;
    font-weight: 700;
    vertical-align: middle;
}
@media (max-width:980px) {
    .er .rg {
        padding: 9px 14px;
    }
}
.erows {
    min-height: 0;
}
.mapcv {
    max-width: 640px;
}
.er .d {
    letter-spacing: -.04em;
}
