/*
Theme Name: Make it EU
Description: Custom theme based on the approved Make it EU prototype.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: make-it-eu
*/
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 99999; background: white; color: #172e37; padding: .65rem 1rem; transform: translateY(-250%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #895107; outline-offset: 4px; }
.footer .wrap { gap: 1rem; flex-wrap: wrap; }
.footer .wrap a { color: inherit; }
.mieu-footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.mieu-header [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.mieu-blog .articles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,285px),1fr)); gap: 1.25rem; }
.mieu-blog .article-top { min-height: 110px; display: flex; align-items: center; justify-content: center; background: #dff7f2; color: #145b55; text-align: center; padding: 1rem; }
.mieu-blog .article-body { padding: 1.25rem; }
.mieu-blog .article { border: 1px solid #dce9e5; border-radius: 1.2rem; overflow: hidden; background: #fff; }
.mieu-blog article img { width: 100%; height: 170px; object-fit: cover; }
.mieu-blog article a { color: #145b55; }
.mieu-blog nav { margin: 1.5rem 0; }
.mieu-post-body { max-width: 75ch; }
.mieu-post-body img, .mieu-post-body figure { max-width: 100%; height: auto; }
.contact-form-card .wpforms-container { margin: .65rem 0 0; }
.contact-form-card .wpforms-container .wpforms-field { padding: 5px 0; }
.contact-form-card .wpforms-container .wpforms-field input:not([type=checkbox]), .contact-form-card .wpforms-container textarea { max-width: none; width: 100%; border: 1px solid #9cc6be; border-radius: 10px; font: inherit; }
.contact-form-card .wpforms-container .wpforms-submit { background: #145b55; color: #fff; border: 0; border-radius: 30px; padding: .65rem 1rem; }
@media (prefers-reduced-motion: reduce) {
  html:focus-within, html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.mieu-header .custom-logo-link { display: block; }
.mieu-header .custom-logo { height: auto; }

/* Restore the decorative wave when WordPress strips inline SVG from the home page. */
@media (width > 1050px) {
  .home #services .service-ribbon:not(:has(> .service-ribbon-path))::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 222px;
    left: -2.5%;
    width: 105%;
    height: 195px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg%20aria-hidden%3D%22true%22%20class%3D%22service-ribbon-path%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%22-30%200%201260%20195%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M%2015%20115%20C%20120%20115%2095%2036%20210%2036%20S%20340%20155%20440%20155%20S%20550%2036%20650%2036%20S%20775%20155%20865%20155%20S%201010%2036%201185%2090%22%20fill%3D%22none%22%20opacity%3D%22.93%22%20stroke%3D%22%2320baad%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%2257%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M%2015%20115%20C%20120%20115%2095%2036%20210%2036%20S%20340%20155%20440%20155%20S%20550%2036%20650%2036%20S%20775%20155%20865%20155%20S%201010%2036%201185%2090%22%20fill%3D%22none%22%20opacity%3D%22.7%22%20stroke%3D%22%23ff9a1f%22%20stroke-dasharray%3D%221%2028%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%228%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  }
}
