/*
Theme Name: Kehotaito Oulu
Theme URI: https://www.kehotaito.fi
Author: Kehotaito Oulu
Description: Kehotaito Oulun rauhallinen ja mobiiliystävällinen teema.
Version: 1.2.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kehotaito-oulu
*/
:root{--cream:#fcf8f0;--paper:#fffdf9;--gold:#ad792b;--dark:#392419;--muted:#6e5c4e;--line:#e9d9bb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--dark);font:17px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit}img{max-width:100%;height:auto}.container{width:min(1120px,calc(100% - 40px));margin:auto}.skip{position:absolute;top:-60px;left:10px;background:white;padding:12px;z-index:10}.skip:focus{top:10px}.site-header{background:rgba(255,253,249,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.header-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:Georgia,serif;text-decoration:none;font-size:25px;letter-spacing:.09em;color:var(--gold);white-space:nowrap}.brand small{display:block;font:13px system-ui;letter-spacing:.3em;text-align:center}.nav{display:flex;gap:21px;align-items:center}.nav a{text-decoration:none;font-size:15px}.nav a:hover,.nav a:focus{color:var(--gold)}.button{display:inline-block;background:var(--gold);color:white!important;border:2px solid var(--gold);border-radius:40px;padding:11px 24px;text-decoration:none;font-weight:650;text-align:center}.button:hover,.button:focus{background:#80561e}.button.secondary{background:transparent;color:var(--dark)!important}.hero{padding:75px 0;background:radial-gradient(circle at 15% 40%,#fffdfa 0,#f5ead7 78%)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:6%;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:var(--gold);font-size:14px;font-weight:700}h1,h2,h3{font-family:Georgia,serif;line-height:1.14;font-weight:normal}h1{font-size:clamp(42px,5.3vw,76px);margin:14px 0 22px}h2{font-size:clamp(32px,3.4vw,49px);margin:10px 0 20px}h3{font-size:25px;margin:0 0 13px}.lead{font-size:21px;color:var(--muted);max-width:640px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-photo{height:480px;overflow:hidden;border-radius:230px 230px 22px 22px;box-shadow:22px 22px 0 #e9d5b4;background:#ead7ba}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:72% 13%;transform:scale(1.45)}section{padding:80px 0}.section-head{max-width:760px;margin-bottom:30px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 8px 30px #60451c0b}.card .icon{font-size:34px;color:var(--gold);line-height:1}.card p{color:var(--muted)}.card a{color:#855a21;font-weight:650}.tint{background:#f4ebdc}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.note{padding:32px;border-radius:18px;background:white;border:1px solid var(--line)}.list{padding-left:22px}.list li{margin:10px 0}.contact{background:#432d20;color:#fff9ef}.contact a{color:#f6d39b}.contact .button{color:white}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.site-footer{background:#2d1e16;color:#e9d9c1;padding:28px 0;font-size:14px}.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.policy{max-width:800px}.policy h2{font-size:31px}.wp-content{max-width:820px;padding:70px 0}.wp-content a{color:#86591d}button,.button,a{outline-offset:4px}@media(max-width:850px){.header-row{flex-wrap:wrap;padding:13px 0}.nav{width:100%;overflow-x:auto;gap:17px;padding-bottom:7px}.hero-grid,.two-col,.contact-grid{grid-template-columns:1fr}.hero{padding:52px 0}.hero-photo{height:340px;max-width:500px;order:-1}.cards{grid-template-columns:1fr}section{padding:58px 0}}@media(max-width:480px){.container{width:min(100% - 28px,1120px)}.brand{font-size:21px}.nav{font-size:14px}.hero-photo{height:280px;box-shadow:10px 10px 0 #e9d5b4}.lead{font-size:18px}.actions .button{width:100%}}

body{padding-bottom:76px}.booking-bar{position:fixed;bottom:0;left:0;right:0;z-index:9;background:rgba(255,253,249,.97);border-top:1px solid var(--line);box-shadow:0 -7px 25px #39241918}.booking-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.booking-inner span{font-family:Georgia,serif;font-size:21px}.booking-inner .button{min-width:180px}@media(max-width:480px){.booking-inner span{font-size:16px}.booking-inner .button{min-width:148px;padding:9px 13px;font-size:14px}}
.poster-home{padding:30px 0 44px;background:#fffdfa}.poster-wrap{max-width:860px;text-align:center}.poster-wrap img{display:block;width:100%;height:auto;box-shadow:0 8px 35px #39241918}.wp-content{min-height:60vh}.wp-content h1{font-size:clamp(38px,5vw,62px)}.wp-content h2{font-size:clamp(27px,3vw,38px)}.wp-content p,.wp-content li{max-width:720px}.wp-content .button{margin:10px 0}.wp-content .info-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 28px;margin:25px 0}@media(max-width:480px){.poster-home{padding:14px 0 30px}.poster-home .container{width:100%}.poster-wrap img{box-shadow:none}}

.brand{display:flex;flex-direction:column;align-items:center;gap:0;line-height:1;letter-spacing:normal;min-width:150px}.brand-main{font-family:Arial,Helvetica,sans-serif;font-weight:300;font-size:23px;letter-spacing:.13em;color:#bd842c}.brand-script{font-family:"Brush Script MT","Segoe Script","Snell Roundhand",cursive;font-style:italic;font-size:30px;line-height:.9;color:#bd842c;font-weight:400}.poster-address{text-align:right;margin:12px 4px 0;font-size:17px;color:var(--dark);font-weight:600}@media(max-width:480px){.brand{min-width:128px}.brand-main{font-size:19px}.brand-script{font-size:26px}.poster-address{padding:0 14px;font-size:15px}}

.brand{min-width:165px;height:65px;display:block}.brand-mark{display:block;width:165px;height:65px;background-image:url("assets/logo.jpg");background-repeat:no-repeat;background-size:260px 228px;background-position:-48px -93px}.poster-wrap{position:relative}.poster-pin-address{position:absolute;left:58%;top:85%;width:32%;height:8.4%;padding:5px 7px;background:rgba(255,253,249,.96);text-align:left;font-size:clamp(12px,1.55vw,20px);line-height:1.35;color:#392419;font-weight:650;box-shadow:0 2px 9px #39241912}@media(max-width:480px){.brand{min-width:135px;width:135px;height:56px}.brand-mark{transform:scale(.82);transform-origin:left top}.poster-pin-address{font-size:clamp(10px,2.9vw,14px);padding:2px 4px;left:57%;top:85%}}

/* Selkeä tekstilogo: ei rajattua logokuvaa. */
.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:165px;width:auto;height:65px;text-decoration:none;line-height:1}.brand-main{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:300;letter-spacing:.14em;color:#b37d2a}.brand-script{font-family:"Brush Script MT","Segoe Script","Snell Roundhand",cursive;font-size:29px;font-style:italic;font-weight:400;line-height:.95;color:#b37d2a}@media(max-width:480px){.brand{min-width:135px;width:auto;height:56px}.brand-main{font-size:18px}.brand-script{font-size:25px}}
.site-footer{background:#f5ead7;color:#594332;border-top:1px solid var(--line)}.site-footer a{color:#80561e}

.brand{display:block;min-width:165px;width:165px;height:auto;line-height:0}.brand img{display:block;width:165px;height:auto;object-fit:contain}@media(max-width:480px){.brand{min-width:125px;width:125px;height:auto}.brand img{width:125px}}

.gift-intro{max-width:740px}.gift-form{max-width:800px;margin:34px 0;padding:clamp(22px,4vw,44px);background:#fffdf9;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px #3924190b}.gift-form h2{margin-top:0}.gift-form label{display:block;margin:17px 0;font-weight:650}.gift-form label span{color:#a13322}.gift-form input,.gift-form textarea,.gift-form select{display:block;width:100%;margin-top:7px;padding:12px 13px;background:white;color:var(--dark);border:1px solid #bda987;border-radius:8px;font:inherit;font-weight:400}.gift-form input:focus,.gift-form textarea:focus,.gift-form select:focus{outline:2px solid var(--gold);outline-offset:2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-small{font-size:14px;color:var(--muted)}.gift-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.form-notice{padding:16px 20px;border-radius:10px;margin:20px 0}.form-notice.success{background:#e8f3e6;border:1px solid #9ac18e}.form-notice.error{background:#fff0e9;border:1px solid #dc9e82}@media(max-width:650px){.form-grid{grid-template-columns:1fr}}

@media(max-width:850px){.nav{flex-wrap:wrap;overflow:visible;row-gap:7px;justify-content:center}.header-row{justify-content:center}.site-header{position:relative}}

.header-row{min-height:116px}.brand{min-width:105px;width:105px}.brand img{width:105px;height:105px;object-fit:contain}@media(max-width:850px){.header-row{min-height:0}.brand{min-width:94px;width:94px}.brand img{width:94px;height:94px}}

.brand{min-width:165px;width:165px}.brand img{width:165px;height:auto;object-fit:contain}@media(max-width:850px){.brand{min-width:125px;width:125px}.brand img{width:125px;height:auto}}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}body{overflow-x:hidden}.poster-wrap{width:min(860px,100%)}.poster-wrap img{width:100%;max-width:100%;height:auto}.nav a{white-space:nowrap}@media(max-width:850px){.nav{max-width:100%;justify-content:center;gap:10px 16px}.nav a{font-size:15px}}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.offer-box{background:#fff6e7;border:1px solid #dec494;border-radius:18px;padding:28px;margin:36px 0}.offer-box h2{margin:8px 0 12px}.offer-box p{margin:10px 0}.price-list{list-style:none;padding:0;margin:12px 0 42px;border-top:1px solid var(--line)}.wp-content .price-list li{max-width:none;display:flex;align-items:baseline;justify-content:space-between;gap:22px;padding:14px 4px;margin:0;border-bottom:1px solid var(--line)}.price-list li span{flex:1}.price-list li strong{white-space:nowrap;color:#80561e;font-size:19px}.price-list small{display:block;color:var(--muted);font-size:15px;line-height:1.45;margin-top:4px}.wp-content h3{margin-top:38px}@media(max-width:520px){.offer-box{padding:22px}.price-list li strong{font-size:17px}}
.price-list li span{font-weight:650}.price-list li small{font-weight:400}
.wp-content .opening-notice{max-width:720px;background:#fff6e7;border-left:4px solid var(--gold);padding:12px 18px;margin:10px 0}
