/*
Theme Name: YDZH IT & Security
Description: Професионално представяне и блог с персонална визия за myself.bg.
Version: 1.0.90
Requires at least: 6.0
Requires PHP: 8.0
Author: YDZH
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ydzh
*/

:root{--bg:#0d1720;--panel:#14232d;--ink:#eaf0ed;--muted:#a6b6bc;--accent:#a8e4cd;--line:#2b3c46}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.7 system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}header{position:sticky;top:0;z-index:10;background:#0d1720ed;border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}nav{max-width:1240px;margin:auto;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{white-space:nowrap;font-size:23px;letter-spacing:-1px;font-weight:750}.brand span{color:var(--accent)}.links{display:flex;gap:25px;font-size:13px;color:var(--muted)}.links a:hover{color:var(--accent)}main{max-width:1240px;margin:auto;padding:0 30px}.hero{padding:100px 0 80px;display:grid;grid-template-columns:1.3fr 1fr;gap:65px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--accent);font-weight:650}h1{font-size:clamp(42px,5.2vw,72px);line-height:1.1;letter-spacing:-3px;margin:25px 0}h1 em{font-style:normal;color:var(--accent)}.intro{max-width:600px;color:var(--muted);font-size:18px}.actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-block;padding:12px 22px;border:1px solid var(--line);border-radius:4px;font-size:14px;cursor:pointer;background:transparent;color:var(--ink)}.btn.primary{background:var(--accent);color:#14272b;border-color:var(--accent)}.diagram{position:relative;min-height:380px;background:radial-gradient(ellipse at center,#25473d70,transparent 65%);display:grid;place-items:center}.orbit{width:300px;height:300px;border:1px solid #80bca946;border-radius:50%;position:relative;display:grid;place-items:center}.orbit:before{content:'';position:absolute;inset:35px;border:1px dashed #80bca93d;border-radius:50%}.core{width:155px;height:155px;border:1px solid #a8e4cd80;border-radius:25px;background:#142e31;display:grid;place-content:center;text-align:center;box-shadow:0 0 55px #a8e4cd12;font-size:13px}.core b{font-size:42px;color:var(--accent);line-height:1.2}.node{position:absolute;border:1px solid var(--line);background:var(--panel);padding:9px 18px;font-size:12px;border-radius:5px}.n1{top:-14px}.n2{right:-42px;top:130px}.n3{bottom:-14px}.n4{left:-50px;top:130px}.diagram-caption{position:absolute;bottom:0;font:10px monospace;color:var(--muted);letter-spacing:2px}.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0}.strip div{padding:0 25px;border-left:1px solid var(--line)}.strip div:first-child{border:0;padding-left:0}.strip b{display:block;font-size:26px;letter-spacing:-1px}.strip span{font-size:12px;color:var(--muted)}section{padding:85px 0;border-bottom:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:32px}h2{font-size:36px;letter-spacing:-1.4px;line-height:1.2;margin:12px 0}h3{font-size:20px;line-height:1.4;margin:10px 0}.section-head p{max-width:430px;color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.card{background:var(--panel);padding:30px;border:1px solid var(--line);border-radius:7px}.card p{color:var(--muted);font-size:14px}.number{font-family:monospace;font-size:12px;color:var(--accent)}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.tag{font-size:11px;border:1px solid #3a4b52;padding:3px 10px;border-radius:30px;color:#c1cece}.about{display:grid;grid-template-columns:1fr 1.4fr;gap:65px}.about p{color:var(--muted)}.quote{font-size:24px;line-height:1.5;margin:0;color:var(--ink)!important}.project-row{display:grid;grid-template-columns:60px 1fr 1fr;gap:24px;padding:28px 0;border-top:1px solid var(--line)}.project-row p{margin:0;color:var(--muted);font-size:14px}.project-row h3{margin:0 0 5px}.label{color:var(--accent);font-size:11px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.filter{background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 17px;cursor:pointer;font-size:12px}.filter.active{background:var(--accent);color:var(--bg);border-color:var(--accent)}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.resource{display:flex;flex-direction:column;align-items:start;min-height:255px}.resource .btn{margin-top:auto;padding:6px 0;border:0;color:var(--accent)}.resource[hidden]{display:none}.training{display:grid;grid-template-columns:1fr 2fr;gap:40px}.big-number{font-size:100px;line-height:1;font-weight:700;letter-spacing:-6px;color:var(--accent)}.training p{color:var(--muted);font-size:14px}.topic{display:grid;grid-template-columns:40px 1fr;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.topic small{display:block;color:var(--muted)}.notice{font-size:12px;color:var(--muted);border-left:2px solid var(--accent);padding-left:15px;margin-top:25px}.contact{text-align:center;padding:65px 20px;background:#162c30;border-radius:8px}.contact p{color:var(--muted);max-width:560px;margin:15px auto}footer{max-width:1240px;padding:30px;margin:auto;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}dialog{max-width:760px;width:calc(100% - 35px);max-height:85vh;border:1px solid var(--line);border-radius:10px;padding:35px;background:var(--panel);color:var(--ink)}dialog::backdrop{background:#000b}dialog p,dialog li{color:var(--muted)}.close{float:right;color:var(--ink);background:transparent;border:1px solid var(--line);cursor:pointer;padding:5px 12px}.menu{display:none}
@media(max-width:850px){.hero{grid-template-columns:1fr;padding:65px 0;gap:20px}.diagram{min-height:360px}.links{gap:13px;font-size:11px}.resource-grid{grid-template-columns:1fr}.about,.training{grid-template-columns:1fr;gap:25px}.section-head{display:block}.project-row{grid-template-columns:35px 1fr}.project-row>p{grid-column:2}.grid{grid-template-columns:1fr}}@media(max-width:580px){.brand{font-size:clamp(16px,4.7vw,23px)}main{padding:0 20px}nav{padding:18px 20px;flex-wrap:wrap}.menu{display:block;background:transparent;border:1px solid var(--line);color:var(--ink);padding:6px 12px}.links{display:none;width:100%;flex-wrap:wrap;font-size:13px}.links.open{display:flex}h1{letter-spacing:-2px}h2{font-size:30px}.strip{grid-template-columns:1fr;gap:18px}.strip div{border:0;padding:0}.diagram{transform:scale(.9)}section{padding:55px 0}footer{gap:20px}.card{padding:23px}}
.blog-toolbar{display:flex;justify-content:space-between;gap:25px;align-items:start;margin-bottom:28px}.search-label{font-size:11px;color:var(--muted);min-width:260px}.search-label input{display:block;width:100%;margin-top:5px;background:var(--panel);border:1px solid var(--line);color:var(--ink);padding:10px 14px;border-radius:4px;font-size:13px}.resource h3{font-size:21px}.resource{min-height:310px}.resource .btn{margin-top:auto}.resource a:hover{color:var(--ink)}a:hover{color:var(--accent)}.btn.primary:hover{background:#c2f5e2;color:#14272b}.resource[hidden]{display:none}@media(max-width:850px){.blog-toolbar{display:block}.search-label{display:block;max-width:400px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.site-header nav{flex-wrap:wrap}.brand{white-space:normal}.links ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}.links li{position:relative}.links .sub-menu{display:none;position:absolute;background:var(--panel);padding:16px;min-width:190px;z-index:20;border:1px solid var(--line)}.links li:hover>.sub-menu,.links li:focus-within>.sub-menu{display:block}.links .sub-menu li{padding:5px 0}.skip-link{position:absolute;left:15px;top:-100px;z-index:100;background:var(--accent);color:var(--bg);padding:10px}.skip-link:focus{top:12px}.admin-bar .site-header{top:32px}.entry{max-width:850px;margin:auto;padding:65px 0}.entry h1{font-size:clamp(32px,4vw,54px)}.entry-content{overflow-wrap:anywhere}.entry-content a{text-decoration:underline;color:var(--accent)}.entry-content img,.entry-content video,.entry-content iframe{max-width:100%;height:auto}.entry-content table{display:block;overflow:auto;max-width:100%;border-collapse:collapse}.entry-content td,.entry-content th{padding:10px;border:1px solid var(--line)}.entry-content pre{overflow:auto;background:var(--panel);padding:20px}.entry-content blockquote{border-left:3px solid var(--accent);margin-left:0;padding-left:24px;color:var(--muted)}.wp-caption{max-width:100%}.meta{font-size:12px;color:var(--muted)}.post-image{width:100%;height:180px;object-fit:cover;margin-bottom:15px;border-radius:4px}.resource h3 a:hover{color:var(--accent)}.resource{min-height:280px}.taxonomy{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.taxonomy a{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:6px 14px}.taxonomy a:hover{background:var(--panel)}.pagination{margin:35px 0}.page-numbers{padding:8px 14px;border:1px solid var(--line);display:inline-block}.page-numbers.current{background:var(--accent);color:var(--bg)}.search-form{display:flex;gap:10px;margin:25px 0}.search-field{min-width:0;width:100%;padding:11px;background:var(--panel);color:var(--ink);border:1px solid var(--line)}.search-submit{border:0;background:var(--accent);color:var(--bg);padding:10px 20px;cursor:pointer}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links ul{list-style:none;display:flex;gap:20px;margin:0;padding:0}.comment-list{padding-left:20px}.comment-list li{margin:20px 0}.comment-form label{display:block}.comment-form input:not([type=checkbox]),.comment-form textarea{max-width:100%;padding:10px;background:var(--panel);color:var(--ink);border:1px solid var(--line)}.comment-form .submit{cursor:pointer}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.training-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.site-footer{flex-wrap:wrap}.cards-section{padding:55px 0}.hero .core b{font-size:29px}.entry-content .alignwide{max-width:100%}
@media(max-width:850px){.links ul{flex-wrap:wrap;gap:13px}.training-list{grid-template-columns:1fr}}@media(max-width:580px){.links ul{display:block}.links li{padding:6px 0}.links .sub-menu{display:block;position:static;border:0;padding:0 0 0 18px;background:transparent}.search-form{flex-wrap:wrap}.brand{font-size:18px}}@media(max-width:782px){.admin-bar .site-header{top:46px}}@media(max-width:600px){.admin-bar .site-header{position:static}}
/* YDZH: Useful Resources accordion; keeps existing icons and links. */
.entry-content .resource-section > h3 { margin:0 0 12px; }
.entry-content .resource-section { margin-bottom:30px; }
.entry-content .resource-section .ydzh-resource-toggle {
  display:flex;align-items:center;gap:10px;width:100%;padding:0;
  border:0;background:transparent;color:inherit;font:inherit;text-align:left;
  cursor:pointer;
}
.entry-content .resource-section .ydzh-resource-toggle::after {
  content:'+';margin-left:auto;color:var(--accent);font-size:1.2em;line-height:1;
}
.entry-content .resource-section .ydzh-resource-toggle[aria-expanded="true"]::after {content:'−';}
.entry-content .resource-section .ydzh-resource-toggle:focus-visible {outline:2px solid var(--accent);outline-offset:5px;}
.entry-content .resource-section .ydzh-resource-toggle svg.category-icon {
  width:32px!important;height:32px!important;min-width:32px;max-width:32px;
  min-height:32px;max-height:32px;flex-shrink:0;margin:0;
}
.entry-content .resource-section > .resource-links {padding-left:0;}
.entry-content .resource-section .resource-links p {margin:0 0 8px;line-height:1.5;}
.entry-content .resource-section .resource-links p:last-child {margin-bottom:0;}
.entry-content .resource-section .resource-links[hidden] {display:none!important;}


/* ==========================================
   YDZH IT & SECURITY
   СЕКЦИЯ: НАВИГАЦИЯ МЕЖДУ СТРАНИЦИТЕ
   Постоянно оформление; променливите стойности са в Допълнителен CSS.
   ========================================== */
.ydzh-page-navigation {
    display:flex!important;justify-content:space-between!important;
    align-items:center!important;flex-wrap:wrap;gap:12px 20px;
    width:100%!important;box-sizing:border-box;
    margin-top:24px;padding-top:10px;border-top:1px solid #35505a;
}
.ydzh-page-navigation a {
    display:inline-block;color:var(--ydzh-nav-link,#6de4d5)!important;
    font-weight:600;text-decoration:none;margin:0!important;
}
.ydzh-page-navigation a:hover,.ydzh-page-navigation a:focus-visible {
    color:var(--ydzh-nav-hover,#b5f5ea)!important;text-decoration:underline;
}

/* ==========================================
   YDZH IT & SECURITY
   СЕКЦИЯ: ОБЩ ФУТЪР - ВСИЧКИ СТРАНИЦИ
   Подредба: връзки вляво, copyright в центъра, връщане вдясно.
   ========================================== */
.site-footer {
    display:grid!important;grid-template-columns:1fr auto 1fr;
    align-items:center;gap:20px;
    background-color:var(--ydzh-footer-bg,#192e3b)!important;
    border-top:none!important;padding:var(--ydzh-footer-padding,32px 30px)!important;
    box-sizing:border-box;color:#c6d8dd;font-size:14px!important;
}
.site-footer > span {
    grid-column:2;grid-row:1;text-align:center;
    font-size:14px!important;white-space:nowrap;
}
.site-footer .footer-links {grid-column:1;grid-row:1;justify-self:start;}
.site-footer > a {grid-column:3;grid-row:1;justify-self:end;}
.site-footer a {
    color:var(--ydzh-footer-link,#d5e8eb)!important;
    font-size:14px!important;text-decoration:none;transition:color .2s ease;
}
.site-footer a:hover,.site-footer a:focus-visible {
    color:var(--ydzh-footer-hover,#6de4d5)!important;text-decoration:underline;
}
@media(max-width:650px) {
    .site-footer {display:flex!important;flex-direction:column;gap:14px;text-align:center;}
    .site-footer > span {white-space:normal;}
    .site-footer .footer-links {justify-self:auto;}
    .site-footer .footer-links ul {justify-content:center;flex-wrap:wrap;}
}

/* ==========================================
   YDZH IT & SECURITY
   СТРАНИЦИ: ПРАВНИ ПОЛИТИКИ
   СЕКЦИЯ: ШИРИНА И СВЕТЪЛ ФОН
   ВАЖНО: Запазена работещата ширина 100% / max-width 1240px.
   ========================================== */
body:has(.ydzh-legal-page) main#main {width:100%!important;max-width:none!important;}
body:has(.ydzh-legal-page) article.entry {
    width:100%!important;
    max-width:var(--ydzh-legal-max-width,1240px)!important;
    margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;
}
body:has(.ydzh-legal-page) .entry-content {width:100%!important;max-width:none!important;}
body:has(.ydzh-legal-page) .ydzh-legal-page {
    width:100%!important;max-width:none!important;box-sizing:border-box;
    background-color:var(--ydzh-legal-bg,#eaf1f3)!important;
    color:#354c56!important;
    padding:var(--ydzh-legal-padding,36px 42px)!important;
    border-radius:8px;line-height:1.75;
}
/* Основен текст и списъци */
.ydzh-legal-page p {
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;
    color:#354c56!important;font-size:16px;line-height:1.75;
}
.ydzh-legal-page ul,.ydzh-legal-page ol {
    width:100%!important;max-width:none!important;box-sizing:border-box;
}
.ydzh-legal-page li {max-width:none!important;color:#354c56!important;font-size:16px;line-height:1.75;}
/* Заглавия в светлото поле */
.ydzh-legal-page h2,.ydzh-legal-page h3 {
    color:#193542!important;width:100%!important;max-width:none!important;
}
.ydzh-legal-page h2 {
    font-size:var(--ydzh-legal-h2,24px)!important;
    line-height:1.35!important;margin-top:26px!important;margin-bottom:12px!important;
}
.ydzh-legal-page h3 {
    font-size:var(--ydzh-legal-h3,19px)!important;
    line-height:1.4!important;margin-top:20px;margin-bottom:10px;
}
/* Имейл адреси и текстови връзки */
.ydzh-legal-page a {
    color:var(--ydzh-legal-link,#17547a)!important;
    text-decoration:underline!important;text-underline-offset:3px;font-weight:600;
}
.ydzh-legal-page a:hover,.ydzh-legal-page a:focus-visible {
    color:var(--ydzh-legal-hover,#0b3654)!important;
}
/* Мобилни устройства */
@media(max-width:650px) {
    body:has(.ydzh-legal-page) article.entry {width:calc(100% - 24px)!important;}
    body:has(.ydzh-legal-page) .ydzh-legal-page {padding:22px 18px!important;}
    .ydzh-legal-page h2 {font-size:21px!important;}
    .ydzh-legal-page h3 {font-size:18px!important;}
}


/* YDZH 1.0.3: animated six-domain network on the home page only. */
.hero .ydzh-network{width:100%;min-width:0;min-height:0;aspect-ratio:700/430;background:radial-gradient(ellipse at center,#25473d35,transparent 70%);display:block;overflow:visible}
.hero .ydzh-network-svg{display:block;width:100%;height:auto;overflow:visible}
.ydzh-network .ydzh-ring{fill:none;stroke:#527e79;stroke-width:1.2;stroke-dasharray:3 7;opacity:.78}
.ydzh-network .ydzh-ring-middle{stroke:#65948a;stroke-width:1.1;stroke-dasharray:2 8;opacity:.65}
.ydzh-network .ydzh-ring-inner{stroke:#4c8079;stroke-width:1.1;opacity:.62}
.ydzh-network .ydzh-network-link{fill:none;stroke:#426b68;stroke-width:1.5}
.ydzh-network .ydzh-network-signal{fill:none;stroke:#9aebd0;stroke-width:2.5;stroke-dasharray:9 190;animation:ydzh-signal-flow 3.5s linear infinite;filter:drop-shadow(0 0 4px #8ee5c6)}
.ydzh-network .ydzh-network-hub{fill:#183536;stroke:#8ee5c6;stroke-width:1.8;animation:ydzh-hub-glow 4s ease-in-out infinite}
.ydzh-network .ydzh-network-node rect{fill:#172e37;stroke:#608f8a;stroke-width:1.3;transition:fill .3s,stroke .3s}
.ydzh-network .ydzh-network-security rect{stroke:#83d9be}
.ydzh-network .ydzh-network-node:hover rect{fill:#25504a;stroke:#9aebd0}
.ydzh-network .ydzh-network-node text{fill:#e0efeb;font:13px system-ui,sans-serif;text-anchor:middle;pointer-events:none}
.ydzh-network .ydzh-network-title{fill:#a3ecd6;font:800 31px system-ui,sans-serif;text-anchor:middle}
.ydzh-network .ydzh-network-subtitle{fill:#d4e8e6;font:11px system-ui,sans-serif;letter-spacing:1.5px;text-anchor:middle}
@keyframes ydzh-signal-flow{to{stroke-dashoffset:-199}}
@keyframes ydzh-hub-glow{0%,100%{filter:drop-shadow(0 0 3px #69cdb844)}50%{filter:drop-shadow(0 0 16px #69cdb899)}}
@media(max-width:850px){.hero .ydzh-network{width:min(100%,620px);margin:0 auto}}
@media(max-width:580px){.hero .ydzh-network{transform:none;min-height:0}.hero .ydzh-network-svg{width:100%}}
@media(prefers-reduced-motion:reduce){.ydzh-network .ydzh-network-signal,.ydzh-network .ydzh-network-hub{animation:none}}

/* YDZH 1.0.4 — larger, balanced six-domain diagram, without enlarging the central logo. */
@media (min-width:851px){
 .hero:has(.ydzh-network){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px}
 .hero .ydzh-network{width:100%;aspect-ratio:760/450}
}
.hero .ydzh-network{aspect-ratio:760/450}
.ydzh-network .ydzh-ring{stroke:#59857f;stroke-width:1.4;opacity:.8}
.ydzh-network .ydzh-ring-middle{stroke:#65948a;stroke-width:1.3;opacity:.68}
.ydzh-network .ydzh-ring-inner{stroke:#4c8079;stroke-width:1.3;opacity:.65}
.ydzh-network .ydzh-network-link{stroke-width:1.7}
.ydzh-network .ydzh-network-signal{stroke-width:2.8;stroke-dasharray:12 245;animation-name:ydzh-signal-flow-104;animation-duration:3.7s}
.ydzh-network .ydzh-network-hub{stroke-width:1.7;animation-name:ydzh-hub-glow-104}
.ydzh-network .ydzh-network-node rect{stroke:#659c92;stroke-width:1.6}
.ydzh-network .ydzh-network-node text{font:500 17px system-ui,sans-serif}
.ydzh-network .ydzh-network-title{font:700 26px system-ui,sans-serif}
.ydzh-network .ydzh-network-subtitle{font:10px system-ui,sans-serif;letter-spacing:1px}
@keyframes ydzh-signal-flow-104{to{stroke-dashoffset:-257}}
@keyframes ydzh-hub-glow-104{0%,100%{filter:drop-shadow(0 0 3px #69cdb844)}50%{filter:drop-shadow(0 0 11px #69cdb877)}}
@media (max-width:580px){.hero .ydzh-network{transform:none}}

/* YDZH 1.0.5: approved home hero only. Other site sections unchanged. */
@media(min-width:851px){
 .hero:has(.ydzh-network){grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:clamp(8px,1.5vw,22px);padding:60px 0;min-height:500px}
 .hero .ydzh-network{width:110%;margin-left:-5%}
}
.hero:has(.ydzh-network) h1{font-size:clamp(30px,3.1vw,48px);line-height:1.15;letter-spacing:-1.4px;margin:22px 0 24px}
.hero:has(.ydzh-network) .intro{font-size:clamp(13px,1.1vw,16px);line-height:1.8;max-width:510px}
.hero:has(.ydzh-network) .eyebrow{font-size:10px;letter-spacing:2px}
.hero:has(.ydzh-network) .actions{gap:11px;margin-top:27px}
.hero:has(.ydzh-network) .actions .btn{padding:11px 15px;font-size:12px}
.hero .ydzh-network{aspect-ratio:720/570;background:none;min-height:0}
.hero .ydzh-network-svg{width:100%;height:auto;display:block;overflow:visible}
.ydzh-network .ydzh-ring{stroke:#5a8780;stroke-width:1.3;opacity:.78}
.ydzh-network .ydzh-ring-middle{stroke:#65948a;opacity:.68}
.ydzh-network .ydzh-ring-inner{stroke:#4c8079;opacity:.65}
.ydzh-network .ydzh-network-link{stroke:#47736b;stroke-width:1.5}
.ydzh-network .ydzh-network-signal{stroke:#9aebd0;stroke-width:2.6;stroke-dasharray:12 255;animation:ydzh-signal-flow-105 3.8s linear infinite}
.ydzh-network .ydzh-network-hub{stroke-width:1.7;animation:ydzh-hub-glow-105 4s ease-in-out infinite}
.ydzh-network .ydzh-network-node rect{fill:#19323a;stroke:#78a99d;stroke-width:1.5}
.ydzh-network .ydzh-network-security rect{stroke:#90dfc5}
.ydzh-network .ydzh-network-node text{fill:#eff8f4;font:600 17px system-ui,sans-serif}
.ydzh-network .ydzh-network-title{font:700 27px system-ui,sans-serif}
.ydzh-network .ydzh-network-subtitle{font:10px system-ui,sans-serif;letter-spacing:0}
@keyframes ydzh-signal-flow-105{to{stroke-dashoffset:-267}}
@keyframes ydzh-hub-glow-105{0%,100%{filter:drop-shadow(0 0 3px #69cdb844)}50%{filter:drop-shadow(0 0 12px #69cdb877)}}
@media(max-width:850px){.hero:has(.ydzh-network){gap:24px}.hero .ydzh-network{width:min(100%,600px);margin:0 auto}}
@media(prefers-reduced-motion:reduce){.ydzh-network .ydzh-network-signal,.ydzh-network .ydzh-network-hub{animation:none}}

/* YDZH 1.0.6: only the home-page About section */
#about.ydzh-about-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start;padding-top:75px;padding-bottom:75px}
#about.ydzh-about-visual .ydzh-about-left{min-width:0;position:relative}
#about.ydzh-about-visual .ydzh-about-left .eyebrow{margin:0 0 13px}
#about.ydzh-about-visual .ydzh-about-left h2{margin:0;font-size:clamp(27px,3.1vw,44px);line-height:1.2;letter-spacing:-.025em}
#about.ydzh-about-visual .ydzh-about-image{display:block;width:112%;max-width:none;height:auto;margin:25px 0 0 -8%;border:0;object-fit:cover;mask-image:linear-gradient(to bottom,#000 85%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 85%,transparent 100%)}
#about.ydzh-about-visual .ydzh-about-right{min-width:0;padding-top:0}
#about.ydzh-about-visual .ydzh-about-right p{margin:0 0 24px;color:var(--muted);font-size:clamp(14px,1.2vw,17px);line-height:1.8}
#about.ydzh-about-visual .ydzh-about-right .ydzh-about-lead{color:var(--ink);font-size:clamp(19px,1.8vw,26px);line-height:1.55;margin-bottom:28px}
#about.ydzh-about-visual .ydzh-about-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid #78cdb6;border-radius:5px;padding:12px 17px;color:var(--ink);font-size:14px;line-height:1.5;transition:background .2s,border-color .2s}
#about.ydzh-about-visual .ydzh-about-button span{color:var(--accent);font-size:22px;line-height:1}
#about.ydzh-about-visual .ydzh-about-button:hover,#about.ydzh-about-visual .ydzh-about-button:focus-visible{background:#183238;border-color:var(--accent)}
@media(max-width:850px){#about.ydzh-about-visual{grid-template-columns:1fr;gap:22px;padding-top:52px;padding-bottom:52px}#about.ydzh-about-visual .ydzh-about-image{width:100%;margin:18px 0 0}#about.ydzh-about-visual .ydzh-about-right .ydzh-about-lead{font-size:21px}}
@media(max-width:580px){#about.ydzh-about-visual .ydzh-about-button{font-size:12px;gap:10px;padding:10px 12px}}

/* YDZH 1.0.7: detailed biography only; all styles scoped to .ydzh-profile. */
.ydzh-profile{max-width:1120px;margin:0 auto;padding:30px 0 80px}
.ydzh-profile-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center;padding:70px 0 60px;border-bottom:1px solid var(--line)}
.ydzh-profile-hero h1{font-size:clamp(35px,4.4vw,60px);letter-spacing:-2px;margin:20px 0 25px}
.ydzh-profile-hero h1 em{color:var(--accent);font-style:normal}
.ydzh-profile p{color:var(--muted);font-size:15px;line-height:1.85}
.ydzh-profile-hero-media img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:10px;box-shadow:0 16px 60px #0005}
.ydzh-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:30px 0 20px}
.ydzh-profile-stats>div{background:#142630;border:1px solid #2c464b;border-radius:9px;padding:22px;text-align:center}
.ydzh-profile-stats strong{display:block;color:var(--accent);font-size:clamp(30px,4vw,45px);line-height:1.2}
.ydzh-profile-stats span{display:block;color:#c7d5d4;font-size:13px;margin-top:8px}
.ydzh-profile-section{padding:65px 0;border-bottom:1px solid var(--line)}
.ydzh-profile-section h2{font-size:clamp(26px,3.2vw,38px);margin:12px 0 28px}
.ydzh-profile-timeline{position:relative;margin:22px 0 0 7px;padding-left:28px;border-left:1px solid #4d867b}
.ydzh-profile-stage{position:relative;display:grid;grid-template-columns:200px 1fr;gap:24px;padding:0 0 30px}
.ydzh-profile-stage:last-child{padding-bottom:0}
.ydzh-profile-stage:before{content:'';position:absolute;left:-34px;top:8px;width:11px;height:11px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px #173139}
.ydzh-profile-date{color:var(--accent);font-size:13px;font-weight:650;padding-top:4px}
.ydzh-profile-stage h3{font-size:18px;margin:0 0 7px}.ydzh-profile-stage p{margin:0;max-width:730px}
.ydzh-profile-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ydzh-profile-panel{background:#142630;border:1px solid var(--line);border-radius:10px;padding:28px}
.ydzh-profile-panel h3{color:var(--accent);font-size:18px;margin:0 0 15px}.ydzh-profile-panel h3:not(:first-child){margin-top:28px}.ydzh-profile-panel p{margin:0 0 12px}
.ydzh-profile-tech-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ydzh-profile-tech-card{display:flex;align-items:center;justify-content:center;min-height:80px;padding:14px;text-align:center;background:#142630;border:1px solid #2b4850;border-radius:8px;color:#e1f1ec;font-size:14px;font-weight:600}
.ydzh-profile-note{font-size:13px!important;margin:20px 0 0}.ydzh-profile-prose{max-width:850px}.ydzh-profile-prose p{margin:0 0 17px}.ydzh-profile-prose strong{color:var(--ink)}
.ydzh-profile-cta{margin-top:55px;padding:38px 30px;border-radius:12px;border:1px solid #37645c;background:linear-gradient(110deg,#193c3b,#13272f);text-align:center}.ydzh-profile-cta h2{margin:0 0 12px;font-size:29px}.ydzh-profile-cta p{margin:0}.ydzh-profile-cta .actions{justify-content:center;margin-top:22px}
@media(max-width:850px){.ydzh-profile-hero{grid-template-columns:1fr;gap:25px;padding:45px 0}.ydzh-profile-hero-media{max-width:650px}.ydzh-profile-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ydzh-profile-stage{grid-template-columns:160px 1fr}}
@media(max-width:600px){.ydzh-profile{padding-top:0}.ydzh-profile-stats{grid-template-columns:1fr;gap:10px}.ydzh-profile-stats>div{padding:15px}.ydzh-profile-section{padding:45px 0}.ydzh-profile-two{grid-template-columns:1fr}.ydzh-profile-stage{grid-template-columns:1fr;gap:3px}.ydzh-profile-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ydzh-profile-cta{padding:25px 15px}}

/* YDZH 1.0.8 — exact approved professional portfolio layout, detailed About page ONLY. */
.ydzh-profile{max-width:1120px;padding:14px 0 48px}
.ydzh-profile-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);gap:35px;align-items:center;padding:24px 0 8px;border:0}
.ydzh-profile-hero h1{font-size:clamp(31px,3.25vw,46px);line-height:1.11;letter-spacing:-1.1px;margin:12px 0 16px;max-width:490px}
.ydzh-profile-hero-copy .eyebrow,.ydzh-profile-section .eyebrow{font-size:10px;letter-spacing:1.8px}
.ydzh-profile p{font-size:13px;line-height:1.65}
.ydzh-profile-hero p{margin:0 0 10px}
.ydzh-profile-hero-media img{aspect-ratio:1.94/1;border-radius:5px;box-shadow:none}
.ydzh-profile-stats{gap:12px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.ydzh-profile-stats>div{display:flex;align-items:center;gap:18px;text-align:left;padding:14px 20px;background:#0c2029;border-color:#193b43;border-radius:5px;min-width:0}
.ydzh-profile-stat-icon{width:56px;height:56px;flex:0 0 56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#103c3d;color:var(--accent)}
.ydzh-profile-stat-icon svg{width:32px;height:32px}
.ydzh-profile-stat-text{display:block;min-width:0}.ydzh-profile-stats strong{font-size:32px;line-height:1.1}
.ydzh-profile-stats .ydzh-profile-stat-text>span{font-size:12px;color:var(--ink);font-weight:700;margin-top:3px}
.ydzh-profile-stats small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.ydzh-profile-section{padding:17px 0 20px}
.ydzh-profile-section h2{font-size:clamp(20px,2vw,27px);line-height:1.2;margin:7px 0 12px;letter-spacing:-.5px}
.ydzh-profile-timeline{margin:8px 0 0 156px;padding-left:20px}
.ydzh-profile-stage{grid-template-columns:118px 57px minmax(0,1fr);gap:10px;padding:0 0 8px;align-items:center}
.ydzh-profile-stage:before{left:-26px;top:50%;transform:translateY(-50%);width:9px;height:9px;box-shadow:0 0 0 3px #173139}
.ydzh-profile-date{position:absolute;right:calc(100% + 45px);top:50%;transform:translateY(-50%);width:170px;text-align:right;font-size:12px;padding:0;white-space:nowrap}
.ydzh-profile-stage-icon{grid-column:1;display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #21444a;background:#10252e;border-radius:5px;color:var(--accent)}
.ydzh-profile-stage-icon svg{width:30px;height:30px}
.ydzh-profile-stage-copy{grid-column:2/4;background:#0b2029;border:1px solid #1b3941;border-radius:5px;padding:9px 14px;min-height:65px}
.ydzh-profile-stage h3{font-size:13px;line-height:1.3;margin:0 0 3px}
.ydzh-profile-stage p{font-size:12px;line-height:1.5}
.ydzh-profile-middle,.ydzh-profile-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-bottom:1px solid var(--line)}
.ydzh-profile-middle>.ydzh-profile-section:first-child,.ydzh-profile-bottom>.ydzh-profile-section:first-child{border-right:1px solid var(--line);padding-right:20px}
.ydzh-profile-middle>.ydzh-profile-section,.ydzh-profile-bottom>.ydzh-profile-section{border-bottom:0;min-width:0}
.ydzh-profile-education-layout{display:grid;grid-template-columns:42% minmax(0,1fr);gap:14px}
.ydzh-profile-education-photo{width:100%;height:100%;max-height:320px;object-fit:cover;border-radius:5px}
.ydzh-profile-education-list{display:flex;flex-direction:column;gap:11px}
.ydzh-profile-education-item{display:flex;gap:9px;align-items:flex-start}
.ydzh-profile-education-item>span{flex:0 0 27px;color:var(--accent)}
.ydzh-profile-education-item svg{width:24px;height:24px}
.ydzh-profile-education-item h3{font-size:12px;line-height:1.25;margin:0 0 3px}
.ydzh-profile-education-item p{font-size:11px;line-height:1.42;margin:0 0 5px}
.ydzh-profile-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.ydzh-profile-tech-card{justify-content:flex-start;gap:8px;min-height:48px;text-align:left;padding:7px 9px;font-size:10px;font-weight:500;line-height:1.3;border-radius:5px;background:#0b2029}
.ydzh-profile-tech-card>span:first-child{color:var(--accent);flex:0 0 19px}.ydzh-profile-tech-card svg{width:19px;height:19px}
.ydzh-profile-note{font-size:11px!important;line-height:1.5;margin:9px 0 0}
.ydzh-profile-bottom .ydzh-profile-section{min-height:255px;position:relative;overflow:hidden}
.ydzh-profile-bottom-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.ydzh-profile-bottom-icon{display:flex;align-items:center;justify-content:center;flex:0 0 45px;height:45px;color:var(--accent);background:#10323a;border-radius:6px}
.ydzh-profile-bottom-icon svg{width:28px;height:28px}
.ydzh-profile-bottom-heading h2{font-size:16px;margin:4px 0 0;letter-spacing:0}
.ydzh-profile-bottom .ydzh-profile-prose{position:relative;z-index:1;padding-right:26%;max-width:none}
.ydzh-profile-bottom .ydzh-profile-prose p{font-size:11.5px;line-height:1.56;margin:0 0 8px}
.ydzh-profile-bottom .ydzh-profile-section:first-child{background:url('assets/profile-compass.webp') no-repeat right bottom;background-size:36% auto}
.ydzh-profile-bottom .ydzh-profile-section:last-child{background:url('assets/profile-plant.webp') no-repeat right bottom;background-size:26% auto}
.ydzh-profile-cta{display:flex;align-items:center;gap:18px;margin-top:0;padding:20px 0 0;border:0;background:none;text-align:left;border-radius:0}
.ydzh-profile-cta-icon{color:var(--accent);flex:0 0 42px}.ydzh-profile-cta-icon svg{width:42px;height:42px}
.ydzh-profile-cta-copy{flex:1;min-width:0}
.ydzh-profile-cta h2{font-size:17px;margin:0 0 3px}.ydzh-profile-cta p{font-size:12px;line-height:1.5}
.ydzh-profile-cta .actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0}
.ydzh-profile-cta .btn{font-size:11px;padding:11px 13px;white-space:nowrap}
@media(max-width:1000px){.ydzh-profile{padding-left:12px;padding-right:12px}.ydzh-profile-timeline{margin-left:145px}.ydzh-profile-stage{grid-template-columns:65px 1fr}.ydzh-profile-stage-copy{grid-column:2}.ydzh-profile-education-layout{grid-template-columns:38% 1fr}.ydzh-profile-tech-card{font-size:10px}.ydzh-profile-cta{flex-wrap:wrap}}
@media(max-width:760px){.ydzh-profile-hero{grid-template-columns:1fr;padding:25px 0 15px}.ydzh-profile-hero-media{max-width:none}.ydzh-profile-stats{grid-template-columns:1fr 1fr}.ydzh-profile-middle,.ydzh-profile-bottom{grid-template-columns:1fr;gap:0}.ydzh-profile-middle>.ydzh-profile-section:first-child,.ydzh-profile-bottom>.ydzh-profile-section:first-child{border-right:0;border-bottom:1px solid var(--line);padding-right:0}.ydzh-profile-bottom .ydzh-profile-section{min-height:220px}.ydzh-profile-education-photo{max-height:300px}.ydzh-profile-cta .actions{justify-content:flex-start}}
@media(max-width:520px){.ydzh-profile{padding:0 0 35px}.ydzh-profile-stats{grid-template-columns:1fr}.ydzh-profile-timeline{margin-left:8px;padding-left:18px}.ydzh-profile-stage{grid-template-columns:42px 1fr;gap:7px;padding:0 0 12px}.ydzh-profile-date{position:static;transform:none;grid-column:1/3;text-align:left;width:auto;padding:0 0 3px}.ydzh-profile-stage-icon{grid-column:1;width:40px;height:40px}.ydzh-profile-stage-icon svg{width:24px;height:24px}.ydzh-profile-stage-copy{grid-column:2}.ydzh-profile-stage:before{top:10px;transform:none}.ydzh-profile-education-layout{grid-template-columns:1fr}.ydzh-profile-education-photo{height:190px}.ydzh-profile-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ydzh-profile-bottom .ydzh-profile-prose{padding-right:15%}.ydzh-profile-bottom .ydzh-profile-section{min-height:0;padding-bottom:35px}.ydzh-profile-cta{align-items:flex-start}.ydzh-profile-cta .btn{white-space:normal}}

/* 1.0.8 final timeline column alignment */
.ydzh-profile-stage{grid-template-columns:57px minmax(0,1fr)}
.ydzh-profile-stage-icon{grid-column:1}
.ydzh-profile-stage-copy{grid-column:2}
@media(max-width:520px){.ydzh-profile-stage{grid-template-columns:42px minmax(0,1fr)}.ydzh-profile-date{grid-column:1/3}.ydzh-profile-stage-copy{grid-column:2}}


/* 1.0.9 — targeted readability and spacing adjustments on detailed About page */
.ydzh-profile-stage-copy{padding:12px 16px;min-height:74px}
.ydzh-profile-stage h3{font-size:14.5px;line-height:1.35}
.ydzh-profile-stage p{font-size:14px;line-height:1.58;max-width:none}
.ydzh-profile-stage{padding-bottom:11px}

/* Text flows around the education photo and continues at full width below it. */
.ydzh-profile-education-layout{display:flow-root}
.ydzh-profile-education-photo{float:left;width:38%;height:265px;max-height:none;object-fit:cover;margin:2px 19px 12px 0}
.ydzh-profile-education-list{display:block}
.ydzh-profile-education-item{display:flex;align-items:flex-start;gap:9px;margin:0 0 13px;min-width:0}
.ydzh-profile-education-item h3{font-size:13px}
.ydzh-profile-education-item p{font-size:12.5px;line-height:1.57}

/* Use the available vertical space in the technology column. */
.ydzh-profile-middle>.ydzh-profile-section{padding-top:25px;padding-bottom:25px}
.ydzh-profile-middle>.ydzh-profile-section:last-child{display:flex;flex-direction:column}
.ydzh-profile-middle .ydzh-profile-tech-grid{align-content:space-evenly;flex:1;gap:12px 9px;min-height:305px}
.ydzh-profile-tech-card{min-height:61px;font-size:11.5px;line-height:1.4;padding:10px}
.ydzh-profile-note{font-size:12px!important;line-height:1.55;margin-top:14px}

/* Background images must never overlap the biography text. */
.ydzh-profile-bottom .ydzh-profile-section{min-height:330px;padding-top:27px;padding-bottom:28px}
.ydzh-profile-bottom .ydzh-profile-prose{padding-right:21%;max-width:none}
.ydzh-profile-bottom .ydzh-profile-prose p{font-size:13px;line-height:1.72;margin-bottom:12px}
.ydzh-profile-bottom .ydzh-profile-section:first-child{background-size:21% auto;background-position:right 10px bottom 15px}
.ydzh-profile-bottom .ydzh-profile-section:last-child{background-size:16% auto;background-position:right 8px bottom 15px}
.ydzh-profile-bottom-heading h2{font-size:17px}
@media(max-width:1000px){
  .ydzh-profile-education-photo{width:36%;height:230px;margin-right:13px}
  .ydzh-profile-bottom .ydzh-profile-prose{padding-right:12%}
  .ydzh-profile-bottom .ydzh-profile-section:first-child{background-size:15% auto}
  .ydzh-profile-bottom .ydzh-profile-section:last-child{background-size:12% auto}
}
@media(max-width:760px){
  .ydzh-profile-middle>.ydzh-profile-section:last-child{display:block}
  .ydzh-profile-middle .ydzh-profile-tech-grid{min-height:0}
  .ydzh-profile-bottom .ydzh-profile-section{min-height:0}
  .ydzh-profile-bottom .ydzh-profile-prose{padding-right:0}
  .ydzh-profile-bottom .ydzh-profile-section:first-child,.ydzh-profile-bottom .ydzh-profile-section:last-child{background-image:none}
}
@media(max-width:520px){
  .ydzh-profile-education-photo{float:none;display:block;width:100%;height:200px;margin:0 0 18px}
  .ydzh-profile-stage p{font-size:13px}
  .ydzh-profile-tech-card{font-size:11px;min-height:54px}
}

/* 1.0.10 - compact homepage About at 100% desktop zoom; other sections unchanged. */
@media (min-width: 851px) {
  #about.ydzh-about-visual {
    gap: clamp(24px, 3vw, 42px);
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #about.ydzh-about-visual .ydzh-about-left h2 {
    font-size: clamp(27px, 2.85vw, 40px);
  }
  #about.ydzh-about-visual .ydzh-about-image {
    width: 105%;
    margin: 19px 0 0 -4%;
  }
  #about.ydzh-about-visual .ydzh-about-right .ydzh-about-lead {
    font-size: clamp(18px, 1.63vw, 23px);
    line-height: 1.48;
    margin-bottom: 21px;
  }
  #about.ydzh-about-visual .ydzh-about-right p {
    font-size: clamp(14px, 1.13vw, 16px);
    line-height: 1.68;
    margin-bottom: 18px;
  }
  #about.ydzh-about-visual .ydzh-about-button {
    padding: 10px 15px;
  }
}

/* 1.0.11 — qualifications page only. Preserves the original editable WP content and details accordions. */
.entry.ydzh-qualifications-page {
  max-width:1060px; width:calc(100% - 36px); position:relative;
  padding:54px 32px 72px; isolation:isolate;
}
.entry.ydzh-qualifications-page::before {
  content:""; pointer-events:none; position:absolute; z-index:-1;
  top:0; right:-70px; width:min(56vw,600px); height:430px;
  background:radial-gradient(ellipse at 65% 24%,rgba(45,158,155,.16),transparent 59%),
             radial-gradient(circle at 75% 38%,rgba(119,225,205,.21) 0 2px,transparent 3px),
             radial-gradient(circle at 42% 20%,rgba(119,225,205,.17) 0 2px,transparent 3px),
             radial-gradient(circle at 91% 63%,rgba(119,225,205,.16) 0 2px,transparent 3px),
             linear-gradient(135deg,transparent 28%,rgba(73,164,164,.07) 28.1% 28.3%,transparent 28.4% 61%,rgba(73,164,164,.07) 61.1% 61.3%,transparent 61.4%);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,transparent 100%);
}
.entry.ydzh-qualifications-page .eyebrow {font-size:11px;letter-spacing:.14em;color:#9de7d3;font-weight:700;margin-bottom:12px;}
.entry.ydzh-qualifications-page h1 {font-size:clamp(30px,3vw,43px);line-height:1.16;letter-spacing:-.035em;margin:0 0 17px;max-width:820px;}
.entry.ydzh-qualifications-page .entry-content {font-size:15px;line-height:1.7;}
.entry.ydzh-qualifications-page .entry-content>p:first-child {max-width:850px;margin:0 0 24px;color:#cbd6db;}
.entry.ydzh-qualifications-page .entry-content>h2 {font-size:clamp(22px,2.1vw,27px);line-height:1.25;letter-spacing:-.025em;margin:28px 0 15px;}
.entry.ydzh-qualifications-page .entry-content>h2:first-of-type {border-top:1px solid rgba(140,199,199,.2);padding-top:24px;}
.entry.ydzh-qualifications-page .entry-content>h2:nth-of-type(2) {margin-top:30px;}
.entry.ydzh-qualifications-page .entry-content>ul {padding-left:25px;margin:0 0 22px;}
.entry.ydzh-qualifications-page .entry-content>ul li {padding:3px 0 3px 5px;}
.entry.ydzh-qualifications-page .entry-content>ul li::marker {color:#92e3cf;}
.entry.ydzh-qualifications-page .entry-content>details {
  border:1px solid rgba(112,181,184,.38)!important;
  border-radius:8px!important;
  padding:0!important;margin:0 0 8px!important;
  background:rgba(12,43,53,.62)!important;
  transition:background .2s ease,border-color .2s ease;
}
.entry.ydzh-qualifications-page .entry-content>details:hover,
.entry.ydzh-qualifications-page .entry-content>details[open] {background:rgba(17,55,65,.8)!important;border-color:rgba(137,224,205,.65)!important;}
.entry.ydzh-qualifications-page .entry-content>details>summary {
  display:flex;align-items:center;gap:14px;list-style:none;
  padding:12px 17px!important;color:#8fe7d5!important;
  font-size:15px;line-height:1.4;font-weight:700;cursor:pointer;
}
.entry.ydzh-qualifications-page .entry-content>details>summary::-webkit-details-marker {display:none;}
.entry.ydzh-qualifications-page .entry-content>details>summary::before {content:'✧';font-size:21px;line-height:1;min-width:24px;text-align:center;color:#a4e5d5;}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(2)>summary::before {content:'◇';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(3)>summary::before {content:'⬡';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(4)>summary::before {content:'▤';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(5)>summary::before {content:'▣';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(6)>summary::before {content:'⌘';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(7)>summary::before {content:'◉';}
.entry.ydzh-qualifications-page .entry-content>details:nth-of-type(8)>summary::before {content:'▥';}
.entry.ydzh-qualifications-page .entry-content>details>summary::after {content:'⌄';font-size:21px;line-height:1;margin-left:auto;transition:transform .2s;}
.entry.ydzh-qualifications-page .entry-content>details[open]>summary::after {transform:rotate(180deg);}
.entry.ydzh-qualifications-page .entry-content>details>summary:focus-visible {outline:2px solid #9ce5d0;outline-offset:3px;}
.entry.ydzh-qualifications-page .entry-content>details>ul {margin:0;padding:8px 30px 20px 57px;border-top:1px solid rgba(112,181,184,.2);}
.entry.ydzh-qualifications-page .entry-content>details>ul li {padding:3px 0;}
.entry.ydzh-qualifications-page .entry-content>p:last-child:has(em) {margin-top:22px;padding:17px 20px;border:1px solid rgba(112,181,184,.36);border-radius:8px;background:rgba(21,52,65,.65);font-size:14px;color:#c8d9db;}
@media(max-width:700px){
  .entry.ydzh-qualifications-page{width:100%;padding:34px 0 55px;}
  .entry.ydzh-qualifications-page::before{right:0;width:100%;height:270px;}
  .entry.ydzh-qualifications-page .entry-content>details>summary{font-size:14px;padding:13px 12px!important;gap:9px;}
  .entry.ydzh-qualifications-page .entry-content>details>ul{padding:8px 15px 15px 35px;}
}

/* 1.0.12 — exact approved Qualifications design, scoped to this page only.
   Important: the WordPress content has a .ydzh-qualifications wrapper.
   Previous version styled only direct children of .entry-content. */
.entry.ydzh-qualifications-page {
  width:min(1120px,calc(100% - 48px));max-width:1120px;
  margin:0 auto;padding:46px 0 70px;position:relative;isolation:isolate;
}
.entry.ydzh-qualifications-page::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:0;left:calc(50% - 50vw);width:100vw;height:620px;
  background-image:linear-gradient(90deg,#0b1820 4%,rgba(11,24,32,.12) 100%),url('assets/qualifications-network.svg');
  background-size:cover, min(1200px,100vw) auto;
  background-position:center, right top;background-repeat:no-repeat;
  opacity:.85;-webkit-mask-image:linear-gradient(#000 0%,#000 55%,transparent 100%);
  mask-image:linear-gradient(#000 0%,#000 55%,transparent 100%);
}
.entry.ydzh-qualifications-page>.eyebrow {font-size:10px;letter-spacing:.12em;margin:0 0 10px;color:#94e6d1}
.entry.ydzh-qualifications-page>h1 {
  font-size:clamp(29px,3.1vw,38px);font-weight:750;line-height:1.18;
  letter-spacing:-.035em;margin:0 0 15px;max-width:none;
}
.entry.ydzh-qualifications-page .entry-content,
.entry.ydzh-qualifications-page .ydzh-qualifications {font-size:14px;line-height:1.64}
.entry.ydzh-qualifications-page .ydzh-qualifications>p:first-child {
  max-width:850px;margin:0 0 20px;color:#cbd6db;font-size:14px;line-height:1.7;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2 {
  display:flex;align-items:center;gap:16px;
  font-size:clamp(20px,2vw,24px);line-height:1.28;letter-spacing:-.02em;
  margin:22px 0 12px;font-weight:750;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2:first-of-type {
  border-top:1px solid rgba(143,218,207,.19);padding-top:20px;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2::before {
  content:'♧';display:grid;place-items:center;flex:0 0 34px;
  width:34px;height:34px;border:1px solid #295660;border-radius:7px;
  background:#11313b;color:#96e9d3;font-size:22px;line-height:1;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2:first-of-type::before {content:'◇'}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2:nth-of-type(2)::before {content:'▤'}
.entry.ydzh-qualifications-page .ydzh-qualifications>ul {
  list-style:disc;margin:0 0 17px 50px;padding:0 0 0 18px;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>ul li {margin:0 0 5px;padding-left:3px;line-height:1.65}
.entry.ydzh-qualifications-page .ydzh-qualifications>ul li::marker {color:#8ce3d1}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2:nth-of-type(2) {margin-top:22px;margin-bottom:4px}
.entry.ydzh-qualifications-page .ydzh-qualifications>h2:nth-of-type(2)+p {
  margin:0 0 14px 50px;max-width:850px;color:#cbd6db;font-size:13.5px;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details {
  margin:0 0 5px!important;padding:0!important;
  border:1px solid #2c5662!important;border-radius:7px!important;
  background:rgba(12,38,49,.82)!important;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:hover,
.entry.ydzh-qualifications-page .ydzh-qualifications>details[open] {
  border-color:#539e9c!important;background:#112e39!important;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>summary {
  display:flex!important;align-items:center;gap:16px;list-style:none;
  min-height:41px;padding:8px 16px!important;
  font-size:14px!important;line-height:1.4!important;font-weight:700;
  color:#8ce6d4!important;cursor:pointer;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>summary::-webkit-details-marker {display:none}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>summary::before {
  content:'⬡';display:grid;place-items:center;flex:0 0 32px;
  width:32px;height:25px;font-size:21px;color:#8ce6d4;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(1)>summary::before {content:'⌂'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(2)>summary::before {content:'♢'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(3)>summary::before {content:'⬡'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(4)>summary::before {content:'▤'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(5)>summary::before {content:'▣'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(6)>summary::before {content:'⌘'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(7)>summary::before {content:'♧'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details:nth-of-type(8)>summary::before {content:'▥'}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>summary::after {
  content:'⌄';font-size:22px;font-weight:400;margin-left:auto;line-height:1;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details[open]>summary::after {transform:rotate(180deg)}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>ul {
  margin:0;padding:12px 25px 16px 66px;border-top:1px solid rgba(133,206,199,.19);
  color:#d5e1e4;
}
.entry.ydzh-qualifications-page .ydzh-qualifications>details>ul li {padding:3px 0;line-height:1.55}
.entry.ydzh-qualifications-page .ydzh-qualifications>p:last-child {
  margin:17px 0 0;padding:15px 20px;
  border:1px solid #2b5762;border-radius:7px;
  background:rgba(22,49,63,.8);font-size:13px;color:#cbd9de;
}
@media(max-width:700px){
  .entry.ydzh-qualifications-page{width:100%;padding:34px 0 54px}
  .entry.ydzh-qualifications-page::before{left:-20px;width:calc(100% + 40px);height:440px}
  .entry.ydzh-qualifications-page .ydzh-qualifications>h2{gap:10px}
  .entry.ydzh-qualifications-page .ydzh-qualifications>ul{margin-left:18px}
  .entry.ydzh-qualifications-page .ydzh-qualifications>h2:nth-of-type(2)+p{margin-left:0}
  .entry.ydzh-qualifications-page .ydzh-qualifications>details>summary{gap:8px;padding:10px!important;font-size:13px!important}
  .entry.ydzh-qualifications-page .ydzh-qualifications>details>ul{padding-left:30px}
}

/* Version 1.0.13: compact editorial blog only. Existing single posts/files untouched. */
.ydzh-blog-listing{padding:56px 0 76px}
.ydzh-blog-listing>.eyebrow{margin-bottom:10px}
.ydzh-blog-heading h1{font-size:clamp(27px,3vw,38px);letter-spacing:-1.1px;line-height:1.2;margin:8px 0 10px}
.ydzh-blog-heading p{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 20px;max-width:770px}
.ydzh-blog-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);margin-bottom:23px}
.ydzh-blog-listing .ydzh-blog-categories{display:flex;align-items:center;gap:19px;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;margin:0;padding:0;scrollbar-width:thin}
.ydzh-blog-listing .ydzh-blog-categories a{font-size:12px;color:#aabfc6;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 0 11px;flex:0 0 auto;transition:color .15s ease}
.ydzh-blog-listing .ydzh-blog-categories a:hover,.ydzh-blog-listing .ydzh-blog-categories a.current{color:var(--accent);background:transparent;border-bottom-color:var(--accent)}
.ydzh-blog-listing .search-form{flex:0 0 195px;display:flex;gap:0;margin:0 0 5px}
.ydzh-blog-listing .search-field{border:1px solid #2b4850;border-radius:4px 0 0 4px;background:#10222b;font-size:12px;padding:7px 9px}
.ydzh-blog-listing .search-submit{background:#17343a;border:1px solid #2b4850;border-left:0;color:var(--accent);font-size:12px;padding:7px 10px;border-radius:0 4px 4px 0}
.ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ydzh-blog-listing .ydzh-blog-card{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:10px;background:#11232d;border:1px solid #29414b;border-radius:7px;overflow:hidden;transition:border-color .2s ease,transform .2s ease}
.ydzh-blog-listing .ydzh-blog-card:hover{border-color:#50776f;transform:translateY(-2px)}
.ydzh-blog-cover{display:block;width:100%;aspect-ratio:16/8.3;overflow:hidden;border-radius:4px;background:#102a32}
.ydzh-blog-listing .ydzh-blog-card .post-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0;border-radius:0;filter:saturate(.77) brightness(.86)}
.ydzh-blog-placeholder{display:grid;place-items:center;height:100%;color:#6da99e;background:linear-gradient(135deg,#14303a,#0b1c26)}
.ydzh-blog-card-body{padding:11px 4px 3px;display:flex;flex-direction:column;flex:1;align-items:flex-start}
.ydzh-blog-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:10px;line-height:1.5;color:var(--accent);letter-spacing:.25px}
.ydzh-blog-listing .ydzh-blog-card-title{font-size:16px;line-height:1.35;letter-spacing:-.15px;font-weight:650;margin:8px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.ydzh-blog-listing .ydzh-blog-excerpt{color:#a7b9c1;font-size:12px;line-height:1.55;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ydzh-blog-listing .ydzh-blog-read{margin-top:auto;color:var(--accent);font-size:12px;font-weight:550}
.ydzh-blog-listing .ydzh-blog-read:hover{text-decoration:underline}
@media(max-width:900px){.ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ydzh-blog-navigation{display:block}.ydzh-blog-listing .search-form{max-width:300px;margin:10px 0}}
@media(max-width:580px){.ydzh-blog-listing{padding-top:38px}.ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:1fr}.ydzh-blog-listing .ydzh-blog-card{max-width:460px}.ydzh-blog-listing .ydzh-blog-card-title{font-size:16px}}

/* 1.0.14 — editorial blog listing, strictly scoped to archive/listing only. */
main .ydzh-blog-listing{padding:42px 0 66px;border-bottom:0}
main .ydzh-blog-listing>.eyebrow{font-size:10px;letter-spacing:1.8px}
main .ydzh-blog-listing .ydzh-blog-heading h1{font-size:clamp(27px,2.8vw,35px)!important;line-height:1.17!important;letter-spacing:-.8px!important;margin:8px 0 8px!important}
main .ydzh-blog-listing .ydzh-blog-heading p{font-size:13px!important;line-height:1.6!important;margin-bottom:17px!important}
main .ydzh-blog-listing .ydzh-blog-navigation{display:flex;align-items:center;gap:22px;flex-wrap:wrap;border-bottom:1px solid #29434c;padding-bottom:0;margin-bottom:18px}
main .ydzh-blog-listing nav.ydzh-blog-categories{display:flex!important;flex:1 1 680px;gap:0 22px!important;align-items:center;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;margin:0!important;padding:0!important;max-width:none!important}
main .ydzh-blog-listing nav.ydzh-blog-categories a{display:inline-block!important;width:auto!important;min-width:0!important;background:transparent!important;box-shadow:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;margin:0!important;padding:9px 0 8px!important;color:#a8bac1!important;font-size:12px!important;font-weight:450!important;line-height:1.4!important;text-decoration:none!important}
main .ydzh-blog-listing nav.ydzh-blog-categories a.current,main .ydzh-blog-listing nav.ydzh-blog-categories a:hover{color:#a8e4cd!important;border-bottom-color:#a8e4cd!important}
main .ydzh-blog-listing form.search-form{flex:0 1 215px;min-width:175px;display:flex!important;flex-wrap:nowrap;margin:0 0 5px!important}
main .ydzh-blog-listing .search-field{min-width:0;font-size:12px;padding:7px 10px}
main .ydzh-blog-listing .search-submit{white-space:nowrap;font-size:12px;padding:7px 10px}
main .ydzh-blog-listing .ydzh-blog-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important}
main .ydzh-blog-listing article.ydzh-blog-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;min-height:0!important;height:auto!important;padding:9px!important;margin:0!important;background:#11242d!important;border:1px solid #2b434c!important;border-radius:6px!important;box-shadow:none!important;overflow:hidden!important}
main .ydzh-blog-listing article.ydzh-blog-card:hover{border-color:#5d998b!important;transform:translateY(-2px)}
main .ydzh-blog-listing .ydzh-blog-cover{display:block!important;position:relative;width:100%!important;height:auto!important;aspect-ratio:16/7.6!important;max-height:132px!important;min-height:0!important;overflow:hidden!important;background:#0e2630;border-radius:3px!important}
main .ydzh-blog-listing .ydzh-blog-cover img.post-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;filter:saturate(.67) brightness(.82)!important}
main .ydzh-blog-listing .ydzh-blog-placeholder{width:100%;height:100%;display:grid;place-items:center}
main .ydzh-blog-listing .ydzh-blog-card-body{padding:9px 3px 3px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1!important;min-height:0!important}
main .ydzh-blog-listing .ydzh-blog-meta{font-size:10px!important;line-height:1.5!important;letter-spacing:0!important}
main .ydzh-blog-listing .ydzh-blog-card-title{font-size:14px!important;line-height:1.35!important;letter-spacing:0!important;font-weight:650!important;margin:7px 0 7px!important;min-height:0!important;max-height:2.7em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
main .ydzh-blog-listing .ydzh-blog-card-title a{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
main .ydzh-blog-listing .ydzh-blog-excerpt{font-size:11.5px!important;line-height:1.55!important;margin:0 0 10px!important;max-height:3.1em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
main .ydzh-blog-listing .ydzh-blog-read{font-size:11.5px!important;line-height:1.5!important;margin-top:auto!important;color:#a8e4cd!important}
@media(max-width:1100px){main .ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){main .ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}main .ydzh-blog-listing form.search-form{flex-basis:100%;max-width:350px}}
@media(max-width:500px){main .ydzh-blog-listing .ydzh-blog-grid{grid-template-columns:1fr!important}main .ydzh-blog-listing article.ydzh-blog-card{max-width:none!important}main .ydzh-blog-listing .ydzh-blog-cover{max-height:160px!important}main .ydzh-blog-listing nav.ydzh-blog-categories{gap:0 15px!important}}

/* YDZH 1.0.18: personal expertise section only */
#expertise.ydzh-personal-expertise {padding-top:70px;padding-bottom:74px;}
#expertise .ydzh-expertise-heading {display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:start;margin:10px 0 34px;}
#expertise .ydzh-expertise-heading h2 {font-size:clamp(29px,3vw,40px);margin:0;max-width:570px;}
#expertise .ydzh-expertise-heading p {margin:0;color:var(--muted);font-size:15px;line-height:1.8;}
#expertise .ydzh-expertise-areas {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
#expertise .ydzh-expertise-area {min-width:0;padding:23px 22px 22px;background:var(--panel);border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;}
#expertise .ydzh-expertise-art {height:88px;margin-bottom:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(115deg,#102e38,#11252f);border-radius:5px;}
#expertise .ydzh-expertise-art svg {width:115px;height:76px;stroke:#a8e4cd;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.88;}
#expertise .ydzh-expertise-area h3 {font-size:19px;line-height:1.35;margin:12px 0;}
#expertise .ydzh-expertise-area p {font-size:13px;line-height:1.75;color:var(--muted);margin:0 0 18px;}
#expertise .ydzh-expertise-keywords {margin-top:auto;padding-top:14px;border-top:1px solid var(--line);font-size:11px;line-height:1.7;color:var(--accent);}
#expertise .ydzh-expertise-principle {border-left:2px solid var(--accent);padding:3px 0 3px 17px;margin:28px 0 0;font-size:13px;color:#c4d6d8;}
@media(max-width:850px){#expertise .ydzh-expertise-areas{grid-template-columns:1fr;}#expertise .ydzh-expertise-heading{grid-template-columns:1fr;gap:12px;}}

/* YDZH 1.0.19 — approved visual layout for personal expertise only */
#expertise.ydzh-expertise-editorial{padding:26px 0 34px;border-top:0!important;}
#expertise .ydzh-exp-hero{display:grid;grid-template-columns:1.12fr .88fr;min-height:220px;gap:20px;align-items:stretch;margin-bottom:12px;}
#expertise .ydzh-exp-hero-copy{padding:14px 12px 12px 10px;position:relative;z-index:1;}
#expertise .ydzh-exp-hero-copy .eyebrow{font-size:11px;letter-spacing:.13em;margin-bottom:12px;}
#expertise .ydzh-exp-hero-copy h2{font-size:clamp(27px,2.9vw,42px);line-height:1.13;letter-spacing:-.025em;margin:0 0 12px;font-weight:750;max-width:none;}
#expertise .ydzh-exp-hero-copy h2 em,#expertise .ydzh-exp-bottom em{color:#9ee6d4;font-style:normal;}
#expertise .ydzh-exp-hero-copy p{font-size:13px;line-height:1.6;max-width:750px;margin:0 0 9px;color:#c2d3d8;}
#expertise .ydzh-exp-hero-image{border-radius:5px;background:linear-gradient(90deg,#0b1b26 0%,transparent 25%),linear-gradient(0deg,#0b1b26 0%,transparent 25%),url('assets/about-workstation.webp') center 44%/cover no-repeat;min-height:210px;box-shadow:inset 0 0 65px #071822;}
#expertise .ydzh-exp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
#expertise .ydzh-exp-card{background:#102530;border:1px solid #24414c;border-radius:5px;overflow:hidden;display:flex;flex-direction:column;min-width:0;}
#expertise .ydzh-exp-photo{height:116px;background-position:center;background-size:cover;background-repeat:no-repeat;border-bottom:1px solid #1c4652;}
#expertise .ydzh-exp-photo-infra{background-image:url('assets/expertise-infrastructure.svg');}
#expertise .ydzh-exp-photo-cyber{background-image:url('assets/expertise-security.svg');}
#expertise .ydzh-exp-photo-team{background-image:url('assets/expertise-knowledge.svg');}
#expertise .ydzh-exp-card-content{display:flex;flex-direction:column;flex:1;padding:14px 16px 12px;}
#expertise .ydzh-exp-number{color:#91e8d6;font-size:10px;letter-spacing:.08em;font-weight:700;}
#expertise .ydzh-exp-card h3{font-size:19px;line-height:1.25;margin:7px 0 11px;color:#f3f6f6;}
#expertise .ydzh-exp-card p{font-size:12px;line-height:1.6;color:#b9cdd3;margin:0 0 14px;}
#expertise .ydzh-exp-skills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:auto;padding:10px 0 12px;border-top:1px solid #29434c;}
#expertise .ydzh-exp-skills span{color:#80dcc9;font-size:19px;line-height:1.1;display:flex;flex-direction:column;gap:6px;}
#expertise .ydzh-exp-skills small{color:#bdd0d4;font-size:9px;line-height:1.3;}
#expertise .ydzh-exp-tags{border-top:1px solid #29434c;padding-top:9px;color:#b0c5cb;font-size:10px;line-height:1.55;}
#expertise .ydzh-exp-bottom{margin-top:12px;min-height:115px;padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;background:linear-gradient(90deg,#102732 0%,rgba(11,30,40,.88) 60%,rgba(9,30,42,.45)),url('assets/expertise-landscape.svg') center/cover;border-radius:5px;}
#expertise .ydzh-exp-bottom-quote span{display:block;color:#90e3d2;font-size:10px;letter-spacing:.12em;margin-bottom:7px;}
#expertise .ydzh-exp-bottom-quote strong{font-size:17px;line-height:1.4;color:#eaf2f2;}
#expertise .ydzh-exp-bottom p{font-size:12px;line-height:1.6;color:#c2d3d8;margin:0;max-width:420px;}
@media(max-width:900px){#expertise .ydzh-exp-hero{grid-template-columns:1fr 40%;}#expertise .ydzh-exp-card h3{font-size:16px;}#expertise .ydzh-exp-card-content{padding:12px;}#expertise .ydzh-exp-skills{grid-template-columns:repeat(2,1fr);row-gap:12px;}}
@media(max-width:680px){#expertise .ydzh-exp-hero{grid-template-columns:1fr;}#expertise .ydzh-exp-hero-image{min-height:160px;grid-row:1;}#expertise .ydzh-exp-grid{grid-template-columns:1fr;}#expertise .ydzh-exp-photo{height:130px;}#expertise .ydzh-exp-skills{grid-template-columns:repeat(4,1fr);}#expertise .ydzh-exp-bottom{grid-template-columns:1fr;gap:12px;}}

/* 1.0.20: Calm, image-free approach panel; no distorted sunset artwork */
#expertise .ydzh-exp-bottom{background:linear-gradient(112deg,#102c37 0%,#102631 58%,#0d222d 100%) !important;border:1px solid #24414c;min-height:148px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;padding:22px 26px;}
#expertise .ydzh-exp-bottom-quote strong{font-size:17px;line-height:1.5;}
#expertise .ydzh-exp-bottom p{max-width:none;font-size:12.5px;line-height:1.7;}
@media(max-width:680px){#expertise .ydzh-exp-bottom{grid-template-columns:1fr;gap:15px;padding:20px;}}

/* 1.0.21: Restore original expertise imagery; sunrise from approved reference. */
#expertise .ydzh-exp-hero-image{background:linear-gradient(90deg,#0b1b26 0%,transparent 25%),linear-gradient(0deg,#0b1b26 0%,transparent 25%),url('assets/about-workstation.webp') center 44%/cover no-repeat !important;}
#expertise .ydzh-exp-bottom{background:linear-gradient(90deg,#102732 0%,rgba(11,30,40,.94) 43%,rgba(9,30,42,.2) 100%),url('assets/expertise-sunrise-reference.webp') right center/auto 100% no-repeat,#102732 !important;}

/* 1.0.22: Replace ONLY expertise hero image, preserve all other sections. */
#expertise .ydzh-exp-hero-image{background:linear-gradient(90deg,#0b1b26 0%,transparent 25%),linear-gradient(0deg,#0b1b26 0%,transparent 25%),url("assets/expertise-hero-new.webp") center center/cover no-repeat !important;}

/* YDZH guides library 1.0.23 — scoped; other sections unchanged */
#guides.ydzh-guides-library{padding:28px 0 42px;border-top:0}
.ydzh-guides-hero{display:grid;grid-template-columns:1.12fr 1fr;min-height:185px;align-items:center;gap:30px;margin-bottom:20px;overflow:hidden}
.ydzh-guides-copy{position:relative;z-index:1}.ydzh-guides-copy h2{font-size:clamp(29px,3vw,42px);line-height:1.15;margin:12px 0 18px}.ydzh-guides-copy h2 em{font-style:normal;color:#91e6d2}.ydzh-guides-copy p{max-width:720px;font-size:15px;line-height:1.65;color:#c3d2d8}
.ydzh-guides-hero-photo{min-height:185px;height:100%;background:linear-gradient(90deg,#0b1822 0%,transparent 24%),linear-gradient(0deg,#0b1822 0%,transparent 25%),url('assets/profile-education.webp') center/cover no-repeat;border-radius:4px;opacity:.8}
.ydzh-guides-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ydzh-guide-tile{min-width:0;border:1px solid #294452;background:linear-gradient(150deg,#102735,#0b202b);border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.ydzh-guide-art{height:94px;background-color:#092330;background-position:center;background-repeat:no-repeat;background-size:cover;opacity:.96}
.ydzh-guide-art-windows-office{background-image:url('assets/guides/windows-office.svg')}.ydzh-guide-art-system-admin{background-image:url('assets/guides/system-admin.svg')}.ydzh-guide-art-networks{background-image:url('assets/guides/networks.svg')}.ydzh-guide-art-cybersecurity{background-image:url('assets/guides/cybersecurity.svg')}.ydzh-guide-art-virtualization{background-image:url('assets/guides/virtualization.svg')}.ydzh-guide-art-backup{background-image:url('assets/guides/backup.svg')}.ydzh-guide-art-documentation{background-image:url('assets/guides/documentation.svg')}.ydzh-guide-art-tools{background-image:url('assets/guides/tools.svg')}
.ydzh-guide-tile-body{padding:13px 15px 14px;display:flex;flex-direction:column;flex:1;gap:8px}.ydzh-guide-tile-heading{display:flex;align-items:center;gap:12px}.ydzh-guide-symbol{font-size:25px;line-height:1;color:#6be0d0;flex:0 0 30px}.ydzh-guide-tile h3{font-size:15px;line-height:1.35;margin:0;color:#f0f5f5}.ydzh-guide-tile p{font-size:12px;line-height:1.6;color:#b8cbd2;margin:0 0 5px;flex:1}
#guides .ydzh-guide-button{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:7px 12px;color:#83e9db;border:1px solid #38bfb9;border-radius:4px;text-decoration:none;font-size:12px;font-weight:600;background:transparent;transition:background .2s}#guides .ydzh-guide-button:hover,#guides .ydzh-guide-button:focus-visible{background:#123f49;color:#fff}
.ydzh-guides-extras{display:flex;align-items:center;gap:20px;margin-top:16px;padding:18px 22px;border:1px solid #294452;border-radius:6px;background:linear-gradient(100deg,#0d2936,#102b3b)}.ydzh-guides-extras-icon{font-size:42px;color:#98e7d7}.ydzh-guides-extras>div:nth-child(2){flex:1}.ydzh-guides-extras span{font-size:11px;letter-spacing:.13em;color:#71dfd3}.ydzh-guides-extras h3{font-size:18px;margin:4px 0}.ydzh-guides-extras p{font-size:12px;color:#bfd0d7;margin:0}
.ydzh-guide-files-heading{margin:22px 0}.ydzh-guide-files-heading h3{font-size:24px;margin:12px 0 4px}.ydzh-guide-files-heading p{font-size:13px;color:#bacbd0}.ydzh-guide-back{color:#83e9db;text-decoration:none;font-size:13px}.ydzh-guide-files{display:grid;gap:9px}.ydzh-guide-file{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border:1px solid #294452;background:#102632;border-radius:5px}.ydzh-guide-file strong{font-size:15px}.ydzh-guide-file p{font-size:12px;color:#b8cbd2;margin:5px 0 0 30px}.ydzh-guide-file-icon{font-size:20px;color:#82e2d5;margin-right:12px}.ydzh-guide-empty{color:#b8cbd2}
@media(max-width:1050px){.ydzh-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.ydzh-guides-hero{grid-template-columns:1fr}.ydzh-guides-hero-photo{height:135px;min-height:135px}.ydzh-guides-grid{grid-template-columns:1fr}.ydzh-guides-extras{flex-wrap:wrap}.ydzh-guide-file{align-items:flex-start;flex-direction:column}}

/* YDZH 1.0.24: faithful approved Guides mockup images and sizing */
#guides.ydzh-guides-library{padding:25px 0 30px!important;max-width:1325px;margin-inline:auto!important}
#guides .ydzh-guides-hero{grid-template-columns:1.15fr 1fr!important;min-height:190px!important;gap:15px!important;margin-bottom:17px!important}
#guides .ydzh-guides-hero-photo{background:linear-gradient(90deg,#0b1822 0%,transparent 23%),url('assets/guides/hero.jpg') center center/cover no-repeat!important;opacity:1!important;min-height:195px!important}
#guides .ydzh-guides-copy h2{margin:10px 0 15px!important;font-size:clamp(29px,3vw,40px)!important}
#guides .ydzh-guides-copy p{font-size:14px!important;line-height:1.6!important}
#guides .ydzh-guides-grid{gap:11px!important}
#guides .ydzh-guide-art{height:90px!important;background-size:cover!important;background-position:center!important;opacity:1!important}
#guides .ydzh-guide-art-windows-office{background-image:url('assets/guides/windows-office.jpg')!important}
#guides .ydzh-guide-art-system-admin{background-image:url('assets/guides/system-admin.jpg')!important}
#guides .ydzh-guide-art-networks{background-image:url('assets/guides/networks.jpg')!important}
#guides .ydzh-guide-art-cybersecurity{background-image:url('assets/guides/cybersecurity.jpg')!important}
#guides .ydzh-guide-art-virtualization{background-image:url('assets/guides/virtualization.jpg')!important}
#guides .ydzh-guide-art-backup{background-image:url('assets/guides/backup.jpg')!important}
#guides .ydzh-guide-art-documentation{background-image:url('assets/guides/documentation.jpg')!important}
#guides .ydzh-guide-art-tools{background-image:url('assets/guides/tools.jpg')!important}
#guides .ydzh-guide-tile-body{padding:12px 16px 13px!important;gap:9px!important}
#guides .ydzh-guide-tile h3{font-size:15px!important}
#guides .ydzh-guide-tile p{font-size:12px!important}
#guides .ydzh-guides-extras{margin-top:16px!important}
@media(max-width:650px){#guides .ydzh-guides-hero{grid-template-columns:1fr!important}}

/* YDZH 1.0.25: compact guides section only; preserve imagery, texts, files. */
@media (min-width: 1051px) {
  #guides.ydzh-guides-library { padding-top: 16px !important; padding-bottom: 20px !important; }
  #guides .ydzh-guides-hero { min-height: 154px !important; margin-bottom: 12px !important; }
  #guides .ydzh-guides-hero-photo { min-height: 154px !important; }
  #guides .ydzh-guides-copy h2 { font-size: clamp(27px, 2.7vw, 36px) !important; margin: 7px 0 10px !important; }
  #guides .ydzh-guides-copy p { font-size: 13px !important; line-height: 1.5 !important; margin: 0 !important; }
  #guides .ydzh-guides-grid { gap: 9px !important; }
  #guides .ydzh-guide-art { height: 73px !important; }
  #guides .ydzh-guide-tile-body { padding: 9px 13px 10px !important; gap: 6px !important; }
  #guides .ydzh-guide-tile h3 { font-size: 14px !important; line-height: 1.25 !important; }
  #guides .ydzh-guide-tile p { font-size: 11px !important; line-height: 1.4 !important; margin: 0 !important; }
  #guides .ydzh-guide-symbol { font-size: 21px !important; flex-basis: 25px !important; }
  #guides .ydzh-guide-tile-heading { gap: 8px !important; }
  #guides .ydzh-guide-button { min-height: 29px !important; padding: 4px 10px !important; font-size: 11px !important; }
  #guides .ydzh-guides-extras { margin-top: 10px !important; padding: 11px 16px !important; }
}

/* YDZH 1.0.27 - visible photographic homepage atmosphere only. No changes to layout or other sections. */
body.home .hero:has(.ydzh-network){
  background-image:linear-gradient(90deg,rgba(10,23,33,.38) 0%,rgba(10,23,33,.14) 48%,rgba(10,23,33,.04) 100%),url("assets/home-hero-atmosphere.webp");
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  border-radius:3px;
}

/* YDZH 1.0.28: photographic background replacement only. */
body.home .hero:has(.ydzh-network){background-image:linear-gradient(90deg,rgba(5,18,28,.18),rgba(5,18,28,.04)),url("assets/home-hero-atmosphere.webp") !important;}

/* 1.0.29: photograph-only homepage hero background; other sections unchanged. */
body.home .hero:has(.ydzh-network){background-image:linear-gradient(90deg,rgba(5,18,28,.66) 0%,rgba(5,18,28,.46) 49%,rgba(5,18,28,.40) 100%),url("assets/home-hero-photographic.webp") !important;background-position:center center !important;background-size:cover !important;}

/* 1.0.30: clean server-room photograph matching the approved concept; all live text and animated diagram retained. */
body.home .hero:has(.ydzh-network){background-image:linear-gradient(90deg,rgba(5,18,28,.68) 0%,rgba(5,18,28,.44) 46%,rgba(5,18,28,.27) 100%),url("assets/home-hero-approved.webp") !important;background-position:center center !important;background-size:cover !important;background-repeat:no-repeat !important;}

/* 1.0.31: preserve the entire approved server-room photo without cover cropping; no layout changes. */
body.home .hero:has(.ydzh-network){background-size:100% 100% !important;background-position:center center !important;}

/* 1.0.32: nudge ONLY the home hero photograph left, retaining its height and all live content. */
body.home .hero:has(.ydzh-network){background-size:100% 100%,104% 100% !important;background-position:center center,left center !important;}

/* 1.0.33: Restore breathing room for hero copy, keep diagram and all content unchanged. */
@media (min-width: 851px) {
  body.home .hero:has(.ydzh-network) > div:first-child {
    padding-left: clamp(48px, 4.5vw, 76px) !important;
  }
  body.home .hero:has(.ydzh-network) {
    background-size: 100% 100%, cover !important;
    background-position: center center, center center !important;
  }
}

/* YDZH 1.0.34: Contact section only. Other sections unchanged. */
#contact.ydzh-contact-section{border:0;padding:64px 0 72px}
#contact .ydzh-contact-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:clamp(26px,4vw,55px);padding:clamp(24px,3.3vw,42px);text-align:left;background:linear-gradient(115deg,#142d31,#183136);border-radius:9px}
#contact .ydzh-contact-photo{min-width:0}
#contact .ydzh-contact-photo img{display:block;width:100%;height:auto;aspect-ratio:701/465;object-fit:cover;border-radius:8px}
#contact .ydzh-contact-details{min-width:0}
#contact .ydzh-contact-details h2{font-size:clamp(29px,3.1vw,42px);letter-spacing:-1.2px;line-height:1.18;margin:20px 0 30px}
#contact .ydzh-contact-emails{display:flex;flex-direction:column}
#contact .ydzh-contact-email{display:flex;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid #3a555b;color:#eaf0ed;font-size:clamp(13px,1.25vw,17px);overflow-wrap:anywhere;word-break:break-word}
#contact .ydzh-contact-email:hover,#contact .ydzh-contact-email:focus-visible{color:#a8e4cd}
#contact .ydzh-contact-email-icon{display:grid;place-items:center;flex:0 0 55px;width:55px;height:55px;border-radius:13px;background:#25464a;color:#77e4d3}
@media(max-width:800px){#contact .ydzh-contact-panel{grid-template-columns:1fr;gap:24px}#contact .ydzh-contact-photo img{max-height:330px}#contact .ydzh-contact-details h2{margin:12px 0 18px}}
@media(max-width:480px){#contact .ydzh-contact-panel{padding:18px}#contact .ydzh-contact-email{gap:12px;font-size:13px}#contact .ydzh-contact-email-icon{width:42px;height:42px;flex-basis:42px}}

/* YDZH 1.0.35: live Bulgarian date/time under footer copyright only. */
.site-footer > .ydzh-footer-center .ydzh-live-clock {
    display: block;
    margin-top: 5px;
    color: #a7e5d3;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .2px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* 1.0.38: Blog listing editorial layout, loaded in main stylesheet for consistent first paint. */
/* Blog-only editorial layout. Inlined by index.php to avoid stale combined CSS caches. */
body section.ydzh-blog-only{padding:38px 0 64px!important;border-bottom:0}
body .ydzh-blog-only>.eyebrow{font-size:10px;letter-spacing:1.8px;margin:0 0 8px}
body .ydzh-blog-only .ydzh-blog-heading h1{font-size:clamp(27px,2.8vw,35px)!important;line-height:1.18!important;letter-spacing:-.8px!important;margin:8px 0 8px!important}
body .ydzh-blog-only .ydzh-blog-heading p{font-size:13px!important;line-height:1.55!important;max-width:690px!important;margin:0 0 18px!important}
body .ydzh-blog-only .ydzh-blog-navigation{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:18px!important;align-items:center!important;border-bottom:1px solid #2b424b!important;margin:0 0 20px!important;padding:0 0 8px!important}
body .ydzh-blog-only nav.ydzh-blog-categories{display:flex!important;flex-wrap:nowrap!important;gap:17px!important;align-items:center!important;overflow-x:auto!important;white-space:nowrap!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;scrollbar-width:thin}
body .ydzh-blog-only nav.ydzh-blog-categories a{display:inline-block!important;flex:0 0 auto!important;background:none!important;color:#a9bac2!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;padding:9px 0!important;margin:0!important;font-size:11px!important;font-weight:450!important;line-height:1.3!important}
body .ydzh-blog-only nav.ydzh-blog-categories a.current,body .ydzh-blog-only nav.ydzh-blog-categories a:hover{color:#a8e4cd!important;border-bottom-color:#a8e4cd!important}
body .ydzh-blog-only form.search-form{display:flex!important;width:190px!important;max-width:100%!important;min-width:0!important;gap:0!important;margin:0!important;align-self:center}
body .ydzh-blog-only form.search-form input.search-field{width:100%!important;min-width:0!important;height:33px!important;padding:5px 8px!important;font-size:11px!important;background:#112630!important;border:1px solid #304b53!important;border-radius:4px 0 0 4px!important}
body .ydzh-blog-only form.search-form button.search-submit{flex:0 0 auto!important;height:33px!important;padding:5px 9px!important;font-size:11px!important;color:#b1e8d9!important;background:#19343c!important;border:1px solid #304b53!important;border-left:0!important;border-radius:0 4px 4px 0!important}
body .ydzh-blog-only .resource-grid.ydzh-blog-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body .ydzh-blog-only .ydzh-blog-grid article.card.resource.ydzh-blog-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:8px!important;background:#11242d!important;border:1px solid #2b434c!important;border-radius:5px!important;overflow:hidden!important;box-shadow:none!important}
body .ydzh-blog-only .ydzh-blog-grid article.ydzh-blog-card:hover{border-color:#5b9387!important;transform:translateY(-2px)}
body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover{display:block!important;position:relative!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;aspect-ratio:auto!important;overflow:hidden!important;border-radius:3px!important;background:#0e2630!important}
body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover img.post-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border-radius:0!important;filter:saturate(.65) brightness(.84)!important}
body .ydzh-blog-only article.ydzh-blog-card .ydzh-blog-placeholder{height:100%!important;display:grid!important;place-items:center!important}
body .ydzh-blog-only article.ydzh-blog-card .ydzh-blog-card-body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1!important;padding:9px 3px 3px!important;min-height:0!important}
body .ydzh-blog-only article.ydzh-blog-card .ydzh-blog-meta{font-size:10px!important;line-height:1.45!important;gap:5px!important;letter-spacing:0!important}
body .ydzh-blog-only article.ydzh-blog-card h2.ydzh-blog-card-title{font-size:14px!important;line-height:1.35!important;letter-spacing:0!important;font-weight:650!important;margin:7px 0!important;padding:0!important;min-height:0!important;max-height:2.7em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body .ydzh-blog-only article.ydzh-blog-card h2.ydzh-blog-card-title a{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
body .ydzh-blog-only article.ydzh-blog-card p.ydzh-blog-excerpt{font-size:11.5px!important;line-height:1.5!important;margin:0 0 10px!important;padding:0!important;max-height:3em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-read{font-size:11px!important;line-height:1.4!important;color:#a8e4cd!important;margin-top:auto!important}
@media(max-width:1100px){body .ydzh-blog-only .resource-grid.ydzh-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body .ydzh-blog-only .resource-grid.ydzh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .ydzh-blog-only .ydzh-blog-navigation{grid-template-columns:1fr!important}body .ydzh-blog-only form.search-form{width:220px!important}}
@media(max-width:480px){body .ydzh-blog-only .resource-grid.ydzh-blog-grid{grid-template-columns:1fr!important}body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover{height:135px!important;min-height:135px!important;max-height:135px!important}}

/* 1.0.16: consistent editorial thumbnails, no original featured media replaced. */
body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover{height:82px!important;min-height:82px!important;max-height:82px!important}
body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover img.ydzh-editorial-art{object-fit:cover!important;filter:none!important;opacity:1!important}
body .ydzh-blog-only article.ydzh-blog-card .ydzh-blog-card-body{padding-top:8px!important}
@media(max-width:480px){body .ydzh-blog-only article.ydzh-blog-card a.ydzh-blog-cover{height:96px!important;min-height:96px!important;max-height:96px!important}}


/* 1.0.38: Uniform blog archive layout across initial load and category archives. */
body main section.ydzh-blog-listing {padding:38px 0 64px!important}
body main section.ydzh-blog-listing .ydzh-blog-navigation {display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:18px!important;align-items:center!important;border-bottom:1px solid #2b424b!important;margin:0 0 20px!important;padding:0 0 8px!important}
body main section.ydzh-blog-listing nav.ydzh-blog-categories {display:flex!important;flex-wrap:nowrap!important;gap:17px!important;overflow-x:auto!important;white-space:nowrap!important;max-width:100%!important;min-width:0!important;width:100%!important;scrollbar-width:thin}
body main section.ydzh-blog-listing form.search-form {display:flex!important;flex:0 0 190px!important;width:190px!important;min-width:0!important;max-width:190px!important;margin:0!important}
body main section.ydzh-blog-listing .resource-grid.ydzh-blog-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card {display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:auto!important;padding:8px!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card a.ydzh-blog-cover {display:block!important;width:100%!important;height:82px!important;min-height:82px!important;max-height:82px!important;aspect-ratio:auto!important;overflow:hidden!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card .ydzh-blog-card-body {padding:8px 3px 3px!important;display:flex!important;flex-direction:column!important;flex:1!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card h2.ydzh-blog-card-title {font-size:14px!important;line-height:1.35!important;max-height:2.7em!important;min-height:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card p.ydzh-blog-excerpt {font-size:11.5px!important;line-height:1.5!important;max-height:3em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card a.ydzh-blog-read {font-size:11px!important;margin-top:auto!important}
@media(max-width:1100px){body main section.ydzh-blog-listing .resource-grid.ydzh-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body main section.ydzh-blog-listing .resource-grid.ydzh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body main section.ydzh-blog-listing .ydzh-blog-navigation{grid-template-columns:1fr!important}}
@media(max-width:480px){body main section.ydzh-blog-listing .resource-grid.ydzh-blog-grid{grid-template-columns:1fr!important}body main section.ydzh-blog-listing .ydzh-blog-grid article.ydzh-blog-card a.ydzh-blog-cover{height:96px!important;min-height:96px!important;max-height:96px!important}}

/* 1.0.40: Single blog post only; no changes to blog listing or other pages. */
body.single-post .ydzh-single-post{max-width:950px;padding:42px 0 70px}
body.single-post .ydzh-single-post h1{font-size:clamp(27px,2.5vw,32px);line-height:1.2;letter-spacing:-.025em;margin:14px 0 13px;max-width:900px;color:#a7e5d3}
body.single-post .ydzh-single-post .meta{margin:0 0 22px;font-size:13px}
body.single-post .ydzh-single-post .ydzh-single-intro{font-size:16px;line-height:1.6;color:#b8d0d1;border-left:3px solid var(--accent);padding-left:16px;margin:16px 0 22px}
body.single-post .ydzh-single-post .entry-content{font-size:16px;line-height:1.6}
body.single-post .ydzh-single-post .entry-content p{margin:0 0 15px}
body.single-post .ydzh-post-files{padding:22px;margin:34px 0 24px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}
body.single-post .ydzh-post-files h2{font-size:20px;letter-spacing:0;margin:0 0 14px}
body.single-post .ydzh-post-files ul{list-style:none;padding:0;margin:0}
body.single-post .ydzh-post-files li{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);flex-wrap:wrap}
body.single-post .ydzh-post-file-name{flex:1;min-width:170px;overflow-wrap:anywhere}
body.single-post .ydzh-post-files a,body.single-post .ydzh-post-return a{color:var(--accent);font-weight:600}
body.single-post .ydzh-post-return{margin:24px 0}
@media(max-width:600px){body.single-post .ydzh-single-post{padding:30px 0 55px}body.single-post .ydzh-single-post h1{font-size:clamp(25px,6vw,30px)}}

/* 1.0.42: Compact typography for individual posts only. */
body.single-post .ydzh-single-post .ydzh-single-intro{font-size:15px;line-height:1.55;margin:13px 0 18px}
body.single-post .ydzh-single-post .entry-content{font-size:15px;line-height:1.55}
body.single-post .ydzh-single-post .entry-content p{margin:0 0 12px}

/* 1.0.43: Single article layout and download metadata; archive cards unchanged. */
body.single-post .ydzh-single-post{max-width:920px}
body.single-post .ydzh-single-post .meta{padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:17px}
body.single-post .ydzh-single-post .entry-content p{margin-bottom:10px}
body.single-post .ydzh-post-files{padding:18px 22px;margin-top:24px}
body.single-post .ydzh-post-files .ydzh-file-count{display:block;color:var(--muted);font-size:12px;margin-top:3px;font-weight:400}
body.single-post .ydzh-post-files .ydzh-file-download{border:1px solid var(--accent);border-radius:5px;padding:7px 12px;white-space:nowrap}
.ydzh-guide-count{font-size:12px;color:var(--muted);margin-left:9px}


/* =============================================================
   YDZH 1.0.45 - НАЧАЛНА СТРАНИЦА: адаптивен фон и широка композиция.
   Промените важат САМО за началния банер и главното меню.
   Текстовете, бутоните и SVG схемата остават непроменени.
   ============================================================= */

/* Меню: повече използваема ширина, с безопасни крайни отстояния. */
body.home .site-header nav {
  max-width: none;
  width: 100%;
  padding-inline: clamp(20px, 5.3vw, 100px);
}

/* Начален банер: излиза от тесния main контейнер и достига двата края.
   Изображението запазва пропорциите си (cover), без разтягане. */
body.home main > .hero:has(.ydzh-network) {
  width: 100vw;
  width: 100dvw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: clamp(64px, 6vw, 100px) clamp(22px, 5.3vw, 100px) clamp(74px, 7vw, 110px) !important;
  min-height: clamp(620px, 49vw, 830px);
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important;
  gap: clamp(20px, 3.5vw, 72px) !important;
  align-items: center;
  border-radius: 0 !important;
  background-image:
    linear-gradient(to bottom, #0d1720 0%, transparent 13%, transparent 75%, #0d1720 100%),
    linear-gradient(to right, rgba(13,23,32,.52) 0%, rgba(13,23,32,.17) 48%, rgba(13,23,32,.14) 82%, #0d1720 100%),
    url("assets/home-hero-approved.webp") !important;
  background-size: 100% 100%, 100% 100%, cover !important;
  background-position: center, center, center !important;
  background-repeat: no-repeat !important;
}

/* Текст вляво: запазен размер, но без старото допълнително отместване. */
body.home main > .hero:has(.ydzh-network) > div:first-child {
  min-width: 0;
  padding-left: 0 !important;
  position: relative;
  z-index: 1;
}

/* Схема вдясно: оригиналният SVG, без изрязване и деформиране. */
body.home main > .hero .ydzh-network {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  transform: none !important;
}
body.home main > .hero .ydzh-network-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Таблет: две колони, когато има достатъчно място; иначе една под друга. */
@media (max-width: 1050px) {
  body.home main > .hero:has(.ydzh-network) {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
    gap: 24px !important;
    padding-block: 65px 75px !important;
  }
  body.home main > .hero .ydzh-network {
    width: min(100%, 620px) !important;
    margin-inline: auto !important;
  }
}

/* Телефон: четим текст, бутоните се пренасят, схемата се побира цяла. */
@media (max-width: 600px) {
  body.home .site-header nav { padding-inline: 20px; }
  body.home main > .hero:has(.ydzh-network) {
    padding: 48px 20px 65px !important;
    gap: 22px !important;
    background-position: center, center, 58% center !important;
  }
  body.home main > .hero:has(.ydzh-network) h1 {
    font-size: clamp(29px, 8vw, 42px);
    letter-spacing: -1px;
  }
  body.home main > .hero:has(.ydzh-network) .intro {
    font-size: 14px;
    line-height: 1.65;
  }
  body.home main > .hero:has(.ydzh-network) .actions { flex-wrap: wrap; }
  body.home main > .hero .ydzh-network { width: 100% !important; }
}


/* =============================================================
   YDZH 1.0.46 - ОБЩО ГОРНО МЕНЮ ЗА ВСИЧКИ СТРАНИЦИ.
   Еднаква ширина и отстояния за началната и вътрешните страници.
   Не се променят цветове, линкове или оформление на другите секции.
   ============================================================= */
.site-header nav,
body.home .site-header nav {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5.3vw, 100px);
}
@media (max-width: 600px) {
  .site-header nav,
  body.home .site-header nav { padding-inline: 20px; }
}

/* =====================================================
   YDZH 1.0.47 - САМОСТОЯТЕЛНА СТРАНИЦА „ЕКСПЕРТИЗА“
   Запазва съществуващата композиция и мобилните правила.
   ===================================================== */
.ydzh-expertise-page-wrap { width:100%; max-width:1600px; margin-inline:auto; padding-inline:clamp(16px,4.5vw,84px); box-sizing:border-box; }
.ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial { width:100%; min-width:0; padding-top:clamp(28px,4vw,60px); }
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero,
.ydzh-expertise-page-wrap #expertise .ydzh-exp-grid { min-width:0; }
.ydzh-expertise-page-wrap #expertise .ydzh-exp-editable-intro p { margin:0 0 9px; }
@media(max-width:680px) {
  .ydzh-expertise-page-wrap { padding-inline:16px; }
  .ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial { padding-top:22px; }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-grid { grid-template-columns:minmax(0,1fr); }
}

/* ==============================================================
   YDZH 1.0.48 - САМО СТРАНИЦА „ЕКСПЕРТИЗА“
   Адаптивно разширяване и компактно вертикално разположение.
   Общите хедър, меню и футър НЕ се променят.
   ============================================================== */
main:has(> .ydzh-expertise-page-wrap) {
    max-width:none;
    width:100%;
    padding-inline:0;
}
.ydzh-expertise-page-wrap {
    max-width:none;
    width:100%;
    padding-inline:clamp(18px,3.2vw,72px);
}
.ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial {
    padding-top:clamp(14px,2vh,26px);
    padding-bottom:clamp(10px,1.6vh,22px);
    border-bottom:0;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {
    grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
    gap:clamp(16px,2.4vw,36px);
    min-height:0;
    margin-bottom:12px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy { padding:0 4px 0 0; }
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy .eyebrow {margin-bottom:6px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy h2 {
    font-size:clamp(27px,2.6vw,40px);
    margin-bottom:8px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy p {
    font-size:clamp(12px,.89vw,14px);
    line-height:1.5;
    margin-bottom:6px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {min-height:0; height:clamp(175px,23vh,270px);}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {gap:12px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:clamp(70px,10vh,110px);}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card-content {padding:10px 13px 9px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {
    font-size:clamp(15px,1.25vw,19px);
    line-height:1.23;
    margin:5px 0 7px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card p {
    font-size:clamp(11px,.8vw,12px);
    line-height:1.45;
    margin-bottom:9px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {padding:7px 0;gap:4px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills span {font-size:16px;gap:3px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills small {font-size:clamp(8px,.64vw,10px);}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-tags {padding-top:6px;font-size:clamp(9px,.68vw,11px);}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {
    margin-top:12px;
    min-height:0;
    padding:12px 18px;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);
    gap:20px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote strong {font-size:clamp(14px,1.1vw,17px);line-height:1.3;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom p {font-size:clamp(11px,.8vw,12.5px);line-height:1.5;}
/* Таблети: запазваме четимостта, вместо да изрязваме съдържание. */
@media (max-width:1000px) {
    .ydzh-expertise-page-wrap {padding-inline:clamp(16px,3vw,30px);}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:minmax(0,1fr) minmax(0,.9fr);}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* Телефони: вертикална подредба и естествено превъртане. */
@media (max-width:680px) {
    .ydzh-expertise-page-wrap {padding-inline:16px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:1fr;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {height:190px;min-height:190px;grid-row:1;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {grid-template-columns:1fr;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:120px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {grid-template-columns:repeat(4,minmax(0,1fr));}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {grid-template-columns:1fr;gap:12px;}
}

/* ================================================================
   YDZH 1.0.49 - СТРАНИЦА „ЕКСПЕРТИЗА“: КОМПАКТНО ОФОРМЛЕНИЕ.
   Само тази страница: подравняване с логото, по-ниски карти,
   едноредови заглавия при широк екран и футър по цялата ширина.
   Текстове, изображения, общ хедър и останалите страници не се пипат.
   ================================================================ */
@media (min-width: 1101px) {
  /* Лявата колона започва под левия ръб на логото в общия хедър. */
  .ydzh-expertise-page-wrap {
    padding-left: clamp(20px, 5.3vw, 100px);
    padding-right: clamp(20px, 5.3vw, 100px);
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 32px);
    margin-bottom: 9px;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 br { display: none; }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {
    font-size: clamp(13px, 1.02vw, 17px);
    letter-spacing: -.025em;
    white-space: nowrap;
    margin: 4px 0 5px;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {
    height: clamp(58px, 7.3vh, 86px);
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card-content {
    padding: 8px 11px 7px;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card p {
    margin-bottom: 6px;
    line-height: 1.36;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {
    padding: 5px 0;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-tags {
    padding-top: 4px;
    line-height: 1.35;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {
    margin-top: 9px;
    padding: 9px 15px;
  }
}
/* На по-тесни екрани заглавията се пренасят естествено. */
@media (max-width: 1100px) {
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {
    white-space: normal;
  }
}
/* Футър: пълна ширина само на страницата „Експертиза“.
   Запазваме оригиналните линкове, часовник и цветове. */
body:has(.ydzh-expertise-page-wrap) .site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 9px clamp(20px, 5.3vw, 100px);
  border-top: 1px solid var(--line);
}
@media (max-width: 650px) {
  body:has(.ydzh-expertise-page-wrap) .site-footer {
    padding: 14px 20px;
    gap: 8px;
  }
}

/* ==============================================================
   YDZH IT & SECURITY — ВЕРСИЯ 1.0.50
   ОБЩ ФУТЪР: подравняване с хедъра на всички страници.
   Пълна ширина на фоновата лента, по-малка височина, без промяна
   на текстовете, линковете, часовника и останалото съдържание.
   ============================================================== */
.site-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px clamp(20px, 5.3vw, 100px) !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px 22px !important;
    align-items: center;
}
.site-footer .footer-links,
.site-footer .footer-links ul {
    margin: 0;
    padding: 0;
    gap: 3px;
}
.site-footer .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-footer .footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .footer-links a,
.site-footer > a,
.site-footer > .ydzh-footer-center {
    font-size: 13px !important;
    line-height: 1.35;
}
.site-footer > .ydzh-footer-center .ydzh-live-clock {
    display: block;
    margin-top: 3px;
    line-height: 1.3;
}
/* ЕКСПЕРТИЗА: отменя старото специфично отстояние на футъра.
   Съдържанието не се изрязва при ниски прозорци. */
body:has(.ydzh-expertise-page-wrap) .site-footer {
    padding: 12px clamp(20px, 5.3vw, 100px) !important;
}
@media (max-width: 760px) {
    .site-footer,
    body:has(.ydzh-expertise-page-wrap) .site-footer {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 14px 20px !important;
        gap: 10px !important;
        text-align: center;
    }
    .site-footer .footer-links,
    .site-footer .footer-links ul { align-items: center; }
    .site-footer > .ydzh-footer-center { white-space: normal; }
}

/* ==============================================================
   YDZH IT & SECURITY - ВЕРСИЯ 1.0.51
   СТРАНИЦА "ЕКСПЕРТИЗА": уплътняване само на "Моят подход".
   Запазват се всички текстове, изображения и четимостта.
   ============================================================= */
@media (min-width: 1101px) {
  /* Намаляваме общата височина на заключителния блок. */
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {
    min-height: 0;
    margin-top: 7px;
    padding: 6px 15px;
    gap: 14px;
  }
  /* Прибираме редовете вляво, без да скриваме нито един. */
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote span {
    margin-bottom: 2px;
    line-height: 1.2;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote strong {
    line-height: 1.12;
  }
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom p {
    line-height: 1.32;
  }
}

/* ОБЩ ФУТЪР: двата реда остават видими и по-компактни.
   Не променяме линковете, часовника или хоризонталното подравняване. */
@media (min-width: 761px) {
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    gap: 6px 22px !important;
  }
  .site-footer .footer-links,
  .site-footer .footer-links ul {
    gap: 0 !important;
  }
  .site-footer .footer-links a,
  .site-footer > a,
  .site-footer > .ydzh-footer-center {
    line-height: 1.2;
  }
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    margin-top: 1px;
    line-height: 1.15;
  }
}

/* ==============================================================
   YDZH IT & SECURITY - ВЕРСИЯ 1.0.52
   СЕКЦИЯ: ОБЩ ФУТЪР - ВСИЧКИ СТРАНИЦИ
   Еднакво междуредие и разстояние от 4 px за трите колони.
   Запазваме всички текстове, връзки, часовника и подравняването.
   ============================================================== */
@media (min-width: 761px) {
  /* Единна височина на редовете и компактна вертикална рамка. */
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    align-items: center !important;
  }
  .site-footer .footer-links,
  .site-footer .footer-links ul {
    row-gap: 4px !important;
    column-gap: 0 !important;
  }
  .site-footer .footer-links a,
  .site-footer .footer-links li,
  .site-footer > a,
  .site-footer > .ydzh-footer-center,
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    line-height: 18px !important;
  }
  /* Часовникът е вторият ред на централната колона. */
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    margin-top: 4px !important;
  }
}


/* ================================================================
   YDZH IT & SECURITY — 1.0.55
   САМО СТРАНИЦА „ЗА МЕН“: компактен екран с видим общ футър.
   Без промяна в хедъра, останалите страници и снимката.
   ================================================================ */
body:has(.ydzh-about-page-wrap) {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
/* Основният контейнер заема само свободното място между хедър и футър. */
body:has(.ydzh-about-page-wrap) main#main {
  width: 100%;
  max-width: none;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-left: clamp(20px, 3.8vw, 65px);
  padding-right: clamp(20px, 3.8vw, 65px);
}
body:has(.ydzh-about-page-wrap) .ydzh-about-page-wrap {
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}
/* Премахваме линията в самата секция: разделителят принадлежи на футъра. */
body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual {
  width: 100%;
  margin: 0;
  padding: 14px 0 16px;
  border-bottom: 0;
  gap: clamp(20px, 2.2vw, 36px);
}
/* Разделителят и фонът са от край до край, а съдържанието е подравнено. */
body:has(.ydzh-about-page-wrap) .site-footer {
  width: 100% !important;
  max-width: none !important;
  flex-shrink: 0;
  margin: 0 !important;
  border-top: 1px solid var(--line) !important;
}
@media (min-width: 851px) {
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-left .eyebrow {
    margin-bottom: 7px;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-left h2 {
    font-size: clamp(27px, 2.7vw, 39px);
    line-height: 1.16;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(43svh, 385px);
    margin: 12px 0 0;
    object-fit: contain;
    object-position: left top;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-right p {
    font-size: clamp(13px, 1.04vw, 15px);
    line-height: 1.5;
    margin: 0 0 12px;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-right .ydzh-about-lead {
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.4;
    margin-bottom: 17px;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-button {
    padding: 9px 14px;
  }
}
/* При тесен/нисък екран не изрязваме текст, а позволяваме превъртане. */
@media (max-width: 850px) {
  body:has(.ydzh-about-page-wrap) .ydzh-about-page-wrap { display: block; }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual {
    padding: 26px 0 30px;
    gap: 20px;
  }
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-image {
    width: 100%; max-width: 100%; margin: 15px 0 0;
  }
}


/* ================================================================
   YDZH IT & SECURITY - 1.0.56
   ОБЩ ФУТЪР - ВСИЧКИ СТРАНИЦИ И ПУБЛИКАЦИИ
   Еднаква височина на редовете (18px) и разстояние (2px),
   както в средната колона. Без промяна на текстове и връзки.
   ================================================================ */
@media (min-width: 761px) {
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer,
  body:has(.ydzh-about-page-wrap) .site-footer {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items: center !important;
    column-gap: 22px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    border-top: 1px solid var(--line) !important;
  }
  .site-footer .footer-links,
  .site-footer .footer-links ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    row-gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-footer .footer-links li { margin: 0 !important; padding: 0 !important; }
  .site-footer .footer-links a,
  .site-footer .footer-links li,
  .site-footer > a,
  .site-footer > .ydzh-footer-center,
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    line-height: 18px !important;
  }
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    display: block !important;
    margin-top: 2px !important;
  }
  .site-footer > a { text-align: right; }
}

/* ================================================================
   YDZH 1.0.57 - НАЧАЛНА СТРАНИЦА
   Самостоятелен начален екран с оригиналните текстове, фон,
   бутони и анимирана SVG схема. Общият футър е след банера.
   Размерите се адаптират към височината и ширината на прозореца.
   Останалите страници не се променят.
   ================================================================ */
body.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body.home > .site-header { flex: 0 0 auto; }
body.home > main#main {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}
/* Запълва наличното пространство без изрязване на текст или схема. */
@media (min-width: 1051px) {
  body.home main > .hero:has(.ydzh-network) {
    flex: 1 0 auto;
    min-height: max(510px, calc(100svh - 170px)) !important;
    padding-block: clamp(28px, 4vh, 66px) !important;
  }
}
/* На по-тесни екрани съдържанието се подрежда вертикално. */
@media (max-width: 1050px) {
  body.home main > .hero:has(.ydzh-network) {
    flex: 1 0 auto;
    min-height: 0 !important;
  }
}
/* Футърът остава общият шаблон, с фон и линия от край до край. */
body.home > .site-footer {
  flex: 0 0 auto;
  width: 100% !important;
  background: #193140;
  border-top: 1px solid #76b8af !important;
}


/* ================================================================
   YDZH IT & SECURITY - 1.0.59
   НАЧАЛО: адаптивно пространство между хедъра и общия футър.
   Запазени са фонът, текстовете, бутоните и оригиналната SVG анимация.
   ================================================================ */
@media (min-width: 1051px) {
  body.home > main#main {
    flex: 1 1 auto;
    min-height: 0;
  }
  body.home main > .hero:has(.ydzh-network) {
    flex: 1 1 auto;
    min-height: 0 !important;
    padding-top: clamp(12px, 2vh, 26px) !important;
    padding-bottom: clamp(12px, 2vh, 26px) !important;
  }
  body.home main > .hero .ydzh-network-svg {
    max-height: max(340px, calc(100svh - 175px));
  }
}
/* При нисък екран съдържанието се превърта, вместо да се изрязва. */
@media (min-width: 1051px) and (max-height: 720px) {
  body.home main > .hero:has(.ydzh-network) {
    min-height: 540px !important;
  }
}

/* ================================================================
   ОБЩ ФУТЪР: еднаква компактна височина и междуредие навсякъде.
   Не се променят връзките, текстовете и трите колони.
   ================================================================ */
@media (min-width: 761px) {
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer,
  body:has(.ydzh-about-page-wrap) .site-footer {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items: center !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    gap: 0 22px !important;
  }
  .site-footer .footer-links,
  .site-footer .footer-links ul {
    row-gap: 2px !important;
    column-gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-footer .footer-links li { margin: 0 !important; padding: 0 !important; }
  .site-footer .footer-links a,
  .site-footer .footer-links li,
  .site-footer > a,
  .site-footer > .ydzh-footer-center,
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    line-height: 18px !important;
  }
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    margin-top: 2px !important;
  }
}


/* ================================================================
   YDZH IT & SECURITY - 1.0.60
   ОБЩ ФУТЪР: единна подредба за всички страници и публикации.
   Подравняване по хоризонтала с хедъра, две компактни линии.
   Не се променят адреси, текстове, часовник или други секции.
   ================================================================ */
@media (min-width: 761px) {
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer,
  body:has(.ydzh-about-page-wrap) .site-footer {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    grid-template-rows: 18px 18px !important;
    column-gap: 22px !important;
    row-gap: 2px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px clamp(20px, 5.3vw, 100px) !important;
    min-height: 0 !important;
    border-top: 1px solid var(--line) !important;
  }
  /* Менюто във футъра запазва съществуващите си WordPress връзки. */
  .site-footer .footer-links,
  .site-footer .footer-links ul { display: contents !important; }
  .site-footer .footer-links li,
  .site-footer .footer-links a,
  .site-footer > a,
  .site-footer > .ydzh-footer-center,
  .site-footer .ydzh-live-clock {
    font-size: 13px !important;
    line-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-footer .footer-links li { list-style: none !important; }
  .site-footer .footer-links li:nth-child(1),
  .site-footer .footer-links > a:nth-child(1) {
    grid-column: 1 !important; grid-row: 1 !important;
    justify-self: start !important;
  }
  .site-footer .footer-links li:nth-child(2),
  .site-footer .footer-links > a:nth-child(2) {
    grid-column: 1 !important; grid-row: 2 !important;
    justify-self: start !important;
  }
  .site-footer .footer-links li:nth-child(n+3),
  .site-footer .footer-links > a:nth-child(n+3) {
    grid-column: 3 !important; grid-row: 1 !important;
    justify-self: end !important;
  }
  .site-footer > .ydzh-footer-center {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    justify-self: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .site-footer > .ydzh-footer-center .ydzh-live-clock {
    display: block !important;
    margin-top: 2px !important;
  }
  .site-footer > a {
    grid-column: 3 !important; grid-row: 2 !important;
    justify-self: end !important;
    text-align: right !important;
  }
}
/* МОБИЛНИ УСТРОЙСТВА: трите области се подреждат вертикално. */
@media (max-width: 760px) {
  .site-footer,
  body:has(.ydzh-expertise-page-wrap) .site-footer,
  body:has(.ydzh-about-page-wrap) .site-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 20px !important;
    text-align: center !important;
  }
  .site-footer .footer-links,
  .site-footer .footer-links ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }
  .site-footer .footer-links li { margin: 0 !important; padding: 0 !important; }
  .site-footer .footer-links a,
  .site-footer > a,
  .site-footer > .ydzh-footer-center,
  .site-footer .ydzh-live-clock { line-height: 18px !important; }
}

/* =============================================================
   YDZH IT & SECURITY — 1.0.61
   ОБЩ ФУТЪР: единна структура за всички самостоятелни страници.
   Три отделни колони, без display:contents и без застъпване.
   Не се засягат страниците, анимациите и картите на ръководствата.
   ============================================================= */
footer.site-footer.ydzh-footer-unified,
body:has(.ydzh-about-page-wrap) footer.site-footer.ydzh-footer-unified,
body:has(.ydzh-expertise-page-wrap) footer.site-footer.ydzh-footer-unified {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px clamp(20px, 5.3vw, 100px) !important;
    background: #192e3b !important;
    border-top: 1px solid #8ee5c6 !important;
    box-sizing: border-box !important;
    color: #d5e8eb !important;
    font-size: 13px !important;
}
/* Трите колони имат еднакво разстояние между редовете. */
footer.site-footer.ydzh-footer-unified > .ydzh-footer-left,
footer.site-footer.ydzh-footer-unified > .ydzh-footer-center,
footer.site-footer.ydzh-footer-unified > .ydzh-footer-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
    position: static !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 18px !important;
    white-space: normal !important;
}
footer.site-footer.ydzh-footer-unified > .ydzh-footer-left {
    grid-column: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
}
footer.site-footer.ydzh-footer-unified > .ydzh-footer-center {
    grid-column: 2 !important;
    align-items: center !important;
    text-align: center !important;
    white-space: nowrap !important;
}
footer.site-footer.ydzh-footer-unified > .ydzh-footer-right {
    grid-column: 3 !important;
    align-items: flex-end !important;
    text-align: right !important;
}
footer.site-footer.ydzh-footer-unified a,
footer.site-footer.ydzh-footer-unified .ydzh-live-clock {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    color: #d5e8eb !important;
    text-decoration: none !important;
}
footer.site-footer.ydzh-footer-unified .ydzh-live-clock { color: #8ee5c6 !important; }
footer.site-footer.ydzh-footer-unified a:hover,
footer.site-footer.ydzh-footer-unified a:focus-visible {
    color: #8ee5c6 !important;
    text-decoration: underline !important;
}
/* Мобилни устройства: колоните се подреждат вертикално. */
@media (max-width: 760px) {
    footer.site-footer.ydzh-footer-unified,
    body:has(.ydzh-about-page-wrap) footer.site-footer.ydzh-footer-unified,
    body:has(.ydzh-expertise-page-wrap) footer.site-footer.ydzh-footer-unified {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 16px 20px !important;
    }
    footer.site-footer.ydzh-footer-unified > .ydzh-footer-left,
    footer.site-footer.ydzh-footer-unified > .ydzh-footer-center,
    footer.site-footer.ydzh-footer-unified > .ydzh-footer-right {
        align-items: center !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

/* =============================================================
   YDZH IT & SECURITY - 1.0.62
   СТРАНИЦА „ЗА МЕН“ - подравняване по одобрения образец.
   Само десктоп: заглавието и уводът започват на една линия;
   изображението изпълва лявата колона; бутонът е ниско вдясно.
   Не променя общия футър, другите страници и съдържанието.
   ============================================================= */
@media (min-width: 851px) {
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual {
    align-items: stretch;
  }
  /* Лява колона: съществуващото изображение запълва композицията. */
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-image {
    width: 100%;
    height: clamp(290px, 28vw, 400px);
    max-height: none;
    object-fit: cover;
    object-position: center center;
    margin-top: 14px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  /* Дясна колона: уводът е на височината на бялото заглавие. */
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-right {
    display: flex;
    flex-direction: column;
    padding-top: 29px;
    padding-bottom: 4px;
  }
  /* Бутонът стои ниско, близо до долния край на изображението. */
  body:has(.ydzh-about-page-wrap) #about.ydzh-about-visual .ydzh-about-button {
    margin-top: auto;
    align-self: flex-start;
  }
}



/* ==============================================================
   YDZH 1.0.76 — ЕКСПЕРТИЗА: ПЪРВИ ОДОБРЕН ВАРИАНТ
   Само страница „Експертиза“: три равни карти с панорамни
   изображения и „Моят подход“ в ТРИ ОТДЕЛНИ ОБЛАСТИ.
   Не се променят общите менюта, футър, блог и други страници.
   ============================================================== */

/* 1. Горна секция — балансирани текст и изображение. */
.ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial {padding-top:20px;padding-bottom:14px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:clamp(24px,3.2vw,54px);align-items:center;margin-bottom:19px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy h2 {font-size:clamp(29px,2.5vw,41px);margin:0 0 12px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy p {font-size:clamp(12px,.88vw,14px);line-height:1.56;margin-bottom:11px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {height:clamp(180px,15vw,220px);min-height:180px;border-radius:7px;background:linear-gradient(90deg,#0b1b26 0%,transparent 22%),url('assets/expertise-approved-hero.webp') center/cover no-repeat !important;box-shadow:none;}

/* 2. Карти — панорамни снимки без разтягане, меки контури. */
.ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card {border:1px solid #355b67;border-radius:8px;background:#0e2633;box-shadow:none;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:clamp(95px,7.8vw,124px);min-height:95px;background-position:center;background-size:cover;flex-shrink:0;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo-infra {background-image:url('assets/expertise-approved-infra.webp');}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo-cyber {background-image:url('assets/expertise-approved-cyber.webp');}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo-team {background-image:url('assets/expertise-approved-team.webp');}

/* 3. Карти — ясни заглавия, текстове и компетенции. */
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card-content {padding:15px 19px 13px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {font-size:clamp(16px,1.08vw,19px);line-height:1.28;margin:7px 0 10px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card p {font-size:clamp(12px,.79vw,13px);line-height:1.53;margin:0 0 13px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:12px 0 10px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills span {font-size:19px;gap:6px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills small {font-size:10px;line-height:1.38;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-tags {padding-top:9px;font-size:10.5px;}

/* 4. „Моят подход“ — ТРИ РЕАЛНИ КОЛОНИ:
      ляво: цитат; среда: пълен текст; дясно: отделна снимка.
      Предишният фонов градиент закриваше изображението.
      Сега пейзажът е самостоятелен елемент и се вижда изцяло. */
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {
    display:grid;
    grid-template-columns:minmax(245px,.95fr) minmax(0,1.5fr) minmax(230px,1fr);
    align-items:stretch;
    gap:0;
    margin-top:14px;
    min-height:124px;
    padding:0 !important;
    overflow:hidden;
    border:1px solid #31535e;
    border-radius:7px;
    background:#102733 !important;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote {
    display:flex;flex-direction:column;justify-content:center;
    min-width:0;padding:17px 23px;
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote strong {font-size:clamp(16px,1.05vw,19px);line-height:1.42;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom > p {
    display:flex;align-items:center;min-width:0;max-width:none;
    margin:0;padding:18px 24px;
    font-size:clamp(12px,.79vw,13px);line-height:1.6;
    border-left:1px solid rgba(101,162,173,.32);
}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-landscape {
    min-width:0;min-height:124px;
    background-image:linear-gradient(90deg,#102733 0%,rgba(16,39,51,.10) 24%,transparent 50%),url('assets/expertise-approved-landscape.webp');
    background-position:center,right center;
    background-size:cover,cover;
    background-repeat:no-repeat;
}

/* 5. Средни екрани — снимката на „Моят подход“ остава отделна. */
@media (min-width:681px) and (max-width:1100px) {
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {grid-template-columns:repeat(2,minmax(0,1fr));}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {grid-template-columns:minmax(190px,1fr) minmax(0,1.45fr) minmax(155px,.7fr);}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote {padding:14px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom > p {padding:14px;}
}
/* 6. Телефон — картите и трите части се подреждат вертикално. */
@media (max-width:680px) {
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:1fr;gap:14px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {grid-row:1;height:180px;min-height:180px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {grid-template-columns:1fr;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:140px;min-height:140px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {grid-template-columns:1fr;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote {padding:18px 18px 10px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom > p {border-left:0;padding:8px 18px 16px;}
    .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-landscape {min-height:145px;}
}

/* ==============================================================
   YDZH 1.0.77 — СТРАНИЦА „ЕКСПЕРТИЗА“
   Точно по първата одобрена визуализация:
   1) фини електронни писти и кръгли възли от двете страни;
   2) сървърна среда с растение в горното изображение;
   3) три четими карти с изображения без деформация;
   4) „Моят подход“: принципи, текст и планински пейзаж;
   5) компактно оформление на широки екрани.
   Правилата са ограничени САМО до страница „Експертиза“.
   ============================================================== */
/* Странична украса: SVG без плътни вертикални ленти. */
body:has(.ydzh-expertise-page-wrap) main {position:relative;isolation:isolate;overflow:hidden;}
body:has(.ydzh-expertise-page-wrap) main::before,
body:has(.ydzh-expertise-page-wrap) main::after {content:"";position:absolute;top:0;bottom:0;width:clamp(50px,6.5vw,115px);background-image:url('assets/expertise-edge-circuits.svg');background-repeat:repeat-y;background-size:100% auto;pointer-events:none;z-index:0;opacity:.85;}
body:has(.ydzh-expertise-page-wrap) main::before {left:0;background-position:left top;}
body:has(.ydzh-expertise-page-wrap) main::after {right:0;transform:scaleX(-1);background-position:left 40px;}
.ydzh-expertise-page-wrap {position:relative;z-index:1;max-width:1600px;padding-inline:clamp(70px,5.7vw,100px);}
/* Герой: оригиналната снимка съдържа саксия с растение вляво. */
.ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial {padding-top:18px;padding-bottom:10px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;min-height:0;align-items:center;margin-bottom:14px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy {padding:0;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy h2 {font-size:clamp(27px,2.5vw,38px);margin:0 0 10px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-copy p {font-size:clamp(11px,.86vw,13px);line-height:1.43;margin-bottom:8px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {height:clamp(135px,17.5vh,200px);min-height:0;background-image:linear-gradient(90deg,rgba(8,24,34,.12),transparent 25%),url('assets/expertise-approved-hero.webp') !important;background-size:cover !important;background-position:center !important;}
/* Карти: снимките са панорамни, а съдържанието е с ясна йерархия. */
.ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {gap:14px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card {border-color:#315965;border-radius:7px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:clamp(82px,11vh,115px);min-height:0;background-size:cover;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card-content {padding:11px 14px 10px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {font-size:clamp(14px,1.12vw,18px);line-height:1.23;margin:5px 0 8px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-card p {font-size:clamp(10.5px,.79vw,12.5px);line-height:1.42;margin:0 0 9px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {gap:5px;padding:8px 0;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills span {font-size:18px;gap:3px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-skills small {font-size:clamp(8px,.66vw,10px);line-height:1.25;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-tags {padding-top:6px;font-size:clamp(9px,.66vw,10px);}
/* „Моят подход“: ляв цитат, среден текст и пейзаж вдясно. */
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {grid-template-columns:minmax(200px,.9fr) minmax(0,1.3fr) minmax(220px,.95fr);min-height:105px;margin-top:12px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote {padding:12px 20px;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-quote strong {font-size:clamp(14px,1.05vw,18px);line-height:1.38;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom > p {padding:12px 18px;font-size:clamp(10.5px,.76vw,12.5px);line-height:1.43;}
.ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-landscape {min-height:105px;background-position:center,right center;background-size:cover,cover;}
/* Компактно представяне: при достатъчна ширина целта е видим футър. */
@media (min-width:1200px) and (min-height:680px) and (max-height:850px) {
  .ydzh-expertise-page-wrap #expertise.ydzh-expertise-editorial {padding-top:12px;padding-bottom:6px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {margin-bottom:10px;gap:22px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero-image {height:clamp(120px,17vh,155px);}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:clamp(75px,10.2vh,91px);}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card-content {padding:9px 12px 8px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card p {line-height:1.34;margin-bottom:6px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-card h3 {margin:4px 0 6px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-skills {padding:5px 0;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {min-height:90px;margin-top:9px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-landscape {min-height:90px;}
}
/* На малки екрани съдържанието се чете със скрол, без компресия. */
@media (max-width:1199px) {
  .ydzh-expertise-page-wrap {padding-inline:clamp(18px,4vw,55px);}
  body:has(.ydzh-expertise-page-wrap) main::before,body:has(.ydzh-expertise-page-wrap) main::after {opacity:.25;width:40px;}
}
@media (max-width:680px) {
  body:has(.ydzh-expertise-page-wrap) main::before,body:has(.ydzh-expertise-page-wrap) main::after {display:none;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-hero {grid-template-columns:1fr;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-grid {grid-template-columns:1fr;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-photo {height:145px;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom {grid-template-columns:1fr;}
  .ydzh-expertise-page-wrap #expertise .ydzh-exp-bottom-landscape {min-height:145px;}
}

/* ==========================================================
   СТРАНИЦА „РЪКОВОДСТВА“ — САМОСТОЯТЕЛЕН КАТАЛОГ
   Запазва оригиналния дизайн, без да влияе на другите страници.
   ========================================================== */
.ydzh-guides-page-wrap{width:min(1325px,calc(100% - 48px));margin:0 auto;min-height:calc(100vh - 210px)}
@media(max-width:650px){.ydzh-guides-page-wrap{width:calc(100% - 28px)}}


/* ============================================================
   YDZH IT & SECURITY — ВЕРСИЯ 1.0.80
   СТРАНИЦА „РЪКОВОДСТВА“ — АДАПТИВНО ОФОРМЛЕНИЕ
   1. Футърът достига долния край на прозореца при кратка страница.
   2. Декоративните електронни писти са като в „Експертиза“.
   3. Категориите остават в четири колони на широк екран,
      две на таблет и една на телефон.
   4. Дългите списъци с файлове се превъртат нормално.
   Правилата са ограничени до самостоятелната страница.
   ============================================================ */

/* 1. Вертикална структура — без фиксирана височина или изрязване. */
body:has(.ydzh-guides-page-wrap) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}
body:has(.ydzh-guides-page-wrap) > main#main {
    position: relative;
    isolation: isolate;
    flex: 1 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body:has(.ydzh-guides-page-wrap) > .site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* 2. Странични линии — същият SVG като в „Експертиза“.
   Без непрозрачни странични панели и без анимация. */
body:has(.ydzh-guides-page-wrap) > main#main::before,
body:has(.ydzh-guides-page-wrap) > main#main::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(50px, 6.5vw, 115px);
    background-image: url('assets/expertise-edge-circuits.svg');
    background-repeat: repeat-y;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 0;
    opacity: .85;
}
body:has(.ydzh-guides-page-wrap) > main#main::before {
    left: 0;
    background-position: left top;
}
body:has(.ydzh-guides-page-wrap) > main#main::after {
    right: 0;
    transform: scaleX(-1);
    background-position: left 40px;
}

/* 3. Централна зона — гъвкава ширина и безопасни странични полета. */
body:has(.ydzh-guides-page-wrap) .ydzh-guides-page-wrap {
    position: relative;
    z-index: 1;
    width: min(1325px, calc(100% - 2 * clamp(65px, 8vw, 115px)));
    max-width: 1325px;
    min-height: 0;
    margin-inline: auto;
}
body:has(.ydzh-guides-page-wrap) #guides.ydzh-guides-library {
    width: 100%;
    max-width: none;
    padding-top: clamp(16px, 2.4vh, 26px) !important;
    padding-bottom: clamp(14px, 2.2vh, 26px) !important;
}

/* 4. На широк екран използваме наличното пространство,
   без да деформираме снимките или да променяме текстовете. */
@media (min-width: 1200px) {
    body:has(.ydzh-guides-page-wrap) #guides .ydzh-guides-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 5. Таблет — по-тесни странични линии и две колони. */
@media (min-width: 651px) and (max-width: 1199px) {
    body:has(.ydzh-guides-page-wrap) .ydzh-guides-page-wrap {
        width: calc(100% - 2 * clamp(35px, 5vw, 65px));
    }
    body:has(.ydzh-guides-page-wrap) > main#main::before,
    body:has(.ydzh-guides-page-wrap) > main#main::after {
        width: 40px;
        opacity: .35;
    }
    body:has(.ydzh-guides-page-wrap) #guides .ydzh-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 6. Телефон — един стълб, без декоративни линии и без изрязване. */
@media (max-width: 650px) {
    body:has(.ydzh-guides-page-wrap) .ydzh-guides-page-wrap {
        width: calc(100% - 28px);
    }
    body:has(.ydzh-guides-page-wrap) > main#main::before,
    body:has(.ydzh-guides-page-wrap) > main#main::after {
        display: none;
    }
    body:has(.ydzh-guides-page-wrap) #guides .ydzh-guides-hero {
        grid-template-columns: 1fr !important;
    }
    body:has(.ydzh-guides-page-wrap) #guides .ydzh-guides-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   YDZH IT & SECURITY — ПОЛЕЗНИ РЕСУРСИ (1.0.83)
   Точно по одобрената визуализация: осем тематични карти, изображения,
   фини странични електронни линии и информационен панел под картите.
   Само тази страница; останалите шаблони и футър не се променят.
   ==================================================================== */
body:has(.ydzh-resources-page){min-height:100vh;display:flex;flex-direction:column}
body:has(.ydzh-resources-page)>main#main{position:relative;isolation:isolate;flex:1;width:100%;max-width:none;padding:0 clamp(22px,5.5vw,88px)}
/* Странична декорация, същият технологичен език като „Експертиза“. */
body:has(.ydzh-resources-page)>main#main::before,
body:has(.ydzh-resources-page)>main#main::after{content:"";position:absolute;z-index:-1;top:18px;bottom:8px;width:clamp(36px,5vw,80px);background:url('assets/expertise-edge-circuits.svg') center top/100% auto repeat-y;opacity:.72;pointer-events:none}
body:has(.ydzh-resources-page)>main#main::before{left:0}
body:has(.ydzh-resources-page)>main#main::after{right:0;transform:scaleX(-1)}
.ydzh-resources-page{max-width:1370px;margin:0 auto;padding:20px 0 16px;position:relative}
/* Заглавен панел: текст отляво, технологичен глобус и растение отдясно. */
.ydzh-resources-hero{display:grid;grid-template-columns:1.15fr .95fr;gap:22px;align-items:center;padding:0 0 17px}
.ydzh-resources-hero-copy{padding:3px 2px}
.ydzh-resources-hero h1{font-size:clamp(28px,2.55vw,41px);line-height:1.13;letter-spacing:-.9px;margin:8px 0 10px}
.ydzh-resources-hero h1 em{color:#7ae5d9;font-style:normal}
.ydzh-resources-hero p{max-width:710px;font-size:13px;line-height:1.46;color:#d4e4e8;margin:0}
.ydzh-resources-hero-art{height:158px;border-radius:8px;background:url('assets/resources/hero.webp') center center/cover no-repeat}
/* WordPress остава единственият източник на оригиналните връзки. */
.ydzh-resources-original{display:contents}
.ydzh-resources-original>.resource-section,.ydzh-resources-original>:not(.resource-section){display:none}
/* Карти — точно четири колони на широк екран, без деформация на снимките. */
.ydzh-resources-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
/* РЕСУРСИ: картите са section елементи. Нулираме глобалното section{padding:85px 0},
   което създаваше огромни празни ивици над изображенията и под линковете. */
.ydzh-resources-grid > section.ydzh-resources-card{display:flex;flex-direction:column;min-width:0;padding:0!important;margin:0!important;background:#092431;border:1px solid #187886;border-radius:9px;overflow:hidden;box-shadow:0 5px 17px #0002;min-height:0;height:auto}
/* Заглавията и всички категории се четат от WordPress; няма подмяна с примерните от макета. */
.ydzh-resources-card::before{content:"";height:84px;flex:none;display:block;background:url('assets/resources/cyber.webp') center/cover no-repeat}
.ydzh-resources-card:nth-child(2)::before{background-image:url('assets/resources/admin.webp')}
.ydzh-resources-card:nth-child(3)::before{background-image:url('assets/resources/network.webp')}
.ydzh-resources-card:nth-child(4)::before{background-image:url('assets/resources/cloud.webp')}
.ydzh-resources-card:nth-child(5)::before{background-image:url('assets/resources/docs.webp')}
.ydzh-resources-card:nth-child(6)::before{background-image:url('assets/resources/tools.webp')}
.ydzh-resources-card:nth-child(7)::before{background-image:url('assets/resources/training.webp')}
.ydzh-resources-card:nth-child(8)::before{background-image:url('assets/resources/community.webp')}
.ydzh-resources-card-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:13px 16px 13px;gap:0}
.ydzh-resources-card h3{display:flex;align-items:center;gap:7px;margin:0 0 7px!important;color:#f3f8fa;font-size:15px!important;line-height:1.32!important}
.ydzh-resources-card .category-icon{width:25px!important;height:25px!important;flex:none;vertical-align:middle;margin-right:3px;color:#7de8db}
.ydzh-resources-card .ydzh-resources-card-desc{font-size:12px;line-height:1.5;color:#c7dbe0;margin:0 0 11px}
.ydzh-resources-card .resource-links{display:block!important;padding:0!important;margin-top:0}
.ydzh-resources-card .resource-links p,.ydzh-resources-card .resource-links li{border-top:1px solid #24505a;padding:7px 0;margin:0!important;font-size:11px;line-height:1.4;list-style:none}
.ydzh-resources-card .resource-links ul,.ydzh-resources-card .resource-links ol{margin:0;padding:0}
.ydzh-resources-card .resource-links a{color:#d8e9ed;display:inline-flex;align-items:center;justify-content:space-between;gap:6px;width:100%;overflow-wrap:anywhere;text-decoration:none}
.ydzh-resources-card .resource-links a::after{content:'↗';color:#7ce7da;font-size:15px;flex-shrink:0}
.ydzh-resources-card .resource-links a:hover{color:#7ce7da}
/* Разгъване само при повече от четири линка, без ограничаване на съдържанието. */
.ydzh-resources-card .ydzh-resources-more{margin-top:10px;width:100%;border:1px solid #3b9f9f;background:#123741;color:#8ef3e4;border-radius:5px;padding:7px 8px;font-size:12px;cursor:pointer}
.ydzh-resources-card .ydzh-resources-more:hover{background:#1b4853}
.ydzh-resources-card .ydzh-resources-hidden[hidden]{display:none!important}
/* Долен панел „Полезен съвет“ от одобрения макет. */
/* Долен панел: оригиналният планински силует от одобрения макет. */
.ydzh-resources-tip{display:flex;position:relative;isolation:isolate;overflow:hidden;align-items:center;gap:20px;border:1px solid #237986;border-radius:9px;margin-top:16px;padding:18px 24px;background:linear-gradient(90deg,#092c39 0%,#0c2430 65%,#103b48 100%);color:#d1e3e8;font-size:12px;min-height:76px}
.ydzh-resources-tip::after{content:"";position:absolute;z-index:-1;right:0;bottom:0;width:39%;height:100%;background:linear-gradient(90deg,#0c2430 0%,transparent 35%),url('assets/expertise-approved-landscape.webp') center 63%/cover no-repeat;opacity:.85;pointer-events:none}
.ydzh-resources-tip p{max-width:66%;position:relative}
/* Стилизирана лампа вместо неподходящия символ от предишния вариант. */
.ydzh-resources-tip-icon{display:block;flex:none;width:42px;height:42px;background:url('assets/resources/tip-bulb.svg') center/contain no-repeat;font-size:0;color:transparent}
.ydzh-resources-tip strong{color:#7de8db;font-size:14px;white-space:nowrap;padding-right:22px;border-right:1px solid #315664}
.ydzh-resources-tip p{margin:0}
/* Адаптивни колони, без изрязване на изображения и линкове. */
@media(max-width:1100px){.ydzh-resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ydzh-resources-hero{grid-template-columns:1fr 1fr}}
@media(max-width:650px){body:has(.ydzh-resources-page)>main#main{padding:0 16px}body:has(.ydzh-resources-page)>main#main::before,body:has(.ydzh-resources-page)>main#main::after{display:none}.ydzh-resources-hero{grid-template-columns:1fr}.ydzh-resources-hero-art{height:145px}.ydzh-resources-grid{grid-template-columns:1fr}.ydzh-resources-tip{align-items:flex-start;flex-wrap:wrap;gap:8px}.ydzh-resources-tip p{max-width:100%}.ydzh-resources-tip::after{opacity:.25;width:100%}.ydzh-resources-tip strong{border:0}.ydzh-resources-page{padding-top:18px}}
/* Резервен изглед, ако структурата на съдържанието бъде променена. */
.ydzh-resources-original.ydzh-resources-fallback{display:block;padding:20px;background:#102936;border:1px solid #315969;border-radius:8px}
.ydzh-resources-original.ydzh-resources-fallback>*{display:block}
.ydzh-resources-original.ydzh-resources-fallback .resource-links{display:block!important}

/* ================================================================
   ПОЛЕЗНИ РЕСУРСИ — еднаква позиция на бутона във всяка карта.
   Не променяме категории, изображения, връзки или други страници.
   ================================================================ */
.ydzh-resources-page .ydzh-resources-card .ydzh-resources-card-body{
    display:flex;
    flex-direction:column;
    flex:1;
}
/* Списъкът заема свободното място и избутва бутона до долния ръб. */
.ydzh-resources-page .ydzh-resources-card .resource-links{
    margin-bottom:auto;
}
/* Бутонът присъства във всички карти, независимо от броя ресурси. */
.ydzh-resources-page .ydzh-resources-card .ydzh-resources-more{
    display:block;
    flex-shrink:0;
    margin-top:14px;
    min-height:36px;
}
/* При четири или по-малко връзки бутонът е видим, но неактивен. */
.ydzh-resources-page .ydzh-resources-card .ydzh-resources-more:disabled{
    opacity:.56;
    cursor:default;
    background:#12303b;
    border-color:#315761;
    color:#b0c6ca;
}

/* =============================================================
   КОНТАКТ — самостоятелна адаптивна страница.
   Запазва оригиналния двуколонен панел и съществуващото изображение.
   ============================================================= */
body:has(.ydzh-contact-page){min-height:100vh;display:flex;flex-direction:column}
body:has(.ydzh-contact-page) > main{flex:1;width:100%}
.ydzh-contact-page{position:relative;max-width:1360px;margin:0 auto;padding:clamp(24px,4vh,44px) clamp(14px,2vw,30px) 30px}
.ydzh-contact-page > h1{font-size:clamp(30px,3.1vw,46px);letter-spacing:-1.4px;line-height:1.16;margin:12px 0}
.ydzh-contact-intro{color:#b7cbd1;font-size:clamp(14px,1.1vw,17px);margin:0 0 24px;max-width:850px}
.ydzh-contact-page #contact.ydzh-contact-section{padding:0;border:0}
.ydzh-contact-page #contact .ydzh-contact-panel{background:#102936;border:1px solid #31505b;gap:clamp(20px,3vw,48px);padding:clamp(18px,2.5vw,34px)}
.ydzh-contact-page #contact .ydzh-contact-photo img{max-height:390px;object-fit:cover}
.ydzh-contact-page #contact .ydzh-contact-details h2{font-size:clamp(22px,2.4vw,34px);margin:12px 0 22px}
@media(max-width:800px){.ydzh-contact-page #contact .ydzh-contact-panel{grid-template-columns:1fr}}
@media(max-width:500px){.ydzh-contact-page{padding:20px 12px 28px}.ydzh-contact-page #contact .ydzh-contact-panel{padding:14px}}


/* КОНТАКТ 1.0.87 — самостоятелна страница, съгласно одобрения дизайн. */
.ydzh-contact-v87{max-width:1370px;padding-top:22px}
.ydzh-contact-v87 .ydzh-contact-hero{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin-bottom:18px}
.ydzh-contact-v87 .ydzh-contact-hero h1{font-size:clamp(34px,3.2vw,48px);margin:10px 0}
.ydzh-contact-v87 .ydzh-contact-hero-image{height:155px;border-radius:12px;background:linear-gradient(90deg,#071c29 0%,transparent 38%),url('assets/resources/hero.webp') center/cover no-repeat}
.ydzh-contact-v87 .ydzh-contact-columns{display:grid;grid-template-columns:1.18fr .88fr;gap:16px;padding:0;border:0;align-items:stretch}
.ydzh-contact-v87 .ydzh-contact-box{min-width:0;border:1px solid #197888;background:#092432;border-radius:11px;overflow:hidden}
.ydzh-contact-v87 .ydzh-contact-form-box{padding:24px}
.ydzh-contact-v87 .ydzh-contact-box h2{font-size:clamp(19px,1.5vw,24px);margin:0 0 10px;color:#f2f8fa}
.ydzh-contact-v87 .ydzh-contact-form-box>p,.ydzh-contact-v87 .ydzh-contact-address p{font-size:14px;color:#bed1d9;line-height:1.6}
.ydzh-contact-v87 .ydzh-contact-form{display:flex;flex-direction:column;gap:13px;margin-top:22px}
.ydzh-contact-v87 .ydzh-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ydzh-contact-v87 .ydzh-contact-form label{display:flex;flex-direction:column;gap:7px;color:#d7e8eb;font-size:13px}
.ydzh-contact-v87 .ydzh-contact-form input,.ydzh-contact-v87 .ydzh-contact-form textarea{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #256678;border-radius:6px;background:#103342;color:#fff;font:inherit;outline-offset:2px}
.ydzh-contact-v87 .ydzh-contact-form input:focus,.ydzh-contact-v87 .ydzh-contact-form textarea:focus{border-color:#69e2d5;outline:1px solid #69e2d5}
.ydzh-contact-v87 .ydzh-contact-form button{align-self:flex-start;background:#087e88;border:1px solid #3dd7cf;border-radius:6px;color:#fff;font-weight:700;padding:13px 25px;cursor:pointer}
.ydzh-contact-v87 .ydzh-contact-form button:hover{background:#0b9ca6}
.ydzh-contact-v87 .ydzh-contact-privacy{font-size:12px!important;color:#9ebbc4!important;margin:0}.ydzh-contact-v87 .ydzh-contact-privacy a{color:#66e2d7}
.ydzh-contact-v87 .ydzh-contact-trap{position:absolute;left:-9999px;height:1px;overflow:hidden}
.ydzh-contact-v87 .ydzh-contact-side{display:flex;flex-direction:column}.ydzh-contact-v87 .ydzh-contact-side-content{padding:24px;flex:1}
.ydzh-contact-v87 .ydzh-contact-address{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid #255261}.ydzh-contact-v87 .ydzh-contact-address-icon{display:grid;place-items:center;width:47px;height:47px;flex:0 0 47px;border:1px solid #197888;border-radius:8px;color:#55e4dc;font-size:26px}
.ydzh-contact-v87 .ydzh-contact-address strong{color:#f0f7f9}.ydzh-contact-v87 .ydzh-contact-address p{margin:5px 0}.ydzh-contact-v87 .ydzh-contact-address a{color:#53e7dc;overflow-wrap:anywhere}
.ydzh-contact-v87 .ydzh-contact-side img{display:block;width:100%;height:250px;object-fit:cover}
.ydzh-contact-v87 .ydzh-contact-tip{display:flex;gap:22px;align-items:center;margin-top:18px;padding:18px 23px;border:1px solid #197888;border-radius:9px;background:#092432;color:#c1d9dd;font-size:13px}.ydzh-contact-v87 .ydzh-contact-tip strong{color:#55e4dc;white-space:nowrap}.ydzh-contact-v87 .ydzh-contact-tip-icon{font-size:30px;color:#55e4dc}
.ydzh-contact-v87 .ydzh-contact-alert{padding:12px;background:#542f30;color:#fff;border-radius:6px}.ydzh-contact-v87 .ydzh-contact-alert.success{background:#174d48}
/* КОНТАКТ — адаптивно оформление за таблети и телефони. */
@media(max-width:850px){.ydzh-contact-v87 .ydzh-contact-columns{grid-template-columns:1fr}.ydzh-contact-v87 .ydzh-contact-side img{height:210px}}
@media(max-width:600px){.ydzh-contact-v87 .ydzh-contact-hero{grid-template-columns:1fr}.ydzh-contact-v87 .ydzh-contact-hero-image{height:110px}.ydzh-contact-v87 .ydzh-contact-fields{grid-template-columns:1fr}.ydzh-contact-v87 .ydzh-contact-form-box,.ydzh-contact-v87 .ydzh-contact-side-content{padding:16px}.ydzh-contact-v87 .ydzh-contact-tip{gap:10px;flex-wrap:wrap}}

/* КОНТАКТ 1.0.88 — компактен изглед на настолен екран: по-широки полета и по-малка височина. */
@media (min-width: 1050px) {
  /* Използваме повече от ширината на екрана, без да засягаме останалите страници. */
  body:has(.ydzh-contact-v87) > main {max-width: none; width:100%; padding-left:clamp(24px,4vw,70px);padding-right:clamp(24px,4vw,70px)}
  .ydzh-contact-v87 {max-width:1540px;padding:12px 0 10px}
  /* По-ниска заглавна зона и компактно изображение. */
  .ydzh-contact-v87 .ydzh-contact-hero {grid-template-columns:1fr 1fr;gap:20px;margin-bottom:12px}
  .ydzh-contact-v87 .ydzh-contact-hero h1 {font-size:38px;margin:3px 0 6px}
  .ydzh-contact-v87 .ydzh-contact-intro {margin:0;font-size:15px;line-height:1.4}
  .ydzh-contact-v87 .ydzh-contact-hero-image {height:105px}
  /* Даваме повече място на формата и премахваме излишните вертикални отстояния. */
  .ydzh-contact-v87 .ydzh-contact-columns {grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:14px}
  .ydzh-contact-v87 .ydzh-contact-form-box {padding:15px 20px 12px}
  .ydzh-contact-v87 .ydzh-contact-box h2 {font-size:20px;margin:0 0 5px}
  .ydzh-contact-v87 .ydzh-contact-form-box > p {margin:0;line-height:1.35;font-size:13px}
  .ydzh-contact-v87 .ydzh-contact-form {gap:8px;margin-top:11px}
  .ydzh-contact-v87 .ydzh-contact-fields {gap:12px}
  .ydzh-contact-v87 .ydzh-contact-form label {gap:3px;font-size:12px}
  .ydzh-contact-v87 .ydzh-contact-form input {height:40px;padding:7px 12px}
  .ydzh-contact-v87 .ydzh-contact-form textarea {height:100px;min-height:80px;resize:vertical;padding:8px 12px}
  .ydzh-contact-v87 .ydzh-contact-form button {padding:8px 18px;font-size:13px}
  .ydzh-contact-v87 .ydzh-contact-privacy {line-height:1.35}
  /* Дясна колона: съкратени отстояния, без загуба на съдържание. */
  .ydzh-contact-v87 .ydzh-contact-side-content {padding:15px 20px 8px;flex:0 0 auto}
  .ydzh-contact-v87 .ydzh-contact-address {padding:10px 0;gap:10px}
  .ydzh-contact-v87 .ydzh-contact-address p {margin:2px 0;line-height:1.4;font-size:12px}
  .ydzh-contact-v87 .ydzh-contact-address-icon {width:38px;height:38px;flex-basis:38px;font-size:22px}
  .ydzh-contact-v87 .ydzh-contact-side img {height:175px;flex:1;min-height:130px;object-fit:cover}
  /* Съветът остава видим над футъра при стандартна височина на настолен екран. */
  .ydzh-contact-v87 .ydzh-contact-tip {margin-top:10px;padding:9px 15px;gap:14px;line-height:1.35}
  .ydzh-contact-v87 .ydzh-contact-tip-icon {font-size:23px}
}
/* КОНТАКТ — на тесни екрани запазваме четимостта и естественото превъртане. */
@media (max-width:1049px) {
  .ydzh-contact-v87 .ydzh-contact-form input {min-height:46px}
  .ydzh-contact-v87 .ydzh-contact-form textarea {min-height:130px}
}

/* КОНТАКТ 1.0.89 — намалена височина само на празните полета на формата за повече видимо място за футъра. */
@media (min-width: 1050px) {
  /* По-ниски едноредови полета, без промяна в ширината им. */
  .ydzh-contact-v87 .ydzh-contact-form input:not([type="hidden"]):not([type="checkbox"]) {height:33px;min-height:33px;padding:5px 11px}
  /* По-компактно поле за съобщение; посетителят може да го разширява при нужда. */
  .ydzh-contact-v87 .ydzh-contact-form textarea {height:76px;min-height:70px;padding:7px 11px;resize:vertical}
  /* По-малки отстояния между полетата, без да се засягат други страници. */
  .ydzh-contact-v87 .ydzh-contact-form {gap:6px;margin-top:9px}
  .ydzh-contact-v87 .ydzh-contact-form label {gap:3px}
}

/* ================================================================
   КОНТАКТ 1.0.90 — корекция на причината за излишната височина.
   Общото правило section{padding:85px 0} не трябва да се прилага
   върху двуколонния контейнер на страницата „Контакт“.
   ================================================================ */
.ydzh-contact-v87 section.ydzh-contact-columns{
  padding:0!important;
  margin:0;
  border-bottom:0;
}
/* Настолен екран: размерите се съобразяват с височината на прозореца. */
@media (min-width:1050px) and (min-height:650px){
  body:has(.ydzh-contact-v87) > main#main{min-height:0;flex:1 1 auto}
  .ydzh-contact-v87{padding-top:clamp(5px,1vh,12px);padding-bottom:5px}
  .ydzh-contact-v87 .ydzh-contact-hero{margin-bottom:clamp(6px,1vh,12px)}
  .ydzh-contact-v87 .ydzh-contact-hero-image{height:clamp(65px,11vh,105px)}
  .ydzh-contact-v87 .ydzh-contact-columns{align-items:stretch}
  .ydzh-contact-v87 .ydzh-contact-form-box{padding:clamp(9px,1.5vh,15px) 20px}
  .ydzh-contact-v87 .ydzh-contact-form{margin-top:clamp(5px,1vh,9px);gap:clamp(3px,.7vh,6px)}
  .ydzh-contact-v87 .ydzh-contact-form input:not([type="hidden"]):not([type="checkbox"]){height:clamp(29px,4vh,33px);min-height:29px}
  .ydzh-contact-v87 .ydzh-contact-form textarea{height:clamp(56px,9vh,76px);min-height:56px}
  .ydzh-contact-v87 .ydzh-contact-side img{height:clamp(125px,23vh,175px);min-height:0;flex:0 0 auto;object-fit:cover}
  .ydzh-contact-v87 .ydzh-contact-tip{margin-top:clamp(5px,1vh,10px);padding:clamp(5px,.8vh,9px) 15px}
}
/* При ниски екрани и мобилни устройства съдържанието не се изрязва. */
@media (max-height:649px){
  .ydzh-contact-v87 section.ydzh-contact-columns{padding:0!important}
}
