/* EVBOOST — Europe country guide
   Dedicated styles for /charging-stations/europe/{country}
   Kept separate from charging-stations-europe.css (Europe index).
*/

.europe-country-page {
    margin: 0;
    background: #ffffff;
    color: #111318;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.europe-country-page *,
.europe-country-page *::before,
.europe-country-page *::after {
    box-sizing: border-box;
}

.europe-country-page main {
    overflow: hidden;
}

.europe-country-page .e-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

/* Breadcrumbs */

.europe-country-page .e-breadcrumbs {
    padding-top: 26px;
    padding-bottom: 18px;
    color: #737985;
    font-size: 13px;
    line-height: 1.4;
}

.europe-country-page .e-breadcrumbs a {
    color: #3e4651;
    font-weight: 700;
    text-decoration: none;
}

.europe-country-page .e-breadcrumbs a:hover {
    color: #111318;
}

/* Hero */

.europe-country-page .e-hero {
    padding: 0 0 42px;
}

.europe-country-page .e-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, .7fr);
    gap: 14px;
    align-items: stretch;
}

.europe-country-page .e-hero-main {
    position: relative;
    min-height: 390px;
    padding: 42px;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    background:
            radial-gradient(circle at 92% 10%, rgba(255,210,30,.18), transparent 28%),
            linear-gradient(135deg, #090b0e 0%, #171c22 100%);
}

.europe-country-page .e-hero-main::after {
    content: "";
    position: absolute;
    top: -78px;
    right: -64px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #ffd21e;
    opacity: .98;
}

.europe-country-page .e-kicker {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    color: #d4d9e1;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.europe-country-page .e-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.1vw, 66px);
    line-height: .98;
    font-weight: 750;
    letter-spacing: -.055em;
}

.europe-country-page .e-hero-main > p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 24px 0 0;
    color: #d8dde5;
    font-size: 16px;
    line-height: 1.6;
}

.europe-country-page .e-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.europe-country-page .e-btn {
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #111;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.europe-country-page .e-btn:hover {
    transform: translateY(-1px);
}

.europe-country-page .e-btn-yellow {
    border-color: #e2b500;
    background: #ffd21e;
}

.europe-country-page .e-btn-yellow:hover {
    color: #111;
    background: #f3c500;
}

.europe-country-page .e-btn-dark {
    border-color: rgba(255,255,255,.18);
    color: #fff;
    background: rgba(255,255,255,.09);
}

.europe-country-page .e-btn-dark:hover {
    border-color: rgba(255,255,255,.28);
    color: #fff;
    background: rgba(255,255,255,.14);
}

/* Hero side */

.europe-country-page .e-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.europe-country-page .e-side-card {
    min-height: 188px;
    padding: 25px;
    border: 1px solid #e1e4e9;
    border-radius: 22px;
    background: #f7f8fa;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.europe-country-page .e-side-label {
    margin-bottom: auto;
    color: #7a818c;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.europe-country-page .e-side-big {
    color: #111318;
    font-size: 27px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.035em;
}

.europe-country-page .e-side-card p {
    margin: 9px 0 0;
    color: #6c7380;
    font-size: 12px;
    line-height: 1.45;
}

/* Sections */

.europe-country-page .e-section {
    padding: 54px 0;
}

.europe-country-page .e-section + .e-section {
    border-top: 1px solid #eceef1;
}

.europe-country-page .e-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 26px;
}

.europe-country-page .e-eyebrow {
    margin-bottom: 9px;
    color: #8a6b00;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.europe-country-page .e-section h2 {
    margin: 0;
    color: #111318;
    font-size: clamp(31px, 3.6vw, 44px);
    line-height: 1.03;
    font-weight: 750;
    letter-spacing: -.045em;
}

.europe-country-page .e-lead {
    max-width: 560px;
    margin: 0;
    color: #69717e;
    font-size: 14px;
    line-height: 1.58;
}

/* First-trip steps */

.europe-country-page .e-newbie {
    background: #fafafa;
}

.europe-country-page .e-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.europe-country-page .e-steps article {
    min-height: 220px;
    padding: 23px;
    border: 1px solid #e2e5e9;
    border-radius: 18px;
    background: #fff;
}

.europe-country-page .e-steps article > span {
    width: 34px;
    height: 34px;
    margin-bottom: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #111;
    background: #ffd21e;
    font-size: 11px;
    font-weight: 900;
}

.europe-country-page .e-steps article > strong {
    display: block;
    margin-bottom: 10px;
    color: #16191e;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 850;
}

.europe-country-page .e-steps article p {
    margin: 0;
    color: #656d78;
    font-size: 13px;
    line-height: 1.55;
}

.europe-country-page .e-steps article b {
    color: #272b31;
}

/* EVBOOST country block */

.europe-country-page .e-evboost-box {
    position: relative;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid #e0b900;
    border-radius: 22px;
    background:
            radial-gradient(circle at 100% 0%, rgba(255,255,255,.72), transparent 26%),
            linear-gradient(135deg, #fff7c7 0%, #ffd84a 100%);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 30px;
    align-items: center;
}

.europe-country-page .e-evboost-box h2 {
    font-size: clamp(29px, 3.3vw, 40px);
}

.europe-country-page .e-evboost-box p {
    max-width: 730px;
    margin: 12px 0 0;
    color: #66551b;
    font-size: 14px;
    line-height: 1.55;
}

.europe-country-page .e-evboost-box .e-actions {
    margin-top: 0;
}

.europe-country-page .e-evboost-box .e-btn-dark {
    border-color: #111;
    color: #fff;
    background: #111318;
}

/* Operator grids.
   Direct-child rules keep this resilient even if _operator_card.html.twig
   uses its own internal card class names.
*/

.europe-country-page .e-operator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.europe-country-page .e-operator-grid > * {
    min-width: 0;
    border-radius: 18px;
}

.europe-country-page .e-operator-grid > article,
.europe-country-page .e-operator-grid > div,
.europe-country-page .e-operator-grid > a {
    border: 1px solid #e2e5e9;
    background: #fff;
}

.europe-country-page .e-aggregators > * {
    background: #fafbfc;
}

.europe-country-page .e-empty {
    padding: 20px 22px;
    border: 1px solid #e3e5e8;
    border-radius: 16px;
    color: #606873;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.55;
}

/* Practical tips */

.europe-country-page .e-tips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.europe-country-page .e-tips article {
    min-height: 92px;
    padding: 18px;
    border: 1px solid #e2e5e9;
    border-radius: 16px;
    background: #fff;
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    gap: 13px;
    align-items: start;
}

.europe-country-page .e-tips article > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #806300;
    background: #fff2ae;
    font-size: 10px;
    font-weight: 900;
}

.europe-country-page .e-tips p {
    margin: 2px 0 0;
    color: #525a65;
    font-size: 13px;
    line-height: 1.55;
}

/* Other countries */

.europe-country-page .e-country-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.europe-country-page .e-country-links > a {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e3e7;
    border-radius: 10px;
    color: #323840;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.europe-country-page .e-country-links > a:hover {
    border-color: #cbd0d7;
    color: #111318;
    background: #f7f8f9;
}

.europe-country-page .e-country-links > a.is-current {
    border-color: #d8ae00;
    color: #111;
    background: #fff0a4;
}

.europe-country-page .e-country-links > a.is-evboost {
    border-color: #e1ba17;
}

.europe-country-page .e-country-evboost-badge {
    padding: 3px 6px;
    border-radius: 999px;
    color: #5b4800;
    background: #ffe46a;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
}

/* Responsive */

@media (max-width: 960px) {
    .europe-country-page .e-hero-grid {
        grid-template-columns: 1fr;
    }

    .europe-country-page .e-side {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-rows: auto;
    }

    .europe-country-page .e-side-card {
        min-height: 150px;
    }

    .europe-country-page .e-section-head {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .europe-country-page .e-operator-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 720px) {
    .europe-country-page .e-container {
        width: min(100% - 28px, 1120px);
    }

    .europe-country-page .e-breadcrumbs {
        padding-top: 18px;
        padding-bottom: 14px;
        font-size: 12px;
    }

    .europe-country-page .e-hero {
        padding-bottom: 28px;
    }

    .europe-country-page .e-hero-main {
        min-height: 350px;
        padding: 30px 24px;
        border-radius: 21px;
    }

    .europe-country-page .e-hero-main::after {
        top: -66px;
        right: -76px;
        width: 180px;
        height: 180px;
    }

    .europe-country-page .e-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .europe-country-page .e-side {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .europe-country-page .e-side-card {
        min-height: 132px;
        padding: 18px;
        border-radius: 17px;
    }

    .europe-country-page .e-side-big {
        font-size: 21px;
    }

    .europe-country-page .e-section {
        padding: 40px 0;
    }

    .europe-country-page .e-steps,
    .europe-country-page .e-operator-grid,
    .europe-country-page .e-tips {
        grid-template-columns: 1fr;
    }

    .europe-country-page .e-steps article {
        min-height: 0;
    }

    .europe-country-page .e-steps article > span {
        margin-bottom: 22px;
    }

    .europe-country-page .e-evboost-box {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 20px;
    }
}

@media (max-width: 450px) {
    .europe-country-page .e-side {
        grid-template-columns: 1fr;
    }

    .europe-country-page .e-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .europe-country-page .e-btn {
        width: 100%;
    }
}

/* =========================================================
   OPERATOR CARDS — restored softer version
   ========================================================= */

.europe-country-page .e-operator-card {
    min-height: 255px;
    padding: 22px;
    border: 1px solid #e1e4e8;
    border-radius: 18px;
    background: #fff;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 17px;
    align-items: start;
    transition:
            transform .16s ease,
            border-color .16s ease,
            box-shadow .16s ease;
}

.europe-country-page .e-operator-card:hover {
    transform: translateY(-2px);
    border-color: #cfd4da;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}

.europe-country-page .e-logo-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    background: #f7f8fa;
    display: grid;
    place-items: center;
}

.europe-country-page .e-logo-wrap img {
    position: relative;
    z-index: 2;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px;
    object-fit: contain;
    display: block;
}

.europe-country-page .e-logo-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #787f89;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.europe-country-page .e-operator-body {
    min-width: 0;
    min-height: 211px;
    display: flex;
    flex-direction: column;
}

.europe-country-page .e-operator-title {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1px 0 16px;
}

.europe-country-page .e-operator-title > a {
    min-width: 0;
    color: #15181d;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.018em;
    text-decoration: none;
}

.europe-country-page .e-operator-title > a:hover {
    color: #8a6900;
}

.europe-country-page .e-badge {
    min-height: 22px;
    padding: 4px 7px;
    border: 1px solid #eadb94;
    border-radius: 999px;
    color: #655000;
    background: #fff7cc;
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .015em;
    white-space: nowrap;
}

.europe-country-page .e-operator-card dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.europe-country-page .e-operator-card dl > div {
    display: grid;
    gap: 3px;
}

.europe-country-page .e-operator-card dt {
    margin: 0;
    color: #7b828c;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.europe-country-page .e-operator-card dd {
    margin: 0;
    color: #3d434c;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.europe-country-page .e-official {
    width: fit-content;
    margin-top: auto;
    padding-top: 17px;
    color: #171a1f;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
}

.europe-country-page .e-official:hover {
    color: #8a6900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.europe-country-page .e-aggregators .e-operator-card {
    background: #fafbfc;
}

@media (max-width: 720px) {
    .europe-country-page .e-operator-card {
        min-height: 0;
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .europe-country-page .e-logo-wrap {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 12px;
    }

    .europe-country-page .e-logo-wrap img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px;
    }

    .europe-country-page .e-operator-body {
        min-height: 0;
    }

    .europe-country-page .e-operator-title > a {
        font-size: 16px;
    }
}

/* =========================================================
   V4 — stronger typography, less yellow, more premium
   ========================================================= */

.europe-country-page .e-section h2 {
    color: #0f1216;
    font-weight: 860;
    letter-spacing: -.05em;
}

.europe-country-page .e-lead {
    color: #5e6672;
    font-size: 16px;
    line-height: 1.55;
}

.europe-country-page .e-eyebrow {
    color: #8d6a00;
}

/* EVBOOST box: less yellow-press, more premium */
.europe-country-page .e-evboost-box {
    border: 1px solid #e7dcc0;
    background:
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,231,.94)),
            linear-gradient(135deg, #fffdfa 0%, #fff4c9 100%);
    box-shadow: 0 18px 34px rgba(17, 19, 24, .05);
}

.europe-country-page .e-evboost-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #ffd21e, #f3c500);
}

.europe-country-page .e-evboost-box h2 {
    color: #0e1014;
    font-size: clamp(34px, 3.5vw, 46px);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.europe-country-page .e-evboost-box p {
    color: #3f454d;
    font-size: 17px;
    line-height: 1.58;
    max-width: 780px;
}

.europe-country-page .e-evboost-box .e-btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 900;
}

.europe-country-page .e-evboost-box .e-btn-yellow {
    border-color: #111318;
    background: #fff;
    color: #111318;
}

.europe-country-page .e-evboost-box .e-btn-yellow:hover {
    background: #f5f7f9;
}

.europe-country-page .e-evboost-box .e-btn-dark {
    border-color: #111318;
    background: #111318;
    color: #fff;
}

/* Card shell */
.europe-country-page .e-operator-grid {
    gap: 14px;
}

.europe-country-page .e-operator-card {
    min-height: 285px;
    padding: 24px;
    border: 1px solid #dfe4ea;
    border-radius: 20px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
}

.europe-country-page .e-operator-card:hover {
    border-color: #cfd6de;
    box-shadow: 0 16px 36px rgba(16, 24, 40, .08);
}

.europe-country-page .e-logo-wrap {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 16px;
    border-color: #e1e6ec;
    background: #fbfcfd;
}

.europe-country-page .e-logo-wrap img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px;
}

.europe-country-page .e-logo-fallback {
    color: #8c95a1;
    font-size: 12px;
    font-weight: 900;
}

.europe-country-page .e-operator-body {
    min-height: 224px;
}

.europe-country-page .e-operator-title {
    margin: 0 0 18px;
    gap: 9px;
}

.europe-country-page .e-operator-title > a {
    color: #0f1216;
    font-size: 20px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.03em;
}

.europe-country-page .e-operator-title > a:hover {
    color: #0f1216;
}

.europe-country-page .e-badge {
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid #dde2e8;
    background: #f6f8fa;
    color: #333942;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .01em;
}

.europe-country-page .e-operator-card dl {
    gap: 14px;
}

.europe-country-page .e-operator-card dl > div {
    gap: 4px;
}

.europe-country-page .e-operator-card dt {
    color: #78808c;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .07em;
}

.europe-country-page .e-operator-card dd {
    color: #161a20;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 650;
}

.europe-country-page .e-official {
    padding-top: 18px;
    color: #0f1216;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.europe-country-page .e-official:hover {
    color: #0f1216;
}

.europe-country-page .e-aggregators .e-operator-card {
    background: #fcfcfd;
}

@media (max-width: 720px) {
    .europe-country-page .e-evboost-box p {
        font-size: 15px;
    }

    .europe-country-page .e-operator-card {
        min-height: 0;
        padding: 20px;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
    }

    .europe-country-page .e-logo-wrap {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .europe-country-page .e-logo-wrap img {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px;
    }

    .europe-country-page .e-operator-body {
        min-height: 0;
    }

    .europe-country-page .e-operator-title > a {
        font-size: 18px;
    }

    .europe-country-page .e-operator-card dd {
        font-size: 14px;
    }
}

/* ── СТИЛІЗАЦІЯ КАРТОК ОПЕРАТОРІВ ТА АГРЕГАТОРІВ ─────────── */

.e-operator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.e-operator-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.2s ease-in-out;
}

.e-operator-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transform: translateY(-2px);
}

/* Заголовок та бейдж */
.e-operator-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

/* Перетворення назви з масивного чорного на елегантний напівжирний */
.e-operator-title a {
    color: #1f2937;
    font-size: 17px;
    font-weight: 600; /* Прибрано важкий 800-900 weight */
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.15s ease;
}

.e-operator-title a:hover {
    color: #000000;
}

/* Акуратний і витончений бейдж замість масивного */
.e-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

/* Список характеристик (Старт / Важливо) */
.e-operator-body dl {
    display: grid;
    gap: 10px;
    margin: 0 0 18px 0;
}

.e-operator-body dl > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Лейбли (СТАРТ, ВАЖЛИВО) — світло-сірі, тонкі */
.e-operator-body dt {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Значення — м'який темний текст середньої щільності */
.e-operator-body dd {
    margin: 0;
    color: #374151;
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.45;
}

/* Офіційне посилання внизу картки */
.e-official {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b5563;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.e-official:hover {
    color: #111827;
    text-decoration: underline;
}

/* ── PREMIUM OPERATOR CARDS ─────────────────────────────── */

.e-operator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

/* Картка з м'яким об'ємом та контрастною бордер-лінією */
.e-operator-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.e-operator-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

/* Шапка картки */
.e-operator-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* Заголовок: Шляхетний графітовий колір замість дешевого чисто-чорного (#000) */
.e-operator-title a {
    color: #0f172a; /* Deep Slate Blue */
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.15s ease;
}

.e-operator-title a:hover {
    color: #16834f; /* Фірмовий смарагдово-зелений при наведенні */
}

/* Преміальний стильний бейдж (HPC / Roaming / CPO) */
.e-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background-color: #f0fdf4; /* Свіже зеленкувате тло */
    color: #15803d; /* Контрастний зелений текст */
    border: 1px solid #bbf7d0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    border-radius: 999px;
    white-space: nowrap;
}

/* Списочна частина картки */
.e-operator-body dl {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 20px 0;
}

.e-operator-body dl > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Мікропідписи (СТАРТ / ВАЖЛИВО) — акуратні, виразні, чіткі */
.e-operator-body dt {
    color: #64748b; /* Slate Gray */
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Основний текст підказок (Hints/Details) — висока контрастність, приємне читання */
.e-operator-body dd {
    margin: 0;
    color: #334155; /* Medium Dark Slate */
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* Особливий вигляд для блоку ВАЖЛИВО (акцентний hint) */
.e-operator-body dl > div:last-child {
    padding: 10px 12px;
    background-color: #f8fafc;
    border-left: 3px solid #ffb800; /* Жовтий акцент EVBOOST */
    border-radius: 4px 8px 8px 4px;
}

.e-operator-body dl > div:last-child dt {
    color: #b45309; /* Темний бурштиновий колір для лейбла ВАЖЛИВО */
}

.e-operator-body dl > div:last-child dd {
    color: #1e293b;
    font-weight: 500;
}

/* Офіційне посилання внизу картки */
.e-official {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.e-official:hover {
    color: #16834f;
    transform: translateX(2px);
}

/* ── БЛОК «ІНШІ КРАЇНИ» — LARGE / DESKTOP ─────────────── */

/* Робимо саме секцію країн більшою, не чіпаючи інші секції сторінки */
.europe-country-page .e-section:has(.e-country-links) {
    padding-top: 72px;
    padding-bottom: 78px;
}

.europe-country-page .e-section:has(.e-country-links) .e-section-head {
    gap: 64px;
    margin-bottom: 34px;
}

.europe-country-page .e-section:has(.e-country-links) .e-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: .09em;
}

.europe-country-page .e-section:has(.e-country-links) h2 {
    font-size: clamp(46px, 4.8vw, 60px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.055em;
}

.europe-country-page .e-section:has(.e-country-links) .e-lead {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.5;
}

/* Більша сітка країн */
.europe-country-page .e-country-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

/*
 * ВАЖЛИВО: селектор навмисно такий самий/сильніший за базовий
 * .europe-country-page .e-country-links > a,
 * щоб нові розміри гарантовано не перебивалися стилями вище у файлі.
 */
.europe-country-page .e-country-links > a {
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    color: #1b2028;
    background: #fff;

    /* Збільшує і назву, і emoji-прапор у поточній розмітці */
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.018em;
    white-space: nowrap;

    text-decoration: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .045);
    transition:
            transform .16s ease,
            border-color .16s ease,
            background-color .16s ease,
            box-shadow .16s ease;
}

.europe-country-page .e-country-links > a:hover {
    transform: translateY(-2px);
    border-color: #c6ccd4;
    color: #101318;
    background: #f8f9fa;
    box-shadow: 0 9px 22px rgba(15, 23, 42, .09);
}

.europe-country-page .e-country-links > a.is-current {
    border-color: #d5a900;
    color: #111318;
    background: #ffdf59;
    font-weight: 900;
    box-shadow: 0 7px 20px rgba(214, 169, 0, .20);
}

.europe-country-page .e-country-links > a.is-current:hover {
    border-color: #c89f00;
    background: #ffd83b;
}

.europe-country-page .e-country-links > a.is-evboost {
    border-color: #dbb515;
}

.europe-country-page .e-country-evboost-badge {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

/* Якщо у Twig прапор загорнутий в <span class="e-country-flag"> — він буде ще більшим за текст */
.europe-country-page .e-country-flag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1;
}

/* Tablet */
@media (max-width: 960px) {
    .europe-country-page .e-section:has(.e-country-links) {
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .europe-country-page .e-section:has(.e-country-links) h2 {
        font-size: clamp(42px, 7vw, 54px);
    }

    .europe-country-page .e-section:has(.e-country-links) .e-lead {
        font-size: 17px;
    }

    .europe-country-page .e-country-links {
        gap: 10px;
    }

    .europe-country-page .e-country-links > a {
        min-height: 52px;
        padding: 0 17px;
        border-radius: 13px;
        font-size: 17px;
    }

    .europe-country-page .e-country-flag {
        font-size: 23px;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .europe-country-page .e-section:has(.e-country-links) {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .europe-country-page .e-section:has(.e-country-links) .e-section-head {
        gap: 14px;
        margin-bottom: 26px;
    }

    .europe-country-page .e-section:has(.e-country-links) .e-eyebrow {
        font-size: 11px;
    }

    .europe-country-page .e-section:has(.e-country-links) h2 {
        font-size: clamp(38px, 12vw, 48px);
    }

    .europe-country-page .e-section:has(.e-country-links) .e-lead {
        font-size: 16px;
    }

    .europe-country-page .e-country-links {
        gap: 9px;
    }

    .europe-country-page .e-country-links > a {
        min-height: 48px;
        padding: 0 14px;
        border-radius: 12px;
        gap: 9px;
        font-size: 15px;
    }

    .europe-country-page .e-country-flag {
        font-size: 21px;
    }
}