.materials-page{--materials-red:#d9364f;--materials-paper:#f1efe8;--materials-ink:#101317}.materials-hero{position:relative;isolation:isolate;overflow:hidden;background:#0b0d11;color:#f4f2eb;padding:calc(var(--header-h,96px) + 54px) 0 0}.materials-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 90% 0%,#d9364f25,transparent 62%)}.materials-hero__wave{position:absolute;right:-3%;top:10%;width:min(58%,780px);height:400px;opacity:.72;z-index:-1;pointer-events:none}.materials-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:12px;line-height:1.5;letter-spacing:.07em;text-transform:uppercase;max-width:100%;color:#c4c2bd}.materials-breadcrumbs a:hover{color:#fff}.materials-hero h1{position:relative;max-width:1100px;margin:0;font-size:clamp(48px,7.5vw,128px);line-height:1.01;letter-spacing:-.045em;font-weight:650;overflow-wrap:normal;word-break:normal;hyphens:auto}.materials-hero__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:40px 0 58px}.materials-hero__bottom p{max-width:680px;font-size:clamp(17px,1.35vw,23px);line-height:1.55;color:#c4c2bd;margin:0}.materials-scroll{width:66px;height:66px;flex:0 0 66px;border:1px solid #ffffff40;border-radius:50%;display:grid;place-items:center;transition:background .2s}.materials-scroll:hover{background:var(--materials-red)}.materials-tabs{display:flex;gap:30px;border-top:1px solid #ffffff25;overflow-x:auto;scrollbar-width:thin}.materials-tabs a{display:flex;align-items:center;gap:10px;padding:24px 0;border-bottom:2px solid transparent;white-space:nowrap;font-size:18px}.materials-tabs a[aria-current]{border-color:var(--materials-red);color:#fff}.materials-tabs a:not([aria-current]){color:#bbb}.materials-tabs span{font-size:12px;border:1px solid #ffffff30;border-radius:30px;padding:2px 7px}.materials-sheet{background:var(--materials-paper);color:var(--materials-ink)}.materials-catalog{display:grid;grid-template-columns:250px minmax(0,1fr);gap:44px;align-items:start}.materials-sidebar{position:sticky;top:120px;min-width:0}.materials-sidebar form{display:grid;gap:18px}.materials-sidebar .section-index{margin:0 0 8px}.materials-search,.materials-field{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:600}.materials-search input,.materials-field select{appearance:auto;width:100%;min-width:0;border:1px solid #c7c6c0;border-radius:10px;background:#faf9f5;padding:12px 10px;color:var(--materials-ink);font:inherit;font-size:15px;line-height:1.4;font-weight:400}.materials-search input:focus,.materials-field select:focus{outline:2px solid var(--materials-red);outline-offset:2px}.materials-filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.materials-filter-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:10px;padding:14px;background:var(--materials-ink);color:#fff;cursor:pointer;font-size:15px;transition:background .2s}.materials-filter-submit:hover{background:var(--materials-red)}.materials-reset{font-size:14px;text-decoration:underline;text-underline-offset:4px}.materials-results{min-width:0}.materials-results__head{display:flex;justify-content:space-between;gap:24px;align-items:baseline;margin:0 0 28px}.materials-results__head h2{font-size:clamp(25px,2.7vw,44px);line-height:1.1;letter-spacing:-.035em;margin:0}.materials-results__head p{font-size:13px;white-space:nowrap;margin:0;color:#666}.materials-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.material-card{min-width:0;display:flex;flex-direction:column;border:1px solid #d6d4ce;border-radius:20px;overflow:hidden;background:#fbfaf6;transition:transform .28s,border-color .28s,box-shadow .28s}.material-card:hover{transform:translateY(-5px);border-color:#d9364f88;box-shadow:0 12px 28px #1013170b}.material-card__image{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;aspect-ratio:4/3;overflow:hidden;background:#e5e3dc;color:#777;font-size:14px}.material-card__image>svg{width:70px;height:70px;color:var(--materials-red)}.material-card__image img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}.material-card:hover .material-card__image img{transform:scale(1.035)}.material-card__image-arrow{position:absolute;right:14px;bottom:14px;border-radius:50%;width:38px;height:38px;background:#fbfaf6;display:grid;place-items:center;color:var(--materials-ink)}.material-card__body{padding:24px;display:flex;flex-direction:column;flex:1;min-width:0}.material-card__category{font-size:11px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:#8b303d;margin:0 0 12px}.material-card h3{font-size:clamp(21px,1.65vw,28px);font-weight:600;line-height:1.15;letter-spacing:-.025em;margin:0 0 15px;overflow-wrap:break-word;word-break:normal;hyphens:auto}.material-card__description{font-size:15px;line-height:1.65;color:#636568;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 20px}.material-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}.material-card__tags span{font-size:11px;border:1px solid #ddd9d1;border-radius:6px;padding:4px 7px}.material-card footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid #d6d4ce}.material-card footer a,.material-card footer button{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0;color:var(--materials-ink);font-size:14px;font-weight:600;cursor:pointer;transition:color .2s}.material-card footer a:hover,.material-card footer button:hover{color:var(--materials-red)}.material-card footer svg{width:20px;height:20px}.material-card__source{font-size:11px;color:#777;margin-top:14px;text-decoration:underline;text-underline-offset:3px}.material-card--prompt{min-height:350px}.material-card__prompt-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 30px}.material-card__prompt-top svg{width:42px;height:42px;color:var(--materials-red)}.material-card__prompt-top span{font-size:12px;color:#999}.material-card--prompt .material-card__description{-webkit-line-clamp:4}.material-card--prompt:hover{background:white}.is-copied{color:var(--materials-red)!important}.materials-pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin:42px 0 0;font-size:14px}.materials-pagination a{padding:12px 18px;border:1px solid #c4c0b8;border-radius:9px;transition:background .2s}.materials-pagination a:hover{background:#fff}.materials-pagination [aria-disabled]{color:#999}.materials-note{font-size:12px;color:#787878;line-height:1.6;margin:40px 0 0;max-width:740px}.materials-empty{grid-column:1/-1;border:1px dashed #bcb9b0;border-radius:20px;padding:60px 25px;text-align:center}.materials-empty svg{width:45px;height:45px;margin:0 auto 20px}.materials-empty h3{font-size:27px;margin:0 0 18px}.materials-empty p{font-size:17px;line-height:1.5}.materials-empty a{text-decoration:underline}.materials-direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:48px}.materials-direction{position:relative;min-width:0;display:flex;flex-direction:column;padding:44px;border-radius:28px;border:1px solid #d1cec5;background:#faf9f3;overflow:hidden;transition:transform .3s,background .3s}.materials-direction:hover{transform:translateY(-6px);background:#fff}.materials-direction--red{background:var(--materials-red);color:#fff;border-color:var(--materials-red)}.materials-direction--red:hover{background:#bf2941}.materials-direction__top,.materials-direction__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.materials-direction__top>svg{width:48px;height:48px}.materials-direction h2{font-size:clamp(34px,4vw,62px);letter-spacing:-.04em;line-height:1.08;margin:26px 0 18px}.materials-direction p{font-size:18px;line-height:1.6;max-width:430px;margin:0 0 40px}.materials-direction__bottom{margin-top:auto;border-top:1px solid currentColor;padding-top:22px}.materials-direction__art{display:flex;align-items:center;justify-content:center;gap:14px;padding:50px 0 10px}.materials-direction__art span{width:25%;height:105px;border:1px solid #c3beb1;border-radius:10px;background:linear-gradient(#101317 30%,#e9e5db 30%,#e9e5db 33%,#fff 33%);box-shadow:0 10px 20px #10131710;transform:rotate(-8deg)}.materials-direction__art span:nth-child(2){height:140px;transform:rotate(1deg);background:linear-gradient(#d9364f 40%,#fff 40%)}.materials-direction__art span:nth-child(3){transform:rotate(9deg)}.materials-direction__lines{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:10px;align-items:center;min-height:210px;font-size:clamp(17px,1.8vw,27px)}.materials-direction__lines span{padding:25px 10px;border:1px solid #ffffff70;border-radius:12px;text-align:center}.materials-direction__lines i{width:15px;height:1px;background:#ffffff90}.material-prompt-dialog{position:fixed;inset:0;margin:auto;width:min(900px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:22px;background:#f5f3ec;color:#121519;box-shadow:0 40px 100px #0006;overflow-y:auto;overscroll-behavior:contain}.material-prompt-dialog::backdrop{background:#050608b8;backdrop-filter:blur(5px)}.material-prompt-dialog__head{display:flex;justify-content:space-between;gap:24px;padding:32px 32px 20px}.material-prompt-dialog__head h2{font-size:clamp(26px,3vw,40px);line-height:1.15;letter-spacing:-.025em;margin:12px 0 0;overflow-wrap:break-word}.material-prompt-dialog__head>button{width:42px;height:42px;flex:0 0 42px;border:1px solid #ccc;background:transparent;border-radius:50%;font-size:29px;cursor:pointer;line-height:1}.material-prompt-dialog pre{white-space:pre-wrap;overflow-wrap:break-word;font-family:inherit;font-size:16px;line-height:1.75;padding:0 32px 25px;margin:0;max-width:100%}.material-prompt-dialog__bottom{position:sticky;bottom:0;background:#f5f3ec;display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:20px 32px;border-top:1px solid #d9d4c9}.material-prompt-dialog__bottom button{padding:14px 22px;border:0;border-radius:10px;background:var(--materials-red,#d9364f);color:white;font-size:16px;cursor:pointer}.material-prompt-dialog__bottom p{font-size:13px;line-height:1.4;margin:0;flex:1;min-width:180px}.materials-page a:focus-visible,.materials-page button:focus-visible,.material-prompt-dialog button:focus-visible{outline:2px solid var(--materials-red,#d9364f);outline-offset:4px}@media(max-width:1250px){.materials-catalog{grid-template-columns:220px minmax(0,1fr);gap:25px}.materials-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-card__body{padding:22px}}@media(max-width:850px){.materials-catalog{grid-template-columns:1fr}.materials-sidebar{position:static}.materials-sidebar form{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.materials-sidebar .section-index,.materials-search{grid-column:1/-1}.materials-search input{font-size:16px}.materials-reset{align-self:center}.materials-direction{padding:30px}.materials-direction__lines{font-size:17px;gap:6px}.materials-direction__lines i{width:8px}}@media(max-width:600px){.materials-hero{padding-top:calc(var(--header-h,76px) + 30px)}.materials-hero h1{font-size:clamp(39px,10.5vw,62px);max-width:100%}.materials-hero__wave{width:100%;height:300px;right:-30%;opacity:.45}.materials-hero__bottom{margin:28px 0 36px;align-items:center;gap:20px}.materials-hero__bottom p{font-size:16px}.materials-scroll{width:45px;height:45px;flex-basis:45px}.materials-tabs{gap:22px}.materials-tabs a{font-size:16px;padding:20px 0}.materials-sheet{padding-top:42px;padding-bottom:48px}.materials-card-grid{grid-template-columns:1fr;gap:20px}.material-card--prompt{min-height:310px}.material-card h3{font-size:26px}.material-card__description{font-size:16px}.material-card__body{padding:25px}.materials-filter-pair{grid-column:1/-1}.materials-field select{font-size:14px}.materials-filter-submit{grid-column:1/-1}.materials-reset{grid-column:1/-1}.materials-results__head{gap:12px;margin-top:12px}.materials-results__head h2{font-size:28px}.materials-results__head p{font-size:12px}.materials-direction-grid{grid-template-columns:1fr;gap:20px}.materials-direction{padding:28px}.materials-direction h2{font-size:43px}.materials-direction p{font-size:17px}.material-prompt-dialog__head{padding:24px 20px 18px}.material-prompt-dialog pre{padding:0 20px 20px;font-size:15px}.material-prompt-dialog__bottom{padding:16px 20px}.material-prompt-dialog__bottom button{width:100%}.material-prompt-dialog__bottom p{min-width:0}.materials-breadcrumbs{font-size:10px}}@media(prefers-reduced-motion:reduce){.materials-page *{transition:none!important;scroll-behavior:auto!important}.material-card:hover,.materials-direction:hover{transform:none}.materials-hero__wave{display:none}}
/* Collection pages */
.materials-hero{min-height:90svh;display:flex;align-items:flex-end;padding-top:calc(var(--header-h,96px) + 45px)}
.materials-hero>.container{flex:0 0 auto}
.materials-hero__composition{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(220px,.8fr);gap:36px;align-items:center;margin:50px 0 35px}
.materials-hero__composition>div{min-width:0}.materials-hero h1{font-size:clamp(40px,5.6vw,88px);max-width:1100px;text-wrap:balance;line-height:1.07}
.materials-hero__bottom{margin:32px 0 20px}.materials-hero__composition>.editorial-art{width:100%;max-width:370px;justify-self:center}
.materials-search span{font-size:15px}.materials-category-head{margin-top:28px}.materials-category-head h2{font-size:22px;margin:0 0 14px}.materials-category-head input{width:100%;border:1px solid #c7c6c0;border-radius:10px;padding:12px;background:#faf9f5;font:inherit;font-size:15px;color:#101317}.materials-categories{display:grid;gap:7px;margin-top:16px}.materials-categories a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-radius:10px;font-size:16px;line-height:1.45;border:1px solid transparent;transition:background .2s,color .2s}.materials-categories a:hover{background:#e6e3db}.materials-categories a[aria-current]{background:#d9364f;color:white}.materials-categories small{font-size:12px;opacity:.7;flex-shrink:0}.materials-categories a[hidden]{display:none}.materials-category-head input:focus-visible{outline:2px solid #d9364f;outline-offset:2px}
.material-card footer{flex-wrap:wrap;gap:8px}.material-card footer .material-button,.material-card footer [data-prompt-copy]{justify-content:center;padding:11px 14px;border:1px solid #c8c5bb;border-radius:10px;background:#fbfaf6;font-size:14px;line-height:1.4;min-height:44px}.material-card footer .material-button--primary{background:#d9364f;color:#fff;border-color:#d9364f}.material-card footer .material-button:hover,.material-card footer [data-prompt-copy]:hover{background:#e8e5dd;color:#101317}.material-card footer .material-button--primary:hover{background:#b9243b;color:white}
.materials-note{font-size:11px;max-width:700px;margin:32px auto 0;text-align:center;line-height:1.6}.materials-seo{background:#f1efe8;color:#101317}.materials-seo .service-copy{max-width:1200px}.materials-seo .service-copy h2{font-size:clamp(28px,3.3vw,54px);line-height:1.15;scroll-margin-top:120px}.materials-seo .service-copy h3{font-size:clamp(23px,2.2vw,35px);line-height:1.25;scroll-margin-top:120px}.materials-seo .service-copy :is(p,li){font-size:clamp(17px,1.35vw,21px);line-height:1.7}.materials-seo .article-toc{max-width:1200px}.materials-seo .article-toc li.material-toc-sub{padding-left:28px;font-size:.92em}.material-faq{margin-top:28px}.materials-status{font-size:16px;line-height:1.5;padding:0 0 25px}.materials-status:empty{display:none}.materials-status a{text-decoration:underline}.materials-sheet{scroll-margin-top:96px}.materials-sheet[aria-busy]{opacity:.6;transition:opacity .15s}
@media(min-width:1400px){.materials-catalog{grid-template-columns:250px minmax(0,1fr);gap:32px}.materials-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.materials-hero__composition{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.materials-hero h1{font-size:clamp(40px,5.6vw,66px)}}
@media(max-width:850px){.materials-hero__composition{grid-template-columns:1fr;position:relative;margin-top:36px}.materials-hero__composition>.editorial-art{width:150px;justify-self:start;margin-top:0}.materials-hero{min-height:auto}.materials-sidebar form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.materials-search{grid-column:auto}.materials-filter-submit{width:auto;padding:13px 22px}.materials-category-head{margin-top:22px;max-width:420px}.materials-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-categories a{font-size:16px}.materials-tabs{gap:20px}.materials-tabs a{font-size:16px;white-space:normal}.materials-hero h1{font-size:clamp(37px,6.5vw,58px)}.materials-hero__bottom{margin-bottom:0}}
@media(max-width:560px){.materials-card-grid{grid-template-columns:1fr}.materials-categories{grid-template-columns:1fr}.materials-categories a{padding:12px 14px}.materials-category-head h2{font-size:22px}.materials-hero{padding-top:calc(var(--header-h,80px) + 26px)}.materials-hero__composition>.editorial-art{width:120px}.materials-hero h1{font-size:clamp(31px,8.6vw,43px);hyphens:auto}.materials-hero__composition{gap:18px;margin-bottom:25px}.materials-results__head{flex-wrap:wrap;gap:10px}.material-card__body{padding:25px}.material-card h3{font-size:25px}.material-card__description{font-size:16px}.material-card--prompt{min-height:320px}.materials-seo .article-toc li.material-toc-sub{padding-left:14px}.materials-search input{font-size:16px}.materials-hero__bottom{gap:16px}.materials-scroll{width:48px;height:48px;flex-basis:48px}}
@media(prefers-reduced-motion:reduce){.material-card,.material-card__image img{transition:none;transform:none!important}}
.material-table-wrap{overflow-x:auto;max-width:100%;margin:28px 0}.materials-seo table{width:100%;border-collapse:collapse;font-size:17px;line-height:1.5}.materials-seo th,.materials-seo td{padding:16px;border:1px solid #d4d0c6;text-align:left;vertical-align:top}.materials-seo th{background:#e8e5dd;font-weight:600}.materials-seo tr:nth-child(even){background:#f7f5ef}

.materials-access-note{font-size:16px;line-height:1.55;margin:0 0 28px;max-width:780px;color:#5b5c60}.material-card footer .material-button{white-space:normal;text-align:center}

.material-card footer .material-button--telegram{background:#101317;border-color:#101317;color:#fff}.material-card footer .material-button--telegram img{width:30px;height:28px;flex:0 0 30px;object-fit:contain}.material-card footer .material-button--telegram:hover{background:#252a33;color:#fff}

/* Equal card actions */
.material-card footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
.material-card footer .material-button,.material-card footer [data-prompt-copy]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:56px;min-height:56px;min-width:0;margin:0;padding:8px 10px;font-size:14px;font-weight:600;line-height:1.25;gap:8px;text-align:center;white-space:normal;border-radius:10px;transition:background .2s,color .2s,border-color .2s}
.material-card footer .material-button:only-child{grid-column:1/-1}
.material-card footer .material-button span{min-width:0;word-break:normal;overflow-wrap:normal}
.material-card footer [data-prompt-copy] svg{flex:0 0 20px;width:20px;height:20px}
.material-card footer .material-button--telegram img{flex:0 0 26px;width:26px;height:26px}
@media(max-width:560px){.material-card footer{grid-template-columns:1fr}.material-card footer .material-button,.material-card footer [data-prompt-copy]{height:52px;min-height:52px;font-size:15px}}
