/*
Theme Name: Autopurkamo Heikkilä
Theme URI: https://www.autopurkamoheikkila.fi/
Author: Generaxion
Description: Autopurkamo E. Heikkilä Oy:n saavutettava ja helposti muokattava Nova-henkinen lohkoteema.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: autopurkamoheikkila
*/

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/barlow-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/barlow-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/barlow-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/barlow-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/barlow-800-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/barlow-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html { scroll-behavior: smooth; }
body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
a, button, summary { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--wp--preset--color--blue); outline-offset: 3px; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > * { margin-block-start: 0; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--wp--preset--color--line); }
.site-header .wp-block-site-logo { flex-shrink: 0; }
.site-header .wp-block-site-logo img { width: auto; height: auto; max-height: 72px; object-fit: contain; }
.site-header .wp-block-navigation-item__content { text-decoration: none; }
.site-header .current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--blue-dark); }
.site-header .header-contact-link .wp-block-navigation-item__content { border-radius: 2px; background: var(--wp--preset--color--blue); color: #fff; font-weight: 800; letter-spacing: .05em; padding: 12px 20px; text-transform: uppercase; }
.site-header .header-contact-link .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--navy); color: #fff; }

.hero-cover { min-height: clamp(560px, 66vw, 720px); }
.hero-cover .wp-block-cover__inner-container {
	box-sizing: border-box;
	width: min(calc(100% - 40px), 1216px);
	padding-right: 0 !important;
	padding-left: 0 !important;
}
.hero-content { max-width: 720px; }
.eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-kicker { color: var(--wp--preset--color--blue-dark); font-size: .875rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.service-card, .benefit-card, .contact-card, .invoice-card { box-sizing: border-box; height: 100%; }
.service-card { border-top: 5px solid var(--wp--preset--color--blue); }
.service-card .service-number { color: var(--wp--preset--color--blue); font-size: 3rem; font-weight: 800; line-height: 1; }
.availability-strip { border-left: 6px solid var(--wp--preset--color--blue); }
.contact-card h3 { margin-top: 32px; }
.contact-card a { overflow-wrap: anywhere; }
.invoice-grid p { margin-block: 0 12px; }

.map-embed, .map-embed iframe { display: block; width: 100%; }
.map-embed iframe { height: clamp(380px, 42vw, 560px); border: 0; }
.map-fallback { margin: 0; padding: 14px 24px; text-align: center; background: var(--wp--preset--color--navy); }
.map-fallback a { color: #fff; font-weight: 700; }

.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper textarea,
.gform_wrapper select { box-sizing: border-box; width: 100%; border: 1px solid var(--wp--preset--color--line); border-radius: 2px; background: #fff; padding: 14px 16px; font: inherit; }
.gform_wrapper .gfield_label { font-weight: 700; }
.gform_wrapper .gfield_required_text { font-size: 0; }
.gform_wrapper .gfield_required_text::after { content: "Pakollinen"; font-size: .75rem; }
body .gform_wrapper.gravity-theme .gform_button,
body .gform_wrapper .gform_button,
body .gform_wrapper .gform_button.button { border: 0; border-radius: 2px; background: var(--wp--preset--color--blue) !important; color: #fff !important; cursor: pointer; font: inherit; font-weight: 800; letter-spacing: .07em; padding: 16px 28px; text-transform: uppercase; }
body .gform_wrapper .gform_button:hover { background: var(--wp--preset--color--navy) !important; }

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--wp--preset--color--ice) !important; }
.site-footer .footer-page-list { list-style: none; padding-left: 0; }

@media (max-width: 781px) {
	.site-header { padding-block: 10px !important; }
	.site-header .wp-block-site-logo img { max-width: 205px; max-height: 62px; }
	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; color: var(--wp--preset--color--navy); }
	.hero-cover { min-height: 620px; }
	.hero-cover .wp-block-cover__image-background { object-position: 62% center; }
	.hero-content { max-width: 100%; }
	.cta-row .wp-block-buttons { justify-content: flex-start !important; }
	.site-footer .wp-block-columns { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
