/*
Theme Name: SVARKA.EXPERT
Description: Індустріальна блокова тема SVARKA.EXPERT.
Version: 1.2.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: svarka-expert
License: GPL-2.0-or-later
*/
:root {
  --se-ink: #151d21;
  --se-dark: #151d21;
  --se-orange: #ff6900;
  --se-rule: #c7cbc5;
  --se-paper: #f4f3ef;
  --se-width: min(91.5vw, 1344px);
}
html { scroll-padding-top: 1.5rem; }
*, *::after, *::before { box-sizing: border-box; }
body { margin: 0; }
body, input, textarea, select, button { font-family: Arial, "Helvetica Neue", sans-serif; }
:where(a, input, button, textarea, select, summary):focus-visible { outline: 3px solid #00759a; outline-offset: 4px; }
:where(.se-header,.se-footer,.se-hero) :where(a,button):focus-visible { outline-color: #ffc06f; }
a { text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .16em; }
img { height: auto; max-width: 100%; }
.wp-site-blocks > :where(header,main,footer) { margin-block-start: 0; }
.se-header { background: var(--se-dark); color: white; border-bottom: 1px solid #435050; }
.se-headin { width: var(--se-width); margin: auto; min-height: 80px; gap: 2rem; }
.se-brand { font-size: clamp(1.16rem,2vw,1.65rem); line-height: 1; letter-spacing: -.07em; font-weight: 900; white-space: nowrap; margin: 0; }
.se-brand a { text-decoration: none; }
.se-brand span { color: var(--se-orange); }
.se-brand sup { vertical-align: top; font-size: .43em; letter-spacing: 0; padding-left: .13em; }
.se-nav { font-size: .91rem; font-weight: 650; }
.se-nav .wp-block-navigation__container { gap: clamp(.72rem,1.65vw,1.65rem); }
.se-nav .wp-block-navigation-item a:hover, .se-footer nav a:hover { text-decoration: underline; text-underline-offset: .32em; }
.se-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--se-dark); color: white; padding: 2rem; }
.se-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.3rem; }
.se-front, .se-front > .entry-content, .se-front > .wp-block-post-content { max-width: none !important; margin-block-start: 0; }
.se-front .wp-block-post-content > .alignfull { margin: 0; }
.se-main { min-height: 56vh; padding: clamp(2.5rem,6vw,5.8rem) max(4.25vw,1rem); }
.se-main > * { margin-inline: auto; }
.se-main .se-title { font-size: clamp(2.5rem,5.3vw,5rem); margin-top: 1.2rem; margin-bottom: .6em; max-width: 22ch; }
.se-main .entry-content, .se-main .wp-block-post-content { margin-top: 1.5rem; }
.se-main h2 { font-size: clamp(1.6rem,3vw,2.55rem); margin-top: 1.55em; }
.se-main h3 { font-size: 1.35rem; margin-top: 1.35em; }
.se-main :where(p,li) { overflow-wrap: anywhere; }
.se-main .wp-block-post-template { padding: 0; }
.se-main :where(input:not([type="radio"]):not([type="checkbox"]),select,textarea) {
  max-width: 100%; padding: .65rem .8rem; border-radius: 2px; border: 1px solid #69716f; font-size: 1rem; background: #fff; color: #202628;
}
.se-main :where(button[type="submit"],input[type="submit"],.wp-element-button) { background: #20292d; color: white; font-weight: bold; cursor: pointer; border: 0; padding: .85rem 1.15rem; }
.se-main :where(form,fieldset) { max-width: 100%; min-width: 0; }
.se-main details { padding: .95rem 0; border-block-start: 1px solid var(--se-rule); }
.se-main summary { cursor: pointer; font-weight: bold; }
.se-main :where(.wp-block-table,table) { max-width: 100%; }
.se-main .wp-block-table { overflow-x: auto; }
.se-hero { background: var(--se-dark); color: #f9f8f3; overflow: clip; }
.se-hero-in { width: var(--se-width); margin: 0 auto; padding-block: clamp(3rem,6.5vw,6.9rem) clamp(2.6rem,6vw,6rem); }
.se-hero-layout { display: grid !important; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center !important; gap: clamp(2rem,4vw,4.5rem); margin: 0; }
.se-hero-layout > * { min-width: 0; }
.se-kicker { margin: 0; color: #a9b5b3; text-transform: uppercase; font-family: Consolas, monospace; font-size: .78rem; line-height: 1.45; letter-spacing: .12em; }
.se-kicker::before { content: ""; display: inline-block; width: 1.8rem; height: 2px; background: var(--se-orange); vertical-align: middle; margin-right: .65rem; }
.se-hero h1 { margin: .34em 0 .32em; font-size: clamp(3.4rem,6.15vw,6.9rem); max-width: 13ch; color: #fffdf6; letter-spacing: -.065em; font-weight: 750; line-height: .99; }
.se-hero .se-lede { color: #d0d7d4; font-size: clamp(1.01rem,1.45vw,1.28rem); line-height: 1.57; max-width: 46ch; }
.se-hero .wp-block-buttons { gap: .65rem; margin-top: 1.8rem; align-items: stretch; }
.wp-block-button__link { border-radius: 2px; }
.se-hero .is-style-outline .wp-block-button__link { border: 1px solid #7d8988; color: white; padding: calc(.85em - 1px) calc(1.25em - 1px); }
.wp-block-button a:hover { filter: brightness(1.09); }
.se-hero .se-plate { margin: 0; padding: 1.2rem clamp(1.1rem,2.25vw,2.3rem) 1.15rem; position: relative; border: 1px solid #46575a; color: #b8ccc9; background: linear-gradient(110deg,#263438,#1b262a 75%); box-shadow: inset 0 0 50px #151c2044; }
.se-plate::before,.se-plate::after { content:""; width: 9px; height: 9px; position: absolute; border-color: #a6bbb5; border-style: solid; }
.se-plate::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.se-plate::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.se-plate-tag,.se-plate figcaption { display: block; margin: 0; font: .72rem/1.4 Consolas, monospace; letter-spacing: .04em; }
.se-plate-tag { padding-bottom: .7rem; border-bottom: 1px solid #526165; color: #d6dfdb; }
.se-drawing { height: clamp(140px,15.5vw,230px); position: relative; overflow: hidden; background-image: linear-gradient(#7ba6a619 1px,transparent 1px), linear-gradient(90deg,#7ba6a619 1px,transparent 1px); background-size: 22px 22px; }
.se-drawing::before { content:""; position:absolute; inset:50% 4% auto; border-top:1px dashed #7c9993; }
.se-drawing::after { content:""; position:absolute; inset:7% auto 6% 50%; border-left:1px dashed #a8b9b474; }
.se-stock,.se-bead { display:block; position:absolute; inset:42% auto auto 8%; width:43%; height:24%; background:repeating-linear-gradient(128deg,#adbcb8 0px,#adbcb8 2px,#82958f 2px,#82958f 9px); }
.se-stock-left { clip-path: polygon(0 0,73% 0,100% 100%,0 100%); }
.se-stock-right { left:auto; right:8%; clip-path: polygon(27% 0,100% 0,100% 100%,0 100%); }
.se-bead { inset:38% auto auto 38%; width:24%; height:29%; background:repeating-linear-gradient(70deg,#ed752c 0px,#ed752c 3px,#ff9e54 3px,#ff9e54 7px); clip-path:polygon(0 15%,15% 6%,30% 1%,70% 1%,85% 6%,100% 15%,55% 95%,50% 100%,45% 95%); }
.se-plate figcaption { padding-top: .65rem; border-top: 1px solid #526165; }
.se-plate figcaption i { display:inline-block; width:.65rem; height:.65rem; background: #ff893b; margin: 0 .35rem 0 .12rem; }
.se-strip { border-bottom: 1px solid var(--se-rule); background: #e8e9e2; }
.se-strip-in { width: var(--se-width); margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.se-strip-in > p { margin: 0; padding: 1.35rem clamp(.7rem,2.2vw,1.9rem); font-size: .91rem; line-height: 1.4; border-inline-end: 1px solid var(--se-rule); }
.se-strip-in > p:first-child { padding-inline-start: 0; }
.se-strip-in > p:last-child { border: 0; }
.se-strip-in strong { display: block; font-size: 1.07rem; }
.se-section { width: var(--se-width); margin: auto; padding-block: clamp(3.8rem,6vw,6.1rem) 1rem; }
.se-section h2 { font-size: clamp(2.2rem,4.4vw,4.3rem); margin: 0 0 .55em; }
.se-section .se-intro { font-size:1.1rem; max-width:52ch; margin-bottom:2rem; }
.se-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid #bac2bb; background: #bac2bb; }
.se-grid .se-card { margin: 0; background: #faf9f4; padding: clamp(1.15rem,2.2vw,2.4rem); min-height: 12rem; transition: background-color .18s; position: relative; }
.se-card:focus-within,.se-card:hover { background: #fff; }
.se-card h3 { font-size: clamp(1.35rem,2.1vw,1.9rem); margin: .15em 0 .65em; }
.se-card h3 a { text-decoration: none; }
.se-card h3 a::after { content:""; position:absolute; inset:0; }
.se-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.se-card p { font-size: .965rem; color: #465051; margin: 0; }
.se-band { padding: clamp(3rem,5vw,5rem) 0; margin: 2.8rem 0 0; background: #e1e5df; border-top: 1px solid var(--se-rule); }
.se-band-in { width: var(--se-width); margin: auto; }
.se-band h2 { margin: 0 0 .6em; max-width: 25ch; font-size: clamp(2rem,4vw,4rem); }
.se-band p { max-width: 58ch; }
.se-footer { background: var(--se-dark); color: #ecf0ea; padding: 2.8rem 0; }
.se-footer-in { width: var(--se-width); margin: auto; }
.se-footer-in > * { max-width: none !important; }
.se-footer-in > p:not(.se-brand) { color: #b4c2bd; font-size: .96rem; }
.se-footer nav { border-top: 1px solid #485554; padding-top: 1.3rem; font-size: .89rem; }
.se-footer nav .wp-block-navigation__container { gap: .65rem 1.35rem; }
.se-quick { display: none !important; }
@media (max-width: 980px) and (min-width: 600px) {
  .se-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .se-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 820px) {
  .se-hero-layout { grid-template-columns: minmax(0,1fr); }
  .se-hero h1 { font-size: clamp(3.3rem,10vw,5.8rem); }
  .se-hero .se-plate { max-width: 580px; }
  .se-drawing { height: 150px; }
  .se-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .se-headin { min-height: 62px; }
  .se-hero-in { padding-top: 2.7rem; }
  .se-hero h1 { font-size: clamp(2.75rem,11.5vw,4rem); }
  .se-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .se-hero .wp-block-button { width: 100%; }
  .se-hero .wp-block-button__link { display: block; }
  .se-strip-in { grid-template-columns: 1fr; padding: .4rem 0; }
  .se-strip-in > p { padding: .6rem 0; border-inline-end: none; border-bottom: 1px solid var(--se-rule); }
  .se-strip-in strong { display: inline; margin-inline-end: .3em; }
  .se-grid { grid-template-columns: 1fr; }
  .se-grid .se-card { min-height: 0; }
  .se-footer { padding-bottom: calc(6.7rem + env(safe-area-inset-bottom)); }
  .se-quick { display: flex !important; position: fixed; margin: 0; inset: auto 0 0; z-index: 6; background: #f5f3ed; color: #131b1c; border-top: 1px solid #9ba8a2; padding: .48rem .7rem calc(.48rem + env(safe-area-inset-bottom)); }
  .se-quick p { margin: 0; }
  .se-quick a { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; font-weight: 700; border-radius: 2px; padding: .45rem .85rem; }
  .se-quick p:last-child a { background: var(--se-orange); }
}
@media (prefers-reduced-motion: reduce) { .se-grid .se-card { transition: none; } }
@media print {
  .se-header nav,.se-footer,.wp-block-buttons,.se-quick { display: none !important; }
  .se-main { padding: 0; }
}
