/* Kaszmirowe Studio 2.0 — architectural, calm, contemporary. */
:root,.editor-styles-wrapper {
  --kr-bg:#eee8e0; --kr-paper:#fbf9f6; --kr-ink:#252c28;
  --kr-plum:#31493d; --kr-muted:#69716b; --kr-line:#d8dcd5;
  --kr-heading:Manrope,Arial,sans-serif; --kr-body:Manrope,Arial,sans-serif;
  --kr-wide:1320px; --kr-text:800px; --kr-gutter:clamp(22px,4vw,64px);
}
body.kr-site { background:var(--kr-paper); font-size:16px; line-height:1.75; }
.kr-site :is(h1,h2,h3,h4),.editor-styles-wrapper :is(h1,h2,h3,h4) {
  font-family:var(--kr-heading); font-weight:500; letter-spacing:-.045em; line-height:1.16;
}
.kr-site h1 { font-size:clamp(38px,4.7vw,70px); }
.kr-site h2 { font-size:clamp(29px,3.2vw,44px); }
.kr-site h3 { font-size:clamp(21px,2vw,28px); }
.kr-site :focus-visible { outline:3px solid #9a663f; outline-offset:5px; }
.kr-header { background:var(--kr-paper); border-bottom:1px solid #252c2812; }
.kr-header-inner { min-height:88px; padding-block:15px; max-width:1448px; gap:30px; }
.kr-brand { gap:13px; }
.kr-symbol { width:43px; height:43px; filter:grayscale(1); }
.kr-custom-logo { max-height:52px; max-width:240px; }
.kr-wordmark { font-family:var(--kr-body); font-size:23px; font-weight:600; letter-spacing:-1.1px; }
.kr-wordmark small { font-size:8px; font-weight:500; letter-spacing:.2em; margin-top:7px; }
.kr-menu { gap:28px; }
.kr-menu>li>a { font-size:13px; font-weight:500; padding:12px 0; }
.kr-header-contact { color:#fff!important; background:var(--kr-plum); border:0; border-radius:3px; padding:13px 18px; font-size:12px; gap:22px; }
.kr-header-contact:hover { background:#24382c; }
.kr-header-contact span { font-size:19px; }
.kr-menu .sub-menu { border:1px solid var(--kr-line); box-shadow:0 16px 35px #1f302812; padding:14px 22px; }

/* Shared content system, also loaded in the block editor. */
.ks6 {
  --ks6-paper:#fbf9f6; --ks6-tint:#eee8e0; --ks6-ink:#252c28;
  --ks6-muted:#69716b; --ks6-accent:#31493d; --ks6-accent-hover:#24382c;
  --ks6-line:#d8dcd5; --ks6-serif:Manrope,Arial,sans-serif;
  --ks6-sans:Manrope,Arial,sans-serif; --ks6-gutter:clamp(22px,4vw,64px);
  font-size:16px; line-height:1.8; background:var(--ks6-paper);
}
.ks6 :is(h1,h2,h3,h4,h5,h6) { font-family:var(--ks6-sans); font-weight:500; letter-spacing:-.045em; }
.ks6 h2 { font-size:clamp(28px,3.1vw,42px); line-height:1.19; margin-bottom:24px; max-width:25ch; }
.ks6 h3 { font-size:clamp(20px,1.9vw,26px); line-height:1.3; }
.ks6 p { color:#4d574f; max-width:66ch; margin-bottom:20px; }
.ks6 .ks6-lead { font-size:18px; line-height:1.7; }
.ks6 .ks6-label,.ks6 .ks6-section-num { font-size:10px; font-weight:600; letter-spacing:.15em; color:#63766a; }
.ks6 .ks6-section-num { margin-bottom:20px; }
.ks6 .ks6-body,.kr-content>.ks6>.ks6-body { max-width:1448px; padding-inline:var(--ks6-gutter); padding-bottom:90px; }

/* A panoramic hero; existing image/text blocks remain fully editable. */
.ks6 .ks6-hero { border:0; background:#25342b; }
.ks6 .wp-block-columns.ks6-hero-inner {
  display:grid; grid-template-columns:minmax(0,1fr); min-height:660px; align-items:stretch;
  isolation:isolate; overflow:hidden;
}
.ks6 .ks6-hero-visual { grid-area:1/1; min-width:0; min-height:660px; position:relative; z-index:auto; }
.ks6 .ks6-hero-visual figure { min-height:100%; height:100%; aspect-ratio:auto; }
.ks6 .ks6-hero-visual .wp-block-image img { height:100%; width:100%; object-fit:cover; object-position:65% 56%; }
.ks6 .ks6-hero-copy {
  grid-area:1/1; z-index:1; width:100%; max-width:none; min-width:0;
  justify-content:center; padding:82px var(--ks6-gutter) 88px;
  padding-left:max(var(--ks6-gutter),calc((100% - 1320px)/2));
  background:linear-gradient(90deg,rgba(24,37,29,.89) 0%,rgba(24,37,29,.75) 34%,rgba(24,37,29,.12) 72%,rgba(24,37,29,0) 100%);
}
.ks6 .ks6-hero-copy :is(h1,h2) {
  max-width:17ch; color:#fff; margin:12px 0 25px; font-weight:500;
  font-size:clamp(40px,4.7vw,70px); line-height:1.1; letter-spacing:-.052em; text-wrap:balance;
}
.ks6 .ks6-hero-copy p { max-width:44ch; color:#edf0e9; }
.ks6 .ks6-hero-copy .ks6-label { color:#d9dfd1; font-size:10px; margin-bottom:16px; letter-spacing:.18em; }
.ks6 .ks6-hero-copy .ks6-lead { font-size:17px; line-height:1.8; max-width:47ch; }
.ks6 .ks6-hero-copy .wp-block-buttons { gap:12px; margin-top:20px; }
.ks6 .ks6-hero-copy .ks6-button .wp-block-button__link { color:#26372d; background:#fbf9f6; border-color:#fbf9f6; }
.ks6 .ks6-hero-copy .ks6-button-light .wp-block-button__link { color:#fff; background:transparent; border-color:#ffffff70; }
.ks6 .ks6-hero-copy .ks6-button .wp-block-button__link:hover { color:#25362c; background:#e5e9dc; border-color:#e5e9dc; }
.ks6 .ks6-hero-visual .ks6-photo figcaption {
  z-index:3; inset:auto 18px 13px auto; width:auto; max-width:45%; padding:5px 9px;
  color:#fff; background:#1b271eb3; border-radius:2px; font-size:10px; line-height:1.5;
}

/* Compact section navigation, progressively enhanced by studio.js. */
.ks6 .ks6-toc { margin:0; padding:24px 0; border-bottom:1px solid var(--ks6-line); }
.ks6 .ks6-toc h2 { max-width:none; font-family:var(--ks6-sans); font-size:11px; font-weight:600; letter-spacing:.12em; margin:0 0 12px; }
.ks6 .ks6-toc ul { gap:0 30px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.ks6 .ks6-toc li { font-size:12px; }
.ks6 .ks6-toc a { text-decoration:none; padding:9px 0; }
.ks6 .ks6-toc a:hover { text-decoration:underline; }
.ks6 .ks6-toc-head { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.ks6 .ks6-toc-head h2 { margin:0; }
.ks6 .ks6-toc-toggle { border:0; background:none; color:var(--ks6-accent); font:500 12px/1.5 var(--ks6-sans); padding:10px 0 10px 16px; cursor:pointer; min-height:44px; }
.ks6 .ks6-toc-toggle span { margin-left:16px; font-size:18px; }
.ks6 .ks6-toc ul[hidden] { display:none; }
.ks6 .ks6-toc.is-enhanced { padding-block:9px; }
.ks6 .ks6-toc.is-enhanced ul:not([hidden]) { padding-block:16px 12px; }

/* Reserve exactly the compact navigation height before studio.js enhances it. */
.kr-site .ks6 .ks6-toc:not(.is-enhanced):has(>h2):has(>ul) { padding-block:9px; }
.kr-site .ks6 .ks6-toc:not(.is-enhanced):has(>ul)>h2 {
  display:flex; align-items:center; min-height:47px; margin:0;
}
.kr-site .ks6 .ks6-toc:not(.is-enhanced):has(>h2)>ul { display:none; }

/* Alternating photographs and editorial text rows give long pages a rhythm. */
.ks6 .ks6-section { padding-block:clamp(44px,6vw,84px); margin:0; border-color:var(--ks6-line); }
.ks6 .wp-block-columns.ks6-split { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(36px,7vw,104px); }
.ks6 .ks6-split .ks6-photo img { aspect-ratio:5/4; border-radius:2px; }
.ks6 .ks6-photo figcaption { padding-block:9px 0; color:#768078; font-size:10px; line-height:1.6; }
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split)) {
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); column-gap:clamp(36px,7vw,104px); row-gap:0;
}
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split))>h2 { grid-column:1; grid-row:1/span 2; align-self:start; margin-top:0; }
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split))>p:not(.ks6-section-num) { grid-column:2; margin-top:0; max-width:none; }
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split))>h2+p { grid-row:1; }
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split))>h2+p+p { grid-row:2; }
.ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split))>:is(div,figure,ul,ol,table) { grid-column:1/-1; }
/* Older content may retain a section number; the layout never depends on it. */
.ks6 .ks6-section:has(>h2):has(>.ks6-section-num):not(:has(>.ks6-split))>.ks6-section-num { grid-column:1; grid-row:1; }
.ks6 .ks6-section:has(>h2):has(>.ks6-section-num):not(:has(>.ks6-split))>h2 { grid-row:2/span 2; }
.ks6 .ks6-section:has(>h2):has(>.ks6-section-num):not(:has(>.ks6-split))>h2+p { grid-row:2; }
.ks6 .ks6-section:has(>h2):has(>.ks6-section-num):not(:has(>.ks6-split))>h2+p+p { grid-row:3; }
.ks6 .ks6-card { border:0; padding:0; }
.ks6 .ks6-card h3 { font-size:24px; line-height:1.3; margin:20px 0 14px; }
.ks6 .ks6-card h3 a { color:var(--ks6-ink); text-decoration:none; }
.ks6 .ks6-card h3 a:hover { text-decoration:underline; }
.ks6 .ks6-card p { font-size:14px; line-height:1.75; }
.ks6 .ks6-card .ks6-button-light .wp-block-button__link { padding:0 0 6px; min-height:36px; border:0; border-bottom:1px solid #9da99f; border-radius:0; background:transparent; color:var(--ks6-accent); }
.ks6 .ks6-card .ks6-button-light .wp-block-button__link:hover { color:#1f3028; border-color:#1f3028; }
.ks6 .ks6-faq-grid { gap:0 46px; }
.ks6 .ks6-faq-card { border:0; border-top:1px solid var(--ks6-line); padding:26px 0; background:none; border-radius:0; }
.ks6 .ks6-faq-card h3 { font-size:20px; margin-bottom:14px; }
.ks6 .ks6-faq-card p { font-size:14px; line-height:1.8; }
.ks6 :is(.ks6-button,.ks6-button-light) .wp-block-button__link { min-height:50px; padding:14px 23px; border-radius:3px; font-size:13px; font-weight:600; }
.ks6 .ks6-cta { padding:clamp(28px,5vw,64px); margin-top:56px; background:#e7ebe2; border:1px solid #d9e0d3; border-radius:2px; }
.ks6 .ks6-cta h2 { max-width:23ch; }
.ks6 .ks6-cta .ks6-label { margin-bottom:18px; }

/* Theme views without a content banner: consistent, image-led header. */
.kr-banner { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr); min-height:430px; background:#25342b; }
.kr-banner .kr-banner-image { grid-area:1/1; min-height:430px; max-height:none; height:auto; order:initial; z-index:0; }
.kr-banner .kr-banner-copy { grid-area:1/1; position:relative; z-index:1; width:100%; min-width:0; padding:70px var(--kr-gutter); padding-left:max(var(--kr-gutter),calc((100% - 1320px)/2)); background:linear-gradient(90deg,#18251dea,#18251db0 38%,#18251d20 80%); color:#fff; }
.kr-banner .kr-banner-title { max-width:22ch; font-family:var(--kr-heading); font-size:clamp(36px,4.4vw,64px)!important; line-height:1.1!important; font-weight:500; letter-spacing:-.045em!important; color:#fff; margin-bottom:22px; }
.kr-banner .kr-eyebrow { color:#d9dfd1; font-size:10px; letter-spacing:.17em; margin-bottom:22px; }
.kr-banner-lead { color:#edf0e9; max-width:45ch; font-size:16px; }
.kr-banner-rule { display:none; }
.kr-banner-image figcaption { z-index:2; }
.kr-banner:not(:has(.kr-banner-image)) .kr-banner-copy { max-width:none; margin:0; background:#e7ebe2; color:var(--kr-ink); padding-left:max(var(--kr-gutter),calc((100% - 1320px)/2)); }
.kr-banner:not(:has(.kr-banner-image)) .kr-banner-title { color:var(--kr-ink); }
.kr-banner:not(:has(.kr-banner-image)) .kr-eyebrow { color:var(--kr-muted); }
.kr-breadcrumbs { font-size:11px; color:var(--kr-muted); }
.kr-cards { gap:48px 32px; }
.kr-card-image { border-radius:2px; margin-bottom:22px; }
.kr-site .kr-card h2 { font-size:27px; line-height:1.28; font-weight:500; }
.kr-card p { font-size:14px; line-height:1.8; }
.kr-post-navigation span { font-family:var(--kr-body); font-size:21px; line-height:1.4; }
.kr-empty h2 { font-size:clamp(28px,3.4vw,44px); }
.kr-error-number { font-family:var(--kr-body); font-weight:500; letter-spacing:-.08em; color:#a0afa2; }

/* Block footer with navigation sourced from Appearance > Menus. */
.ksf-footer,.ksf-footer.wp-block { max-width:none; width:100%; margin:0; background:#1f3028; color:#f5f3ec; }
.ksf-footer * { box-sizing:border-box; }
.ksf-footer .wp-block { max-width:none; }
.ksf-footer a { color:inherit; text-underline-offset:5px; }
.ksf-footer a:hover { color:#d5ddc8; }
.ksf-footer p { color:#c6cec5; font-size:14px; line-height:1.85; margin:0 0 14px; }
.ksf-inner { max-width:1448px; width:100%; margin:0 auto!important; padding:76px var(--kr-gutter) 24px; }
.ksf-top { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:center; gap:60px; padding-bottom:66px; border-bottom:1px solid #ffffff25; }
.ksf-footer .ksf-kicker { color:#cbd5c2; font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; margin:0 0 22px; }
.ksf-footer h2 { color:#f5f3ec; font:500 clamp(32px,4.5vw,58px)/1.13 var(--kr-body); letter-spacing:-.05em; margin:0 0 22px; max-width:18ch; }
.ksf-invitation>p:last-child { max-width:52ch; margin-bottom:0; }
.ksf-footer .ksf-actions { justify-content:flex-end; margin:0; }
.ksf-footer .wp-block-button__link { background:#edf0e3; color:#25372d; border:1px solid #edf0e3; border-radius:3px; padding:18px 24px; min-height:56px; font:600 13px/1.5 var(--kr-body); text-decoration:none; }
.ksf-footer .wp-block-button__link:hover { background:#d6dec9; color:#1f3028; border-color:#d6dec9; }
.ksf-footer .wp-block-columns.ksf-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr) minmax(0,1fr); gap:64px; margin:0; padding:54px 0; }
.ksf-grid>.wp-block-column { min-width:0; margin:0; }
.ksf-footer .ksf-brand { margin:0 0 20px; color:#fff; font:600 25px/1.25 var(--kr-body); letter-spacing:-1px; }
.ksf-brand a { text-decoration:none; }
.ksf-brand-column>p:not(.ksf-brand) { max-width:36ch; }
.ksf-footer .ksf-signature { margin-top:22px; font-size:10px; color:#aebba9; letter-spacing:.06em; }
.ksf-footer h3 { font:600 11px/1.5 var(--kr-body); text-transform:uppercase; letter-spacing:.1em; color:#aebba9; margin:0 0 23px; }
.ksf-footer .wp-block-navigation,.ksf-footer .wp-block-navigation__container { margin:0; padding:0; gap:0; align-items:flex-start; }
.ksf-footer .wp-block-navigation-item { padding:0; margin:0; }
.ksf-footer .wp-block-navigation-item__content { display:block; padding:7px 0; color:#f0f1e9; font-size:14px; text-decoration:none; }
.ksf-footer .wp-block-navigation-item__content:hover { text-decoration:underline; }
.ksf-contact a { text-decoration:none; overflow-wrap:anywhere; }
.ksf-contact a:hover { text-decoration:underline; }
.ksf-footer .ksf-phone { color:#fff; font-size:21px; font-weight:500; margin-bottom:7px; }
.ksf-contact .ksf-address { margin-top:22px; }
.ksf-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 28px; border-top:1px solid #ffffff25; padding-top:22px; }
.ksf-bottom p { color:#aebba9; margin:0; font-size:10px; }

/* Classic WordPress menus share the footer's typography and spacing. */
.ksf-footer .ksf-classic-menu { min-width:0; }
.ksf-footer .ksf-menu-list,.ksf-footer .ksf-menu-list .sub-menu { list-style:none; margin:0; padding:0; }
.ksf-footer .ksf-menu-list li { margin:0; padding:0; }
.ksf-footer .ksf-menu-list a { display:block; padding:7px 0; color:#f0f1e9; font-size:14px; line-height:1.75; text-decoration:none; overflow-wrap:anywhere; }
.ksf-footer .ksf-menu-list a:hover,.ksf-footer .ksf-menu-list .current-menu-item>a { text-decoration:underline; }
.ksf-footer .ksf-menu-list .sub-menu { margin-left:12px; padding-left:12px; border-left:1px solid #ffffff25; }
.ksf-footer .ksf-menu--legal { flex-basis:100%; }
.ksf-footer .ksf-menu--legal>.ksf-menu-list { display:flex; flex-wrap:wrap; gap:0 22px; }
.ksf-footer .ksf-menu--legal a { color:#c6cec5; font-size:11px; }
@media(max-width:540px) { .ksf-footer .ksf-menu-list a { min-height:42px; padding-block:9px; } }

/* Existing form and pricing plugins: visual integration, no data changes. */
.kr-content .wpcf7 { max-width:none; padding:clamp(24px,4vw,48px); background:#eee8e0; border-radius:2px; }
.kr-content .wpcf7 form { max-width:880px; margin:0 auto; }
.kr-content .wpcf7 label { color:#38463b; font-size:12px; font-weight:600; }
.kr-content .wpcf7 :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select) { width:100%; margin-top:8px; border:1px solid #cbd2c7; border-radius:3px; background:#fbf9f6; min-height:52px; }
.kr-content .wpcf7 textarea { min-height:150px; }
.kr-content .wpcf7 input[type=submit] { border-radius:3px!important; min-height:50px; padding:14px 28px!important; font-weight:600!important; }
.kr-site .tpg-price { --tpg-price-accent:#31493d; --tpg-price-border:#d8dcd5; font-family:var(--kr-body); }
.kr-site .tpg-price .tpg-price__frame { border:1px solid #d8dcd5; border-radius:2px; box-shadow:none; overflow-x:auto; }
.kr-site .tpg-price table { margin:0; border-collapse:collapse; }
.kr-site .tpg-price .tpg-price__table th { background:#e7ebe2; color:#25372d; font-family:var(--kr-body); }
.kr-site .tpg-price .tpg-price__table :is(th,td) { border-color:#d8dcd5; padding:21px 24px; }
.kr-site .tpg-price .tpg-price__amount { color:#25372d; font-weight:600; }
.kr-site .tpg-price .tpg-price__title { font-family:var(--kr-body); font-size:clamp(26px,2.8vw,38px); font-weight:500; }
.kr-site .tpg-price .tpg-price__note { color:#69716b; }
.kr-site .tpg-compare { --tpg-compare-accent:#31493d; max-width:100%; }

@media(min-width:1800px) {
  .ks6 .ks6-hero-copy { background:linear-gradient(90deg,#18251df0,#18251dd0 36%,#18251d20 70%,transparent); }
}
@media(max-width:1150px) {
  .kr-header-inner { gap:20px; }.kr-menu { gap:20px; }.kr-wordmark { font-size:21px; }
  .ksf-footer .wp-block-columns.ksf-grid { gap:36px; }
}
@media(max-width:900px) {
  .kr-header-inner { min-height:78px; gap:0; }.kr-header-contact { display:none; }
  .kr-nav { padding:15px 0; }.kr-menu>li>a { padding:14px 0; font-size:17px; }
  .ksf-top { grid-template-columns:1fr; gap:28px; padding-bottom:42px; }
  .ksf-footer .ksf-actions { justify-content:flex-start; }
  .ksf-footer .wp-block-columns.ksf-grid { grid-template-columns:1.15fr 1fr; }
  .ksf-brand-column { grid-column:1/-1; }
  .ksf-brand-column>p:not(.ksf-brand) { max-width:60ch; }
}
@media(max-width:781px) {
  .ks6 .wp-block-columns.ks6-hero-inner { min-height:630px; }
  .ks6 .ks6-hero-visual { min-height:630px; }
  .ks6 .ks6-hero-visual figure { height:100%; min-height:630px; aspect-ratio:auto; }
  .ks6 .ks6-hero-visual .wp-block-image img { object-position:62% center; }
  .ks6 .ks6-hero-copy { justify-content:flex-end; padding:80px var(--ks6-gutter) 62px; background:linear-gradient(0deg,#17251bf2,#17251bd9 44%,#17251d30 100%); }
  .ks6 .ks6-hero-copy :is(h1,h2) { max-width:18ch; font-size:clamp(36px,6.7vw,52px); margin:10px 0 22px; }
  .ks6 .ks6-hero-copy .ks6-lead { max-width:45ch; font-size:16px; line-height:1.7; }
  .ks6 .ks6-hero-visual .ks6-photo figcaption { max-width:calc(100% - 44px); right:22px; bottom:12px; font-size:9px; }
  .ks6 .wp-block-columns.ks6-split { grid-template-columns:minmax(0,1fr); gap:28px; }
  .ks6 .ks6-section:has(>h2):has(>p):not(:has(>.ks6-split)) { display:block; }
  .ks6 .ks6-section h2 { max-width:28ch; }
  .ks6 .ks6-toc ul { grid-template-columns:1fr 1fr; }
  .ks6 .ks6-faq-grid { grid-template-columns:minmax(0,1fr); }
  .ks6 .ks6-body,.kr-content>.ks6>.ks6-body { padding-bottom:56px; }
  .kr-banner,.kr-banner .kr-banner-image { min-height:420px; }
  .kr-banner .kr-banner-copy { padding:48px var(--kr-gutter); background:linear-gradient(90deg,#18251de8,#18251d75); }
  .kr-banner .kr-banner-title { font-size:clamp(34px,6vw,48px)!important; }
}
@media(max-width:540px) {
  .kr-header-inner { min-height:76px; padding-block:13px; }.kr-symbol { width:34px; height:34px; }.kr-brand { gap:9px; }
  .kr-wordmark { font-size:19px; letter-spacing:-.8px; }.kr-wordmark small { font-size:7px; }
  .kr-header .kr-custom-logo { max-width:195px; max-height:47px; }
  .ks6 .ks6-hero-copy .wp-block-buttons { width:100%; max-width:380px; display:grid; grid-template-columns:1fr; gap:9px; }
  .ks6 .ks6-hero-copy .wp-block-button__link { min-height:47px; padding:12px 18px; font-size:12px; }
  .ks6 .ks6-hero-copy .ks6-button-light .wp-block-button__link { border:0; min-height:38px; text-decoration:underline; text-underline-offset:5px; }
  .ks6 .ks6-hero-copy .ks6-label { font-size:9px; }
  .ks6 .ks6-toc ul { grid-template-columns:1fr; }
  .ks6 .ks6-toc-head h2 { font-size:10px; }.ks6 .ks6-toc-toggle { font-size:11px; }
  .ks6 .ks6-card h3 { font-size:22px; }
  .ksf-inner { padding-top:48px; }.ksf-footer .wp-block-columns.ksf-grid { grid-template-columns:minmax(0,1fr); gap:34px!important; padding-block:36px; }
  .ksf-brand-column { grid-column:auto; }.ksf-top { gap:26px; padding-bottom:38px; }
  .ksf-footer h2 { font-size:34px; }.ksf-footer .wp-block-button__link { padding:16px 18px; font-size:12px; }
  .ksf-footer .ksf-brand { font-size:25px; }.ksf-footer h3 { margin-bottom:15px; }
  .ksf-footer .wp-block-navigation-item__content { min-height:42px; padding-block:9px; }
  .ksf-bottom { display:block; }.ksf-bottom p+p { margin-top:9px; }
  .kr-site .tpg-price .tpg-price__table :is(th,td) { padding:16px 12px; }
}
@media(prefers-reduced-motion:reduce) { .ks6 *, .ksf-footer * { scroll-behavior:auto!important; } }
@media print { .ksf-footer { display:none; }.ks6 .ks6-hero-copy { background:none; }.ks6 .ks6-hero-copy :is(h1,h2,p) { color:#000; } }

/* 2.1 — article navigation, search views and shared Contact Form 7. */
.single.kr-site .kr-content:has(>.ks6) { padding-bottom:0; }
.single.kr-site .kr-content>.ks6>.ks6-body { padding-bottom:48px; }
.kr-site .ks-reading {
  width:100%; max-width:1448px; margin:0 auto; padding:0 var(--kr-gutter) clamp(48px,6vw,88px);
  border:0; display:flow-root;
}
.ks-reading-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:34px; border-top:1px solid var(--kr-line); margin-bottom:24px; }
.kr-site .ks-reading-heading h2 { font:500 clamp(23px,2.4vw,32px)/1.2 var(--kr-body); letter-spacing:-.035em; margin:0; }
.ks-reading a.ks-reading-all { display:inline-flex; align-items:center; gap:14px; font:500 12px/1.6 var(--kr-body); text-decoration:none; }
.ks-reading a.ks-reading-all:hover { text-decoration:underline; }
.kr-site .ks-reading-all span { font:400 20px/1 var(--kr-body); }
.ks-reading-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ks-reading a.ks-reading-card { display:flex; align-items:center; gap:25px; min-width:0; min-height:174px; padding:30px; border:1px solid #d2d9ce; border-radius:4px; background:#eee8e0; color:#25372d; text-decoration:none; transition:background .18s,border-color .18s; }
.ks-reading a.ks-reading-card:hover { background:#e6ebdf; border-color:#8d9d88; }
.ks-reading a.ks-reading-card:only-child { grid-column:1/-1; }
.ks-reading a.ks-reading-card--next { flex-direction:row-reverse; text-align:right; }
.kr-site .ks-reading .ks-reading-arrow { flex:0 0 48px; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; color:#fff; background:#31493d; font:400 24px/1 var(--kr-body); }
.kr-site .ks-reading .ks-reading-copy { display:block; min-width:0; flex:1; }
.kr-site .ks-reading .ks-reading-label { display:block; margin-bottom:12px; font:600 10px/1.6 var(--kr-body); text-transform:uppercase; letter-spacing:.13em; color:#5e6b5d; }
.kr-site .ks-reading .ks-reading-title { display:block; font:500 clamp(19px,1.7vw,24px)/1.35 var(--kr-body); letter-spacing:-.035em; overflow-wrap:anywhere; }

/* A compact search banner keeps the search field and first result in view. */
.ks-search-hero { background:#e7ebe2; border-bottom:1px solid #d2d9ce; }
.ks-search-hero-inner { max-width:1448px; margin:auto; padding:52px var(--kr-gutter) 48px; }
.kr-site .ks-search-eyebrow { font:600 10px/1.6 var(--kr-body); letter-spacing:.14em; text-transform:uppercase; color:#63725f; margin:0 0 15px; }
.kr-site .ks-search-hero h1 { font-size:clamp(34px,4vw,56px); line-height:1.15; margin:0 0 18px; }
.kr-site .ks-search-intro { font-size:15px; line-height:1.75; color:#52604f; max-width:65ch; margin:0 0 28px; }
.kr-site .kr-search-form { border:1px solid #bac6b4; border-radius:4px; padding:5px; gap:6px; background:#fbf9f6; color:#25372d; max-width:100%; }
.kr-site .kr-search-form input[type=search] { font:400 16px/1.5 var(--kr-body); min-height:48px; padding:12px 16px; border:0; border-radius:2px; color:inherit; }
.kr-site .kr-search-form input::placeholder { color:#687560; opacity:1; }
.kr-site .kr-search-form button { display:flex; gap:11px; align-items:center; justify-content:center; width:auto; min-width:112px; height:48px; padding:10px 17px; border:0; border-radius:3px; background:#31493d!important; color:#fff; font:600 12px/1.4 var(--kr-body); }
.kr-site .kr-search-form button:hover { background:#22382b!important; }
.kr-site .kr-search-form button svg { flex-shrink:0; }
.ks-search-hero .kr-search-form { width:760px; }
.kr-footer .kr-search-form { color:#25372d; }
.kr-footer .kr-search-form button { min-width:48px; padding:10px; }
.kr-footer .ks-search-submit-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.ks-search-content { width:100%; max-width:1448px; margin:0 auto; padding:40px var(--kr-gutter) 80px; }
.ks-results-summary { display:flex; align-items:baseline; justify-content:space-between; gap:18px 40px; padding-bottom:24px; border-bottom:1px solid #d8dcd5; }
.kr-site .ks-results-summary h2 { margin:0; font-size:clamp(22px,2.4vw,30px); line-height:1.4; overflow-wrap:anywhere; }
.ks-results-summary p { flex-shrink:0; color:#65715f; font-size:12px; margin:0; }
.ks-results-summary strong { color:#25372d; }
.ks-search-results { list-style:none; padding:0; margin:0; }
.ks-search-results>li { padding:0; margin:0; border-bottom:1px solid #d8dcd5; }
.ks-search-result { display:grid; grid-template-columns:minmax(0,1fr) 48px; align-items:center; gap:30px; padding:30px 0; text-decoration:none; color:#25372d; }
.ks-search-result.has-image { grid-template-columns:200px minmax(0,1fr) 48px; }
.ks-result-image { aspect-ratio:4/3; margin:0; overflow:hidden; border-radius:3px; }
.ks-result-image img { width:100%; height:100%; object-fit:cover; }
.ks-result-copy { min-width:0; }
.ks-result-kind { display:block; font:600 10px/1.5 var(--kr-body); text-transform:uppercase; letter-spacing:.12em; color:#65715f; margin-bottom:10px; }
.kr-site .ks-result-copy h3 { font-size:clamp(22px,2.2vw,29px); line-height:1.3; margin:0 0 12px; overflow-wrap:anywhere; }
.kr-site .ks-result-copy p { color:#576152; font-size:14px; line-height:1.8; margin:0; max-width:82ch; }
.ks-result-arrow { display:grid; place-items:center; width:46px; height:46px; border:1px solid #becab7; border-radius:50%; font-size:24px; transition:background .18s,color .18s; }
.ks-search-result:hover h3 { text-decoration:underline; text-underline-offset:5px; }
.ks-search-result:hover .ks-result-arrow { color:#fff; background:#31493d; border-color:#31493d; }
.ks-search-empty { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:start; gap:28px; max-width:940px; padding:26px 0 20px; }
.ks-search-empty-icon { display:grid; place-items:center; width:72px; height:72px; border-radius:50%; border:1px solid #c9d2c1; color:#31493d; background:#edf0e7; }
.kr-site .ks-search-empty h2 { font-size:clamp(27px,3vw,38px); line-height:1.2; margin:0 0 20px; }
.ks-search-empty p:not(.ks-search-eyebrow) { font-size:15px; line-height:1.8; max-width:65ch; color:#596451; overflow-wrap:anywhere; margin:0 0 26px; }
.ks-search-shortcuts { display:flex; flex-wrap:wrap; gap:10px; }
.ks-search-shortcuts a { display:inline-flex; gap:18px; align-items:center; min-height:46px; padding:11px 16px; border:1px solid #c9d2c1; border-radius:3px; font:500 12px/1.6 var(--kr-body); color:#31493d; text-decoration:none; }
.ks-search-shortcuts a:hover { background:#e7ebe2; border-color:#8e9f86; }
.ks-search-content .navigation.pagination { margin-top:34px; padding-top:0; border:0; }
.ks-search-content .pagination .page-numbers { border-radius:3px; min-width:44px; min-height:44px; }

/* Shared CF7 styling: preserved fields, validation and delivery behaviour. */
.kr-site .wpcf7 { max-width:none; width:100%; padding:clamp(24px,4vw,52px); background:#eee8e0; border:1px solid #d9d8cf; border-radius:4px; }
.kr-site .wpcf7 .wpcf7-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 28px; width:100%; max-width:none; margin:0; }
.kr-site .wpcf7 .wpcf7-form>* { grid-column:1/-1; min-width:0; }
.kr-site .wpcf7 .wpcf7-form>p { width:100%; max-width:none; padding:0; margin:0; }
.kr-site .wpcf7 .hidden-fields-container { display:none; }
.kr-site .wpcf7 .wpcf7-form:has(>p [name="your-name"]):has(>p [name="your-email"])>p:has([name="your-name"], [name="your-email"]) { grid-column:span 1; }
.kr-site .wpcf7 .wpcf7-form label { display:block; margin:0; color:#334431; font:600 13px/1.6 var(--kr-body); }
.kr-site .wpcf7 .wpcf7-form label>br { display:none; }
.kr-site .wpcf7 .wpcf7-form-control-wrap { display:block; margin-top:9px; }
.kr-site .wpcf7 .wpcf7-form :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),textarea,select) { box-sizing:border-box; display:block; width:100%; max-width:100%; min-width:0; min-height:56px; height:auto; margin:0; padding:14px 16px; border:1px solid #b8c3b2; border-radius:3px; background:#fbf9f6; color:#25372d; font:400 16px/1.6 var(--kr-body); box-shadow:none; transition:border-color .15s,box-shadow .15s; }
.kr-site .wpcf7 .wpcf7-form textarea { height:184px!important; min-height:160px!important; resize:vertical; }
.kr-site .wpcf7 .wpcf7-form :is(input,textarea,select):focus-visible { border-color:#526e46; outline:2px solid #526e46; outline-offset:2px; box-shadow:0 0 0 5px #e2e8dc; }
.kr-site .wpcf7 .wpcf7-form input[type=submit] { min-height:54px; min-width:180px; width:auto; max-width:100%; margin:0; padding:16px 32px!important; border-radius:3px!important; color:#fff!important; background:#31493d!important; font:600 14px/1.5 var(--kr-body)!important; transition:background .15s; }
.kr-site .wpcf7 .wpcf7-form input[type=submit]:hover { background:#22382b!important; }
.kr-site .wpcf7 .wpcf7-form input[type=submit]:disabled { opacity:.6; cursor:wait; }
.kr-site .wpcf7 .wpcf7-form>p:has([type=submit]) { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding-top:2px; }
.kr-site .wpcf7 .wpcf7-spinner { margin:0; flex-shrink:0; background:#31493d; }
.kr-site .wpcf7 .wpcf7-not-valid-tip { margin-top:8px; color:#9b3f2d; font-size:12px; font-weight:500; line-height:1.6; }
.kr-site .wpcf7 .wpcf7-form [aria-invalid=true] { border-color:#9b3f2d!important; }
.kr-site .wpcf7 .wpcf7-response-output { margin:0!important; padding:16px 20px!important; border:1px solid #a87631; border-radius:3px; background:#fff7e7; color:#5a401b; font:400 14px/1.7 var(--kr-body); }
.kr-site .wpcf7 .wpcf7-form.sent .wpcf7-response-output { border-color:#748b67; background:#e8eedf; color:#30452a; }
.kr-site .wpcf7 .wpcf7-form:is(.failed,.aborted,.spam) .wpcf7-response-output { border-color:#ae6b58; background:#f6e6df; color:#7c3424; }
.kr-site .wpcf7 .wpcf7-list-item { margin:0 18px 8px 0; }
.kr-site .wpcf7 :is(.wpcf7-acceptance,.wpcf7-checkbox,.wpcf7-radio) label { display:flex; align-items:flex-start; gap:10px; font-weight:400; }
.kr-site .wpcf7 :is(input[type=checkbox],input[type=radio]) { flex:0 0 18px; width:18px; height:18px; margin:2px 0 0; accent-color:#31493d; }

@media(max-width:900px) {
  .ks-reading a.ks-reading-card { padding:24px; gap:18px; }
  .ks-search-result.has-image { grid-template-columns:140px minmax(0,1fr) 42px; gap:24px; }
}
@media(max-width:700px) {
  .ks-reading-links { grid-template-columns:minmax(0,1fr); gap:14px; }
  .ks-reading a.ks-reading-card { min-height:144px; }
  .ks-reading a.ks-reading-card--next { text-align:left; }
  .ks-reading-heading { padding-top:24px; margin-bottom:20px; }
  .ks-search-hero-inner { padding-block:34px; }
  .ks-search-content { padding-top:30px; padding-bottom:52px; }
  .ks-results-summary { display:block; }
  .ks-results-summary p { margin-top:12px; }
  .ks-search-empty { grid-template-columns:minmax(0,1fr); gap:22px; padding-top:8px; }
  .ks-search-empty-icon { width:56px; height:56px; }
  .kr-site .wpcf7 .wpcf7-form { grid-template-columns:minmax(0,1fr); gap:23px; }
  .kr-site .wpcf7 .wpcf7-form:has(>p [name="your-name"]):has(>p [name="your-email"])>p:has([name="your-name"], [name="your-email"]) { grid-column:1/-1; }
}
@media(max-width:540px) {
  .ks-reading-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .ks-reading a.ks-reading-card { padding:23px 20px; gap:16px; }
  .kr-site .ks-reading .ks-reading-arrow { width:40px; height:40px; flex-basis:40px; font-size:21px; }
  .kr-site .kr-search-form { gap:2px; }
  .kr-site .kr-search-form input[type=search] { padding-inline:10px; }
  .kr-site .kr-search-form button { min-width:76px; padding-inline:11px; }
  .kr-site .kr-search-form button svg { display:none; }
  .kr-footer .kr-search-form button svg { display:block; }
  .ks-search-result { grid-template-columns:minmax(0,1fr) 32px; padding-block:26px; gap:16px; }
  .ks-search-result.has-image { grid-template-columns:minmax(0,1fr) 32px; gap:20px 16px; }
  .ks-result-image { grid-column:1/-1; width:100%; max-height:220px; }
  .ks-result-arrow { width:32px; height:32px; font-size:21px; }
  .kr-site .ks-result-copy p { font-size:13px; }
  .ks-search-shortcuts a { width:100%; justify-content:space-between; }
  .kr-site .wpcf7 { padding:24px 20px; }
  .kr-site .wpcf7 .wpcf7-form input[type=submit] { width:100%; }
  .kr-site .wpcf7 .wpcf7-form>p:has([type=submit]) { position:relative; }
  .kr-site .wpcf7 .wpcf7-spinner { position:absolute; right:14px; }
}
@media(prefers-reduced-motion:reduce) { .ks-reading *, .ks-search-content *, .wpcf7 * { transition:none!important; } }
