/*
Theme Name: MiLee Digital
Theme URI: https://milee.ee
Author: MiLee Art OÜ
Description: MiLee Digital's animated bilingual site. Every section is an Elementor widget (category "MiLee Digital"); the site's own design lives in assets/main.css.
Version: 1.10.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: milee
*/

/* Elementor: the MiLee sections are full-bleed, so the page container adds no padding or gaps. */
.e-con.milee-page { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; padding: 0; gap: 0; }
.e-con.milee-page:not(.milee-native) > .elementor-widget { width: 100%; margin: 0; }

/* In the editor the header sits in the flow so it can be clicked and edited. */
.elementor-editor-active .site-header { position: relative; }

.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toast .toast-error, .toast.is-error .toast-ok { display: none; }
.toast.is-error .toast-error { display: inline; }
.submit-button:disabled { opacity: .6; cursor: wait; }

.milee-version { opacity: .4; margin-left: .6em; font-size: .8em; }

.brand-logo { height: 30px; width: auto; }
.footer-logo img { display: block; max-height: 6rem; width: auto; }

/* Service cards with a link: the whole card is clickable. */
.service-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.service-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -6px; }
.service-card.has-link h3 { text-decoration: underline 2px transparent; text-underline-offset: .12em; transition: text-decoration-color .25s; }
.service-card.has-link:hover h3 { text-decoration-color: currentColor; }

.portrait-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-cloud img { max-width: 70%; max-height: 64px; object-fit: contain; }

/* Plain pages that aren't built with Elementor (privacy policy etc.). */
.milee-plain { max-width: 780px; margin: 8vh auto; padding: 0 4vw; font-family: "Manrope", sans-serif; color: #171713; }
body:has(.milee-plain) { margin: 0; background: #f5f1e8; }
.milee-plain .back { font-weight: 700; text-decoration: none; color: inherit; }
.milee-plain h1 { font: 700 clamp(3rem, 8vw, 7rem)/1 "Syne", sans-serif; letter-spacing: -.06em; margin: .4em 0; }
.milee-plain p, .milee-plain li { font-size: 1.1rem; line-height: 1.7; }
.milee-plain a { color: inherit; }
