/* Home is an entrance to the same world as the articles. */
.ok-home-main { background:linear-gradient(#fff,#f4fbff); }
.ok-home-hero { min-height:440px; padding:34px 40px 46px; }
.ok-home-hero::before { background-size:100% 360px; }
.ok-home-hero .ok-world-hero__copy { width:66%; }
.ok-home-hero .ok-world-hero__copy::before { inset:26px -12px -10px; }
.ok-home-eyebrow { display:inline-block; margin:0 0 16px!important; padding:4px 13px; border:1px solid #b9d9e8; border-radius:30px; background:#f1fbffed; color:#126c98; font-size:.8rem; font-weight:800; }
.ok-home-title { font-size:clamp(2rem,3.5vw,2.9rem); line-height:1.4; padding-bottom:24px; }
.ok-home-lead { max-width:555px; margin:16px 0 0!important; color:#2e4a64; font-size:.97rem; line-height:1.9; }
.ok-home-hero .wp-block-buttons { margin:22px 0 0!important; gap:12px; }
.ok-home-hero .wp-block-button__link { padding:12px 22px; border:1px solid #145b85; border-radius:7px; background:linear-gradient(#247fa6,#145581); color:#fff; font-size:.9rem; text-decoration:none; transition:transform .2s ease; }
.ok-home-hero .wp-block-button__link:hover { transform:translateY(-2px); }
.ok-home-hero .is-style-outline .wp-block-button__link { border:1px solid #729ba7; background:#ffffffed; color:#173b65; }
.ok-home-section { width:calc(100% - 80px); max-width:1040px!important; margin:0 auto!important; padding:42px 0; }
.ok-home-ribbon { display:flex; align-items:center; justify-content:center; width:118px; height:31px; margin:0 0 13px!important; background:url('../images/parchment-ribbon.svg') center / 100% 100% no-repeat; color:#79502b; font-size:.73rem; font-weight:800; letter-spacing:.08em; }
.ok-home-section-title { position:relative; margin:0!important; padding:0 0 20px 40px; background:url('../images/ornament-divider.svg') left bottom / 100% 12px no-repeat; color:#12365d; font-size:clamp(1.4rem,2.5vw,1.9rem); line-height:1.5; }
.ok-home-section-title::before { content:""; position:absolute; top:1px; left:0; width:30px; height:35px; background:url('../images/compass.svg') center / contain no-repeat; }
.ok-home-section-lead { margin:15px 0 22px!important; color:#36516a; font-size:.91rem; line-height:1.9; }
.ok-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:24px 0 0!important; }
.ok-guide-card { min-width:0; padding:14px 12px 19px; border:15px solid transparent; border-image:url('../images/notice-board-frame.svg') 32 fill / 15px / 0 stretch; color:#29465f; text-align:center; }
.ok-guide-card > svg { display:block; width:44px; height:44px; margin:0 auto 12px; color:#237da1; }
.ok-guide-label { display:inline-block; margin:0 0 9px!important; padding:3px 13px; border-radius:30px; background:#e9f5fc; color:#246c8b; font-size:.74rem; font-weight:800; }
.ok-guide-card h3 { margin:0 0 13px; color:#173b65; font-size:1.22rem; line-height:1.6; }
.ok-guide-card > p:last-child { margin:0; padding-top:12px; border-top:1px solid #d8c5a2; font-size:.85rem; line-height:1.9; text-align:left; }
.ok-guide-card:nth-child(2) { border-image-source:url('../images/notice-board-green.svg'); }
.ok-guide-card:nth-child(2) > svg { color:#2b8867; }
.ok-guide-card:nth-child(2) .ok-guide-label { color:#24684c; background:#e5f4e9; }
.ok-home-articles { padding-top:24px; padding-bottom:35px; }
.ok-home-empty { margin:22px 0 0!important; padding:25px 28px; border:1px solid #d9e7ed; border-radius:8px; background:#fff; color:#4d6376; font-size:.9rem; }
@media(max-width:960px) {
 .ok-home-hero { min-height:410px; padding-inline:30px; }
 .ok-home-hero .ok-world-hero__copy { width:76%; }
 .ok-home-title { font-size:2rem; }
 .ok-home-section { width:calc(100% - 60px); }
 .ok-guide-grid { gap:12px; }
 .ok-guide-card { padding:10px 5px 14px; }
 .ok-guide-card h3 { font-size:1.08rem; }
 .ok-query .wp-block-post-template { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .ok-home-hero { min-height:0; padding:110px 18px 32px; }
 .ok-home-hero .ok-world-hero__copy { width:100%; }
 .ok-home-title { font-size:clamp(1.25rem,6.1vw,1.8rem); }
 .ok-home-hero::before { background-size:100% 260px; }
 .ok-home-eyebrow { font-size:.72rem; margin-bottom:13px!important; }
 .ok-home-lead { font-size:.9rem; }
 .ok-home-hero .wp-block-buttons { gap:10px; }
 .ok-home-hero .wp-block-button__link { padding:11px 15px; font-size:.83rem; }
 .ok-home-section { width:calc(100% - 36px); padding-block:28px; }
 .ok-guide-grid { grid-template-columns:1fr; gap:16px; }
 .ok-guide-card { display:grid; grid-template-columns:55px minmax(0,1fr); column-gap:14px; padding:9px 7px 14px; text-align:left; }
 .ok-guide-card > svg { grid-column:1; grid-row:1 / 3; margin:7px 0 0; }
 .ok-guide-label { grid-column:2; justify-self:start; }
 .ok-guide-card h3 { grid-column:2; font-size:1.16rem; margin-bottom:0; }
 .ok-guide-card h3 br { display:none; }
 .ok-guide-card > p:last-child { grid-column:1 / -1; margin-top:13px; }
 .ok-query .wp-block-post-template { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .ok-post-card,.ok-home-hero .wp-block-button__link { transition:none; } .ok-post-card:hover,.ok-home-hero .wp-block-button__link:hover { transform:none; } }
