/*
 Theme Name:   Twenty Twenty-Four
 Description:  Twenty Twenty-Four Child Theme
 Author:       Sven Baier
 Author URI:   http://svenbaier.de
 Description: Twenty Twenty-Four is designed to be flexible,
 versatile and applicable to any website. Its collection of templates and patterns tailor to different needs,
 such as presenting a business,
 blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process,
 is fully compatible with the site editor,
 and takes advantage of new design tools introduced in WordPress 6.4.
 Template:     twentytwentyfour
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0 License: GNU General Public License v2 or later
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: one-column,
custom-colors,
custom-menu,
custom-logo,
editor-style,
featured-images,
full-site-editing,
block-patterns,
rtl-language-support,
sticky-post,
threaded-comments,
translation-ready,
wide-blocks,
block-styles,
style-variations,
accessibility-ready,
blog,
portfolio,
news
 Text Domain:  clapakram
*/

/* WEBFONTS */

/* teko-500 - latin - Title casa mickimania */
@font-face {
  font-display: swap;
  font-family: 'Teko';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/teko-v20-latin-500.woff2') format('woff2'); 
}
/* teko-600 - latin - Title casa mickimania */
@font-face {
  font-display: swap; 
  font-family: 'Teko';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/teko-v20-latin-600.woff2') format('woff2'); 
}

/* teko-700 - latin - Title casa mickimania*/
@font-face {
  font-display: swap; 
  font-family: 'Teko';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/teko-v20-latin-700.woff2') format('woff2'); 
}

/* khand-500 - latin - Housekeeping & Co - H1, H2 */
@font-face {
  font-display: swap; 
  font-family: 'Khand';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/khand-v17-latin-500.woff2') format('woff2'); 
}

/* vujahday-script-regular - latin - H3 handwritten */
@font-face {
  font-display: swap; 
  font-family: 'Vujahday Script';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/vujahday-script-v8-latin-regular.woff2') format('woff2'); 
}

/* saira-extra-condensed-regular - latin - H4-H6, p */
@font-face {
  font-display: swap;
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/saira-extra-condensed-v13-latin-regular.woff2') format('woff2');
}
/* saira-extra-condensed-500 - latin - H4-H6, p */
@font-face {
  font-display: swap;
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/saira-extra-condensed-v13-latin-500.woff2') format('woff2');
}
/* saira-extra-condensed-600 - latin - H4-H6, p */
@font-face {
  font-display: swap;
  font-family: 'Saira Extra Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/saira-extra-condensed-v13-latin-600.woff2') format('woff2');
}


/* ---------------------------------------------------------------- */

body {

    --wp--style--global--content-size: 1440px !important;
    --wp--style--global--wide-size: 1440px !important;
    /* background: linear-gradient(20deg, rgba(241,233,215,1) 55%, rgba(255,255,255,1) 100%); */
    background: #f1e9d7 url(img/casa-bg-cut.png) no-repeat center right !important;
    background-attachment:fixed;
}

body.home .wp-block-post-title {display:none;}
/*
.wp-site-blocks {
    background-image: url(img/casa-bg-cut.png);
    background-position: center right; 
    background-repeat: no-repeat; 
    background-attachment:fixed;

}
*/
.wp-block-post-terms a:where(:not(.wp-element-button)) {
    text-decoration: none;
    color: #005da2 !important;
    font-weight: bold;
}
.wp-block-post-terms a:where(:not(.wp-element-button)):hover {
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: #ceac7e !important;
    text-decoration: underline;
}
a:hover {
    color: #a1815d !important;
}

h1 {
    font-family: 'Khand', sans-serif !important;
    font-weight: 500 !important;
    color: #a1815d !important;
}

h2, h3 {
    font-family: 'Khand', sans-serif !important;
    font-weight: 500 !important;
    color: #473e34 !important;
}

h4 {
    font-family: 'Vujahday Script', serif !important;
    font-weight: 400 !important;
    color: #473e34 !important;
    /*
    transform: rotate(-8deg);    
    margin-top: -30px !important;
    */
    margin-bottom: 60px;
}

h5, h6 {
    font-family: 'Khand', sans-serif !important;
    font-weight: 500 !important;
    color: #473e34 !important;
}

h6 {
    margin-top: 0px !important;
}

h1 { font-size: 65px !important; line-height: 1.2em !important; hyphens: auto; text-transform: lowercase; letter-spacing: -0.01em;}
h2 { font-size: 50px !important; line-height: 1.2em !important; hyphens: auto; letter-spacing: -0.01em;}
h3 { font-size: 38px !important; line-height: 1.2em !important; hyphens: auto; letter-spacing: -0.01em;}
h4 { font-size: 45px !important; line-height: 0.9em !important; hyphens: auto; letter-spacing: -0.01em;}
h5 { font-size: 28px !important; line-height: 1.2em !important; hyphens: none; letter-spacing: -0.01em;}
h6 { font-size: 20px !important; line-height: 1.2em !important; hyphens: none; letter-spacing: -0.01em;}

p, ul {    
    font-family: 'Saira Extra Condensed', sans-serif !important;    
    font-weight: normal !important;
    font-size: 24px !important;
    line-height: 30px !important;
    text-align: left;
    hyphens: none;
}

.wp-block-post-excerpt__excerpt {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 16px !important;
    line-height: 20px !important;
}


/* sticky Header */
header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    padding: 25px 0 20px 0;
    background:#fff !important;
}
body {padding-top:118px;}
/*
header .header-full {
    padding: 37px 20px !important;
}
*/

.slider-pro {
    margin-top: -2px !important;
}

/* Navigation */

.wp-block-navigation a {
    font-family: 'Teko', sans-serif !important;
     text-transform: lowercase;
    font-size: 1.2em;
    line-height: 1em;
}
.wp-block-navigation .current-menu-item a {
    color:#a1815d !important;
}




.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end !important;
}

.wp-block-navigation__responsive-container-open svg {
    display: inline-block;
    height: 40px !important;
    width: 40px !important;
    margin-top: -5px !important;
}

.wp-block-navigation__responsive-close svg {
    display: inline-block;
    height: 40px !important;
    width: 40px !important;
    margin-top: 30px !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: 0 !important;
    padding: 10px 0 20px 0 !important;
}
/*
.wp-block-navigation__submenu-container li {
    padding-right: 20px !important;
}
*/
.wp-block-navigation__submenu-container li a {
    font-size: 18px !important;
}


.wp-block-site-logo img {
    height: auto;
    max-width: 100%;
    /* width: 100%; */
}

.wp-block-site-title {
    font-family: 'Teko', sans-serif !important;
    font-size: 3em !important;
    font-style: normal !important;
    font-weight: 500 !important;
    text-transform: lowercase;
    color: #ceac7e !important;
}

header {z-index: 9999 !important;}
header .has-base-background-color {
    background:#fff !important;
}
.header-full {
    background:#fff !important;
}
.header-scroll {
    background:#fff !important;
    padding: 10px 0 5px 0;
    box-shadow: rgba(133, 108, 15, 0.4) 0px 3px 6px 0px;
}

.header-scroll .wp-block-site-logo img {
    max-width: 70%;
}

.header-scroll, .header-full, .wp-block-site-logo img {
  -webkit-transition: 0.6s; 
  -moz-transition: 0.6s; 
  -ms-transition: 0.6s; 
  -o-transition: 0.6s; 
  transition: 0.6s;  
}

.wp-container-core-navigation-layout-1.wp-container-core-navigation-layout-1 {
    margin-right: -10px;
}

.wp-block-query-no-results {
    padding-top: 0 !important;
}

.wp-block-post-featured-image img,
.slider-pro img.sp-image, .slider-pro img.sp-thumbnail {
  border-radius: 12px !important;
  border: 1px solid #dac8ad !important;
  box-shadow: rgba(218, 200, 173, 0.4) 0px 3px 6px 0px !important;
}

/* Galleries */
.wp-block-gallery {
    margin-bottom: 40px !important;
}

.wp-block-read-more:hover {
    text-decoration: underline;
}

.wp-block-image img {
    border-radius: 12px;
    border: 1px solid #dac8ad !important;
    box-shadow: rgba(218, 200, 173, 0.4) 0px 3px 6px 0px !important;
}

.wp-element-button:hover, .wp-block-button__link:hover {
  background: #fff !important;
  box-shadow: rgba(218, 200, 173, 0.4) 0px 3px 6px 0px !important;
}

.wp-block-icb-image-compare .icbImageCompare .comparison-slider > img,
.wp-block-icb-image-compare .icbImageCompare .comparison-slider .resize > img {
  border-radius: 12px;
  box-shadow: rgba(218, 200, 173, 0.4) 0px 3px 6px 0px !important;
}
.wp-block-icb-image-compare .icbImageCompare {
  background-color: transparent !important;
  display: inline-block;
}

#fancybox-overlay {
    z-index: 9999 !important;
}
#fancybox-wrap {
    z-index: 9999 !important;
}
/*
#fancybox-img {
    border-radius: 20px !important;
}
*/

/* Lightbox 
#baguetteBox-overlay {
    background-color: rgba(0, 93, 162, 0.9) !important;
}

.baguetteBox-button#close-button {
    top: 46px !important;
    right: calc(4.3% + 6px) !important;
}
.baguetteBox-button#close-button svg {
   
}
.baguetteBox-button#close-button svg g {
    stroke: #fff !important;
}
.baguetteBox-button svg polyline {
    stroke: #fff !important;
}

.baguetteBox-button, .baguetteBox-button:hover {
    background-color: transparent !important;
}

*/

/* Footer */
footer {
    margin:0 !important;
    box-shadow: rgba(133, 108, 15, 0.4) 0px -3px 6px 0px;
}
/*
footer .foolter-col-1 { order: 1; }
footer .foolter-col-2 { order: 2; }
footer .foolter-col-3 { order: 3; }
*/
/* footer .wp-block-group { padding-top: 0 !important; } */
footer p {    
    font-size: 18px !important;
    line-height: 24px !important;
    text-align: left !important;
}

.footer-micki img { box-shadow: none !important;border: 0 !important;}

.footer-copy p { 
    font-family: 'Teko', sans-serif !important;
    font-size: 16px !important;
    color: #a1815d !important;
 }


footer .wp-container-core-navigation-layout-2.wp-container-core-navigation-layout-2 {
    margin-block-start: 1px !important;
}


@media (max-width: 1040px) {


} /* -- end max-width 1040px */



@media (max-width: 960px){

.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr !important;
}

.wp-block-site-title {
    font-size: 2.5em;
}

h1 { font-size: 55px; line-height: 1.2em !important; hyphens: none;}
h2 { font-size: 40px; line-height: 1.2em !important; hyphens: none;}
h3 { font-size: 25px; line-height: 1.2em !important; hyphens: none;}
h4 { font-size: 35px; line-height: 1.0em !important; hyphens: none;}
h5 { font-size: 25px; line-height: 1.2em !important; hyphens: none;}
h6 { font-size: 16px; line-height: 1.2em !important; hyphens: none;}

.footer-micki img { max-width: 100px !important;}
.footer-col-1 { padding:20px; }
.footer-col-2 { padding:0 20px; }
.footer-copy { padding:0 20px; }

}

@media (max-width: 890px) {


} /* -- end max-width 890px */

@media (max-width: 767px) {

body {
    background-size: 70%;    
    background-attachment:fixed;
}

} /* -- end max-width 767px */




@media (max-width: 640px) {

h4 {
    transform: rotate(-6deg) !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    padding:0 20px !important;
    text-align: center !important;
}

} /* -- end max-width 640px */



@media (max-width: 480px) {

.wp-block-site-title {
    font-size: 2.5em !important;
}

} /* -- end max-width 480px */