/*
Theme Name: Elopart Oy
Description: Elopartin hyväksytty kulta–hiilenharmaa sivusto. Valmiit suomen- ja englanninkieliset sivut otetaan käyttöön kohdassa Ulkoasu > Elopartin käyttöönotto.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 8.0
Author: Elopart Oy
Text Domain: elopart-oy
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, one-column, theme-options
*/
.admin-bar .site-header { top: 32px; }
.wp-caption { max-width:100%; }
.wp-caption-text,.gallery-caption { font-size:.875rem; }
.aligncenter { display:block; margin-inline:auto; }
.alignleft { float:left; margin-right:1.5rem; }
.alignright { float:right; margin-left:1.5rem; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.screen-reader-text:focus { position:fixed; top:8px; left:8px; z-index:100000; width:auto; height:auto; clip:auto; padding:12px; background:#fff; color:#202224; }
.elopart-editor-content { max-width:900px; }
.elopart-editor-content img { max-width:100%; height:auto; }
.elopart-post { margin-bottom:3rem; }
.elopart-arrow-icon { display:inline-block; width:1em; height:1em; flex-shrink:0; vertical-align:-.12em; overflow:visible; }
.arrow > .elopart-arrow-icon { display:block; }
.btn .arrow, .btn .elopart-arrow-icon, .mobile-quote .elopart-arrow-icon { color:#000; }
.editorial-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px 70px; }
.editorial-grid article:first-child { grid-column:1/-1; max-width:960px; }
.editorial-grid h2 { font-size:clamp(2rem,3.5vw,3rem); line-height:1.1; margin:0 0 20px; }
.editorial-grid p,.reason-card p { line-height:1.8; color:var(--muted); }
.detail-copy h2:not(:first-child) { margin-top:36px; }
.page-heading h1 { overflow-wrap:anywhere; hyphens:auto; }
.component-examples { display:grid; grid-template-columns:1fr 1fr; gap:8px 32px; padding-left:22px; margin:0 0 25px; color:var(--muted); line-height:1.6; }
.component-examples li::marker { color:var(--gold); }
@media(max-width:480px) { .component-examples { grid-template-columns:1fr; } }
.related-section { background:#f4f5f3; }
.related-section h2 { margin-top:0; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); gap:24px; }
.related-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px; background:#fff; border:1px solid var(--line); text-decoration:none; font-weight:600; }
.related-card:hover { border-color:var(--gold); }
.reason-grid { display:grid; grid-template-columns:1fr 1fr; gap:35px 70px; }
.reason-card { border-top:1px solid var(--line); padding-top:25px; }
.reason-card h2 { font-size:2rem; margin:14px 0; }
.footer-services { display:flex; flex-wrap:wrap; gap:14px 30px; padding:25px 0; border-top:1px solid #50534e; font-size:.875rem; }
.footer-services a { text-decoration:none; }
.footer-services a:hover { color:#e5bf58; }
@media(max-width:720px) { .editorial-grid,.reason-grid { grid-template-columns:1fr; gap:30px; } .editorial-grid article:first-child { grid-column:auto; } }
@media(max-width:782px) { .admin-bar .site-header { top:46px; } }
@media(max-width:600px) { .admin-bar .site-header { top:0; } }
