/*
Theme Name: Divi Child Theme
Version: 2.0.0
Description: FK-Stokholm – tilpasninger til Divi 5
Author: Kent Pedersen
Template: Divi
Author URI: https://www.kpdesign.dk
*/
:root{--fk-olive:#76572e;--fk-cream:#f5f3d6;--fk-ink:#342f29;--fk-paper:#fffdf7;}
body{color:var(--fk-ink);font-size:17px;line-height:1.75;background:var(--fk-paper);}
h1,h2,h3,h4{color:var(--fk-ink);line-height:1.2;}
a{color:var(--fk-olive);}
#main-header,#main-header.et-fixed-header{background:var(--fk-cream);box-shadow:0 1px 0 rgba(52,47,41,.1);}
#main-header .container{width:92%;max-width:1320px;}
#main-header .logo_container a{display:inline-block;line-height:1.2;vertical-align:middle;}
#main-header .logo_container a:before{content:'FK-STOKHOLM';display:block;font:700 25px/1.2 Arial,sans-serif;letter-spacing:1px;color:#342f29;}
#main-header .logo_container a:after{content:'Käthe & Flemmings liv, rejser og slægt';display:block;font:12px/1.8 Arial,sans-serif;color:#62584c;}
#main-header #logo{display:none;}
#top-menu a{color:#342f29;font-size:13px;letter-spacing:.06em;text-transform:uppercase;}
#top-menu li.current-menu-item>a,#top-menu li.current-menu-ancestor>a{color:#76572e;}
#top-menu li li a{font-size:13px;letter-spacing:0;text-transform:none;line-height:1.5;}
.nav li ul,.et_mobile_menu{border-color:#b88a44;background:#fffdf7;}
.mobile_menu_bar:before{color:#76572e;}
#main-footer{background:#342f29;}
#footer-bottom{background:#29251f;}
#footer-info,#footer-info a,#main-footer a{color:#f5f3d6;}
.et_pb_button{border-radius:5px;}
.et_pb_post img{border-radius:8px;}
.et_pb_post .entry-title{font-size:27px;}
.fk-family-frame{background:#fff;border:1px solid #e5ddca;border-radius:12px;overflow:hidden;box-shadow:0 12px 34px rgba(52,47,41,.06);}
.fk-family-frame iframe{max-width:100%;}
.et_pb_text a:not(.et_pb_button){text-underline-offset:3px;}
@media(max-width:980px){#main-header .logo_container a:before{font-size:21px;}#main-header .logo_container a:after{font-size:10px;}body{font-size:16px;} .fk-family-frame{border-radius:7px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}*{animation-duration:.01ms!important;transition-duration:.01ms!important;}}

/* The logo and family tree belong to this child theme. */
#main-header .logo_container a:before,#main-header .logo_container a:after{content:none;}
#main-header #logo{display:inline-block;width:300px;max-height:60px;height:auto;}
.et_header_style_left #et-top-navigation{padding-left:325px!important;}
.fk-legacy-content{display:flow-root;}
.fk-legacy-content h1{font-size:clamp(30px,4vw,46px);margin-bottom:35px;}
.fk-legacy-content img{max-width:100%;height:auto;border-radius:7px;}
.fk-legacy-content .wp-caption{max-width:100%;}
.page-id-433 .et_pb_row{width:94%;max-width:1400px;}
.page-id-433 h1{font-size:clamp(30px,4vw,46px);margin-bottom:20px;}
.page-id-433 .fk-family-frame{margin:32px 0;}
.page-id-565 .et_pb_row{max-width:960px;}
.et_pb_contact_form input,.et_pb_contact_form textarea{border-radius:6px;}
@media(max-width:980px){#main-header #logo{width:255px;max-height:52px;}.et_header_style_left #et-top-navigation{padding-left:0!important;}}
@media(max-width:600px){#main-header #logo{width:225px;}.fk-legacy-content .alignleft,.fk-legacy-content .alignright{float:none;display:block;margin:20px auto;}.fk-legacy-content h1{margin-bottom:24px;}}

/* Keep the caravan logo legible on small screens. */
#main-header #logo{max-width:100%;}
@media(max-width:600px){#main-header #logo{width:min(225px,calc(100vw - 135px));}.logo_container a{max-width:calc(100% - 80px);}}
.et_pb_contact_submit{color:#76572e!important;border-color:#76572e!important;}

/* Consent controls follow the site palette. */
.cmplz-cookiebanner{border-color:#e5ddca!important;border-radius:10px!important;font-family:Arial,Helvetica,sans-serif!important;}
.cmplz-cookiebanner .cmplz-title{color:#76572e!important;}
.cmplz-cookiebanner .cmplz-btn{border-color:#76572e!important;border-radius:5px!important;}
.cmplz-cookiebanner .cmplz-accept{background:#76572e!important;color:#fff!important;}
.cmplz-cookiebanner .cmplz-deny,.cmplz-cookiebanner .cmplz-view-preferences{background:#fff!important;color:#76572e!important;}
#cmplz-manage-consent .cmplz-manage-consent{background:#f5f3d6!important;color:#76572e!important;}

/* Seamless family-tree page. */
.page-id-433 #main-content .et_pb_section,.page-id-433 #main-content .et_pb_row,.page-id-433 #main-content .et_pb_column,.page-id-433 #main-content .et_pb_text{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
.page-id-433 .fk-family-frame{border:0;border-radius:0;box-shadow:none;margin:0!important;background:#faf9f5;}
.fk-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}

/* Preserve the sunset colours while keeping the hero text readable. */
.home .et_pb_section_0{background-color:transparent!important;background-blend-mode:normal!important;position:relative;}
.home .et_pb_section_0:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.42));pointer-events:none;}
.home .et_pb_section_0 .et_pb_row{position:relative;z-index:1;}
.home .et_pb_section_0 .fk-eyebrow{color:#fff5df!important;}

/* One consistent rounded outline for homepage cards and their image overlays. */
.home .et_pb_post{border-radius:12px;overflow:hidden;}
.home .et_pb_post .et_pb_image_container,.home .et_pb_post .entry-featured-image-url,.home .et_pb_post .entry-featured-image-url img,.home .et_pb_post .et_overlay{border-radius:0;}
