/* Dedicated item guides reuse regional layouts and the established paper palette. */
.ks-item-page{overflow-wrap:break-word}
.ks-item-title-part{white-space:nowrap}
.ks-item-hero h1 .ks-item-title-part{font-size:inherit;color:inherit}
.ks-item-hero .ks-region-lead{text-wrap:balance}
.ks-item-page .ks-item-example-number{color:var(--gold);font:26px/1.5 Georgia,serif;margin-bottom:10px}
.ks-item-page .ks-item-example-tip{margin-top:18px;padding-top:14px;border-top:1px solid #e4decf;font-size:14px}
.ks-item-example-tip strong{display:block;font:500 12px/1.8 var(--sans);color:var(--green);margin-bottom:5px}
.ks-item-related{margin-top:36px;padding-top:28px;border-top:1px solid #d7ceba}
.ks-item-related h3{font-size:22px;color:var(--green);margin:0 0 18px}
.ks-item-related>div{display:flex;flex-wrap:wrap;gap:12px}
.ks-item-related a{display:flex;align-items:center;gap:14px;min-height:48px;padding:10px 16px;border:1px solid #d7ceba;color:var(--green);font:14px/1.8 var(--sans);text-decoration:none}
.ks-item-related a:hover{background:#edf1e9}
.ks-item-index h1{font-size:42px;color:var(--green);margin:12px 0 22px}
.ks-item-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ks-item-catalog-grid article{min-width:0;border:1px solid #ded8c9;border-top:3px solid var(--gold);background:#fcfbf7}
.ks-item-catalog-grid a{display:block;height:100%;color:var(--green);text-decoration:none}
.ks-item-catalog-grid a:hover{background:#edf1e9}
.ks-item-catalog-grid figure{padding:12px;margin:0;background:#f6f3ec}
.ks-item-catalog-grid img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;display:block}
.ks-item-catalog-grid h2{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 20px 8px;font-size:21px;line-height:1.8}
.ks-item-catalog-grid h2>span:last-child{color:var(--gold)}
.ks-item-catalog-grid p{margin:0 20px 22px;font:12px/1.8 var(--sans);color:#68725e}
.ks-item-inline-consultation h2{font-size:22px;line-height:1.75;color:var(--green);margin:0 0 8px}
.ks-item-records .ks-purchase-card-link:not(:has(.ks-purchase-card-media)){grid-template-columns:1fr}
@media(max-width:900px){.ks-item-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ks-item-catalog-grid{grid-template-columns:1fr;gap:18px}.ks-item-index h1{font-size:32px}.ks-item-related a{width:100%;justify-content:space-between}.ks-item-catalog-grid h2{font-size:23px}.ks-item-catalog-grid p{font-size:14px}}
.ks-item-page [id]{scroll-margin-top:20px}
.ks-item-hero h1{font-size:46px;line-height:1.5;margin-bottom:18px}
.ks-item-primary{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:54px;padding:15px 23px;border:1px solid var(--green);background:var(--green);color:#fff;font:500 16px/1.8 var(--serif);text-decoration:none;text-align:center;max-width:100%}
.ks-item-primary:hover{background:#235b45;color:#fff}
.ks-item-text-link{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;margin-top:15px;color:var(--green);font:14px/1.8 var(--sans);text-underline-offset:5px;min-height:40px}
.ks-item-summary h2{font-size:30px;line-height:1.85;margin:12px 0 0;letter-spacing:.04em}
.ks-item-page .ks-item-source{color:#75796d;font-size:11px;line-height:1.8;margin-top:20px}
.ks-item-source a{color:inherit;text-underline-offset:3px}
.ks-item-records{display:grid;gap:24px;max-width:1000px;margin-inline:auto}
.ks-item-records .ks-purchase-card-link{display:grid;grid-template-columns:1fr 1fr}
.ks-item-records .ks-purchase-card-media{height:auto;min-height:340px;display:grid;place-items:center;border-right:1px solid #e2dccd}
.ks-item-records .ks-purchase-card-media img{height:auto;max-height:420px;object-fit:contain}
.ks-item-records .ks-purchase-card-copy{padding:28px 30px}
.ks-item-record-note{max-width:1000px;margin-inline:auto!important}
.ks-item-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ks-item-example-grid article{min-width:0;display:flex;flex-direction:column;border:1px solid #ded8c9;border-top:3px solid var(--gold);background:#fcfbf7}
.ks-item-example-photo{margin:0;padding:16px 16px 12px;background:#f6f3ec;border-bottom:1px solid #ded8c9}
.ks-item-example-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.ks-item-example-photo figcaption{margin-top:10px;color:#726344;text-align:center;font:11px/1.8 var(--sans)}
.ks-item-example-copy{padding:25px 26px;display:flex;flex-direction:column;flex:1}
.ks-item-example-consult{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:20px;padding-top:12px;border-top:1px solid #ded8c9;color:var(--green);font:14px/1.8 var(--sans);text-decoration:none}
.ks-item-example-consult span{color:var(--gold)}
.ks-item-example-consult:hover{text-decoration:underline;text-underline-offset:4px}
.ks-item-example-grid h3{color:var(--green);font-size:22px;line-height:1.75;margin:0 0 12px}
.ks-item-example-grid p{color:#596353;font-size:15px;line-height:1.9;margin:0}
.ks-item-point-list{max-width:960px;margin:0 auto;padding:0;list-style:none;border-top:1px solid #d7ceba}
.ks-item-point-list>li{display:grid;grid-template-columns:52px 1fr;gap:22px;padding:25px 26px;border-bottom:1px solid #d7ceba;background:#fff}
.ks-item-point-number{color:var(--gold);font:30px/1.5 Georgia,serif}
.ks-item-point-list h3{font-size:23px;line-height:1.7;color:var(--green);margin:0 0 9px}
.ks-item-point-list p{color:#596353;margin:0}
.ks-item-inline-consultation{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;max-width:960px;margin:30px auto 0;padding:26px 28px;border:1px solid #c8cbb9;border-left:3px solid var(--gold);background:#edf1e9}
.ks-item-inline-consultation h3{font-size:22px;line-height:1.75;color:var(--green);margin:0 0 8px}
.ks-item-inline-consultation p{font-size:14px;line-height:1.9;margin:0;color:#596353}
.ks-item-inline-consultation .ks-item-primary{font-size:15px;padding-inline:20px}
.ks-item-area-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ks-item-area-links a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:70px;padding:18px 14px;border:1px solid #bbaa85;background:#fbf9f1;color:var(--green);font:15px/1.8 var(--serif);text-decoration:none}
.ks-item-area-links a>span:first-child{font-size:23px}
.ks-item-area-links a>span:last-child{margin-left:auto;color:var(--gold)}
.ks-item-area-links a:hover{background:#edf1e9}
.ks-item-column-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}
@media(max-width:1000px){.ks-item-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-item-inline-consultation{grid-template-columns:1fr;gap:18px}.ks-item-inline-consultation .ks-item-primary{justify-self:start}.ks-item-area-links{gap:14px}.ks-item-area-links a{flex-wrap:wrap;gap:3px 6px}.ks-item-area-links a>span:first-child{font-size:21px}.ks-item-records .ks-purchase-card-copy{padding:24px}.ks-item-records .ks-purchase-card-media{min-height:300px}}
@media(max-width:760px){
  .ks-item-hero h1{font-size:38px;margin-bottom:14px}.ks-item-primary{width:100%;gap:12px;padding:14px 13px;font-size:15px;min-height:52px}.ks-item-text-link{font-size:14px;margin-top:10px;min-height:44px}.ks-item-summary h2{font-size:25px;line-height:1.85}.ks-item-records .ks-purchase-card-link{grid-template-columns:1fr}.ks-item-records .ks-purchase-card-media{min-height:0;height:auto;max-height:none;padding:12px;border-right:0;border-bottom:1px solid #e2dccd}.ks-item-records .ks-purchase-card-media img{max-height:360px}.ks-item-records .ks-purchase-card-copy{padding:22px 20px}.ks-item-example-grid{grid-template-columns:1fr;gap:16px}.ks-item-example-grid article{padding:0}.ks-item-example-copy{padding:22px}.ks-item-example-photo{padding:12px 12px 10px}.ks-item-example-grid h3{font-size:22px}.ks-item-example-grid p{font-size:16px}.ks-item-point-list>li{grid-template-columns:34px 1fr;gap:12px;padding:22px 16px}.ks-item-point-number{font-size:25px}.ks-item-point-list h3{font-size:21px;line-height:1.8}.ks-item-point-list p{font-size:16px}.ks-item-inline-consultation{padding:22px 20px;gap:20px}.ks-item-inline-consultation h3{font-size:21px}.ks-item-inline-consultation p{font-size:16px}.ks-item-inline-consultation .ks-item-primary{justify-self:stretch;width:100%}.ks-item-area-links{grid-template-columns:1fr;gap:12px}.ks-item-area-links a{flex-wrap:nowrap;justify-content:flex-start;gap:8px;font-size:15px;min-height:64px;padding:14px 20px}.ks-item-area-links a>span:first-child{font-size:23px}.ks-item-column-grid{grid-template-columns:1fr}
}
@media(max-width:360px){.ks-item-hero h1{font-size:31px}.ks-item-point-list>li{padding-inline:12px}.ks-item-area-links a{padding-inline:15px}}

/* Product hero frames follow the photo ratio on desktop and mobile. */
.ks-item-hero .ks-region-hero-image{aspect-ratio:auto;padding:12px}
.ks-mobile-hero-layout.ks-item-hero .ks-region-hero-image img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
@media(max-width:760px){.ks-mobile-hero-layout.ks-item-hero .ks-region-hero-image{padding:8px}}

/* Frame the armor's transparent side margins without clipping its helmet or feet. */
.ks-mobile-hero-layout.ks-item-hero .ks-region-hero-image img.ks-armor-cutout{height:auto;aspect-ratio:3/2;min-height:clamp(360px,40vw,540px);object-fit:cover;object-position:center}

/* Preserve the full blade and scabbard; frame only the photo's vertical blank space. */
.ks-mobile-hero-layout.ks-item-hero .ks-region-hero-image img.ks-katana-photo{height:auto;aspect-ratio:3/1;object-fit:cover;object-position:center}
