/*
Theme Name: Shelek Ads Portal
Description: Группы WhatsApp и VIP объявления Шелека. Дочерняя тема CHILIK.
Template: chilik
Version: 4.1.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: shelek-ads-portal
*/
:root{
 --sh-navy-950:#092536;--sh-navy-800:#153d54;--sh-slate-600:#506777;
 --sh-gray-50:#f4f7f9;--sh-gray-100:#eaf0f4;--sh-gray-300:#c7d5dd;--sh-white:#fff;
 --sh-green-50:#edf9f1;--sh-green-200:#c5e8d1;--sh-green-700:#087f46;--sh-green-900:#075a34;
 --sh-bg:var(--sh-gray-50);--sh-surface:var(--sh-white);--sh-text:var(--sh-navy-950);
 --sh-muted:var(--sh-slate-600);--sh-border:var(--sh-gray-300);--sh-action:var(--sh-green-700);
 --sh-action-hover:var(--sh-green-900);--sh-action-text:var(--sh-white);
 --sh-radius:20px;--sh-content:1200px;
}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body.shelek-portal-screen{margin:0;background:var(--sh-bg);color:var(--sh-text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:1rem;line-height:1.6}
.shelek-portal-screen .wp-site-blocks{padding:0!important}
.shelek-portal-screen main.chilik-wrap,.shelek-portal-screen #wp--skip-link--target{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.shelek-portal-screen .entry-content,.shelek-portal-screen .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.shelek-portal-screen .wp-block-post-content>.sh-shell,.shelek-portal-screen .wp-block-post-content>.sh-toolbar{max-width:none!important;margin:0!important}
.sh-shell,.sh-shell *,.sh-toolbar,.sh-toolbar *{box-sizing:border-box}
.sh-shell{width:100%;max-width:none!important;margin:0!important;padding:0 0 56px!important;color:var(--sh-text);overflow-wrap:break-word}
.sh-shell a,.sh-toolbar a{text-decoration:none}
.sh-toolbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px max(24px,calc((100% - var(--sh-content))/2));background:var(--sh-surface);color:var(--sh-text)}
.sh-toolbar-home{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--sh-text);font-size:1rem;font-weight:750}
.sh-toolbar-home::before{content:"↗";display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--sh-navy-800);color:var(--sh-white);font-size:1.25rem}
.sh-toolbar-right{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap}
.sh-toolbar-ads{display:inline-flex;align-items:center;min-height:44px;color:var(--sh-navy-800);font-size:.9375rem;font-weight:650}
.sh-toolbar-languages{display:flex;gap:4px;padding:4px;background:var(--sh-gray-100);border-radius:12px}
.sh-toolbar-languages a{display:grid;place-items:center;min-height:36px;padding:6px 12px;border-radius:9px;color:var(--sh-muted);font-size:.875rem;font-weight:650;white-space:nowrap}
.sh-toolbar-languages a[aria-current=page]{background:var(--sh-surface);color:var(--sh-text);box-shadow:0 2px 6px #09253614}
.sh-shell :focus-visible,.sh-toolbar a:focus-visible{outline:3px solid var(--sh-navy-800);outline-offset:4px}
.sh-hero{position:relative;display:flex;align-items:center;width:100%;min-height:560px;padding:80px max(24px,calc((100% - var(--sh-content))/2));border-radius:0;background:linear-gradient(90deg,rgba(5,24,39,.95) 0%,rgba(8,35,53,.82) 40%,rgba(8,35,53,.19) 100%),url("assets/shelek-hero.webp") center 48%/cover no-repeat;color:var(--sh-white)}
.sh-hero>div:first-child{width:100%;max-width:720px}
.sh-hero-art{display:none}
.sh-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;font-size:.75rem;line-height:1.5;font-weight:700;letter-spacing:.1em;color:#d7e9f4;text-transform:uppercase}
.sh-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:#6ee0a0}
.sh-hero h1{max-width:14ch;margin:0 0 24px;font-size:clamp(2.5rem,5.4vw,4.75rem);font-weight:750;line-height:1.1;letter-spacing:-.035em;color:var(--sh-white);text-wrap:balance}
.sh-hero p{max-width:48ch;margin:0;color:#e2edf4;font-size:1.125rem;font-weight:400;line-height:1.6;text-wrap:pretty}
.sh-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:30px}
.sh-button,.sh-form button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:13px 20px;border:1px solid transparent;border-radius:12px;font:650 .9375rem/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:none;cursor:pointer}
.sh-primary{background:var(--sh-action);color:var(--sh-action-text)}
.sh-secondary{border-color:#bed1df;background:transparent;color:var(--sh-white)}
.sh-section{width:min(var(--sh-content),calc(100% - 48px));margin:64px auto 0}
.sh-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.sh-eyebrow{font-size:.75rem;line-height:1.5;font-weight:700;letter-spacing:.08em;color:var(--sh-muted);text-transform:uppercase}
.sh-section-head h2{margin:6px 0 0;color:var(--sh-text);font-size:clamp(1.875rem,3vw,2.5rem);font-weight:700;line-height:1.2;letter-spacing:-.025em}
.sh-section-head p{max-width:32ch;margin:0;color:var(--sh-muted);font-size:.9375rem;line-height:1.5}
.sh-section-head>a{display:inline-flex;align-items:center;min-height:44px;color:var(--sh-navy-800);font-size:.9375rem;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.sh-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sh-category{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;border:1px solid var(--sh-green-200);border-radius:var(--sh-radius);background:var(--sh-surface);box-shadow:0 3px 12px #09253606}
.sh-category>span[aria-hidden]{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--sh-green-50);color:var(--sh-action);font-size:1.25rem}
.sh-category strong{margin:2px 0 0;font-size:1.125rem;font-weight:700;line-height:1.4;color:var(--sh-text)}
.sh-category small{font-size:.8125rem;line-height:1.5;color:var(--sh-muted)}
.sh-category>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:8px;padding:10px 16px;border-radius:10px;background:var(--sh-action);color:var(--sh-action-text);font-size:.875rem;font-weight:650;line-height:1.4}
.sh-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sh-card{min-width:0;overflow:hidden;border:1px solid var(--sh-gray-100);border-radius:var(--sh-radius);background:var(--sh-surface);box-shadow:0 4px 18px #09253608}
.sh-card-image{display:block;width:100%;height:220px;object-fit:cover;outline:1px solid #0000001a;outline-offset:-1px}
.sh-card-body{padding:24px;overflow-wrap:anywhere}
.sh-card-body h3{margin:14px 0 12px;color:var(--sh-text);font-size:1.25rem;font-weight:700;line-height:1.3}
.sh-card-body p{margin:0 0 16px;color:var(--sh-muted);font-size:1rem;line-height:1.6}
.sh-card-body .sh-card-contact{color:var(--sh-text);font-weight:650}
.sh-card-body a{color:var(--sh-navy-800);text-decoration:underline}
.sh-vip{display:inline-flex;padding:4px 10px;border-radius:8px;background:var(--sh-gray-100);color:var(--sh-navy-800);font-size:.75rem;font-weight:750}
.sh-empty{padding:24px;border:1px dashed var(--sh-border);border-radius:14px;background:var(--sh-surface);color:var(--sh-muted)}
.sh-page-heading,.sh-message{width:min(820px,calc(100% - 48px));margin:32px auto}
.sh-page-heading{padding:32px 0 0}
.sh-page-heading h1{margin:12px 0 16px;font-size:clamp(2rem,4vw,3rem);line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.sh-page-heading p{max-width:68ch;color:var(--sh-muted);line-height:1.6}
.sh-form{width:min(820px,calc(100% - 48px));margin:24px auto;padding:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border:1px solid var(--sh-gray-100);border-radius:var(--sh-radius);background:var(--sh-surface)}
.sh-form label{min-width:0;display:grid;align-content:start;gap:8px;color:var(--sh-text);font-size:.9375rem;font-weight:650;line-height:1.5}
.sh-form label:has(textarea),.sh-form label:has(input[type=file]){grid-column:1/-1}
.sh-form input,.sh-form textarea,.sh-form select{width:100%;max-width:100%;min-height:46px;padding:11px 12px;border:1px solid #7b929f;border-radius:10px;background:var(--sh-surface);color:var(--sh-text);font:400 1rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.sh-form button{justify-self:start;grid-column:1/-1;background:var(--sh-action);color:var(--sh-action-text)}
.sh-trap{position:absolute!important;inset-inline-start:-10000px}
.sh-message{padding:18px 22px;border-radius:12px;background:var(--sh-green-50);color:var(--sh-text)}
.sh-photo-credit{padding:10px 24px;background:var(--sh-bg);color:#5e707c;font-size:.75rem;font-weight:400;line-height:1.5;text-align:center}
.sh-photo-credit a{color:inherit;text-decoration:none;text-underline-offset:3px}
.sh-photo-credit a:focus-visible{outline:2px solid var(--sh-navy-800);outline-offset:3px;text-decoration:underline}
@media(hover:hover){.sh-photo-credit a:hover{text-decoration:underline;color:var(--sh-navy-800)}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover){.sh-primary:hover,.sh-category>a:hover,.sh-form button:hover{background:var(--sh-action-hover);color:var(--sh-action-text)}.sh-toolbar a:hover{color:var(--sh-action)}.sh-secondary:hover{background:#ffffff1a;color:var(--sh-white)}}
@media(prefers-reduced-motion:no-preference){.sh-button,.sh-category>a,.sh-form button{transition:background-color 150ms ease-out,scale 150ms ease-out}.sh-button:active,.sh-category>a:active,.sh-form button:not(:disabled):active{scale:.96}}
@media(max-width:900px){.sh-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-hero{min-height:520px}}
@media(max-width:600px){.sh-toolbar{min-height:74px;gap:12px;padding:14px 16px;flex-wrap:wrap}.sh-toolbar-home{gap:8px;font-size:.875rem}.sh-toolbar-home::before{width:34px;height:34px}.sh-toolbar-right{gap:12px}.sh-toolbar-ads{font-size:.8125rem}.sh-toolbar-languages a{padding:6px 9px;font-size:.8125rem}.sh-hero{min-height:460px;padding:56px 20px;background-position:56% center}.sh-hero h1{font-size:clamp(2.25rem,10vw,3.25rem)}.sh-hero p{font-size:1rem}.sh-section{width:calc(100% - 32px);margin-top:44px}.sh-section-head{align-items:flex-start;flex-direction:column;gap:12px}.sh-categories,.sh-cards{grid-template-columns:minmax(0,1fr)}.sh-form{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);padding:24px}.sh-form label{grid-column:1/-1}.sh-page-heading,.sh-message{width:calc(100% - 32px)}}
@media(forced-colors:active){.sh-toolbar-languages a[aria-current],.sh-category,.sh-card{border:1px solid CanvasText}}
