/*
Theme Name: Shakhtarske City Portal for Kadence
Theme URI: https://persh.info/
Description: Сучасна дочірня тема міського інформаційного порталу Шахтарського. Побудована на Kadence, містить стартовий контент, сторінки та записи.
Author: Editorial Team
Template: kadence
Version: 1.0.0
Text Domain: shakhtarske-portal
*/
:root{
  --sh-bg:#f4f6f8;--sh-card:#fff;--sh-text:#182631;--sh-muted:#61717c;
  --sh-blue:#173b56;--sh-blue2:#235c7d;--sh-gold:#d69a35;--sh-line:#dce4e9;
  --sh-shadow:0 18px 50px rgba(21,48,66,.10);--sh-radius:18px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.shakh-custom-layout{margin:0;background:var(--sh-bg);color:var(--sh-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.65;overflow-x:hidden}
body.shakh-custom-layout .site-header,body.shakh-custom-layout .site-footer,body.shakh-custom-layout #masthead,body.shakh-custom-layout #colophon{display:none!important}
a{color:var(--sh-blue2);text-decoration:none}a:hover{color:#0f3148}.sh-wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}
.sh-topline{background:#0e2d42;color:#d7e3ea;font-size:14px}.sh-topline .sh-wrap{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.sh-topline strong{color:#fff}
.sh-header{background:#fff;border-bottom:1px solid var(--sh-line);position:sticky;top:0;z-index:50}.admin-bar .sh-header{top:32px}.sh-header-inner{height:84px;display:flex;align-items:center;gap:28px}.sh-brand{display:flex;align-items:center;gap:12px;min-width:max-content}.sh-logo-mark{width:45px;height:45px;border-radius:14px;background:linear-gradient(135deg,var(--sh-blue),var(--sh-blue2));position:relative;box-shadow:0 8px 24px rgba(23,59,86,.2)}.sh-logo-mark:before,.sh-logo-mark:after{content:"";position:absolute;background:var(--sh-gold)}.sh-logo-mark:before{width:7px;height:29px;bottom:7px;left:13px;transform:skew(-12deg)}.sh-logo-mark:after{width:7px;height:20px;bottom:7px;left:27px;transform:skew(12deg)}.sh-brand-title{font-size:22px;font-weight:800;color:var(--sh-blue);line-height:1.05}.sh-brand-sub{display:block;font-size:11px;color:var(--sh-muted);font-weight:600;letter-spacing:.04em;margin-top:4px}.sh-nav{margin-left:auto}.sh-nav ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}.sh-nav a{display:block;padding:12px 11px;border-radius:9px;color:#293c49;font-size:14px;font-weight:700}.sh-nav a:hover,.sh-nav .current-menu-item>a{background:#edf3f6;color:var(--sh-blue)}.sh-menu-toggle{display:none;margin-left:auto;border:1px solid var(--sh-line);background:#fff;border-radius:10px;padding:9px 12px;font-size:20px}
.sh-hero{min-height:520px;background:linear-gradient(90deg,rgba(10,28,40,.86),rgba(16,52,72,.62)),url('assets/images/hero-city.jpg') center/cover no-repeat;display:flex;align-items:center;color:#fff}.sh-hero-content{max-width:760px;padding:76px 0}.sh-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700}.sh-hero h1{font-size:clamp(38px,6vw,70px);line-height:1.02;margin:20px 0 18px;letter-spacing:-.03em}.sh-hero p{font-size:20px;max-width:680px;color:#e5eef3;margin:0 0 28px}.sh-actions{display:flex;gap:12px;flex-wrap:wrap}.sh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:10px;font-weight:800}.sh-btn-primary{background:var(--sh-gold);color:#1e2b32}.sh-btn-secondary{border:1px solid rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.08)}
.sh-section{padding:70px 0}.sh-section.alt{background:#fff}.sh-section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}.sh-section-head h2{font-size:34px;line-height:1.15;margin:0;color:var(--sh-blue)}.sh-section-head p{margin:8px 0 0;color:var(--sh-muted);max-width:720px}.sh-section-link{font-weight:800;white-space:nowrap}.sh-grid{display:grid;gap:22px}.sh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sh-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sh-card{background:var(--sh-card);border:1px solid var(--sh-line);border-radius:var(--sh-radius);overflow:hidden;box-shadow:0 8px 30px rgba(20,44,59,.05)}.sh-card-img{height:190px;background:#dfe8ed center/cover no-repeat}.sh-card-body{padding:22px}.sh-card-meta{font-size:12px;color:var(--sh-muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em}.sh-card h3{font-size:21px;line-height:1.3;margin:8px 0 10px}.sh-card h3 a{color:var(--sh-text)}.sh-card p{color:var(--sh-muted);margin:0}.sh-read{display:inline-block;margin-top:16px;font-weight:800}
.sh-feature-row{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center}.sh-feature-image{min-height:420px;border-radius:24px;background:center/cover no-repeat;box-shadow:var(--sh-shadow)}.sh-feature-copy h2{font-size:38px;line-height:1.2;color:var(--sh-blue);margin:0 0 18px}.sh-feature-copy p{font-size:18px;color:#425764}.sh-fact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.sh-fact{padding:18px;border-radius:14px;background:#f0f5f7}.sh-fact b{display:block;color:var(--sh-blue);font-size:24px}.sh-fact span{font-size:13px;color:var(--sh-muted)}
.sh-topic{background:#fff;border:1px solid var(--sh-line);border-radius:16px;padding:24px}.sh-topic-icon{width:42px;height:42px;border-radius:12px;background:#eaf2f6;display:grid;place-items:center;font-size:20px;margin-bottom:14px}.sh-topic h3{margin:0 0 8px;font-size:19px}.sh-topic p{margin:0;color:var(--sh-muted);font-size:14px}
.sh-page-hero{padding:58px 0;background:linear-gradient(135deg,#153b55,#245e7d);color:#fff}.sh-page-hero h1{font-size:46px;line-height:1.1;margin:0 0 12px}.sh-page-hero p{max-width:780px;margin:0;color:#dfeaf0;font-size:18px}.sh-content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;padding:48px 0 70px}.sh-content{background:#fff;border:1px solid var(--sh-line);border-radius:18px;padding:36px;min-width:0}.sh-content h2,.sh-content h3,.sh-content h4{color:var(--sh-blue);line-height:1.25}.sh-content h2{font-size:30px;margin-top:36px}.sh-content h3{font-size:23px;margin-top:28px}.sh-content p,.sh-content li{font-size:17px;color:#304752}.sh-content img{max-width:100%;height:auto;border-radius:14px}.sh-content table{width:100%;border-collapse:collapse}.sh-content td,.sh-content th{border:1px solid var(--sh-line);padding:10px}.sh-sidebar{display:flex;flex-direction:column;gap:18px}.sh-sidebox{background:#fff;border:1px solid var(--sh-line);border-radius:16px;padding:22px}.sh-sidebox h3{margin:0 0 12px;color:var(--sh-blue)}.sh-sidebox ul{margin:0;padding-left:18px}.sh-sidebox li{margin:7px 0}
.sh-posts-list{display:grid;gap:20px}.sh-list-card{display:grid;grid-template-columns:260px 1fr;gap:22px;background:#fff;border:1px solid var(--sh-line);border-radius:16px;overflow:hidden}.sh-list-card .sh-card-img{height:100%;min-height:190px}.sh-list-card .sh-card-body{padding:24px}.sh-list-card h2{font-size:25px;margin:6px 0 10px;line-height:1.25}.sh-pagination{margin-top:30px}.sh-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.sh-pagination .page-numbers{padding:8px 12px;background:#fff;border:1px solid var(--sh-line);border-radius:8px}.sh-pagination .current{background:var(--sh-blue);color:#fff}
.sh-footer{background:#0e2d42;color:#cadbe4;padding:48px 0 24px}.sh-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}.sh-footer h3{color:#fff;margin:0 0 12px}.sh-footer a{color:#d9e7ee}.sh-footer ul{list-style:none;padding:0;margin:0}.sh-footer li{margin:7px 0}.sh-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:18px;font-size:13px;color:#9fb4c0;display:flex;justify-content:space-between;gap:20px}
.sh-note{border-left:4px solid var(--sh-gold);background:#fff8e9;padding:18px 20px;border-radius:10px;margin:24px 0}.sh-source{font-size:13px;color:var(--sh-muted);border-top:1px solid var(--sh-line);padding-top:18px;margin-top:32px}.sh-empty{background:#fff;border:1px dashed var(--sh-line);border-radius:16px;padding:34px;text-align:center}
@media(max-width:1050px){.sh-nav{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;border-top:1px solid var(--sh-line);padding:12px 18px;box-shadow:0 18px 30px rgba(0,0,0,.08)}.sh-nav.open{display:block}.sh-nav ul{display:block}.sh-nav a{padding:11px 12px}.sh-menu-toggle{display:block}.sh-grid-4{grid-template-columns:repeat(2,1fr)}.sh-grid-3{grid-template-columns:repeat(2,1fr)}.sh-content-wrap{grid-template-columns:1fr}.sh-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.admin-bar .sh-header{top:46px}.sh-wrap{width:min(100% - 24px,1180px)}.sh-topline .sh-wrap{display:block;text-align:center}.sh-header-inner{height:70px}.sh-nav{top:70px}.sh-brand-title{font-size:19px}.sh-brand-sub{display:none}.sh-logo-mark{width:39px;height:39px}.sh-hero{min-height:470px}.sh-hero-content{padding:56px 0}.sh-hero p{font-size:17px}.sh-section{padding:52px 0}.sh-section-head{display:block}.sh-section-head h2{font-size:29px}.sh-section-link{display:inline-block;margin-top:12px}.sh-grid-3,.sh-grid-4{grid-template-columns:1fr}.sh-feature-row{grid-template-columns:1fr}.sh-feature-image{min-height:300px}.sh-feature-copy h2{font-size:31px}.sh-fact-list{grid-template-columns:1fr}.sh-page-hero h1{font-size:36px}.sh-content{padding:24px}.sh-sidebar{grid-template-columns:1fr}.sh-list-card{grid-template-columns:1fr}.sh-list-card .sh-card-img{min-height:210px}.sh-footer-grid{grid-template-columns:1fr}.sh-footer-bottom{display:block}.sh-footer-bottom span{display:block;margin-top:5px}}
