/* Local compatibility / legal page styles: preserve the original colors and section layout. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #738841; outline-offset: 3px; }
#menu-1-vyFAnkKrUo .navbar-brand { min-width: 0; }
#menu-1-vyFAnkKrUo .navbar-caption { overflow-wrap: anywhere; }
#menu-1-vyFAnkKrUo .navbar-toggler { z-index: 15; position: relative; flex: 0 0 auto; }
#menu-1-vyFAnkKrUo .navbar-collapse { z-index: 12; }
.studio-brief-copy { margin-top: .6rem; }
.studio-location-media { overflow: hidden; isolation: isolate; position: relative; background: #f0e2cd; }
.studio-location-media > img { height: 100%; width: 100%; object-fit: cover; object-position: center; border-radius: 2rem; }
.studio-map-caption { position: absolute; left: 4%; bottom: 6%; max-width: min(440px, 92%); padding: 1.3rem 1.6rem; background: #fafbf7ed; border-radius: 1.25rem; color: #303702; text-align: left; box-shadow: 0 8px 24px #20240d33; }
.studio-map-caption strong { font-size: 1.55rem; }
.studio-map-caption p { margin: .4rem 0; }
.studio-map-caption a, #yhteystiedot-tiedot p a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.studio-form-note {font-size: 1rem; margin-top: .75rem; line-height: 1.5;}
.studio-field-label {display: block; font-size: 1rem; margin: 0 0 .3rem;}
.studio-contact-form textarea {width: 100%; resize: vertical; min-height: 110px;}
.studio-contact-form input,.studio-contact-form textarea {max-width:100%;}
.cid-vyFAnkPBiE .studio-footer-wrapper { background: #303702; color: #fff; border-radius: 2rem; padding: clamp(1.4rem,4vw,3rem); text-align: left; }
.studio-footer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr); gap: clamp(1.3rem,3vw,3rem); }
.studio-footer-col { min-width: 0; overflow-wrap: anywhere; }
.studio-footer-col h2 { color: #fff; font-size: 1.5rem; margin: 0 0 1rem; font-weight: 700; }
.studio-footer-col p { margin: 0; line-height: 1.55; }
.studio-legal-details dl { display: grid; grid-template-columns: minmax(90px,38%) minmax(0,62%); column-gap: 1rem; row-gap: .35rem; margin: 0; }
.studio-legal-details dt { font-weight: 700; }
.studio-legal-details dd { margin: 0; }
.studio-footer-wrapper a { color: #f3eedf; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.studio-footer-wrapper a:hover { color:#fff; }
.studio-legal-links nav { display: flex; flex-direction: column; gap: .8rem; }
.studio-test-data {border-top: 1px solid #ffffff42; margin: 1.4rem 0 .5rem; padding-top: 1rem; font-size: .86rem; line-height: 1.5; }
.studio-copyright { margin: 0; font-size: .95rem; text-align: center; }
.studio-legal-main { background: #fafbf7; padding: 9rem 1rem 5rem; min-height: 62vh; }
.studio-legal-article { max-width: 920px; margin: auto; background: #fff; border-radius: 2rem; padding: clamp(1.35rem,4.5vw,4rem); box-shadow: 0 8px 28px #2429090b; }
.studio-legal-article h1 {font-size: clamp(2.3rem,5vw,3.9rem); margin-bottom: 1rem; color: #303702;}
.studio-legal-article h2 {font-size: clamp(1.4rem,3vw,2rem); margin-top: 2rem; color:#303702;}
.studio-legal-article p, .studio-legal-article li {font-size: 1.1rem; line-height: 1.75;}
.studio-legal-article a {color:#303702; text-decoration: underline; text-underline-offset:3px;}
.studio-legal-article .studio-legal-intro {background:#e7edd5; padding: 1.1rem 1.4rem; border-radius: 1.1rem;}
.studio-back {display:inline-block;margin-top:2rem;border:1px solid #303702;border-radius:1rem;padding:.7rem 1.2rem;}
@media(max-width:991.98px) {
 #menu-1-vyFAnkKrUo .navbar > .container {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;}
 #menu-1-vyFAnkKrUo .navbar-brand {flex: 1 1 auto; max-width:calc(100% - 70px);}
 #menu-1-vyFAnkKrUo .navbar-toggler { margin-left:auto; }
 #menu-1-vyFAnkKrUo .navbar-collapse { flex-basis:100%; width:100%; max-height:calc(100dvh - 96px); overflow-y:auto; padding: .6rem .3rem 1rem; overscroll-behavior:contain; }
 #menu-1-vyFAnkKrUo .navbar-collapse .navbar-nav {display:flex;flex-direction:column;gap: .1rem; width:100%;margin:0;}
 #menu-1-vyFAnkKrUo .navbar-collapse .nav-link {width:100%; display:block;}
 .studio-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .studio-footer-grid > :last-child { grid-column:1/-1; }
}
@media(max-width:575.98px) {
 #menu-1-vyFAnkKrUo .navbar-brand .navbar-logo {padding-left:0;}
 #menu-1-vyFAnkKrUo .navbar-brand .navbar-caption {padding-left:.5rem;padding-right:0; font-size:clamp(.85rem,4vw,1.1rem);}
 #menu-1-vyFAnkKrUo .navbar-brand img {max-width:46px;}
 .studio-footer-grid {grid-template-columns:minmax(0,1fr); gap: 1.8rem;}
 .studio-footer-grid > :last-child {grid-column:auto;}
 .studio-legal-details dl { grid-template-columns: minmax(0,1fr); gap:.1rem; }
 .studio-legal-details dd {margin:0 0 .6rem;}
 .studio-map-caption {left:3%;bottom:3%;padding:1rem;max-width:94%;}
 .studio-map-caption strong {font-size:1.22rem;}
 .studio-location-media {height:30rem !important;}
 .studio-legal-main {padding-top: 7rem;}
}
/* Decorative SVG corners on these two full-width hero blocks extended 24px
   beyond the right edge on small screens. Clip only that outside decoration. */
#aloitus, #hero-1-vyFAnkPyNN { overflow-x: clip; }
html { overflow-x: clip; }
.block-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}