/*
Theme Name: SVD SVO
Description: Официальная адаптивная тема для РОО ЛНР «Союз ветеранов Донбасса СВО».
Version: 1.0.0
Text Domain: svd-svo
*/
/* SVD CONTACTS */
.svd-contact-panel{
    max-width:1100px;
    margin:0 auto;
}
.svd-contact-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}
.svd-contact-item{
    background:#fff;
    border:1px solid rgba(20,35,28,.10);
    border-radius:20px;
    padding:28px 30px;
    min-height:150px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}
.svd-contact-wide{
    grid-column:1 / -1;
}
.svd-contact-label{
    margin-bottom:12px;
    color:#7b806f;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.svd-contact-value{
    color:#17251e;
    font-size:22px;
    font-weight:750;
    line-height:1.35;
}
.svd-contact-value a{
    color:inherit;
    text-decoration:none;
}
.svd-contact-value a:hover{
    text-decoration:underline;
}
.svd-contact-note{
    margin-top:10px;
    color:#747a76;
    font-size:14px;
}
.svd-contact-action{
    margin-top:22px;
    padding:26px 30px;
    border-radius:20px;
    background:#17251e;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.svd-contact-action strong{
    display:block;
    font-size:21px;
    margin-bottom:5px;
}
.svd-contact-action span{
    color:rgba(255,255,255,.72);
}
.svd-contact-action .btn{
    flex:0 0 auto;
}
@media(max-width:700px){
    .svd-contact-grid{
        grid-template-columns:1fr;
    }
    .svd-contact-wide{
        grid-column:auto;
    }
    .svd-contact-item{
        min-height:0;
        padding:22px;
    }
    .svd-contact-value{
        font-size:19px;
    }
    .svd-contact-action{
        padding:22px;
        flex-direction:column;
        align-items:flex-start;
    }
}

/* ===== Leadership page ===== */

.svd-leadership-page{
    padding:10px 0 55px;
}

.svd-leadership-intro{
    max-width:760px;
    margin:0 auto 42px;
    text-align:center;
    color:#747b82;
    font-size:18px;
    line-height:1.65;
}

.svd-leadership-tree{
    max-width:1120px;
    margin:0 auto;
}

.svd-leader-card{
    position:relative;
    background:#fff;
    border:1px solid #d7ad50;
    border-radius:18px;
    padding:36px 32px 34px;
    text-align:center;
    box-shadow:0 14px 38px rgba(23,31,36,.07);
}

.svd-leader-main{
    max-width:600px;
    margin:0 auto;
}

.svd-leader-role{
    margin:0 0 8px !important;
    color:#bf8c22;
    font-size:18px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.svd-leader-org{
    margin:0 !important;
    color:#2b3136;
    font-size:18px;
}

.svd-leader-rank{
    margin:28px 0 8px !important;
    color:#747b82;
    font-size:15px;
    letter-spacing:.13em;
}

.svd-leader-surname{
    margin:12px 0 4px !important;
    color:#111820;
    font-size:42px;
    line-height:1;
    font-weight:900;
}

.svd-leader-name{
    margin:8px 0 0 !important;
    color:#111820;
    font-size:26px;
    line-height:1.15;
    font-weight:800;
}

.svd-leadership-lines{
    position:relative;
    height:88px;
    max-width:820px;
    margin:0 auto;
}

.svd-line-v{
    position:absolute;
    top:0;
    left:50%;
    width:2px;
    height:46px;
    background:#d7ad50;
    transform:translateX(-50%);
}

.svd-line-h{
    position:absolute;
    top:45px;
    left:19%;
    right:19%;
    height:2px;
    background:#d7ad50;
}

.svd-leader-row{
    position:relative;
    gap:70px;
    margin:0 !important;
}

.svd-leader-row > .wp-block-column{
    position:relative;
}

.svd-leader-row > .wp-block-column:before{
    content:"";
    position:absolute;
    top:-43px;
    left:50%;
    width:2px;
    height:43px;
    background:#d7ad50;
    transform:translateX(-50%);
}

.svd-leader-row .svd-leader-card{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.svd-leader-row .svd-leader-surname{
    margin-top:32px !important;
}

@media (max-width: 781px){

    .svd-leadership-page{
        padding-bottom:30px;
    }

    .svd-leadership-intro{
        font-size:16px;
        margin-bottom:28px;
    }

    .svd-leader-card{
        padding:27px 18px 25px;
        border-radius:15px;
    }

    .svd-leader-role{
        font-size:15px;
    }

    .svd-leader-org{
        font-size:16px;
    }

    .svd-leader-surname{
        font-size:32px;
    }

    .svd-leader-name{
        font-size:21px;
    }

    .svd-leadership-lines{
        height:35px;
    }

    .svd-line-v{
        height:35px;
    }

    .svd-line-h{
        display:none;
    }

    .svd-leader-row{
        display:block !important;
    }

    .svd-leader-row > .wp-block-column{
        margin:0 0 26px !important;
    }

    .svd-leader-row > .wp-block-column:before{
        top:-26px;
        height:26px;
    }

}

/* Telegram album gallery */












/* SVD Telegram gallery lightbox */
.svd-lightbox{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.92);
    padding:24px;
}

.svd-lightbox.is-open{
    display:flex;
}

.svd-lightbox__img{
    max-width:min(92vw,1400px);
    max-height:86vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:14px;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.svd-lightbox__close,
.svd-lightbox__prev,
.svd-lightbox__next{
    position:absolute;
    border:0;
    background:rgba(255,255,255,.12);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(8px);
}

.svd-lightbox__close{
    top:20px;
    right:20px;
    width:46px;
    height:46px;
    border-radius:50%;
    font-size:30px;
}

.svd-lightbox__prev,
.svd-lightbox__next{
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:70px;
    border-radius:16px;
    font-size:40px;
}

.svd-lightbox__prev{ left:20px; }
.svd-lightbox__next{ right:20px; }

.svd-lightbox__counter{
    position:absolute;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:14px;
    backdrop-filter:blur(8px);
}

@media (max-width:700px){
    .svd-lightbox{
        padding:12px;
    }

    .svd-lightbox__img{
        max-width:96vw;
        max-height:82vh;
        border-radius:10px;
    }

    .svd-lightbox__prev,
    .svd-lightbox__next{
        width:44px;
        height:58px;
        font-size:32px;
    }

    .svd-lightbox__prev{ left:8px; }
    .svd-lightbox__next{ right:8px; }

    .svd-lightbox__close{
        top:10px;
        right:10px;
    }
}

/* ===== SVD NEWS CLEAN FINAL START ===== */

/* ==================================================
   ГЛАВНАЯ: ЗАГОЛОВОК + КНОПКА
   ================================================== */

#news > .container > .section-head{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:30px !important;
    width:100% !important;
    margin:0 0 30px !important;
}

#news > .container > .section-head > div{
    flex:1 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
}

#news > .container > .section-head .eyebrow{
    margin:0 0 8px !important;
}

#news > .container > .section-head h2{
    margin:0 !important;
}

#news > .container > .section-head > a.btn{
    position:static !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    width:auto !important;
    margin:0 !important;
    transform:none !important;
    float:none !important;
    white-space:nowrap !important;
}


/* ==================================================
   ГЛАВНАЯ: КАРТОЧКИ
   ================================================== */

#news .news-grid.svd-news-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:none !important;
    gap:20px !important;
    width:100% !important;
}

#news article.news-card.svd-news-card{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:390px !important;
    min-height:390px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    border-radius:26px !important;
    background-color:#18261d !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

#news article.news-card.svd-news-card::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:1 !important;
    pointer-events:none !important;
    background:linear-gradient(
        180deg,
        rgba(7,12,9,.06) 0%,
        rgba(7,12,9,.22) 48%,
        rgba(7,12,9,.90) 100%
    ) !important;
}

/* Вся карточка — одна ссылка */
#news article.news-card.svd-news-card > a.svd-news-card__link{
    position:absolute !important;
    inset:0 !important;
    z-index:10 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    cursor:pointer !important;
    pointer-events:auto !important;
}

/* Текст визуально сверху, но клики проходят в ссылку */
#news article.news-card.svd-news-card > .svd-news-card__content{
    position:absolute !important;
    left:32px !important;
    right:32px !important;
    bottom:29px !important;
    z-index:5 !important;
    width:auto !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    pointer-events:none !important;
}

#news .svd-news-card__content .category{
    display:block !important;
    width:max-content !important;
    margin:0 0 11px !important;
    color:#d6b55c !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.13em !important;
    text-transform:uppercase !important;
}

#news .svd-news-card__content h3{
    max-width:1000px !important;
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(27px,3vw,43px) !important;
    line-height:1.07 !important;
    letter-spacing:-.025em !important;
}

#news .svd-news-card__content time{
    display:block !important;
    margin-top:14px !important;
    color:rgba(255,255,255,.72) !important;
    font-size:13px !important;
}


/* ==================================================
   ОТДЕЛЬНАЯ НОВОСТЬ
   ================================================== */

body.single-post .svd-news-hero{
    width:100% !important;
    padding:55px 0 49px !important;
    background:
        radial-gradient(circle at 87% 10%,rgba(205,171,79,.14),transparent 34%),
        linear-gradient(135deg,#242925,#383d39) !important;
    color:#fff !important;
}

body.single-post .svd-news-hero__inner{
    max-width:1080px !important;
}

body.single-post .svd-news-hero__eyebrow{
    margin:0 0 15px !important;
    color:#d6b55c !important;
    font-size:12px !important;
    font-weight:900 !important;
    letter-spacing:.14em !important;
    text-transform:uppercase !important;
}

body.single-post .svd-news-hero__title{
    max-width:1040px !important;
    margin:0 !important;
    padding:0 !important;
    color:#fff !important;
    font-size:clamp(36px,4.2vw,61px) !important;
    line-height:1.04 !important;
    letter-spacing:-.03em !important;
}

body.single-post .svd-news-hero__meta{
    margin-top:19px !important;
    color:rgba(255,255,255,.7) !important;
    font-size:14px !important;
}

body.single-post .svd-news-body{
    width:100% !important;
    padding:50px 0 70px !important;
    background:#fff !important;
}

body.single-post .svd-news-article,
body.single-post .svd-news-content{
    max-width:960px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

body.single-post .svd-news-content{
    color:#303632 !important;
    font-size:18px !important;
    line-height:1.72 !important;
}

body.single-post .svd-news-content p{
    margin:0 0 1.35em !important;
}


/* ==================================================
   TELEGRAM-ГАЛЕРЕЯ В НОВОСТИ
   Только раскладка. Lightbox НЕ трогаем.
   ================================================== */

body.single-post .svd-news-content 






/* ==================================================
   ПЛАНШЕТ
   ================================================== */

@media(max-width:900px){

    #news article.news-card.svd-news-card{
        height:330px !important;
        min-height:330px !important;
    }

    body.single-post .svd-news-content 
}


/* ==================================================
   ТЕЛЕФОН
   ================================================== */

@media(max-width:700px){

    #news > .container > .section-head{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:17px !important;
    }

    #news > .container > .section-head > a.btn{
        align-self:flex-start !important;
    }

    #news article.news-card.svd-news-card{
        height:285px !important;
        min-height:285px !important;
        border-radius:20px !important;
    }

    #news article.news-card.svd-news-card > .svd-news-card__content{
        left:21px !important;
        right:21px !important;
        bottom:22px !important;
    }

    #news .svd-news-card__content h3{
        font-size:25px !important;
    }

    body.single-post .svd-news-hero{
        padding:34px 0 30px !important;
    }

    body.single-post .svd-news-hero__title{
        font-size:clamp(29px,9vw,40px) !important;
    }

    body.single-post .svd-news-body{
        padding:31px 0 48px !important;
    }

    body.single-post .svd-news-content{
        font-size:16px !important;
        line-height:1.66 !important;
    }

    body.single-post .svd-news-content 
}

/* ===== SVD NEWS CLEAN FINAL END ===== */

