/* Reusable opt-in service layout: WordPress content and related posts remain dynamic. */
.kowa-service-page { width:90%; max-width:none; box-sizing:border-box; margin-inline:auto; padding:28px 0 64px; color:#172d40; background:#fafbfc; font-family:Tahoma,Arial,sans-serif; }
.kowa-service-breadcrumbs { font-size:12px; line-height:1.8; margin-bottom:16px; color:#52616d; }
.kowa-service-breadcrumbs .breadcrumbs { margin:0; padding:0; font-size:inherit; }
.kowa-service-breadcrumbs ol { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; list-style:none; margin:0; padding:0; }
.kowa-service-breadcrumbs li { display:inline-flex; align-items:center; gap:10px; margin:0; padding:0; font-size:inherit; }
.kowa-service-breadcrumbs li::before,.kowa-service-breadcrumbs li::after { content:none; }
.kowa-service-breadcrumbs .separator { display:none; }
.kowa-service-breadcrumbs li + li::before { content:''; width:5px; height:5px; border:solid #8195a6; border-width:0 0 1px 1px; transform:rotate(45deg); flex-shrink:0; }
.kowa-service-breadcrumbs a { color:#52616d; padding-block:6px; text-decoration:none; font-size:inherit; border-bottom:1px solid transparent; transition:color .2s,border-color .2s; }
.kowa-service-breadcrumbs a:hover { color:#0f4880; border-bottom-color:#0f4880; }
.kowa-service-heading { padding:28px 0 38px; }
.kowa-service-heading h1 { margin:0; max-width:1100px; color:#0f4880; font-size:var(--kowa-page-title-size,clamp(22px,2.2vw,32px)); line-height:1.65; font-weight:700; }
.kowa-edit-link { margin-top:12px; font-size:13px; }
.kowa-service-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; align-items:start; gap:40px; }
.kowa-service-reading { min-width:0; }
.kowa-service-lead-photo { margin:0 0 32px; border-radius:18px; overflow:hidden; background:#eaf1f7; }
.kowa-service-lead-photo img { display:block; width:100%; height:auto; }
.kowa-service-copy { background:#fff; border:1px solid #e0e8ef; border-radius:18px; padding:clamp(24px,4vw,56px); font-size:17px; line-height:2.1; overflow-wrap:break-word; }
.kowa-service-copy p { margin:0 0 24px; }
.kowa-service-copy h2 { color:#0f4880; font-size:clamp(22px,2vw,29px); line-height:1.7; margin:48px 0 24px; padding:20px 22px; border-radius:10px; background:#edf3f8; border:0; }
.kowa-service-copy h2::after { display:none; }
.kowa-service-copy h2 span,.kowa-service-copy h2 strong { color:inherit !important; }
.kowa-service-copy h3 { color:#0f4880; font-size:22px; margin:32px 0 18px; }
.kowa-service-copy h4,.kowa-service-copy h5,.kowa-service-copy h6 { color:#0f4880; font-size:19px; line-height:1.8; margin:28px 0 16px; }
.kowa-service-copy { display:flow-root; }
.kowa-service-copy iframe { max-width:100%; border:0; }
.kowa-service-copy table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; margin-block:24px; }
.kowa-service-copy th,.kowa-service-copy td { padding:12px; border:1px solid #dfe6eb; }
.kowa-service-copy th { background:#edf3f8; }
.kowa-service-copy #privcy { float:none !important; border:0 !important; padding:0 !important; }
.kowa-archive-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.kowa-archive-grid .card-archive { width:auto; float:none; margin:0; padding:0; border:1px solid #dfe6eb; border-radius:16px; overflow:hidden; background:#fff; box-shadow:none; }
.kowa-archive-grid .card-img img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.kowa-archive-grid .card-title { padding:20px; }
.kowa-archive-grid .card-title p { margin:0; font-size:18px; line-height:1.8; }
.kowa-archive-grid a { color:#0f4880; }
.kowa-archive-description { margin-bottom:32px; }
.kowa-archive .pagination { margin-block:36px; }
.kowa-archive .nav-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.kowa-archive .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 12px; background:#edf3f8; border-radius:10px; color:#0f4880; }
.kowa-archive .page-numbers.current { background:#0f4880; color:#fff; }
@media(max-width:991px) { .kowa-archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } }
@media(max-width:540px) { .kowa-archive-grid { grid-template-columns:1fr; } }
.kowa-service-copy ul,.kowa-service-copy ol { padding-inline-start:24px; margin:0 0 28px; }
.kowa-service-copy li { margin-bottom:12px; padding-inline-start:5px; }
.kowa-service-copy li::marker { color:#ea7711; }
.kowa-service-copy a:not(.wp-block-button__link) { color:#0f4880 !important; text-decoration:underline; text-underline-offset:4px; }
.kowa-service-copy img { max-width:100%; height:auto; border-radius:12px; margin-block:20px; }
.kowa-service-copy img.kowa-article-photo { display:block; width:100%; height:auto; margin:32px auto; }
.kowa-service-copy .wp-caption { max-width:100%; margin:32px auto; }
.kowa-service-copy .wp-caption img.kowa-article-photo { margin:0 auto 12px; }
.kowa-service-copy .wp-caption-text { font-size:14px; line-height:1.8; color:#455c70; text-align:center; }
.kowa-service-copy h3 span { font-size:inherit !important; color:inherit !important; }
.kowa-service-copy blockquote { margin:28px 0; padding:20px 24px; background:#f3f6f9; border:0; border-inline-start:3px solid #0f4880; border-radius:10px; }
.kowa-service-copy blockquote ul,.kowa-service-copy blockquote p { margin-bottom:0; }
.kowa-service-copy #ez-toc-container,.kowa-service-copy .lwptoc,.kowa-service-copy #toc_container { max-width:100%; width:100%; box-sizing:border-box; background:#f5f7f9; border:1px solid #dfe6eb; box-shadow:none; border-radius:12px; padding:24px; margin-block:28px; }
.kowa-service-sharing { padding:24px 0; }
.kowa-related { padding:24px; border:1px solid #dfe6eb; border-radius:18px; background:#fff; }
.kowa-related > h2 { color:#0f4880; margin:0 0 24px; font-size:22px; }
.kowa-related-list { display:grid; gap:20px; }
.kowa-related-card { border-bottom:1px solid #e5ebf0; padding-bottom:20px; }
.kowa-related-card:last-child { border:0; padding-bottom:0; }
.kowa-related-card a { display:grid; grid-template-columns:76px 1fr; gap:12px; color:#17354e; text-decoration:none; align-items:start; }
.kowa-related-card img { width:76px; height:76px; object-fit:cover; border-radius:9px; }
.kowa-related-card h3 { margin:0; font-size:14px; line-height:1.9; font-weight:600; }
.kowa-related-arrow { grid-column:2; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:#eaf1f7; color:#0f4880; transition:transform .2s; }
.kowa-related-card a:hover .kowa-related-arrow { transform:translateX(-4px); }
.kowa-service-page :focus-visible { outline:3px solid #0f4880; outline-offset:4px; }
@media(max-width:1050px) { .kowa-service-layout { grid-template-columns:minmax(0,1fr) 280px; gap:24px; } .kowa-related { padding:18px; } }
@media(max-width:800px) { .kowa-service-layout { grid-template-columns:1fr; } .kowa-service-page { padding-top:20px; } .kowa-service-heading { padding:12px 0 24px; } .kowa-service-copy { padding:22px 18px; font-size:16px; } .kowa-service-copy h2 { padding:16px; } .kowa-related-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .kowa-related-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .kowa-related-arrow { transition:none; } }


/* Keep core Button blocks legible; explicit editor colors retain precedence. */
.kowa-service-copy .wp-block-button__link:not(.has-text-color) { color:#fff; }
.kowa-service-copy .wp-block-button__link:not(.has-background) { background-color:#0f4880; }
.kowa-service-copy .wp-block-button__link { text-decoration:none; border-radius:10px; }
