/*
Theme Name: Другие люди
Description: Двухколоночная журнальная тема.
Text Domain: drugie-lyudi
*/
:root{color-scheme:light;--ink:#252722;--muted:#65665f;--rule:#dadad3;--green:#415344;--paper:#fff;--serif:Georgia,"Times New Roman",serif;--sans:Arial,"Liberation Sans",sans-serif}
*{box-sizing:border-box}
html{scroll-padding-top:12px}
body{margin:0;color:var(--ink);font:1rem/1.53 var(--sans);background-color:#0b0d12;background-image:var(--sky);background-position:50% 45%;background-size:cover;background-attachment:fixed}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #aa6729;outline-offset:3px}
button,input{font:inherit}
button{color:inherit;cursor:pointer}
button:disabled{cursor:default}
[hidden]{display:none!important}
.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;z-index:6;background:white;padding:.4em 1em;color:#151713}
.shell{max-width:980px;width:calc(100% - 48px);margin:auto}
.masthead{color:#e1e3df;background:linear-gradient(90deg,rgba(8,10,13,.44),rgba(8,10,13,.2));border-top:1px solid #b9b7ac;margin-top:8px;text-shadow:0 1px 5px #0e1010}
.brand-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;padding:8px 13px 10px 15px;border-bottom:1px solid #a7aaa386}
.site-title{font:700 clamp(1.75rem,3vw,2.1rem)/1.08 var(--sans);letter-spacing:-.045em;color:#d4dce0}
.site-title a:hover{text-decoration:none;color:white}
.site-description{font:italic 1rem/1.3 var(--serif);color:#e2e4dd;margin:.15rem 0 0}
.brand-stamp{width:72px;transform:rotate(-2deg);box-shadow:1px 2px 6px #0008}
.main-menu{display:flex;align-items:center;gap:0;flex-wrap:wrap;min-height:53px;padding:0 13px;border-bottom:1px solid #e0dfd49c}
.main-menu a{font:700 .88rem/1.3 var(--sans);display:block;padding:9px 18px 9px 0;margin-right:15px;color:#edeee5;letter-spacing:.015em}
.main-menu a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
.page{background:var(--paper);padding:16px 14px 26px;box-shadow:0 1px 9px #1117}
.two-col{display:grid;grid-template-columns:minmax(0,2.12fr) minmax(0,1fr);gap:22px;align-items:stretch}
.content-area,.widget-area{min-width:0}
.widget-area{display:flex;flex-direction:column;gap:17px}
.widget{border:1px solid #e0e0d9;background:#fff;padding:18px 17px}
.widget>:first-child{margin-top:0}
.widget>:last-child{margin-bottom:0}
.side-tail{position:sticky;top:14px;display:grid;gap:16px}
.rule-title,.widget-title{display:flex;align-items:center;gap:.55rem;color:#25251f;font:700 1.19rem/1.2 var(--serif);letter-spacing:.022em;text-transform:uppercase;margin:0 0 16px}
.rule-title{font-size:1.39rem;margin:30px 0 15px}
.rule-title:after,.widget-title:after{content:"";flex:1;min-width:22px;height:3px;background:#282923}
.widget-list,.thumb-list,.rubric-list{list-style:none;padding:0;margin:0}
.widget-list li,.rubric-list li{border-top:1px dotted #cdcec5;padding:9px 0;font:1rem/1.33 var(--serif)}
.widget-list li:first-child,.rubric-list li:first-child,.thumb-list li:first-child{border-top:0;padding-top:0}
.widget-list li:last-child,.rubric-list li:last-child,.thumb-list li:last-child{padding-bottom:0}
.rubric-list a{display:flex;align-items:baseline;gap:10px;justify-content:space-between}
.rubric-list span{font: .85rem var(--sans);color:var(--muted)}
.thumb-list li{border-top:1px dotted #cdcec5;padding:10px 0}
.thumb-list a{display:grid;grid-template-columns:58px 1fr;gap:11px;align-items:center;font:700 .98rem/1.25 var(--serif)}
.thumb-list img{width:58px;height:51px;object-fit:cover}
.note,.widget p{font-size:.92rem;line-height:1.48}
.figure-box{margin:0}
.figure-box img{width:100%;height:auto;max-height:180px;object-fit:cover;border:1px solid var(--rule)}
.figure-box figcaption,.caption{font:italic .94rem/1.35 var(--serif);color:var(--muted);margin-top:7px}
.optic-panel{padding:14px 13px 10px;background:#222823;color:#f4f2dc;position:relative}
.optic-pair{display:flex;height:85px;overflow:hidden;border:1px solid #777c69}
.optic-pair span{display:grid;place-items:center;flex:1;background:#303a31}
.optic-pair span+span{background:#d6d5bd}
.optic-pair span:after{content:"";width:31px;height:31px;background:#898c77;border-radius:50%}
.optic-panel.equal .optic-pair span{background:#b3b3a1}
.optic-panel small{display:block;color:#e5e5d8;font:.86rem/1.35 var(--serif);margin-top:8px}
.small-control{border:1px solid #b1b2a7;background:#f7f7f1;font:700 .81rem/1.25 var(--sans);padding:6px 10px;margin-top:9px}
.search-link{border:1px solid var(--rule);display:flex;align-items:stretch;justify-content:space-between;background:#fafaf7;font-size:.92rem}
.search-link span{padding:8px 9px;color:#52574e}
.search-link b,.dark-button{background:#282a25;color:#fff;padding:8px 12px;font:700 .86rem/1.4 var(--sans);display:inline-flex;align-items:center}
.hero{margin:0}
.hero-stage{position:relative;overflow:hidden;background:#1f2720;color:#171c17}
.hero-slide{position:relative;width:100%;aspect-ratio:1.82;isolation:isolate}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#10130d48,transparent 36%,transparent 86%,#14140b30);pointer-events:none}
.hero-tags{position:absolute;left:8px;top:8px;z-index:1;display:flex;gap:4px}
.hero-tags a{background:#fffffff4;color:#24271f;font:700 .78rem/1.05 var(--sans);padding:5px 8px;box-shadow:0 1px 1px #1114}
.hero-read{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);padding:9px 17px;background:#f6f5eb;color:#282a23;font:700 .86rem/1.1 var(--serif);text-transform:uppercase;letter-spacing:.035em;box-shadow:0 1px 3px #0007}
.hero-step{position:absolute;z-index:2;top:68%;width:30px;height:30px;border-radius:50%;border:1px solid #d5d9c4a8;color:#f5f6e8;background:#18211cc9;display:grid;place-content:center}
.hero-step:before{content:"";width:8px;height:8px;transform:rotate(45deg);border:solid currentColor;border-width:0 0 2px 2px}
.hero-step.next:before{transform:rotate(225deg)}
.hero-step.prev{left:10px}.hero-step.next{right:10px}
.hero figcaption{font:italic .94rem/1.35 var(--serif);color:#5d6157;margin-top:8px}
.home-lead{margin-bottom:45px}
.post-list{display:grid;gap:13px}
.post-card{display:grid;grid-template-columns:minmax(0,35%) 1fr;gap:16px;border:1px solid #deded7;padding:11px;min-height:158px;align-items:start;background:#fff}
.card-picture{height:100%;min-height:122px;max-height:162px}
.card-picture img{width:100%;height:100%;object-fit:cover}
.post-card h2,.post-card h3{margin:1px 0 7px;font:700 1.08rem/1.2 var(--serif);text-transform:uppercase;letter-spacing:.014em}
.post-card p{margin:0 0 9px;font:.95rem/1.43 var(--sans)}
.meta{color:#64675e;font:.77rem/1.37 var(--sans);text-transform:uppercase;letter-spacing:.045em}
.meta a:hover,.breadcrumb a,.entry-content a,.text-link{color:#455c42;text-decoration:underline;text-underline-offset:.14em}
.partners{margin:31px 0}
.intro-small{font:italic 1.05rem/1.43 var(--serif);margin:-4px 0 12px;color:#575c51}
.partner-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.partner{border:1px solid var(--rule);padding:12px;background:#fafaf7}
.partner-head{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.partner-head img{width:51px;height:36px;object-fit:cover}
.partner h3{font:700 1.01rem/1.22 var(--serif);margin:0}
.partner p{font-size:.9rem;line-height:1.44;margin:0 0 8px}
.partner>a{font:700 .87rem var(--sans);text-decoration:underline;color:#40563d;text-underline-offset:2px}
.breadcrumb{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;color:var(--muted);font:.86rem/1.4 var(--sans);margin:2px 0 17px}
.entry-head h1,.page-head h1,.index-title{font:700 clamp(1.85rem,3.8vw,2.75rem)/1.08 var(--serif);letter-spacing:-.025em;margin:.35rem 0 .7rem}
.entry-head .intro,.page-head .intro{font:1.19rem/1.48 var(--serif);color:#4b5148;margin:0 0 1rem}
.entry-cover{margin:18px 0 22px}
.entry-cover img{width:100%;height:auto;max-height:358px;aspect-ratio:1.85;object-fit:cover}
.entry-content{font:1.11rem/1.63 var(--serif);overflow-wrap:break-word}
.entry-content h2,.group-head{font:700 1.62rem/1.17 var(--serif);margin:1.6em 0 .55em}
.entry-content h3{font:700 1.24rem/1.28 var(--serif);margin:1.35em 0 .45em}
.entry-content p{margin:0 0 .9em}.entry-content li{margin:.32em 0}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.entry-content blockquote{margin:1.4em 0;border-left:3px solid #6d795e;padding:9px 16px;background:#f4f4ef;font-style:italic}
.entry-content table{border-collapse:collapse;font:.93rem/1.47 var(--sans);width:100%;margin:1rem 0;overflow-wrap:anywhere;table-layout:fixed}
.entry-content caption{font-weight:bold;text-align:left;padding:.4rem 0}
.entry-content th,.entry-content td{border:1px solid #d5d7cf;padding:8px;text-align:left;vertical-align:top}
.entry-content th{background:#eeefe8}
.toc{background:#f8f8f3;border:1px solid #d9dbd1;padding:10px 15px;margin:0 0 18px;font-size:.96rem}
.toc summary{cursor:pointer;font:700 1rem var(--serif)}
.toc ol{padding-left:1.4em;margin:.6em 0 0}
.toc a:hover{text-decoration:underline}
.collection-entry{padding:16px 0;border-bottom:1px solid var(--rule)}
.collection-entry h2{font:700 1.55rem/1.18 var(--serif);margin:0 0 6px}
.collection-entry p{margin:0 0 7px}.collection-entry .meta{display:block;margin-bottom:5px}
.entry-end{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--rule);padding:15px 0;margin-top:25px;font:.91rem/1.4 var(--sans)}
.search-box{padding:16px;border:1px solid var(--rule);background:#f5f5ef;margin:18px 0}
.search-box label{font:700 1.05rem var(--serif);display:block;margin-bottom:7px}
.search-row{display:flex;gap:6px}
.search-row input{min-width:0;flex:1;background:white;border:1px solid #888c80;padding:9px 10px}
.search-row button{border:1px solid #888c80;background:#fff}
.search-status{font-size:.9rem;margin:8px 0 0}
.site-footer{border-top:4px double #c6c7bd;background:#f3f3ed;padding:20px 16px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;color:#41463b}
.site-footer nav{display:flex;gap:8px 19px;flex-wrap:wrap;max-width:82%;font:.89rem/1.45 var(--sans)}
.footer-copy{font:700 .95rem var(--serif);white-space:nowrap}
.cookie-box{position:fixed;z-index:10;bottom:15px;right:max(15px,calc((100vw - 980px)/2 + 9px));border:1px solid #b4b6a8;border-top:3px solid #434c40;padding:10px 12px;background:#fcfcf6;color:#292d25;box-shadow:0 3px 14px #0003;width:278px;font:.86rem/1.37 var(--sans)}
.cookie-box p{margin:0 0 7px}
.cookie-box a,.cookie-settings{text-decoration:underline;text-underline-offset:2px}
.cookie-actions{display:flex;gap:7px}
.cookie-actions button,.cookie-settings{border:1px solid #b4b7aa;padding:5px 8px;background:#f7f7ef;font:700 .79rem/1.3 var(--sans)}
.cookie-actions button:first-child{background:#32372e;color:#fff;border-color:#32372e}
.cookie-settings{font-size:.95rem}
@media(min-width:1500px){.shell{max-width:1030px}}
@media(max-width:850px){.shell{width:calc(100% - 28px)}.two-col{gap:15px;grid-template-columns:minmax(0,1.95fr) minmax(0,1fr)}.widget{padding:13px 11px}.post-card{gap:11px}.partner-grid{grid-template-columns:1fr}.partner p{margin-bottom:5px}.widget-title{font-size:1.09rem}}
@media(max-width:680px){body{background-attachment:scroll;background-size:auto 100vh;background-repeat:repeat-y}.shell{width:calc(100% - 14px)}.masthead{margin-top:5px}.brand-row{min-height:72px;padding:8px 9px}.brand-stamp{width:52px}.site-description{font-size:.88rem;max-width:270px}.main-menu{gap:3px 14px;min-height:41px;padding:3px 8px}.main-menu a{font-size:.84rem;margin:0;padding:4px 0}.page{padding:10px 9px 20px}.two-col{display:flex;flex-direction:column;gap:25px}.home-lead{margin-bottom:26px}.hero-slide{aspect-ratio:1.77}.rule-title{margin:22px 0 12px;font-size:1.25rem}.post-card{grid-template-columns:minmax(0,32%) 1fr;gap:10px;padding:8px;min-height:117px}.post-card h2,.post-card h3{font-size:1.01rem}.post-card p{font-size:.91rem}.card-picture{min-height:96px;max-height:154px}.thumb-list a{grid-template-columns:68px 1fr}.widget-area{display:grid;gap:12px}.side-tail{position:static}.partner-grid{grid-template-columns:1fr}.partners{margin:22px 0}.site-footer{flex-direction:column}.site-footer nav{max-width:100%}.cookie-box{bottom:8px;right:9px;width:min(290px,calc(100% - 18px))}.entry-content{font-size:1.08rem}.entry-content th,.entry-content td{padding:5px}.widget-title{font-size:1.18rem}.optic-pair{height:85px}.figure-box img{height:160px}.hero-tags a{font-size:.72rem}.hero-read{font-size:.79rem}.widget{padding:14px}.hero-step{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{body{background:white!important}.shell{width:100%;max-width:none}.page{box-shadow:none}.two-col{display:block}.widget-area,.main-menu,.cookie-box,.hero-step,.site-footer nav,.skip,.entry-end,.toc,.home-lead,.related,.small-control{display:none!important}.masthead{background:white!important;text-shadow:none;color:black}.site-title,.site-description{color:black}.brand-stamp{width:50px}}
