:root{
    --blue-900:#00247D;
    --blue-800:#0033a1;
    --blue-700:#0056a6;
    --blue-600:#0056b3;
    --yellow:#FFD500;
    --text:#1A1A1A;
    --muted:#6b7280;
    --line:#e5e7eb;
    --chip:#f8fafc;
    --bg:#ffffff;
    --fs-h1:clamp(1.8rem,1.2rem + 2.2vw,2.75rem);
    --fs-h2:clamp(1.4rem,1.0rem + 1.6vw,2.2rem);
    --fs-h3:clamp(1.4rem,1.0rem + 1.6vw,2.2rem);
    --fs-base:clamp(.95rem,.9rem + .3vw,1.05rem);
    --steps-h:60px;
    --steps-w:min(1560px,105vw);
    --steps-offset:60px;
}

html,body{margin:0!important;padding:0!important;height:100%}
*{box-sizing:border-box}
body{font-family:'Roboto',system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;font-size:var(--fs-base)}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-700);text-decoration:none;transition:color .25s ease,opacity .25s ease,text-decoration-color .25s ease}
a:hover{color:#003a75;text-decoration:underline}
:focus-visible{outline:2px solid var(--blue-800);outline-offset:2px}
.container{width:min(1200px,92vw);margin-inline:auto}
.hidden-sm{display:none!important}
@media(min-width:769px){.hidden-sm{display:initial!important}}
.prefers-reduced-motion *,.prefers-reduced-motion *::before,.prefers-reduced-motion *::after{transition:none!important}

header{background:#fff;position:relative;overflow:visible}
.navbar{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;gap:1rem;min-height:56px;border-bottom:1px solid var(--line);position:relative;z-index:30}
.navbar .logo-group{display:flex;align-items:center;gap:.75rem;min-width:0}
.navbar .logo-group img{margin-left:40px;height:40px;object-fit:contain}
.navbar nav{position:relative}
#nav-toggle,.nav-toggle-label{display:none!important}

@media(min-width:769px){
    header .navbar nav > *:is([class$="-menu-container"],.menu),
    .site-header .site-menu > *:is([class$="-menu-container"],.menu){
        display:flex!important;flex-direction:row!important;align-items:center;gap:1.25rem;background:transparent;border:0;padding:0;box-shadow:none;max-height:none;overflow:visible
    }
    .navbar > nav > ul.menu,
    .site-header .site-menu .menu{display:flex!important;gap:1.25rem;list-style:none;margin:0;padding:0}
    .navbar ul.menu > li,
    .site-header .site-menu .menu > li{position:relative}
    .navbar ul.menu > li > a,
    .site-header .site-menu .menu > li > a{display:inline-flex;align-items:center;gap:.35rem;padding:.65rem .6rem;border-radius:8px;color:var(--blue-800);font-weight:700;text-decoration:none;line-height:1}
    .navbar ul.menu > li > a:hover,
    .site-header .site-menu .menu > li > a:hover{background:#f5f7fb}
    .navbar ul.menu > li.menu-item-has-children > a::after,
    .site-header .site-menu .menu > li.menu-item-has-children > a::after{content:"▾";font-size:.9em;transition:transform .2s ease}
    .navbar ul.menu > li.menu-item-has-children:hover > a::after,
    .site-header .site-menu .menu > li.menu-item-has-children:hover > a::after{transform:rotate(180deg)}
    .navbar ul.sub-menu,
    .site-header .site-menu .sub-menu{position:absolute;top:calc(100% + 0px);left:0;min-width:260px;max-width:min(90vw,320px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.14);padding:10px 0;z-index:1000;list-style:none;margin:0;display:none}
    .navbar ul.sub-menu > li > a,
    .site-header .site-menu .sub-menu > li > a{display:block;padding:10px 16px;border-radius:8px;margin:2px 8px;color:var(--blue-800)}
    .navbar ul.sub-menu > li > a:hover,
    .site-header .site-menu .sub-menu > li > a:hover{background:#ffb400;color:#fff}
    .navbar ul.menu > li:hover > .sub-menu,
    .site-header .site-menu .menu > li:hover > .sub-menu{display:block}
    .site-header .nav-toggle{display:none!important}
}
.navbar ul.menu > li.current-menu-item > a,
.navbar ul.menu > li.current-menu-ancestor > a{color:#ffb400}

@media(max-width:768px){
    .site-header .nav-toggle{--size:44px;display:inline-flex;align-items:center;justify-content:center;width:var(--size);height:var(--size);border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;z-index:31}
    .site-header .nav-toggle span,
    .site-header .nav-toggle span::before,
    .site-header .nav-toggle span::after{content:"";display:block;width:22px;height:2px;background:var(--blue-800);position:relative;transition:transform .25s ease,opacity .25s ease}
    .site-header .nav-toggle span::before{position:absolute;top:-6px;left:0}
    .site-header .nav-toggle span::after{position:absolute;top:6px;left:0}
    .site-header.is-open .nav-toggle span{opacity:0}
    .site-header.is-open .nav-toggle span::before{transform:rotate(45deg)}
    .site-header.is-open .nav-toggle span::after{transform:rotate(-45deg)}

    .site-header .site-menu{position:absolute;top:100%;left:12px;right:12px;z-index:40;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.18);padding:8px;display:none;max-height:calc(100vh - 24px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch}
    .site-header.is-open .site-menu{display:block}

    .site-header .site-menu .menu{list-style:none;margin:0;padding:0}
    .site-header .site-menu .menu > li{border-bottom:1px solid #eef0f4}
    .site-header .site-menu .menu > li:last-child{border-bottom:0}
    .site-header .site-menu .menu > li > a{display:flex;align-items:center;justify-content:space-between;padding:14px 14px;color:#0033a1;font-weight:700;text-decoration:none}
    .site-header .site-menu .menu > li.menu-item-has-children{display:grid;grid-template-columns:1fr auto;align-items:center}
    .site-header .site-menu .menu > li.menu-item-has-children > a{display:block;padding-right:8px}

    .site-header .submenu-toggle{margin:0;width:34px;height:34px;border:0;border-radius:8px;background:#f2f4f7;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
    .site-header .submenu-toggle span{width:10px;height:10px;border-right:2px solid #0033a1;border-bottom:2px solid #0033a1;transform:rotate(45deg);transition:transform .2s ease}
    .site-header .menu-item-has-children.is-sub-open > .submenu-toggle span{transform:rotate(-135deg)}
    .site-header .site-menu .menu > li.menu-item-has-children > a::after,
    header .navbar ul.menu > li.menu-item-has-children > a::after{content:none!important}

    .site-header .site-menu .sub-menu{grid-column:1/-1;position:static!important;background:#f9fafb;border-left:3px solid var(--yellow);border-radius:8px;margin:6px 0 10px 0;padding:0 0 0 12px;list-style:none;display:block!important;max-height:0;overflow:hidden;transition:max-height .28s ease,padding .28s ease}
    .site-header .menu-item-has-children.is-sub-open > .sub-menu{max-height:1200px;padding:8px 0 8px 12px}
    .site-header .site-menu .sub-menu > li > a{display:flex;align-items:center;padding:12px 10px;font-weight:600}

    .nav-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:20}
    .nav-backdrop[hidden]{display:none}
}

.custom-header{display:flex;position:relative;height:380px;background:#ffffff;overflow:hidden;font-family:Arial,sans-serif}
.header-left{width:55%;display:flex;flex-direction:column;align-items:center;position:relative;z-index:2}
.header-logo{text-align:center;margin-top:.5rem;color:#0033a1}
.header-logo h1{font-size:2.5rem;margin:.5rem 0 0}
.header-logo p{margin:.2rem 0 0;font-size:1rem;color:#1a1a1a}
.header-right{margin-left:-53px;height:100%;width:51%;background:linear-gradient(to right,#f8b300 100%,#ffffff 50%);clip-path:polygon(0 0,100% 0,100% 100%,15% 100%);position:relative;z-index:1}
.header-steps,.header_steps{display:none!important}

.custom-header::before{
    content:"";
    position:absolute;
    top:var(--steps-offset);
    left:28%;
    width:var(--steps-w);
    height:var(--steps-h);
    transform:translateX(-50%) scaleY(-1);
    transform-origin:top center;
    z-index:0;
    pointer-events:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 100' width='600' height='100'><rect x='0' y='0' width='200' height='100' fill='%23ffb400'/><rect x='200' y='20' width='200' height='80' fill='%23f7c600'/><rect x='400' y='40' width='200' height='60' fill='%230033a1'/></svg>");
    background-repeat:repeat-x;
    background-position:center bottom;
    background-size:auto var(--steps-h);
}

header.site-header .custom-header .header-left .header-text a{display:block!important}
header.site-header .custom-header .header-left .header-text img{display:block!important;width:auto!important;max-width:55%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;margin:65px auto 12px!important}

.section1{padding:72px 0;background:#fff;position:relative}
.section1 .container{display:flex;align-items:center;justify-content:center;gap:64px;flex-wrap:wrap}
.section1 .image{flex:1.5;max-width:66%;position:relative;overflow:hidden;border-radius:12px}
.section1 .image img{width:100%;border-radius:12px;box-shadow:0 15px 40px rgba(0,0,0,.12);transition:transform .5s ease,box-shadow .5s ease}
.section1 .image:hover img{transform:scale(1.03);box-shadow:0 20px 50px rgba(0,0,0,.15)}
.section1 .text-section{flex:1;max-width:800px;min-width:280px}
.section1 .text-section h2{font-size:var(--fs-h2);color:#0837ad;margin:0 0 18px;position:relative;display:inline-block;padding-top:15px}
.section1 .text-section h2:before{content:"";position:absolute;top:0;left:0;width: 150px;;height:4px;background:var(--yellow);border-radius:2px}
.section1 .text-section .blue{color:var(--blue-900);font-weight:700}
.section1 .text-section h3{font-size:var(--fs-h3);color:#0837ad;margin:0 40px 18px;position:relative;display:inline-block;padding-top:15px}
.section1 .text-section h3:before{content:"";position:absolute;top:0;left:270px;width: 150px;;height:4px;background:var(--yellow);border-radius:2px}
.section1 .text-section .blue{color:var(--blue-900);font-weight:700}
.section1 .text-section p{text-align:justify;font-size:1.03rem;color:#333;margin:0 0 18px;line-height:1.7}
.section1 .btn-yellow{background:var(--yellow);color:var(--blue-900);padding:12px 22px;border-radius:8px;font-weight:700;display:inline-block;transition:transform .25s ease,box-shadow .25s ease,background .25s ease;border:2px solid transparent;box-shadow:0 4px 10px rgba(255,213,0,.3)}
.section1 .btn-yellow:hover{background:#e6c200;transform:translateY(-2px);box-shadow:0 6px 15px rgba(255,213,0,.4)}

.card-container{display:grid;gap:24px;padding:44px 1rem;max-width:1200px;margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr))}
.card{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.06);text-align:center;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;position:relative;overflow:hidden}
.card:hover{transform:translateY(-6px);box-shadow:0 15px 35px rgba(0,0,0,.12);border-color:#ddd}
.card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#ffb400,#0033a1)}
.card-title{font-size:1.35rem;margin:6px 0 10px;color:var(--blue-800)}
.card-image{width:100%;border-radius:10px;margin:14px 0;transition:transform .25s ease}
.card:hover .card-image{transform:scale(1.035)}
.card-button{background:#007bff;color:#fff;padding:12px 18px;border:0;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:700;transition:transform .25s ease,box-shadow .25s ease,background .25s ease;margin-top:8px}
.card-button:hover{background:var(--blue-600);transform:translateY(-2px);box-shadow:0 5px 15px rgba(0,86,179,.3)}

@media(max-width:1200px){.header-right{clip-path:polygon(0 0,100% 0,100% 100%,18% 100%)}.section1 .container{gap:48px}}
@media(max-width:1024px){.custom-header{min-height:320px}.card-container{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
    .custom-header{flex-direction:column;height:auto;overflow:visible}
    .header-right{order:-1;width:100%;min-height:120px;clip-path:none;background:linear-gradient(90deg,#f8b300 0%,#f8b300 100%)}
    .header-left{padding:1rem .75rem}
    .section1 .image{max-width:100%}
    .section1 .container{gap:36px}
    .section1 .text-section h3{left:0;}
    .section1 .text-section h3:before{left:120px}
}
@media(max-width:768px){
    :root{--steps-w:calc(100vw - 32px);--steps-offset:10vh}
    .header-right{display:none!important}
    .custom-header{min-height:unset;align-items:center;padding:16px 0 12px}
    .custom-header::before{top:var(--steps-offset)!important;left:50%!important;transform:translate(-50%,-50%) scaleY(-1)!important;width:100vw!important;height:var(--steps-h)!important;background-size:auto var(--steps-h)!important;opacity:1!important}
    .header-left{width:100%!important;padding:0 12px!important;top:auto!important}
    .header-logo{text-align:center}
    .header-text{width:100%!important}
    .header-text img{max-width:82%!important;margin:10px auto 12px!important}
    .header-logo h1{font-size:clamp(1.4rem,1.1rem + 2vw,2rem)!important;margin:0!important}
    .header-logo p{margin-top:6px!important}
    .section1 .container{flex-direction:column!important}
    .section1 .image{order:1!important;max-width:100%!important}
    .section1 .text-section{order:2!important}
    .section1 .text-section h3{left:0;}
    .section1 .text-section h3:before{left: 120px}
}
@media(max-width:560px){
    .navbar{padding:.5rem .75rem}
    .navbar .logo-group img{height:34px;margin-left:0}
    .section1{padding:44px 0}
    .section1 .text-section p{text-align:left}
    .section1 .btn-yellow{padding:10px 18px}
    .card{padding:20px}
    .card-title{font-size:1.2rem}
    .section1 .text-section h3{left:0;}
    .section1 .text-section h3:before{left: 120px}
}
@media(max-width:380px){.site-header .nav-toggle{width:36px;height:36px}}

.collections{
    left: 270px;
    display: block!important;
    text-align: center;
    margin-left: 0!important;
    margin-right: 0!important; }

.section1 .text-section h3:before{
    display: block!important; text-align: center!important;
}

/* === FOOTER BASE === */
.site-footer{
    background:#0b1a3a; /* темно-синій фон */
    color:#fff;
    border-top:1px solid rgba(255,255,255,.08);
    font-size:var(--fs-base);
}
.site-footer a{ color:#e9f0ff; text-decoration:none }
.site-footer a:hover{ color:#ffd500; text-decoration:underline }
.site-footer .container{ width:min(1200px,92vw); margin-inline:auto }

/* Верхня зона з віджетами/колонками */
.footer-top{
    padding:36px 0 20px;
}
.footer-widgets{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
}
.footer-widgets .widget{
    min-width:0;
}
.footer-widgets .widget-title{
    color:#ffd500;
    font-weight:800;
    font-size:1.05rem;
    margin:0 0 .6rem;
    display:flex; align-items:center; gap:.5rem;
}
.footer-widgets .widget-title::before{
    content:"";
    display:inline-block;
    width:18px; height:3px;
    background:#ffd500; border-radius:2px;
}

/* Списки/меню всередині віджетів */
.footer-menu,
.footer-links,
.footer-list,
.footer-widgets .menu{
    list-style:none; margin:0; padding:0;
}
.footer-menu li,
.footer-links li,
.footer-list li,
.footer-widgets .menu li{
    margin:0; padding:.35rem 0; border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-menu li:last-child,
.footer-links li:last-child,
.footer-list li:last-child,
.footer-widgets .menu li:last-child{ border-bottom:0 }

/* Контакти */
.footer-contacts li{
    display:flex; align-items:flex-start; gap:.55rem;
}
.footer-contacts .ic{
    width:18px; height:18px; flex:0 0 18px;
    border-radius:4px; background:#133074;
    display:inline-flex; align-items:center; justify-content:center;
}

/* Соцмережі */
.footer-social{ display:flex; gap:.65rem; flex-wrap:wrap; margin:.6rem 0 0 }
.footer-social a{
    width:38px; height:38px; border-radius:10px;
    border:1px solid rgba(255,255,255,.18);
    display:inline-flex; align-items:center; justify-content:center;
    transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social a:hover{
    background:#133074; border-color:#3155aa; transform:translateY(-2px);
}

/* Підписка */
.footer-newsletter{ margin-top:.75rem }
.footer-newsletter form{ display:flex; gap:.5rem; align-items:center }
.footer-newsletter input[type="email"]{
    flex:1 1 auto; min-width:0;
    padding:.72rem .9rem; border-radius:10px;
    border:1px solid rgba(255,255,255,.18);
    background:#0f2559; color:#fff;
}
.footer-newsletter button[type="submit"]{
    padding:.72rem 1rem; border-radius:10px; border:2px solid transparent;
    background:var(--yellow); color:#001a5a; font-weight:800; cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.footer-newsletter button[type="submit"]:hover{
    background:#e6c200; transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(255,213,0,.28);
}

/* Нижня смуга */
.footer-bottom{
    margin-top:18px;
    border-top:1px solid rgba(255,255,255,.12);
    padding:14px 0;
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    color:#c9d6ff;
}
.footer-legal{ display:flex; gap:16px; flex-wrap:wrap }
.footer-legal a{ color:#c9d6ff }
.footer-legal a:hover{ color:#ffd500 }

/* Кнопка "вгору" */
.back-to-top{
    position:fixed; right:16px; bottom:16px; z-index:50;
    width:44px; height:44px; border-radius:12px;
    background:#ffd500; color:#001a5a; display:none;
    align-items:center; justify-content:center; font-weight:900;
    border:2px solid transparent; box-shadow:0 10px 28px rgba(0,0,0,.24);
}
.back-to-top.is-visible{ display:flex }
.back-to-top:hover{ transform:translateY(-2px) }

/* Платіжні/партнерські іконки */
.footer-badges{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.6rem }
.footer-badges img{
    height:26px; width:auto; filter:brightness(0) invert(1) opacity(.9);
    opacity:.85;
}
.footer-badges img:hover{ opacity:1 }


@media (max-width: 1024px){
    .footer-widgets{ grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media (max-width: 900px){
    .footer-widgets{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}


@media (max-width: 768px){
    .footer-top{ padding:26px 0 10px }
    .footer-widgets{
        grid-template-columns:1fr;
        gap:10px;
    }
    .footer-widgets .widget{
        border:1px solid rgba(255,255,255,.12);
        background:rgba(255,255,255,.02);
        border-radius:12px;
        overflow:hidden;
    }

    .footer-widgets .widget-title{
        margin:0; padding:14px 14px;
        display:flex; align-items:center; justify-content:space-between;
        cursor:pointer; user-select:none;
        position:relative;
    }
    .footer-widgets .widget-title::after{
        content:"";
        width:10px; height:10px;
        border-right:2px solid #ffd500; border-bottom:2px solid #ffd500;
        transform:rotate(45deg);
        transition:transform .2s ease;
        opacity:.95;
    }
    .footer-widgets .widget.is-open .widget-title::after{
        transform:rotate(-135deg);
    }


    .footer-widgets .widget-content{
        max-height:0; overflow:hidden;
        transition:max-height .28s ease, padding .28s ease;
        padding:0 14px;
    }
    .footer-widgets .widget.is-open .widget-content{
        max-height:1200px; padding:8px 14px 12px;
    }


    .footer-menu li,
    .footer-links li,
    .footer-list li,
    .footer-widgets .menu li{
        padding:.55rem 0;
        border-bottom:1px solid rgba(255,255,255,.08);
    }


    .footer-social{ gap:.5rem }
    .footer-social a{ width:42px; height:42px; border-radius:12px }


    .footer-newsletter form{ flex-direction:column; align-items:stretch }
    .footer-newsletter button[type="submit"]{ width:100% }


    .footer-bottom{
        flex-direction:column; align-items:flex-start; gap:.5rem;
        padding:12px 0 18px;
    }
    .footer-legal{ gap:.8rem }
}


@media (max-width: 560px){
    .footer-widgets .widget-title{ padding:12px }
    .footer-widgets .widget.is-open .widget-content{ padding:8px 12px 12px }
    .footer-newsletter input[type="email"]{ padding:.68rem .8rem }
    .footer-newsletter button[type="submit"]{ padding:.68rem .8rem }
    .footer-badges img{ height:22px }
}


@media (max-width: 380px){
    .back-to-top{ right:12px; bottom:12px; width:40px; height:40px; border-radius:10px }
}


/* ===== EVADEM Lecturers (namespaced) ===== */
.evdm-lect, .evdm-lect * { box-sizing: border-box; }
.evdm-lect{
    --wrap:1500px;      /* загальна ширина блоку */
    --card:500px;       /* ширина картки */
    --gap:50px;        /* проміжок між картками: 500 + 200 + 500 = 1200 */
    color:#1a1a1a;
    font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* контейнер 1200px по центру */
.evdm-lect__container{
    width:var(--wrap);
    max-width:100%;
    margin-inline:auto;
    padding-inline:16px;
}

/* ряд із двома картками */
.evdm-lect__row{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:var(--gap);
}

/* картка */
.evdm-lect__card{
    width:var(--card);
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:16px;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
}

/* фото: варіант з обрізанням */
.evdm-lect__photo{
    display:block;
    width:100% !important;     /* анти-ломалка проти глобальних правил */
    height:320px !important;
    object-fit:cover;
    object-position:center;
    border-radius:0!important;
    margin:0 0 12px 0;
    box-shadow:0 10px 24px rgba(0,0,0,.10);
}


.evdm-lect__photo--contain{
    height:auto !important;
    max-height:320px;
    object-fit:contain;
    background:#f8fafc;
}


.evdm-lect__role{
    display:inline-block;background:#eff3ff;border:1px solid #e0e7ff;
    color:#2f55b5;font-weight:800;font-size:.92rem;border-radius:999px;
    padding:.35rem .6rem;margin:.1rem 0 .5rem
}
.evdm-lect__name{font-weight:900;color:#0033a1;font-size:1.15rem;margin:.05rem 0 .45rem}
.evdm-lect__desc{color:#6b7280;margin:.2rem 0}
.evdm-lect__chips{display:flex;flex-wrap:wrap;gap:8px;margin:.6rem 0}
.evdm-lect__chip{
    padding:.42rem .7rem;border:1px solid #e5e7eb;border-radius:999px;
    background:#fff;font-weight:700;font-size:.92rem
}
.evdm-lect__links{display:flex;gap:8px}
.evdm-lect__link{color:#0033a1;text-decoration:none}
.evdm-lect__link:hover{text-decoration:underline}

/* адаптив: у стовпчик на вузьких */
@media (max-width:1240px){
    .evdm-lect__container{width:100%}
    .evdm-lect__row{gap:24px;flex-wrap:wrap}
    .evdm-lect__card{width:min(500px,100%)}
}
@media (max-width:560px){
    .evdm-lect__photo{height:260px !important}
}
@media (max-width:1300px){
    .evdm-lect__photo{height:300px !important}
}

/* ===== EVADEM: International Experts (namespaced) ===== */
.evdm-exp, .evdm-exp *{ box-sizing:border-box }
.evdm-exp{
    --wrap:1200px;         /* загальна ширина секції */
    --card:520px;          /* ширина картки */
    --gap:50px;           /* проміжок між картками: 520 + 160 + 520 = 1200 */
    color:#1a1a1a;
    font:16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.evdm-exp__ctr{
    width:var(--wrap);
    max-width:100%;
    margin-inline:auto;
    padding-inline:16px;
}

.evdm-exp__title{
    text-align:center;
    color:#0033a1;
    font-weight:900;
    font-size:clamp(1.6rem,1.1rem + 1.8vw,2.2rem);
    margin:8px 0 18px;
}

.evdm-exp__row{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:var(--gap);
}

.evdm-exp__card{
    width:var(--card);
    text-align:center;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px 18px 20px;
    box-shadow:0 10px 24px rgba(0,0,0,.06);
}

/* аватар колом, акуратно обрізаємо */
.evdm-exp__photo{
    display:block;
    width:260px !important;
    height:260px !important;
    margin:4px auto 14px;
    border-radius:999px;
    object-fit:cover;
    object-position:center;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.evdm-exp__role{
    display:inline-block;
    background:#eff3ff;
    border:1px solid #e0e7ff;
    color:#2f55b5;
    font-weight:800;
    font-size:.92rem;
    padding:.35rem .7rem;
    border-radius:999px;
    margin-bottom:8px;
}

.evdm-exp__name{
    font-weight:900;
    color:#0b1a3a;
    font-size:clamp(1.1rem,.98rem + .8vw,1.45rem);
    margin:6px 0 8px;
}

.evdm-exp__desc{
    color:#6b7280;
    margin:0 auto;
    max-width:46ch;
}

/* Адаптив: у стовпчик */
@media (max-width:1240px){
    .evdm-exp__ctr{width:100%}
    .evdm-exp__row{gap:24px;flex-wrap:wrap}
    .evdm-exp__card{width:min(520px,100%)}
}
@media (max-width:560px){
    .evdm-exp__photo{width:220px !important;height:220px !important}
}


.entry-content > .materials, .materials{
    --max:1200px; --blue:#0033a1; --yellow:#FFD500; --line:#e5e7eb; --muted:#6b7280; --bg:#ffffff;
    --shadow:0 8px 22px rgba(0,0,0,.06);
    width:min(var(--max),94vw); margin:0 auto; color:#1A1A1A;
    font-size:clamp(.98rem,.92rem + .22vw,1.06rem); line-height:1.65;
}
.materials *{box-sizing:border-box}
.materials a{color:var(--blue);text-decoration:none}
.materials a:hover{text-decoration:underline}

.m-head{padding:22px 0 14px}
.m-ey{display:inline-flex;gap:.5rem;padding:.34rem .68rem;border:1px solid #e7ecff;border-radius:999px;background:#f4f7ff;color:#0b1a3a;font-weight:800;font-size:.84rem}
.m-title{margin:.45rem 0 .35rem;color:#0033a1;font-weight:900;font-size:clamp(1.35rem,1.05rem + 1.2vw,1.9rem);line-height:1.16}
.m-lead{color:var(--muted);max-width:72ch}

.m-group{margin:18px 0;border:1px solid var(--line);border-radius:14px;background:#fbfcff;box-shadow:var(--shadow);overflow:hidden}
.m-group summary{cursor:pointer;list-style:none;padding:12px 16px;font-weight:900;color:#0f2b82;display:flex;align-items:center;gap:10px}
.m-group summary::marker{display:none}
.m-group summary span.dot{width:120px;height:4px;background:var(--yellow);border-radius:2px;display:inline-block}
.m-group summary::after{content:"▾";margin-left:auto;transition:transform .2s ease}
.m-group[open] summary{background:#fff}
.m-group[open] summary::after{transform:rotate(180deg)}
.m-wrap{padding:12px 14px 18px}

.m-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:16px}
@media (max-width:980px){ .m-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:620px){ .m-grid{grid-template-columns:1fr} }

.m-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);box-shadow:var(--shadow);padding:14px}
.m-row{display:flex;align-items:center;gap:10px}
.m-ext{min-width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:900;color:#fff}
.m-ext.pdf{background:#E11D48}
.m-title-sm{margin:0;font-weight:900;color:#0f2b82}
.m-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.92em}
.m-tag{display:inline-flex;align-items:center;gap:.4rem;padding:.32rem .6rem;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:.9em}
.m-actions{display:flex;gap:10px;margin-top:6px}
.m-btn{display:inline-flex;align-items:center;justify-content:center;padding:.66rem 1rem;border-radius:12px;background:var(--yellow);color:#03266d;font-weight:900;border:2px solid transparent;box-shadow:0 8px 22px rgba(255,213,0,.24)}
.m-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(255,213,0,.3);text-decoration:none}
.m-btn.ol{background:#fff;border-color:#e5e7eb;box-shadow:none}
.m-btn.ol:hover{border-color:#d1d5db}


.site-header .menu li.nav-disabled > a{
    color:#6b7280;
    cursor:default;
    text-decoration:none;
}
@media (min-width:769px){
    .site-header .menu li.nav-disabled > a:hover{
        background:transparent;
    }
}



.section1 > .container{
    width:min(1200px,92vw) !important;
    margin-inline:auto !important;
}


.section1 .text-section{ text-align:center !important; }

.section1 .text-section h3{
    margin:0 auto 18px !important;
    padding-top:15px !important;
    display:inline-block !important;
    position:relative !important;
    left:auto !important; right:auto !important;
    transform:none !important;
}

.section1 .text-section h3::before{
    content:"";
    position:absolute; top:0;
    left:50% !important; transform:translateX(-50%) !important;
    width:150px; height:4px; background:var(--yellow); border-radius:2px;
}


.collections{
    left:auto !important;
    text-align:center !important;
    margin-left:0 !important; margin-right:0 !important;
}


@media (max-width: 768px){
    .section1 .container{
        flex-direction:column !important;
        gap:18px !important;
    }
    .section1 .image, .section1 .text-section{
        max-width:100% !important;
        flex:unset !important;
    }
    .card-container{
        grid-template-columns:1fr !important;
        gap:16px !important;
        padding:20px 1rem !important;
        width:min(1200px,92vw) !important;
        margin:0 auto !important;
    }
}


@media (max-width: 768px){
    .custom-header::before{
        left:50% !important; transform:translate(-50%,-50%) scaleY(-1) !important;
        top: 90px !important;
    }
}


.site-header .menu li.nav-disabled > a{
    pointer-events:none;
    opacity:.7;
}

/* ===== Contact Form 7 — Clean Pro Card ===== */
:root{
    --cf7-bg:#ffffff;
    --cf7-text:#111827;
    --cf7-muted:#6b7280;
    --cf7-line:#e5e7eb;
    --cf7-focus:#0033a1;   /* ваш корпоративний синій */
    --cf7-accent:#FFD500;  /* акцентний жовтий */
    --cf7-danger:#e11d48;
    --cf7-success:#059669;
    --cf7-shadow:0 10px 28px rgba(2,6,23,.08);
    --cf7-radius:14px;
    --cf7-pad:18px;
}

/* Карта форми */
.wpcf7 form .cf7-card{
    background:var(--cf7-bg);
    border:1px solid var(--cf7-line);
    border-radius:var(--cf7-radius);
    box-shadow:var(--cf7-shadow);
    padding:clamp(16px,2.5vw,28px);
}

/* Сітка */
.wpcf7 form .cf7-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.wpcf7 form .cf7-col-span-2{ grid-column:1/-1; }

@media (max-width: 720px){
    .wpcf7 form .cf7-grid{ grid-template-columns:1fr; }
}

/* Поля */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width:100%;
    appearance:none;
    background:#fff;
    border:1px solid var(--cf7-line);
    border-radius:12px;
    padding:12px 14px;
    font-size:16px;
    line-height:1.5;
    color:var(--cf7-text);
    transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.wpcf7 textarea{ min-height:140px; resize:vertical; }

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder{ color:var(--cf7-muted); }

/* Фокус */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{
    outline:none;
    border-color:var(--cf7-focus);
    box-shadow:0 0 0 4px color-mix(in oklab, var(--cf7-focus) 12%, transparent);
}

.wpcf7 .cf7-field label{
    display:block;
    font-size:14px;
    color:#334155;
    margin:2px 2px 6px;
}


.wpcf7 input[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 18px;
    border-radius:12px;
    border:1px solid var(--cf7-focus);
    background:linear-gradient(180deg, var(--cf7-focus), #002b88);
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.wpcf7 input[type="submit"]:hover{ filter:brightness(1.05); box-shadow:0 8px 18px rgba(0,51,161,.18); }
.wpcf7 input[type="submit"]:active{ transform:translateY(1px); }


.wpcf7 .ajax-loader{ margin-left:10px; }


.wpcf7 form .wpcf7-response-output{
    margin:16px 0 0;
    border-radius:12px !important;
    border:1px solid transparent !important;
    padding:14px 16px !important;
    background:#f0fdf4;
    color:#065f46;
    border-color:#bbf7d0 !important;
}
.wpcf7 form.invalid .wpcf7-response-output{
    background:#fff1f2; color:#9f1239; border-color:#fecdd3 !important;
}
.wpcf7 form .wpcf7-spinner{ margin-left:10px; }


.wpcf7 .wpcf7-not-valid{
    border-color:var(--cf7-danger) !important;
    box-shadow:0 0 0 4px color-mix(in oklab, var(--cf7-danger) 12%, transparent);
}
.wpcf7 .wpcf7-not-valid-tip{
    font-size:13px; color:var(--cf7-danger); margin-top:6px;
}


.wpcf7 .grecaptcha-badge{ z-index:5; }
.wpcf7 .wpcf7-form-control.wpcf7-quiz{ letter-spacing:.3px; }


@media (prefers-color-scheme: dark){
    :root{
        --cf7-bg:#0b1220;
        --cf7-text:#e5e7eb;
        --cf7-muted:#9aa4b2;
        --cf7-line:#1f2a44;
    }
    .wpcf7 input, .wpcf7 select, .wpcf7 textarea{ background:#0e1627; }
    .wpcf7 input[type="submit"]{ background:linear-gradient(180deg, #0b3e9c, #062a70); }
    .wpcf7 form .cf7-card{ border-color:#17203a; }
    .wpcf7 .cf7-field label{ color:#c7d2fe; }
}


.wpcf7 .cf7-legend{
    display:flex; align-items:center; gap:10px; margin:0 0 10px;
    font-weight:700; color:#0b3e9c; font-size:clamp(18px,1.4vw,20px);
}
.wpcf7 .cf7-legend::before{
    content:""; width:14px; height:14px; border-radius:4px; background:var(--cf7-accent);
    box-shadow:0 0 0 6px color-mix(in oklab, var(--cf7-accent) 28%, transparent);
}
/* Контейнер форми */
.wpcf7 form {
    max-width: 720px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 10px 28px rgba(2,6,23,.08);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Поля вводу */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
    transition: border-color .2s, box-shadow .2s;
    color: #111827;
}

.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #0033a1;
    box-shadow: 0 0 0 3px rgba(0,51,161,.15);
}

/* Підписи */
.wpcf7 label {
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

/* Кнопка */
.wpcf7 input[type="submit"] {
    background: linear-gradient(180deg, #0033a1, #00247D);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.wpcf7 input[type="submit"]:hover {
    background: #FFD500;
    color: #0033a1;
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(1px);
}

/* Повідомлення */
.wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}


.evgrid .section>h3{
    font-size: 2.05rem!important;
}

.title clamp{
    background: linear-gradient(135deg, #0b3e9c, #062b6f);
    color: #fff !important;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.h2{
    display: inline-flex
;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.05rem, 2.6vw, 2.0rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin: 0;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.evgrid .section>h3{
    border-radius: 12px!important;
    background: #f8b300 !important;
    font-size: clamp(.95rem, 2.2vw, 1.05rem);
    margin: 0;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 6px;
    font-size: 2.05rem !important;
}
#ev.evgrid .title{
    background: linear-gradient(135deg, #0b3e9c, #062b6f);
    color: #fff !important;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.evpub .h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.05rem, 2.6vw, 2.0rem)!important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin: 0;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.evpub .sec h3{
    border-radius: 12px;
    background: #f8b300 !important;
    display: flex;
    justify-content: center;
    font-size: clamp(.95rem, 2.2vw, 1.05rem);
    margin: 0;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 6px;
    font-size: 2.05rem !important;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 900;
}

.evpub .t{
    margin: 10px;
    background: linear-gradient(135deg, #0b3e9c, #062b6f);
    color: #fff !important;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.evpub .ttl{
    margin: 10px;
    background: linear-gradient(135deg, #0b3e9c, #062b6f);
    color: #fff !important;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.m-title{
    border-radius: 12px;
    background: #f8b300 !important;
    display: flex
;
    justify-content: center;
    font-size: clamp(.95rem, 2.2vw, 1.05rem);
    margin: 0;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 6px;
    font-size: 2.05rem !important;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 900;
}