/* Поверх архівного style-0.css: той самий вигляд (синя палітра, меню-смуга, білий лист), але гнучка ширина. */
:root{--blue:#0025cc;--navy:#00178c;--ink:#1d2433;--soft:#eef1ff;--line:#c5cdf5}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{min-width:0;max-width:100%;color:var(--ink);background-color:#e3e8ff;font:16px/1.65 "Lucida Grande","Lucida Sans Unicode",Arial,Helvetica,sans-serif}
#art-main{width:100%;max-width:100%;overflow:hidden}
#art-page-background-glare,#art-page-background-glare-wrapper{display:none;min-width:0}
img{max-width:100%;height:auto}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:8px;top:8px;background:#fff;color:#000;padding:6px 10px;z-index:999}

/* прибрати рамки-картинки теми й нерозтяжні розміри */
.art-box:before,.art-box:after,.art-box-body:before,.art-box-body:after,.art-bar:before,.art-bar:after,
.art-footer:before,.art-footer:after,.art-footer-body:before,
ul.art-hmenu>li:before,ul.art-hmenu>li>a:before,ul.art-hmenu>li>a:after{content:none!important;display:none!important}

/* шапка: світлий текст на темному фоні */
.site-head{background:var(--navy);color:#fff}
.head-inner{max-width:1022px;margin:0 auto;padding:22px 16px 18px}
.brand,.brand:link,.brand:visited{color:#fff;font-size:30px;font-weight:700;line-height:1.2;text-decoration:none;letter-spacing:0;overflow-wrap:anywhere}
.tagline{margin:4px 0 0;color:#dfe5ff;font-size:15px}

/* меню в рядок */
.art-nav{width:calc(100% - 24px);max-width:1022px;min-height:0;margin:12px auto 0;background:var(--blue);border-radius:8px;z-index:100;position:relative}
ul.art-hmenu{display:flex;flex-wrap:wrap;gap:2px;float:none;left:auto;position:static;margin:0;padding:4px;list-style:none}
ul.art-hmenu>li{float:none;margin:0}
ul.art-hmenu>li>a,ul.art-hmenu>li>a:link,ul.art-hmenu>li>a:visited{display:block;height:auto;line-height:1.3;padding:8px 14px;color:#fff;font-size:15px;font-weight:700;text-align:left;border-radius:6px;white-space:normal}
ul.art-hmenu>li>a.active,ul.art-hmenu>li>a.active:link{color:#fff;background:rgba(255,255,255,.2)}
ul.art-hmenu>li>a:hover,ul.art-hmenu>li:hover>a{color:var(--navy);background:#fff}

/* лист */
.art-sheet{width:calc(100% - 24px);max-width:1022px;margin:14px auto;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 10px rgba(0,23,140,.08)}
.art-sheet-body{padding:20px;min-width:0;min-height:0}
.art-post{max-width:none;margin:0 0 22px}
.art-post-body{padding:4px 0;min-width:0}
.art-block{max-width:none;margin:24px 0 8px}
.art-block-body{padding:0;min-width:0;min-height:0}
.art-blockheader{margin:0 0 14px;min-height:0;line-height:1.3;background:var(--navy);border-radius:8px}
.art-blockheader .t{margin:0;min-height:0;padding:10px 14px;color:#fff;font-size:19px;line-height:1.3;white-space:normal}

/* типографіка статей */
.art-post .art-postheader,.art-post h1{margin:0 0 .6em;color:var(--navy);font-size:32px;line-height:1.2;font-weight:700;text-align:left;overflow-wrap:anywhere}
.art-post .art-postcontent,.art-post .art-postcontent li,.art-post .art-postcontent a,.art-post .art-postcontent a:link,.art-post .art-postcontent a:visited{font-family:inherit;font-size:16px;line-height:1.65;text-align:left;color:var(--ink)}
.art-post .art-postcontent{overflow-wrap:break-word}
.art-post .art-postcontent a,.art-post .art-postcontent a:link{color:var(--blue);text-decoration:underline}
.art-post .art-postcontent a:visited{color:#4a2fb5}
.art-post .art-postcontent a:hover{color:var(--navy)}
.art-post .art-postcontent p{margin:0 0 1em}
.art-post .art-postcontent .lead{font-size:18px;color:#2b3550}
.art-post .art-postcontent h1,.art-post .art-postcontent h1 a{color:var(--navy);font-size:32px;line-height:1.2;margin:0 0 .6em}
.art-post .art-postcontent h2{margin:1.6em 0 .5em;color:var(--navy);font-size:24px;line-height:1.3;text-align:left}
.art-post .art-postcontent h3{margin:1.2em 0 .4em;color:var(--blue);font-size:19px;line-height:1.35;text-align:left}
.art-post .art-postcontent ul,.art-post .art-postcontent ol{margin:0 0 1em 1.4em;padding:0}
.art-post .art-postcontent ul{list-style:disc outside}
.art-post .art-postcontent ol{list-style:decimal outside}
.art-post .art-postcontent li,.art-post .art-postcontent ul>li,.art-post .art-postcontent ol>li{margin:.35em 0;padding:0;background:none;overflow:visible}
.art-post .art-postcontent img{display:block;max-width:100%;height:auto;margin:1.5em auto;border:0;border-radius:8px}
.art-post .art-postcontent table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.art-post .art-postcontent th,.art-post .art-postcontent td{padding:6px 8px;border:1px solid var(--line);text-align:left}
.vw-kicker{margin:0 0 .4em;color:var(--blue);font-weight:700;font-size:14px;text-transform:uppercase}
.vw-lede{font-size:18px}
.entry [class*="vw"],.entry [class*="vwr"] a{white-space:normal}
span.art-button-wrapper,.art-hmenu ul a{white-space:normal}

/* картки */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:14px;margin:0;padding:0;list-style:none}
.card{margin:0;padding:14px 16px;background:var(--soft);border:1px solid var(--line);border-radius:8px;min-width:0;list-style:none;background-image:none}
.card a,.card a:link,.card a:visited{display:block;color:var(--navy);font-weight:700;font-size:17px;line-height:1.35;text-decoration:none;overflow-wrap:anywhere}
.card a:hover{text-decoration:underline}
.card p{margin:.4em 0 0;color:#2b3550;font-size:14px;line-height:1.5;text-align:left}

/* підвал: світлий текст на темному */
.art-footer{width:calc(100% - 24px);max-width:1022px;margin:0 auto 24px}
.art-footer-body{padding:24px 22px;background:var(--navy);color:#fff;border-radius:10px;min-width:0}
.art-footer-body p,.art-footer-body li{color:#fff}
.art-footer .art-footer-body a,.art-footer .art-footer-body a:link,.art-footer .art-footer-body a:visited{color:#fff;text-decoration:underline}
.art-footer .art-footer-body a:hover{color:#dfe5ff;text-decoration:none}
.foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.foot-grid>div{min-width:0}
.foot-title{margin:0 0 .6em;color:#fff;font-size:18px;line-height:1.3}
.foot-links{margin:0;padding:0;list-style:none}
.art-footer-body ul li,.foot-links li{margin:.3em 0;padding:0;background:none;color:#fff}
.foot-note{margin:18px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.3);font-size:14px;color:#dfe5ff}
[data-vw-contact-form]{margin-top:1em}

@media (max-width:700px){
  body{font-size:16px}
  .head-inner{padding:16px 14px 14px}
  .brand,.brand:link,.brand:visited{font-size:24px}
  .art-sheet-body{padding:14px}
  .art-post .art-postheader,.art-post h1,.art-post .art-postcontent h1{font-size:26px}
  .art-post .art-postcontent h2{font-size:21px}
  ul.art-hmenu>li>a,ul.art-hmenu>li>a:link,ul.art-hmenu>li>a:visited{padding:8px 10px;font-size:14px}
  .foot-grid{grid-template-columns:1fr}
}
html,body,.art-sheet,#art-main{background-image:none!important}
