/*
Theme Name: IndaHouse — Editorial
Theme URI: https://indahouse-journal.tilda.ws/
Author: IndaHouse
Description: Современная редакционная тема литературного журнала IndaHouse. Контент и блоки редактируются в WordPress.
Version: 3.0.0
Text Domain: indahouse
*/
:root{--ih-bg:#f9f9f7;--ih-green:#23473c;--ih-text:#000;--ih-footer:#f0f0ec;--ih-button:#23473c;--ih-width:1120px;--ih-h1:52px;--ih-h2:32px;--ih-h3:22px;--ih-body-size:17px;--ih-menu-size:14px;--ih-logo-width:180px;--ih-title-weight:400;--ih-line:rgba(35,71,60,.22);--ih-muted:#676b66;--ih-serif:Georgia,"Times New Roman",serif;--ih-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ih-bg);color:var(--ih-text);font-family:var(--ih-sans);font-size:var(--ih-body-size);line-height:1.72;-webkit-font-smoothing:antialiased}a{color:var(--ih-green);text-underline-offset:.22em;text-decoration-thickness:1px}a:hover{opacity:.72}.site-header{width:min(var(--ih-width),calc(100% - 64px));margin:0 auto;padding:26px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:34px;border-bottom:1px solid var(--ih-line)}.site-branding{flex:0 0 auto;min-width:140px}.site-logo-link{display:inline-flex;align-items:center;text-decoration:none;color:var(--ih-green)}.site-title{display:block;margin:0;font-family:var(--ih-serif);font-size:29px;line-height:1;font-weight:var(--ih-title-weight);letter-spacing:-.055em;color:var(--ih-green)}.custom-logo-link{display:inline-flex;align-items:center}.custom-logo{width:auto;max-width:var(--ih-logo-width);max-height:74px;object-fit:contain}.site-description{margin:7px 0 0;font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.15em;color:var(--ih-muted)}.primary-menu{display:flex;align-items:center;justify-content:flex-end;min-width:0}.menu-list{list-style:none!important;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 25px;padding:0!important;margin:0!important}.menu-list li{list-style:none!important;margin:0;padding:0}.menu-list li::marker{content:""}.primary-menu a{display:inline-block;color:var(--ih-text);text-decoration:none;font-size:var(--ih-menu-size);font-weight:400;line-height:1.35;transition:color .18s ease,background .18s ease}.primary-menu a:hover,.primary-menu .current-menu-item:not(.menu-item-fresh)>a{color:var(--ih-green);text-decoration:underline;text-underline-offset:5px}.primary-menu .menu-item-fresh>a{padding:11px 16px;background:var(--ih-button);border:1px solid var(--ih-button);border-radius:3px;color:#fff;font-weight:500;text-decoration:none}.primary-menu .menu-item-fresh>a:hover{background:transparent;color:var(--ih-button);opacity:1}.menu-toggle{display:none}.site-main{width:min(var(--ih-width),calc(100% - 64px));min-height:58vh;margin:0 auto;padding:64px 0 100px}.page-header{margin:0 0 44px;padding-bottom:27px;border-bottom:1px solid var(--ih-line)}.eyebrow{margin:0 0 16px!important;color:var(--ih-muted);font-size:11px!important;letter-spacing:.17em;text-transform:uppercase;line-height:1.3}.page-title,.entry-title,h1,h2,h3,h4{color:var(--ih-green)}h1,.page-title{font-family:var(--ih-serif);font-size:clamp(38px,var(--ih-h1),68px);font-weight:400;letter-spacing:-.055em;line-height:1.02;margin:0 0 28px}h2{font-family:var(--ih-serif);font-size:clamp(25px,var(--ih-h2),42px);font-weight:400;letter-spacing:-.035em;line-height:1.13;margin:45px 0 17px}h3{font-family:var(--ih-serif);font-size:clamp(20px,var(--ih-h3),30px);font-weight:400;line-height:1.25;margin:32px 0 12px}h4{font-size:17px;line-height:1.35;margin:24px 0 10px}p{margin:0 0 1.2em}li{margin-bottom:.45em}.entry-content{max-width:850px}.entry-content>*:first-child{margin-top:0}.entry-content>*:last-child{margin-bottom:0}.entry-content p,.entry-content li{max-width:76ch}.entry-content h2{margin-top:1.7em}.entry-content h2:first-child{margin-top:0}.entry-content a{overflow-wrap:anywhere}.homepage-content .entry-content{max-width:none}.ih-home-hero{padding:30px 0 48px!important;margin:0!important;border-bottom:1px solid var(--ih-line)}.ih-home-hero .home-title{font-family:var(--ih-serif);font-weight:400;font-size:clamp(76px,14vw,168px);letter-spacing:-.095em;line-height:.78;margin:0 0 25px;color:var(--ih-green)}.ih-home-hero .home-subtitle{font-size:clamp(17px,2.2vw,25px);line-height:1.35;letter-spacing:.01em;color:var(--ih-text);margin:0!important}.ih-home-columns{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:clamp(44px,7vw,105px)!important;margin-top:50px!important;align-items:start!important}.ih-home-about h2,.home-latest-issue h2{margin-top:0;font-size:clamp(25px,2.6vw,34px)}.ih-home-about p{max-width:67ch}.home-latest-issue{position:relative;border-top:3px solid var(--ih-green);border-bottom:1px solid var(--ih-line);padding:21px 0 26px!important;margin:0!important}.home-latest-issue h2{margin-bottom:24px}.latest-issue-number{font-family:var(--ih-serif);font-size:clamp(28px,3.1vw,40px);line-height:1.15;color:var(--ih-green);margin:0 0 28px}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px}.wp-block-buttons.is-vertical{align-items:flex-start}.wp-block-button .wp-block-button__link,.issue-link{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:11px 17px;border:1px solid var(--ih-green);border-radius:2px;background:transparent;color:var(--ih-green);font-family:var(--ih-sans);font-size:14px;text-decoration:none;transition:background .18s ease,color .18s ease}.wp-block-button .wp-block-button__link:hover,.issue-link:hover{background:var(--ih-green);color:var(--ih-bg);opacity:1}.wp-block-button.is-style-fill .wp-block-button__link{background:var(--ih-green);color:var(--ih-bg)}.text-content{max-width:850px}.editor-card{padding:23px 0 4px!important;border-top:1px solid var(--ih-line)}.editor-card h2{font-size:clamp(25px,2.4vw,32px);margin:0 0 7px}.editor-role{color:var(--ih-green);font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;margin:0 0 14px}.editor-card p{font-size:16px}.editor-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin-top:32px}.archive-item{padding:21px 0!important;border-top:1px solid var(--ih-line)}.archive-item p{margin:0}.archive-item a{font-family:var(--ih-serif);font-size:clamp(22px,2.7vw,30px);text-decoration:none}.rules-list{padding-left:1.4em}.rules-list li{padding-left:.25em;margin-bottom:10px}.author-bio{font-size:15px;color:var(--ih-muted);max-width:70ch}.wp-block-verse,.issue-content .poem{white-space:pre-wrap;font-family:var(--ih-serif);font-size:17px;line-height:1.72;max-width:610px;margin:18px 0 48px;padding:0;background:transparent;overflow:visible}.entry-content .wp-block-verse{white-space:pre-wrap}.entry-content .wp-block-verse br{display:block}.wp-block-separator{border:0;border-top:1px solid var(--ih-line);margin:36px 0}.wp-block-image img{height:auto;max-width:100%}.wp-block-file{margin:25px 0}.site-footer{background:var(--ih-footer);border-top:1px solid rgba(35,71,60,.08)}.footer-inner{width:min(var(--ih-width),calc(100% - 64px));margin:0 auto;padding:35px 0 30px;display:grid;grid-template-columns:1fr 1.2fr auto;gap:36px;align-items:start}.footer-mark a{font-family:var(--ih-serif);font-size:26px;line-height:1;color:var(--ih-green);text-decoration:none}.footer-contacts{font-size:13px;line-height:1.65}.footer-contacts p{margin:0 0 4px}.footer-contacts p:first-child{margin-bottom:8px;color:var(--ih-green)}.copyright{font-size:12px;color:#555;white-space:nowrap;padding-top:3px}.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}.alignwide{max-width:var(--ih-width)}.alignfull{max-width:none}@media(max-width:900px){.site-header{width:calc(100% - 40px);gap:20px}.menu-list{gap:9px 16px}.primary-menu a{font-size:13px}.site-main{width:calc(100% - 40px)}.ih-home-columns{gap:38px!important}.footer-inner{width:calc(100% - 40px);grid-template-columns:1fr 1fr}.copyright{grid-column:1/-1}.editor-list{grid-template-columns:1fr 1fr}}@media(max-width:700px){body{font-size:16px}.site-header{width:calc(100% - 32px);padding:19px 0 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 16px}.site-branding{min-width:0}.site-title{font-size:27px}.custom-logo{max-width:min(var(--ih-logo-width),160px);max-height:58px}.site-description{font-size:9px;letter-spacing:.12em}.menu-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--ih-green);border-radius:2px;background:transparent;color:var(--ih-green);cursor:pointer}.menu-toggle-lines,.menu-toggle-lines:before,.menu-toggle-lines:after{display:block;width:17px;height:1px;background:var(--ih-green);position:relative}.menu-toggle-lines:before,.menu-toggle-lines:after{content:"";position:absolute;left:0}.menu-toggle-lines:before{top:-5px}.menu-toggle-lines:after{top:5px}.primary-menu{display:none;grid-column:1/-1;width:100%;padding:18px 0 2px}.primary-menu.is-open{display:block}.menu-list{align-items:stretch;flex-direction:column;gap:0}.menu-list li{border-top:1px solid var(--ih-line)}.primary-menu a{display:block;padding:12px 0;font-size:15px}.primary-menu .menu-item-fresh>a{display:inline-flex;margin:12px 0 3px;padding:11px 16px}.site-main{width:calc(100% - 32px);padding:42px 0 62px}.page-header{margin-bottom:32px;padding-bottom:21px}h1,.page-title{font-size:clamp(38px,10vw,56px);margin-bottom:24px}.ih-home-hero{padding:23px 0 34px!important}.ih-home-hero .home-title{font-size:clamp(67px,18vw,112px);letter-spacing:-.09em}.ih-home-hero .home-subtitle{font-size:19px}.ih-home-columns{display:block!important;margin-top:34px!important}.ih-home-columns>.wp-block-column{margin-bottom:40px}.ih-home-about h2,.home-latest-issue h2{font-size:29px}.home-latest-issue{padding:18px 0 23px!important}.footer-inner{width:calc(100% - 32px);display:flex;flex-direction:column;gap:20px;padding:27px 0}.copyright{white-space:normal}.editor-list{grid-template-columns:1fr;gap:24px}.editor-card{padding-top:19px!important}.entry-content h2{font-size:27px}.entry-content .wp-block-verse{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.wp-block-buttons{align-items:flex-start}.wp-block-button__link{max-width:100%}}
/* Editor preview mirrors the published journal. */
.editor-styles-wrapper{background:var(--ih-bg);font-family:var(--ih-sans);font-size:var(--ih-body-size);line-height:1.72;color:var(--ih-text)}.editor-styles-wrapper h1,.editor-styles-wrapper h2,.editor-styles-wrapper h3{font-family:var(--ih-serif);font-weight:400;color:var(--ih-green)}.editor-styles-wrapper .ih-home-hero .home-title{font-size:clamp(76px,14vw,168px);line-height:.78;letter-spacing:-.095em}.editor-styles-wrapper .wp-block-verse{font-family:var(--ih-serif);white-space:pre-wrap}
