/*
Theme Name: Мир Иссэт — Классический
Author: Мир Иссэт
Description: Первая главная страница «Мира Иссэт» по утверждённому макету. Пергамент, латунная сфера, четыре направления и цитата. Все исходные иллюстрации включены; тексты и ссылки редактируются в разделе «Мир Иссэт».
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isset-world
Tags: custom-menu, featured-images, theme-options, translation-ready
*/
:root{--iw-ink:#17140d;--iw-muted:#51483b;--iw-gold:#b88d4c;--iw-border:#bda071;--iw-paper:#f0e1c5;--iw-serif:"Times New Roman",Times,"Liberation Serif",serif;--iw-sans:Arial,"Helvetica Neue",Helvetica,sans-serif;--iw-width:1536px;--iw-side:clamp(20px,2.6042vw,42px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--iw-paper) url("assets/images/parchment.webp") repeat;color:var(--iw-ink);font-family:var(--iw-sans);font-size:18px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}a{color:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{text-decoration:none}a:hover{text-decoration:none}img{display:block;max-width:100%;height:auto}button{color:inherit}button:disabled{cursor:default}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #785321;outline-offset:5px}.iw-site{max-width:1600px;margin:auto;position:relative;overflow:clip}.iw-container{width:calc(100% - var(--iw-side)*2);max-width:1456px;margin-inline:auto}.iw-skip{position:fixed;top:8px;left:8px;transform:translateY(-160%);background:#17140d;color:#fff4df;padding:10px 20px;border-radius:4px;z-index:100000}.iw-skip:focus{transform:translateY(0)}.iw-icon{display:inline-block;flex-shrink:0;vertical-align:middle;width:26px;height:26px}.iw-stage{position:relative;isolation:isolate;min-height:0}.iw-stage-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:-1;pointer-events:none}.iw-header{position:relative;z-index:20}.iw-header-inner{min-height:clamp(105px,8.6vw,138px);display:flex;align-items:center;gap:30px;padding-inline:14px}.iw-brand{display:inline-flex;align-items:center;flex-shrink:0;gap:10px;color:#100e09}.iw-brand-emblem{width:clamp(64px,6vw,92px);height:clamp(64px,6vw,92px);object-fit:contain}.iw-brand-text{font-family:var(--iw-serif);font-size:clamp(29px,2.83vw,44px);line-height:.81;letter-spacing:-.045em;padding-bottom:3px}.iw-text-line{display:block}.iw-navigation{margin:auto;flex:1}.iw-menu{display:flex;align-items:center;justify-content:center;gap:clamp(20px,2.8vw,44px);margin:0;padding:0;list-style:none}.iw-menu li{margin:0;padding:0}.iw-menu a{display:block;font-size:clamp(15px,1.4vw,22px);line-height:1.2;white-space:nowrap;position:relative;padding:12px 0}.iw-menu a:after{content:"";position:absolute;bottom:5px;left:0;width:100%;height:1px;background:#89672f;transform:scaleX(0);transform-origin:left;transition:transform .18s ease}.iw-menu a:hover:after,.iw-menu .current-menu-item>a:after{transform:scaleX(1)}.iw-header-actions{display:flex;align-items:center;gap:clamp(15px,1.7vw,27px);flex-shrink:0}.iw-icon-button{display:grid;place-items:center;min-width:28px;min-height:44px}.iw-icon-button .iw-icon{width:27px;height:27px}.iw-login{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:12px 27px;color:#f5ddb0;background:linear-gradient(145deg,#17150e,#060603);border:1px solid #342714;border-radius:12px;box-shadow:0 8px 18px #51300c24;white-space:nowrap;font-size:23px;font-weight:600;transition:transform .18s,box-shadow .18s}.iw-login:hover{box-shadow:0 6px 16px #51300c40;transform:translateY(-1px)}.iw-login .iw-icon{width:23px;height:23px;stroke-width:2}.iw-language{position:relative;border-left:1px solid #a77e3e;padding-left:25px}.iw-language summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;min-height:44px;font-size:22px;user-select:none}.iw-language summary::-webkit-details-marker{display:none}.iw-language summary .iw-icon{width:19px;height:19px}.iw-language-panel{position:absolute;top:calc(100% + 12px);right:-18px;width:235px;padding:12px;background:#f7eedc;border:1px solid #bda071;border-radius:10px;box-shadow:0 15px 45px #37220f30;z-index:30}.iw-language-panel button,.iw-language-current{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:transparent;padding:9px 10px;font-size:16px;line-height:1.4;text-align:left;border-radius:5px}.iw-language-current{background:#ead7af;font-weight:600}.iw-language-panel button:disabled{color:#746c5c;opacity:1}.iw-language-panel small{font-size:11px;color:#6e6555}.iw-language-panel p{font-size:12px;line-height:1.5;margin:9px 10px 3px;color:#655c4d}.iw-menu-toggle{display:none}.iw-main-home{position:relative}.iw-hero{position:relative;min-height:clamp(365px,28.125vw,450px);padding:24px 25px 39px}.iw-hero-copy{position:relative;z-index:1;max-width:940px}.iw-hero h1{font-family:var(--iw-serif);font-weight:400;font-size:clamp(55px,5.20833vw,83px);line-height:.96;letter-spacing:-.035em;margin:0 0 25px;max-width:1000px}.iw-title-line{display:block;white-space:nowrap}.iw-hero-description{font-size:clamp(18px,1.628vw,26px);line-height:1.35;margin:0;max-width:710px;letter-spacing:-.025em}.iw-hero-buttons{display:flex;align-items:center;gap:28px;margin-top:28px}.iw-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:67px;padding:15px 37px;border-radius:11px;border:1px solid #b58d56;font-size:23px;font-weight:600;line-height:1.2;transition:box-shadow .18s,transform .18s,background-color .18s}.iw-button:hover{transform:translateY(-1px);box-shadow:0 4px 15px #66431820}.iw-button-gold{background:linear-gradient(110deg,#b68b47,#c49c60);color:#100e07}.iw-button-outline{background:#fbf3e326;font-weight:400;min-width:259px}.iw-button .iw-icon{width:29px;height:29px;stroke-width:1.7}.iw-directions{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;scroll-margin-top:26px}.iw-card{border:1px solid var(--iw-border);border-radius:15px;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(120deg,#fbf2e480,#ead7b563);box-shadow:0 1px 4px #6047220b;min-width:0}.iw-card-image-link{display:block;overflow:hidden;background:#291d14;aspect-ratio:1.84}.iw-card-image{width:100%;height:100%;object-fit:cover;transition:filter .2s}.iw-card-image-link:hover .iw-card-image{filter:brightness(1.06)}.iw-card-body{position:relative;display:flex;flex-direction:column;flex:1;padding:16px 28px 22px;min-height:170px}.iw-card h2{font-family:var(--iw-serif);font-weight:400;font-size:clamp(25px,2.344vw,37px);letter-spacing:-.04em;line-height:1.1;margin:0 0 8px;overflow-wrap:break-word}.iw-card h2 a:hover{color:#75501f}.iw-card-body>p{font-size:clamp(16px,1.465vw,23px);line-height:1.35;margin:0;color:#363027;letter-spacing:-.025em}.iw-card-link{display:flex;align-items:center;align-self:flex-start;gap:15px;font-size:clamp(18px,1.563vw,24px);font-weight:600;line-height:1.3;margin-top:auto;padding-top:27px}.iw-card-link .iw-icon{width:27px;height:27px;transition:transform .18s}.iw-card-link:hover .iw-icon{transform:translateX(4px)}.iw-footer{padding:20px 15px 12px;text-align:center}.iw-quote{margin:0}.iw-quote p{font-family:var(--iw-serif);font-size:clamp(18px,1.7vw,27px);line-height:1.35;letter-spacing:-.012em;margin:0 auto 8px;text-wrap:balance}.iw-quote cite{font-style:normal;font-size:16px;letter-spacing:.16em;text-transform:uppercase;color:#866431;display:flex;align-items:center;justify-content:center;gap:20px}.iw-quote cite:before,.iw-quote cite:after{content:"";display:block;width:24px;height:1px;background:#b28c54}.iw-inner .iw-stage{height:auto}.iw-inner .iw-stage-art{opacity:.35;object-position:right 20%}.iw-inner .iw-header{border-bottom:1px solid #bfa87e70}.iw-placeholder,.iw-document{padding:65px 25px;min-height:65vh}.iw-placeholder-panel{max-width:840px;margin:auto;text-align:center;padding:42px;background:#faf1de8c;border:1px solid #c7ad81;border-radius:16px}.iw-placeholder-illustration{max-width:430px;aspect-ratio:1.84;object-fit:cover;border-radius:10px;margin:0 auto 30px}.iw-eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#7b5c2d;margin:0 0 13px}.iw-placeholder h1,.iw-document h1{font:400 clamp(36px,4.5vw,64px)/1.06 var(--iw-serif);letter-spacing:-.03em;margin:0 0 23px}.iw-placeholder-message{font-size:19px;color:#51483b;max-width:600px;line-height:1.65;margin:0 auto 28px}.iw-placeholder .iw-button{min-height:54px;font-size:17px;padding:13px 25px;gap:15px}.iw-placeholder .iw-button .iw-icon{width:22px;height:22px}.iw-document{max-width:1040px}.iw-prose{font-size:20px;line-height:1.7}.iw-prose h2,.iw-list-entry h2{font:400 36px/1.2 var(--iw-serif)}.iw-prose h3{font:400 28px/1.2 var(--iw-serif)}.iw-prose p{margin:1em 0}.iw-entry-content a,.iw-list-entry a{color:#80581e;text-decoration:underline;text-underline-offset:.16em}.iw-entry-content img{height:auto;border-radius:8px}.iw-featured-image{width:100%;max-height:480px;object-fit:cover;margin:25px 0;border-radius:10px}.iw-entry-content .alignwide{max-width:1200px}.iw-entry-content .alignfull{margin-inline:calc(var(--iw-side)*-1);max-width:none}.iw-entry-content pre{max-width:100%;overflow:auto;background:#f8efdf;padding:20px}.iw-entry-content table{border-collapse:collapse;max-width:100%;width:100%}.iw-entry-content th,.iw-entry-content td{border:1px solid #bfa87e;padding:10px}.iw-list-entry{padding:15px 0 28px;border-bottom:1px solid #bfa87e}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
@media(min-width:1600px){.iw-site{box-shadow:0 0 90px #6347230b}.iw-hero{min-height:450px}}
@media(max-width:1350px) and (min-width:1051px){.iw-header-inner{gap:18px;padding-inline:5px}.iw-menu{gap:23px}.iw-header-actions{gap:18px}.iw-login{min-height:55px;padding:10px 19px;font-size:19px}.iw-language{padding-left:18px}.iw-language summary{font-size:19px}.iw-display{display:none}.iw-hero{padding-inline:15px}.iw-hero h1{font-size:5.15vw}.iw-hero-description{font-size:1.63vw}.iw-button{font-size:19px;min-height:58px;padding:13px 25px;gap:15px}.iw-button-outline{min-width:210px}.iw-hero-buttons{gap:24px;margin-top:26px}.iw-card-body{padding:15px 20px 20px;min-height:157px}.iw-card-link{padding-top:23px}}
@media(max-width:1050px){.iw-header-inner{min-height:104px;gap:18px;padding:0}.iw-brand-emblem{width:65px;height:65px}.iw-brand-text{font-size:32px}.iw-menu-toggle{display:grid;place-items:center;margin-left:auto;width:43px;height:44px;border:1px solid #bda071;border-radius:8px;background:#f4e8cf85;order:2}.iw-header-actions{order:1;margin-left:auto;gap:17px}.iw-navigation{display:none;position:absolute;top:calc(100% - 5px);left:var(--iw-side);right:var(--iw-side);border:1px solid #c8b18b;border-radius:10px;background:#f6ecd9;box-shadow:0 12px 28px #49331822;padding:10px 20px}.iw-navigation.is-open{display:block}.iw-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.iw-menu a{font-size:18px;padding:12px 6px}.iw-menu a:after{display:none}.iw-login{min-height:48px;padding:10px 20px;font-size:18px;border-radius:9px}.iw-login .iw-icon{width:20px;height:20px}.iw-language{padding-left:17px}.iw-language summary{font-size:18px}.iw-display{display:none}.iw-stage{overflow:visible}.iw-stage-art{object-position:right center;object-fit:cover}.iw-hero{padding:32px 10px 42px;min-height:420px}.iw-hero h1{font-size:clamp(44px,6.5vw,67px);line-height:1.02;letter-spacing:-.04em;margin-bottom:23px}.iw-hero-description{font-size:19px;line-height:1.45;max-width:530px}.iw-hero-buttons{margin-top:27px;gap:18px}.iw-button{font-size:19px;min-height:57px;padding:14px 24px;gap:15px}.iw-button-outline{min-width:210px}.iw-directions{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.iw-card h2{font-size:33px}.iw-card-body>p{font-size:18px}.iw-card-link{font-size:19px;padding-top:20px}.iw-card-body{min-height:155px;padding:18px 24px 20px}.iw-footer{padding-top:27px;padding-bottom:30px}.iw-quote p{font-size:23px}.iw-quote cite{font-size:13px}}
@media(max-width:700px){:root{--iw-side:18px}.iw-header-inner{gap:11px;min-height:89px}.iw-brand{gap:5px}.iw-brand-emblem{width:53px;height:53px}.iw-brand-text{font-size:26px}.iw-header-actions{gap:12px}.iw-search,.iw-display{display:none}.iw-language{border-left:0;padding-left:0}.iw-language summary{font-size:16px;gap:3px}.iw-language summary .iw-icon{width:14px;height:14px}.iw-login{padding:10px 13px;font-size:15px;min-height:42px;gap:6px;border-radius:8px}.iw-login .iw-icon{width:17px;height:17px}.iw-menu-toggle{width:39px;height:42px;flex-shrink:0}.iw-menu-toggle .iw-icon{width:23px;height:23px}.iw-language-panel{right:-65px;width:225px}.iw-hero{min-height:0;padding:20px 5px 240px}.iw-hero-copy{max-width:none}.iw-hero h1{font-size:clamp(38px,7.8vw,55px);line-height:1.02;letter-spacing:-.035em;margin-bottom:20px}.iw-title-line{white-space:normal}.iw-hero-description{font-size:17px;line-height:1.48;max-width:none;letter-spacing:-.014em}.iw-hero-description .iw-text-line{display:inline}.iw-hero-description .iw-text-line:after{content:" "}.iw-hero-buttons{gap:11px;margin-top:23px;flex-wrap:wrap}.iw-button{font-size:16px;min-height:48px;padding:12px 17px;gap:12px;border-radius:8px}.iw-button .iw-icon{width:21px;height:21px}.iw-button-outline{min-width:0}.iw-stage-art{top:auto;bottom:0;height:300px;width:100%;object-fit:cover;object-position:right bottom;mask-image:linear-gradient(to bottom,transparent 0,#000 24%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24%)}.iw-directions{gap:13px}.iw-card{border-radius:11px}.iw-card-image-link{aspect-ratio:1.55}.iw-card-body{padding:13px 13px 16px;min-height:163px}.iw-card h2{font-size:26px;line-height:1.03;letter-spacing:-.03em}.iw-card-body>p{font-size:14px;line-height:1.4;letter-spacing:0}.iw-card-link{font-size:15px;line-height:1.25;gap:8px;padding-top:18px}.iw-card-link .iw-icon{width:21px;height:21px}.iw-footer{padding:25px 3px 28px}.iw-quote p{font-size:21px;line-height:1.35}.iw-quote cite{font-size:11px;gap:14px}.iw-placeholder,.iw-document{padding:28px 0;min-height:60vh}.iw-placeholder-panel{padding:30px 20px}.iw-placeholder h1,.iw-document h1{font-size:38px}.iw-placeholder-message{font-size:17px}.iw-inner .iw-stage-art{height:100%;opacity:.3;mask-image:none;-webkit-mask-image:none}.iw-prose{font-size:18px}.iw-entry-content .alignfull{margin-inline:0}.iw-placeholder .iw-button{font-size:15px}}
@media(max-width:390px){.iw-brand-emblem{width:45px;height:45px}.iw-brand-text{font-size:23px}.iw-header-inner{gap:7px}.iw-header-actions{gap:8px}.iw-login{padding:9px 10px;gap:4px}.iw-login .iw-icon{width:15px;height:15px}.iw-menu-toggle{width:34px}.iw-hero h1{font-size:38px}.iw-button{font-size:15px;padding:12px 14px;gap:9px}.iw-hero-buttons{gap:9px}.iw-card h2{font-size:23px}.iw-card-body{padding:13px 11px 15px;min-height:158px}.iw-card-link{font-size:14px;gap:5px}.iw-card-link .iw-icon{width:19px}.iw-quote p{font-size:20px}}
@media(max-width:340px){:root{--iw-side:12px}.iw-brand-text{font-size:21px}.iw-brand-emblem{width:39px;height:39px}.iw-header-actions{gap:6px}.iw-login{font-size:13px;padding:8px}.iw-login .iw-icon{display:none}.iw-language summary{font-size:14px}.iw-menu-toggle{width:32px}.iw-card h2{font-size:21px}.iw-card-link{font-size:13px}.iw-hero h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.iw-header-actions,.iw-menu-toggle,.iw-hero-buttons,.iw-card-link,.iw-skip{display:none}.iw-stage-art{opacity:.2}.iw-directions{grid-template-columns:repeat(2,1fr)}body{background:#fff}.iw-card{break-inside:avoid}}

@media(max-width:450px){.iw-hero-buttons{gap:10px}.iw-hero-buttons .iw-button{font-size:14px;padding:12px 13px;gap:10px}.iw-hero-buttons .iw-button .iw-icon{width:20px;height:20px}.iw-card-video h2{overflow-wrap:normal}}
/* Keep the text on clean parchment at intermediate widths. */
@media(min-width:1051px){.iw-home .iw-stage-art{object-position:left top}}
@media(min-width:701px) and (max-width:1050px){
 .iw-home .iw-hero{min-height:0;padding:28px 10px 280px}
 .iw-home .iw-stage-art{top:auto;bottom:0;height:340px;width:100%;object-fit:cover;object-position:right bottom;mask-image:linear-gradient(to bottom,transparent 0,#000 26%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 26%)}
}
