/*
Theme Name: Дитячий Світ — Corporate
Theme URI: https://example.invalid/
Author: Корпоративний прототип
Description: Індивідуальна адаптивна тема для ПрАТ «ДИТЯЧИЙ СВІТ». Локальний прототип; публічні документи потребують перевірки.
Version: 2.5
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ds-corporate
*/
:root{--ink:#202732;--muted:#626d75;--bg:#fbfaf7;--cream:#f2eee7;--accent:#b8583e;--accent2:#e9b77f;--dark:#172b35;--line:#e8e5df;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.site-header{position:relative;z-index:20;background:#fff;box-shadow:0 1px 0 rgba(22,43,53,.08)}.microbar{background:var(--dark);color:#d9e0df;font-size:12px;letter-spacing:.08em}.microbar .wrap{display:flex;justify-content:space-between;gap:15px;padding:9px 0}.header-main{display:flex;align-items:center;justify-content:space-between;min-height:92px;gap:24px}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand-mark{width:49px;height:49px;background:var(--accent);color:white;display:grid;place-items:center;border-radius:13px;font-family:Georgia,serif;font-size:23px;font-weight:700}.brand-name{display:block;font-size:18px;line-height:1.15;font-weight:800;letter-spacing:.02em}.brand-sub{display:block;color:var(--muted);font-size:11px;margin-top:5px;letter-spacing:.055em}.nav{display:flex;align-items:center;gap:23px}.nav a{font-size:13px;font-weight:650;white-space:nowrap;transition:color .2s}.nav a:hover,.nav a:focus{color:var(--accent)}.header-cta{padding:12px 18px;background:var(--dark);color:#fff!important;border-radius:9px}.header-cta:hover{background:var(--accent)}.menu-toggle{display:none;border:1px solid var(--line);background:white;padding:10px 12px;border-radius:9px;font-size:18px}.hero{background:var(--dark);color:#fff;overflow:hidden;position:relative}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:610px;align-items:center;gap:30px}.hero-copy{position:relative;z-index:2;padding:80px 0 92px}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:var(--accent2)}.eyebrow:before{content:"";display:inline-block;width:31px;height:1px;background:currentColor}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(60px,7vw,108px);font-weight:500;line-height:.99;letter-spacing:-.055em;margin:28px 0 22px}.hero h1 em{font-style:normal;color:var(--accent2)}.hero p{color:#cbd3d4;font-size:17px;max-width:500px;line-height:1.85}.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:14px 22px;border-radius:9px;font-size:13px;font-weight:750;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:#a44932}.btn-outline{color:#fff;border:1px solid #81939b}.btn-outline:hover{background:#ffffff14}.hero-visual{height:100%;min-height:550px;position:relative;display:flex;align-items:end;justify-content:center}.building{position:absolute;bottom:0;left:4%;width:95%;height:390px;background:linear-gradient(125deg,#dab48b,#9e6a51);clip-path:polygon(3% 17%,13% 17%,13% 8%,27% 8%,27% 0,65% 0,65% 5%,79% 5%,79% 12%,94% 12%,94% 100%,3% 100%);box-shadow:0 0 0 20px #e2bd9440}.building:before{content:"";position:absolute;inset:53px 9% 18px;background:repeating-linear-gradient(90deg,transparent 0 15%,#4c404080 15.4% 16%,transparent 16.4% 24%),repeating-linear-gradient(0deg,transparent 0 17%,#f7d1ab88 17.2% 18.2%,transparent 18.5% 25%)}.building:after{content:"";position:absolute;bottom:0;height:85px;width:100%;background:linear-gradient(90deg,#3d4548,#70564a,#3d4548);border-top:10px solid #ecc49d}.hero-visual .halo{width:440px;height:440px;border:1px solid #e9b77f50;border-radius:50%;position:absolute;top:50px;left:0;box-shadow:0 0 0 64px #ffffff06,0 0 0 128px #ffffff05}.visual-note{position:absolute;bottom:23px;right:0;background:#fff;color:#25313a;border-radius:14px;padding:16px 19px;z-index:3;box-shadow:0 12px 55px #0004}.visual-note small{display:block;color:#7b858b;text-transform:uppercase;letter-spacing:.13em;font-size:10px}.visual-note b{font-family:Georgia,serif;font-size:21px}.hero-watermark{position:absolute;right:-22px;top:30px;font-size:240px;font-weight:900;line-height:1;color:#ffffff07;pointer-events:none}.trustbar{background:#f1ede6;border-bottom:1px solid var(--line)}.trustbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}.trustbar strong{font-size:13px}.trustbar span{color:#6f7679;font-size:12px}.trustbar .divider{width:1px;height:36px;background:#dad3ca}.section{padding:105px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.kicker{display:block;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;margin-bottom:15px}.section h2,.page-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4vw,57px);line-height:1.1;font-weight:500;letter-spacing:-.035em;margin:0}.section-intro{color:var(--muted);font-size:15px;max-width:470px}.text-link{font-size:13px;font-weight:750;color:var(--accent)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:33px;min-height:290px;transition:transform .2s,box-shadow .2s}.feature:hover{transform:translateY(-4px);box-shadow:0 18px 38px #142a3412}.feature-icon{width:54px;height:54px;background:#f9ede5;border-radius:14px;display:grid;place-items:center;color:var(--accent);font-size:25px}.feature h3{font-size:21px;line-height:1.3;margin:23px 0 10px}.feature p{color:var(--muted);font-size:14px;margin:0 0 22px}.feature a{font-size:13px;font-weight:750;color:var(--accent)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.history-art{min-height:460px;background:linear-gradient(145deg,#d9a77e,#795b4b);border-radius:22px;position:relative;overflow:hidden}.history-art:before{content:"ДС";position:absolute;left:-12px;top:-30px;font-size:310px;font-family:Georgia,serif;line-height:1;color:#ffffff22}.history-art:after{content:"ХАРКІВ · МАЙДАН КОНСТИТУЦІЇ";position:absolute;bottom:30px;left:30px;color:white;letter-spacing:.15em;font-size:11px}.history-badge{position:absolute;z-index:1;right:25px;top:25px;background:#fff;border-radius:13px;padding:17px 20px;max-width:200px;font-size:13px;color:#5b605f}.history-copy p{color:var(--muted);font-size:16px;line-height:1.85}.soft{background:#f4f0e9}.corporate{background:#20313a;color:white;position:relative;overflow:hidden}.corporate:after{content:"§";position:absolute;right:5%;top:-180px;font:500 550px Georgia,serif;color:#ffffff08}.corporate .wrap{position:relative;z-index:1}.corporate h2{max-width:700px}.corporate p{color:#c7d0d3;max-width:730px}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px}.doc-link{border:1px solid #ffffff38;border-radius:13px;padding:23px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;font-weight:700}.doc-link:hover{background:#ffffff14}.doc-link span{color:var(--accent2);font-size:23px}.rental{background:#f8f3ec}.rental-panel{background:var(--accent);border-radius:22px;color:white;padding:57px 60px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}.rental-panel:after{content:"↗";font-size:310px;position:absolute;right:130px;top:-150px;opacity:.09}.rental-panel h2{max-width:620px}.rental-panel p{max-width:580px;color:#fff9}.rental-panel .btn{position:relative;z-index:1;background:white;color:var(--dark);white-space:nowrap}.footer{background:#111f28;color:#d9e0e1;padding:65px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px}.footer h3{color:white;font-size:14px;margin:0 0 18px}.footer p,.footer a{font-size:13px;color:#b6c1c5}.footer a{display:block;margin-bottom:10px}.footer a:hover{color:white}.footer .brand-name{color:white}.copyright{border-top:1px solid #ffffff20;padding-top:22px;margin-top:50px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#99a7ae}.page-hero{background:var(--dark);color:white;padding:75px 0}.page-hero .kicker{color:var(--accent2)}.page-hero p{max-width:650px;color:#bac8cb}.content-area{padding:65px 0 110px;max-width:880px}.content-area h2{margin-top:38px;font-size:28px}.content-area p,.content-area li{color:#5e6971;font-size:16px}.content-area a{color:var(--accent);text-decoration:underline}.empty-notice{padding:20px 25px;background:#fff5e8;border-left:4px solid #cb9e68;border-radius:5px;margin:24px 0;color:#6a5b45}.wp-block-file a{word-break:break-word}.wp-block-button__link{background:var(--accent)}.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:10px;top:10px;background:white;color:black;padding:10px;z-index:999}.post-card{padding:28px 0;border-bottom:1px solid var(--line)}.post-card h2{font-size:26px;margin:0}.post-card time{font-size:12px;color:var(--muted)}@media(max-width:1100px){.nav{gap:13px}.nav a{font-size:12px}.hero-grid{min-height:550px}.hero h1{font-size:78px}.two-col{gap:40px}}@media(max-width:860px){.wrap{width:min(100% - 36px,1180px)}.menu-toggle{display:block}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:22px 18px;box-shadow:0 20px 25px #0002;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{font-size:15px;padding:12px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:76px 0 70px}.hero-visual{display:none}.hero h1{font-size:clamp(62px,11vw,92px)}.feature-grid,.document-grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.history-art{min-height:280px}.trustbar .wrap{flex-wrap:wrap;padding:20px 0}.trustbar .divider{display:none}.rental-panel{padding:35px;display:block}.rental-panel .btn{margin-top:15px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:580px){.microbar .wrap span:last-child{display:none}.brand-name{font-size:16px}.header-main{min-height:75px}.hero-copy{padding:65px 0}.hero h1{font-size:60px}.hero p{font-size:15px}.section{padding:65px 0}.section-head{display:block}.section-intro{margin-top:18px}.feature-grid,.document-grid,.footer-grid{grid-template-columns:1fr}.feature{min-height:0}.rental-panel{padding:30px 25px}.copyright{display:block}.trustbar .wrap{display:block}.trustbar span{display:block;margin-bottom:6px}.page-hero{padding:55px 0}.btns{flex-direction:column;align-items:stretch}}

/* Corporate 1.1 — архівні фотографії та офіційна символіка */
.brand-mark {width:58px;height:58px;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:visible;flex-shrink:0}
.brand-mark .ds-brand-logo {display:block;width:56px;height:56px;object-fit:contain;max-width:none}
.hero-visual {min-height:550px;overflow:hidden;border-radius:0}
.hero-photo {position:absolute;inset:35px 0 35px 0;width:100%;height:calc(100% - 70px);object-fit:cover;object-position:52% center;border-radius:18px;filter:saturate(.88) contrast(1.02);box-shadow:0 22px 50px #050f1d66}
.hero-visual:after {content:"";position:absolute;inset:35px 0 35px 0;pointer-events:none;background:linear-gradient(90deg,#172b3544,transparent 45%);border-radius:18px}
.hero-visual .halo{display:none}
.visual-note {bottom:45px;right:16px}
.history-art{background:#d0d8da}
.history-art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 43%}
.history-art:before{display:none}
.history-art:after{background:#142b3b99;padding:7px 12px;border-radius:5px;bottom:18px;left:18px}
.history-badge{max-width:205px;font-size:12px}
.ds-gallery{background:#fff}
.ds-photo-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:18px}
.ds-photo-grid figure{margin:0;position:relative;border-radius:16px;overflow:hidden;background:#e5e6e5;min-height:285px}
.ds-photo-grid img{width:100%;height:100%;min-height:285px;object-fit:cover;position:absolute;inset:0;transition:transform .3s}
.ds-photo-grid figure:hover img{transform:scale(1.035)}
.ds-photo-grid figcaption{position:absolute;bottom:0;left:0;right:0;padding:30px 18px 17px;background:linear-gradient(transparent,#101e29b9);color:white;font-weight:650;font-size:14px}
@media (max-width:860px){.hero-visual{display:block;min-height:310px;margin-bottom:26px}.hero-photo{inset:0;width:100%;height:100%}.hero-visual:after{inset:0}.visual-note{bottom:12px;right:12px}.ds-photo-grid{grid-template-columns:1fr 1fr}.ds-photo-grid figure:last-child{grid-column:span 2}}
@media (max-width:580px){.brand-mark{width:46px;height:46px}.brand-mark .ds-brand-logo{width:45px;height:45px}.hero-visual{min-height:220px}.ds-photo-grid{grid-template-columns:1fr}.ds-photo-grid figure:last-child{grid-column:auto}.ds-photo-grid figure{min-height:230px}}

/* Corporate 1.2 — public document library */
.ds-archive {max-width:1100px;margin-top:36px;margin-bottom:55px}
.ds-archive-head {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}
.ds-archive-head h2 {font-family:Georgia,serif;font-size:clamp(26px,3vw,38px);margin:0 0 9px;line-height:1.2}
.ds-archive-head p,.ds-archive-help {font-size:14px;color:var(--muted);margin:0}
.ds-archive-filters {display:grid;grid-template-columns:1.2fr 1fr 0.65fr auto;align-items:end;gap:12px;background:#f4f0e9;padding:20px;border-radius:14px;margin-bottom:25px}
.ds-archive-filters label {display:block;font-size:12px;font-weight:700;margin:0 0 6px;color:#43505a}
.ds-archive-filters input,.ds-archive-filters select{width:100%;min-height:44px;border:1px solid #cfd5d8;border-radius:8px;padding:10px;background:#fff;color:#243441;font:inherit;font-size:14px}
.ds-archive-filters button{min-height:44px;padding:10px 17px;border:0;border-radius:8px;background:var(--dark);color:#fff;font-weight:700;cursor:pointer}
.ds-archive-table{width:100%;border-collapse:collapse;font-size:14px}
.ds-archive-table th{text-align:left;background:#20313a;color:#fff;padding:13px 14px;font-weight:650}
.ds-archive-table td{padding:16px 14px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.ds-archive-table tbody tr:nth-child(even){background:#f8f7f4}
.ds-archive-table .ds-doc-title{display:block;color:#20313a;font-weight:750;font-size:15px;line-height:1.35}
.ds-archive-table .ds-doc-meta{font-size:12px;color:#66737c;margin-top:7px}
.ds-file-link{display:inline-flex!important;align-items:center;justify-content:center;background:#e8f0ed;color:#153f38!important;padding:8px 12px;border-radius:7px;text-decoration:none!important;font-weight:700;font-size:12px;white-space:nowrap}
.ds-pager{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap;align-items:center;font-size:13px}
.ds-pager a{padding:8px 12px;border:1px solid #cad0d3;border-radius:7px;text-decoration:none!important}
.ds-empty{border:1px dashed #c8c4bb;padding:23px;border-radius:12px;background:#fbfaf7;color:#59656c}
.ds-archive-disclaimer{margin-top:28px;padding:18px 20px;background:#f6f0e6;border-left:3px solid #b8583e;font-size:13px;color:#53616b}
@media(max-width:800px){.ds-archive-filters{grid-template-columns:1fr 1fr}.ds-archive-filters button{grid-column:1/-1}.ds-archive-table{display:block;overflow-x:auto;white-space:normal}.ds-archive-table th,.ds-archive-table td{min-width:100px}.ds-archive-table td:first-child{min-width:230px}}
@media(max-width:500px){.ds-archive-filters{grid-template-columns:1fr}.ds-archive-head{display:block}.ds-archive-table{font-size:12px}}

/* Corporate 1.3 — previews and distinct view/download actions. */
.ds-table-actions,.ds-doc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ds-doc-actions{margin:24px 0}
.ds-view-link{background:#e8f0ed!important;color:#153f38!important}
.ds-download-link{background:#f6e9df!important;color:#783b29!important}
.ds-file-link:hover{filter:brightness(.95)}
.ds-doc-detail{background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(20px,4vw,38px);margin-bottom:45px;box-shadow:0 12px 35px #172b350b}
.ds-doc-detail h2{font-family:Georgia,serif;font-size:clamp(25px,3.5vw,38px);line-height:1.18;margin:0 0 18px}
.ds-back-link{font-size:13px;font-weight:700;color:var(--accent)!important}
.ds-detail-meta{display:flex;gap:16px 30px;flex-wrap:wrap;border-block:1px solid var(--line);padding:15px 0;margin:18px 0}
.ds-detail-meta div{min-width:110px}.ds-detail-meta dt{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.ds-detail-meta dd{font-size:14px;margin:3px 0 0;font-weight:700}
.ds-detail-description{margin:20px 0;color:#47555f}
.ds-pdf-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eceeea}
.ds-pdf-panel-head{padding:12px 16px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f4f0e9}
.ds-pdf-panel-head span{font-size:12px;color:var(--muted)}
.ds-pdf-panel iframe{border:0;background:white;width:100%;height:650px;display:block}
@media(max-width:600px){.ds-pdf-panel iframe{height:480px}.ds-archive-table td:last-child{min-width:160px}.ds-table-actions{flex-direction:column;align-items:flex-start}}

/* Corporate 1.4 — navigable issuer information sections */
.ds-archive-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0 10px}
.ds-archive-section{display:flex;flex-direction:column;gap:5px;padding:20px 22px;background:#fff;border:1px solid #e4e0da;border-radius:14px;text-decoration:none!important;transition:border-color .2s,transform .2s}
.ds-archive-section strong{font-size:15px;color:#20313a}.ds-archive-section span{font-size:12px;color:#626d75}
.ds-archive-section:hover,.ds-archive-section:focus-visible{border-color:#b8583e;transform:translateY(-1px)}
@media(max-width:680px){.ds-archive-sections{grid-template-columns:1fr}}

/* Corporate 1.5: two-level document library navigation */
.ds-archive-sections-v15{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0 18px}
.ds-archive-group{padding:22px 23px;border:1px solid #e4e0da;background:#fff;border-radius:16px;min-width:0;box-shadow:0 8px 24px rgba(21,40,65,.035)}
.ds-archive-group.is-selected{border-color:#a35d52;box-shadow:0 0 0 2px rgba(172,96,79,.12)}
.ds-archive-group-head{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:12px;margin-bottom:17px}
.ds-archive-group-head h3{font-family:Georgia,serif;font-size:clamp(19px,2vw,25px);line-height:1.2;color:#182c48;margin:0 0 5px}
.ds-archive-group-head p{color:#637184;font-size:13px;line-height:1.5;margin:0}
.ds-archive-group-head .ds-group-all{font-size:12px;font-weight:700;color:#a64e43;white-space:nowrap;text-decoration:none}
.ds-archive-subcats{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.ds-archive-subcats li{margin:0;padding:0}
.ds-archive-subcats a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-radius:9px;background:#f5f5f2;color:#25384d;text-decoration:none;font-size:13px;line-height:1.35;transition:background .18s,color .18s}
.ds-archive-subcats a:hover,.ds-archive-subcats a:focus-visible{background:#e9e9e3;color:#7d3734}
.ds-archive-subcats a[aria-current="page"]{background:#f4e5dd;color:#863c34;font-weight:700}
.ds-archive-subcats a span{color:#a65a4b;flex-shrink:0}
.ds-subcats-empty{font-size:13px;color:#727a84;margin:0;line-height:1.5}
@media(max-width:760px){.ds-archive-sections-v15{grid-template-columns:1fr}.ds-archive-group{padding:17px}}

/* Corporate 1.5.1: consistent position of the archive link on each card */
.ds-archive-sections-v15 .ds-archive-group-head{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px}
.ds-archive-sections-v15 .ds-archive-group-head .ds-group-all{display:inline-flex;align-self:flex-start;white-space:normal}

/* Corporate profile — 1.6 */
.ds-about-lead{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(23px,2.6vw,33px)!important;line-height:1.45!important;color:#22343d!important;max-width:800px;margin-top:0!important}
.ds-about-kicker{font-size:11px!important;letter-spacing:.16em;font-weight:800;color:#a64d38!important;text-transform:uppercase;margin:0 0 12px!important}
.ds-about-section{margin:44px 0}
.ds-about-section h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,3vw,38px)!important;font-weight:500;color:#22333b;line-height:1.2;margin:0 0 18px!important}
.ds-about-intro{font-size:17px!important;line-height:1.85!important;color:#52616b!important}
.ds-about-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0 36px}
.ds-about-card{border:1px solid #e6e2da;background:#fff;border-radius:15px;padding:24px 26px;box-shadow:0 3px 18px #23323b07}
.ds-about-card h3{font-size:17px;line-height:1.35;margin:0 0 11px;color:#20323c}
.ds-about-card p{margin:0;font-size:14px!important;line-height:1.7!important}
.ds-about-facts{margin:23px 0 28px;border:1px solid #e1e4e4;background:#fff;border-radius:16px;overflow:hidden}
.ds-about-fact{display:grid;grid-template-columns:minmax(165px,34%) 1fr;gap:20px;padding:19px 24px;border-bottom:1px solid #edf0f0}
.ds-about-fact:last-child{border-bottom:0}
.ds-about-label{font-size:12px;font-weight:700;letter-spacing:.02em;color:#74808a}
.ds-about-value{font-size:15px;color:#233541;overflow-wrap:anywhere}
.ds-about-value a{color:#a64d38}
.ds-about-note{background:#fbf2e9;border-left:3px solid #bb7657;border-radius:8px;padding:19px 23px;font-size:13px;color:#71594e;line-height:1.7;margin-top:23px}
.ds-about-links{background:#213640;color:#fff;border-radius:18px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:40px}
.ds-about-links strong{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:500}
.ds-about-links p{color:#c8d4d7!important;font-size:14px!important;margin:7px 0 0}
.ds-about-cta{display:inline-block;background:#fff;color:#20343d!important;padding:12px 16px;border-radius:9px;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none!important}
@media(max-width:640px){.ds-about-cards{grid-template-columns:1fr}.ds-about-fact{grid-template-columns:1fr;gap:6px;padding:16px}.ds-about-links{display:block}.ds-about-cta{margin-top:20px}}

/* 1.7: History page */
.ds-history-main{max-width:1100px;padding-top:66px}
.ds-history-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;margin-bottom:65px}
.ds-history-intro h2,.ds-history-section h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.5vw,45px);font-weight:500;line-height:1.15;margin:0 0 20px;color:#20313a}
.ds-history-intro p{font-size:16px;color:#5d6870;line-height:1.9}
.ds-history-cover{margin:0;position:relative}
.ds-history-cover img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:19px;display:block}
.ds-history-cover figcaption,.ds-history-gallery figcaption{font-size:12px;color:#687178;margin:9px 0 0}
.ds-history-eyebrow{font-size:11px!important;letter-spacing:.16em;text-transform:uppercase;color:#a54e3a!important;font-weight:800}
.ds-history-section{margin:65px 0}
.ds-history-timeline{border-left:2px solid #d6aa8d;margin:32px 0 0 10px;padding-left:34px;display:grid;gap:25px}
.ds-history-event{position:relative;background:#fff;border:1px solid #e9e4dd;border-radius:15px;padding:23px 25px}
.ds-history-event:before{content:'';width:12px;height:12px;border-radius:50%;background:#ba644a;position:absolute;left:-42px;top:31px;box-shadow:0 0 0 5px #f7ede5}
.ds-history-date{font-size:12px;color:#a54e3a;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.ds-history-event h3{font-size:20px;margin:6px 0 8px;color:#20313a}
.ds-history-event p{font-size:14px;line-height:1.75;margin:0;color:#606d74}
.ds-history-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.ds-history-gallery figure{margin:0;min-width:0}
.ds-history-gallery img{width:100%;height:235px;object-fit:cover;border-radius:14px;display:block}
.ds-history-note{border-radius:12px;background:#f5eee5;border-left:3px solid #b96b4f;padding:19px 22px;color:#66594c;font-size:14px;line-height:1.75}
.ds-history-contact{background:#1f333e;border-radius:18px;color:#fff;padding:32px;display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:50px}
.ds-history-contact h2{font-family:Georgia,serif;font-size:27px;font-weight:500;color:#fff;margin:0 0 8px}
.ds-history-contact p{color:#cbd5d8;font-size:14px;margin:0}
.ds-history-contact a{background:#fff;color:#1d323c;border-radius:9px;padding:12px 19px;white-space:nowrap;font-size:13px;font-weight:800;text-decoration:none}
.ds-history-editorial{border-top:1px solid #e6e2da;padding-top:28px}
@media(max-width:850px){.ds-history-intro{grid-template-columns:1fr;gap:25px}.ds-history-gallery{grid-template-columns:repeat(2,1fr)}.ds-history-contact{display:block}.ds-history-contact a{display:inline-block;margin-top:19px}}
@media(max-width:550px){.ds-history-gallery{grid-template-columns:1fr}.ds-history-gallery img{height:245px}.ds-history-timeline{padding-left:24px}.ds-history-event:before{left:-32px}}


/* Corporate 1.7.1 — readable document archive table.
   Preserve all five columns and prevent years/dates from breaking at any character. */
.ds-archive-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ds-archive-table{width:100%;min-width:780px;table-layout:fixed}
.ds-archive-table th:nth-child(1),.ds-archive-table td:nth-child(1){width:36%}
.ds-archive-table th:nth-child(2),.ds-archive-table td:nth-child(2){width:20%}
.ds-archive-table th:nth-child(3),.ds-archive-table td:nth-child(3){width:11%;min-width:86px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.ds-archive-table th:nth-child(4),.ds-archive-table td:nth-child(4){width:14%;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.ds-archive-table th:nth-child(5),.ds-archive-table td:nth-child(5){width:19%}
.ds-archive-table .ds-table-actions{align-items:flex-start}
.ds-archive-table .ds-table-actions .ds-file-link{max-width:100%}
@media(max-width:800px){
  .ds-archive-table{display:table;overflow:visible;min-width:780px;white-space:normal}
  .ds-archive-table th,.ds-archive-table td{min-width:0}
  .ds-archive-table td:first-child{min-width:0}
  .ds-archive-table th:nth-child(3),.ds-archive-table td:nth-child(3){min-width:86px}
}

/* Corporate archive 1.8: simple section index, retaining existing site design. */
.ds-archive-classic{margin:24px 0 24px;padding:22px 28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.ds-archive-classic ol{padding-left:1.6rem;margin:0;display:grid;gap:6px}
.ds-archive-classic li{padding:4px 0 5px 5px;color:var(--dark);font-size:16px}
.ds-archive-classic a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:underline;text-underline-offset:3px;color:#24536d;line-height:1.5}
.ds-archive-classic a span{font-size:19px;text-decoration:none;opacity:.55}
.ds-archive-classic a:hover,.ds-archive-classic a[aria-current="page"]{color:var(--accent)}
.ds-archive-classic a[aria-current="page"]{font-weight:700}
.ds-archive-selected{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:12px 17px;background:var(--cream);border-radius:10px}
.ds-archive-selected a{text-decoration:underline;color:#24536d}
@media(max-width:600px){.ds-archive-classic{padding:15px 17px}.ds-archive-classic li{font-size:14px}}


/* 1.9: Compact 10-section directory with hover menus and touch disclosure. */
.ds-archive-dropdowns{margin:20px 0 24px}
.ds-archive-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;list-style:none!important;margin:0!important;padding:0!important}
.ds-archive-menu-item{list-style:none!important;margin:0!important;min-width:0;position:relative}
.ds-archive-menu-details{border:1px solid var(--line);background:#fff;border-radius:10px;position:relative}
.ds-archive-menu-details summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:56px;padding:11px 14px;cursor:pointer;color:#24536d;font-size:14px;font-weight:650;line-height:1.3}
.ds-archive-menu-details summary::-webkit-details-marker{display:none}
.ds-menu-number{font-size:12px;color:#687782;flex:0 0 20px}
.ds-menu-label{flex:1;min-width:0}
.ds-menu-chevron{font-size:16px;color:#70808a;margin-left:auto;transition:transform .15s}
.ds-archive-menu-details[open] .ds-menu-chevron{transform:rotate(180deg)}
.ds-archive-menu-details[data-active="1"]{border-color:#b8583e}
.ds-archive-menu-details:hover,.ds-archive-menu-details:focus-within{border-color:#b8583e}
.ds-archive-submenu{display:none;position:absolute;left:0;right:0;top:calc(100% - 1px);z-index:20;background:#fff;border:1px solid #d8dfe2;box-shadow:0 12px 28px rgba(22,34,42,.15);border-radius:0 0 10px 10px;padding:8px;max-height:310px;overflow:auto}
.ds-archive-menu-details[open] .ds-archive-submenu{display:block}
.ds-archive-submenu a{display:block;padding:9px 10px;font-size:13px;line-height:1.35;color:#24536d;text-decoration:none;border-radius:6px}
.ds-archive-submenu a:hover,.ds-archive-submenu a:focus-visible{background:#f0f3f3;color:#a2432c}
.ds-archive-submenu .ds-menu-all{font-weight:700;border-bottom:1px solid #ececea;border-radius:0;margin-bottom:3px}
.ds-submenu-note{display:block;padding:8px 10px;color:#66737c;font-size:12px}
@media(hover:hover) and (pointer:fine){.ds-archive-menu-details:hover .ds-archive-submenu,.ds-archive-menu-details:focus-within .ds-archive-submenu{display:block}.ds-archive-menu-details:hover .ds-menu-chevron{transform:rotate(180deg)}}
@media(max-width:700px){.ds-archive-menu-grid{grid-template-columns:1fr}.ds-archive-menu-details summary{min-height:48px}.ds-archive-submenu{position:static;box-shadow:none;border:0;border-top:1px solid #ececea;border-radius:0 0 10px 10px;max-height:none}.ds-archive-menu-details[open] .ds-archive-submenu{display:block}}

/* Corporate v2.0 — approved company, lease, contacts and responsive content. */
.ds-info-page{max-width:900px}.ds-info-lead{font-size:18px!important;line-height:1.8;color:var(--dark)!important}
.ds-info-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:32px 0}
.ds-info-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:26px 30px;margin:20px 0}
.ds-info-cards .ds-info-card{margin:0}.ds-info-card h2{margin-top:0;font-family:Georgia,'Times New Roman',serif;font-size:27px}
.ds-info-section{margin-top:30px}.ds-info-section h2{font-family:Georgia,'Times New Roman',serif}
.ds-contact-mail{background:var(--dark);color:#fff!important;text-decoration:none!important;margin-top:8px}
@media(max-width:700px){.ds-info-cards{grid-template-columns:1fr}.ds-info-card{padding:21px}}

/* Corporate v2.1 — compact active stores directory (override catalog plugin v1.0 styles). */
.ds-store-directory{max-width:1180px;margin:0 auto}
.ds-store-directory .ds-store-intro{max-width:660px;font-size:15px;line-height:1.65;margin:0 0 28px;color:var(--muted,#626d75)}
/* WP theme page content is 880px; widen only this directory, not other pages. */
body:has(.ds-store-directory) .content-area{max-width:1180px;padding-top:42px}
.ds-store-directory .dsvit-stores-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important;margin:0 !important;align-items:start}
.ds-store-directory .dsvit-store-card{min-width:0;border:1px solid #e5e6e7 !important;border-radius:12px !important;overflow:hidden !important;background:#fff !important;box-shadow:0 5px 16px rgba(18,39,50,.045) !important;transition:box-shadow .2s ease,transform .2s ease}
.ds-store-directory .dsvit-store-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(18,39,50,.09) !important}
.ds-store-directory .dsvit-store-logo{height:112px !important;min-height:112px !important;padding:17px 24px !important;background:#f7f8f7 !important;display:flex;align-items:center;justify-content:center}
.ds-store-directory .dsvit-store-logo img{height:auto !important;width:auto !important;max-height:75px !important;max-width:100% !important;object-fit:contain !important;display:block}
.ds-store-directory .dsvit-store-logo span{font-size:17px !important;font-weight:700 !important}
.ds-store-directory .dsvit-store-info{padding:15px 17px 17px !important}
.ds-store-directory .dsvit-store-info h3{font-size:18px !important;line-height:1.35 !important;margin:0 0 6px !important;font-weight:750}
.ds-store-directory .dsvit-store-info p{font-size:13px !important;line-height:1.5 !important;margin:5px 0 !important}
.ds-store-directory .dsvit-store-category{color:#68727b !important;font-weight:600}
.ds-store-directory .dsvit-store-description{margin:10px 0 !important;color:#525d67;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;max-height:4.65em}
.ds-store-directory .dsvit-store-description p{margin:0 !important;line-height:1.55 !important}
.ds-store-directory .dsvit-store-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:11px !important;border-top:1px solid #eff0f0;padding-top:10px}
.ds-store-directory .dsvit-store-links a{color:var(--accent,#b8583e);font-size:13px;font-weight:700;text-decoration:none}
.ds-store-directory .dsvit-store-links a:hover{text-decoration:underline}
@media(max-width:900px){.ds-store-directory .dsvit-stores-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:600px){body:has(.ds-store-directory) .content-area{padding-top:27px}.ds-store-directory .dsvit-stores-grid{grid-template-columns:1fr !important;gap:14px !important}.ds-store-directory .dsvit-store-logo{height:104px !important;min-height:104px !important}}

/* Історія 2.2 — читабельна історична довідка та джерела */
.ds-history-sources{margin:36px 0 32px;padding:20px 24px;background:#f4f1eb;border:1px solid #e8e0d3;border-radius:14px}
.ds-history-sources h3{margin:0 0 8px;font-size:16px;color:#25333c}
.ds-history-sources p,.ds-history-sources li{font-size:13px;line-height:1.6;color:#53616b}
.ds-history-sources ul{margin:10px 0 0;padding-left:20px}
.ds-history-sources a{text-decoration:underline;text-underline-offset:2px}

/* v2.3 — editable Gutenberg content with previous theme visual language */
.ds-history-editor-content > .wp-block-group.ds-history-section {margin:34px 0 42px}
.ds-history-section > .wp-block-group__inner-container {max-width:100%}
.ds-history-timeline.wp-block-group {display:grid;gap:18px;position:relative;padding-left:32px;margin-top:22px}
.ds-history-timeline.wp-block-group:before{content:"";position:absolute;left:9px;top:20px;bottom:25px;width:2px;background:#e2d6ca}
.ds-history-timeline .ds-history-event.wp-block-group{margin:0;position:relative;background:#fff;border:1px solid #e9e4dd;border-radius:15px;padding:23px 25px}
.ds-history-timeline .ds-history-event:before{content:"";width:12px;height:12px;border-radius:50%;background:#ba644a;position:absolute;left:-30px;top:31px;box-shadow:0 0 0 5px #f7ede5}
.ds-history-event .ds-history-date{font-weight:800;color:#b8583e!important;letter-spacing:.035em;font-size:14px;margin:0}
.ds-history-event h3.wp-block-heading{font-size:20px;margin:6px 0 8px;color:#20313a}
.ds-history-event p:last-child{font-size:14px;line-height:1.75;margin:0;color:#606d74}
.ds-info-page .wp-block-columns {gap:20px;align-items:stretch;margin:30px 0}
.ds-info-page .wp-block-column>.ds-info-card, .ds-about-profile .wp-block-column>.ds-about-card {height:100%;margin:0}
.ds-about-profile .wp-block-columns{gap:18px}
.ds-about-section.wp-block-group{margin:28px 0}
.ds-about-profile>.ds-about-kicker{margin-top:0}
.ds-contact-page .wp-block-group.ds-info-card{margin:26px 0}
.ds-info-page .wp-block-group.ds-info-section{margin:28px 0}
@media(max-width:700px){.ds-info-page .wp-block-columns,.ds-about-profile .wp-block-columns{display:block}.ds-info-page .wp-block-column,.ds-about-profile .wp-block-column{margin-bottom:18px}}

/* Corporate 2.5 — stable layout for editorial blocks, contacts and history */
.ds-lease-page .wp-block-columns{align-items:stretch;gap:20px}
.ds-lease-page .wp-block-column{display:flex;flex-direction:column}
.ds-lease-page .wp-block-column > .ds-info-card{flex:1;display:flex;flex-direction:column;min-width:0}
.ds-lease-page .ds-info-card h2,.ds-lease-page .ds-info-card h3{min-height:2.6em;line-height:1.3;margin:0 0 18px}
.ds-lease-page .ds-info-card p:first-of-type{margin-top:0}
.ds-info-page .wp-block-columns:has(>.wp-block-column:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr));display:grid}
.ds-info-page .wp-block-column .ds-info-card{height:100%}
.dsc-public-channels{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.dsc-channel{display:inline-flex!important;align-items:center;justify-content:center;min-height:39px;padding:8px 13px;border:1px solid #cbd3d2;border-radius:8px;background:#fff;color:#22383d!important;font-weight:700;font-size:13px;text-decoration:none!important;overflow-wrap:anywhere}
.dsc-channel:hover,.dsc-channel:focus-visible{border-color:#a8513f;color:#a8513f!important}
.footer .dsc-public-channels{margin:12px 0}
.footer .dsc-channel{background:#20343d;color:#e9eff1!important;border-color:#58707a}
.footer .copyright .dsc-public-channels{margin:0}
.dsc-contact-pending{color:#6e7478;font-size:13px}
.ds-history-editor-content .wp-block-gallery{margin:32px 0;gap:16px}
.ds-history-editor-content .wp-block-gallery img{object-fit:cover;border-radius:12px}
@media(max-width:760px){.ds-lease-page .ds-info-card h2,.ds-lease-page .ds-info-card h3{min-height:0}.ds-info-page .wp-block-columns:has(>.wp-block-column:nth-child(3)){display:block}}
