/*
Theme Name: ASARI 2023 – World Residence
Template: asaritemplate2023
Description: Motyw potomny ASARI 2023 dla worldresidence.eu. Nadpisuje tylko pliki wymienione w README.md.
Version: 1.0.0
Author: World Residence
Text Domain: asaritemplate2023-worldresidence
*/

/* Style motywu rodzica ładuje sam motyw rodzica (URL_THEME/style.css). Tu tylko ewentualne dodatki. */


#header:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 450px;
    background: linear-gradient(180deg, rgb(255 255 255) 0%, rgb(182 182 182 / 50%) 25%, rgb(127 124 124 / 23%) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

#header .main-part .navigation ul li a {
    color: #5c5b5c;
    text-shadow: 1px 1px 1px var(--color-black-15), 1px 1px 3px var(--color-black-13);
}

.page-template-page-offers div#secondary .the-content {
    margin: 0 auto;
    width: 70%;
}

@media(max-width:768px){
    body.v2 :is(#slider .widgets, #slider + .widgets) h2 {
        display: inline-grid;
    }
    body.v2 :is(#slider .widgets, #slider + .widgets) h2 span {
        font-size:20px!important;
    }

}

#header :is(.main-part, .sliding-part) .navigation ul.sub-menu > li > a {
    display: block;
    padding: 7px 20px 6px;
    color: #413f3f;
    font-weight:300;
    text-shadow: unset;
}

#header .main-part .navigation ul li a {
    color: #5c5b5c;
    font-weight:500;
    text-shadow: unset;
}
#header :is(.main-part, .sliding-part) .navigation ul.menu > li > a {
    padding-left: 14px;
    padding-right: 28px;
}

#header :is(.main-part, .sliding-part) .navigation ul.menu > li:last-child > ul.sub-menu {
    left: auto;
    right: 0;
}

.page-id-543 .wp-block-quote p {
    font-size: 16px;
    line-height: 1.6;
}

/* WR typografia – cała strona */
body.page-template-default .the-content p,body.single-post .the-content p,body.page-template-default .the-content li,body.single-post .the-content li,.rank-math-answer,.page-template-page-offers .the-content p.wp-block-paragraph{font-size:18px;font-weight:400;line-height:1.75;color:#222}
body.page-template-default .the-content p,body.single-post .the-content p,.rank-math-answer,.page-template-page-offers .the-content p.wp-block-paragraph{margin-bottom:1.1em}
body.page-template-default .the-content h2,body.single-post .the-content h2,.page-template-page-offers .the-content h2.wp-block-heading,.page-template-page-home .the-content h2.wp-block-heading{font-size:28px;font-weight:600;line-height:1.3;margin:2.2em 0 .6em;color:#111}
body.page-template-default .the-content h3,body.single-post .the-content h3,.rank-math-question{font-size:20px;font-weight:600;line-height:1.4;margin:1.4em 0 .4em;color:#111}
body.page-template-default .the-content figure,body.single-post .the-content figure{margin:1.8em 0}
body.page-template-default .the-content figure img,body.single-post .the-content figure img{border-radius:8px;max-height:440px;object-fit:cover}
body.page-template-default .the-content figcaption,body.single-post .the-content figcaption{font-size:13px;font-weight:400;line-height:1.4;color:#666;margin-top:6px}
body.page-template-default .the-content p a,body.single-post .the-content p a{text-decoration:underline;text-underline-offset:2px}
.parent-pageid-612 .the-content,.page-id-612 .the-content{max-width:780px;margin-left:auto;margin-right:auto}
.parent-pageid-612 .the-content figure img{width:100%;height:auto}


/* WR opinie */
.the-content blockquote.wp-block-quote{font-size:16px;font-weight:400;line-height:1.65;color:#222;margin:1.4em 0;padding:1em 1.2em;border-left:3px solid #B8A071;background:#faf8f3}
.the-content blockquote.wp-block-quote p{font-size:16px;font-weight:400;line-height:1.65;margin:.4em 0 0}
.the-content blockquote.wp-block-quote cite{display:block;font-size:16px;font-weight:600;font-style:normal;color:#111}
.the-content .wr-stars{color:#B8A071;font-size:20px;letter-spacing:2px;margin-right:.35em;vertical-align:-1px}

/* WR opinie 2 */
.the-content blockquote.wp-block-quote,.the-content blockquote.wp-block-quote p{font-style:normal}


/* WR-HEADER-KAT: zdjecie naglowka per kategoria bloga */
body.category-o-dubaju #slider ul._slider li{background:url(https://worldresidence.eu/wp-content/uploads/2026/10/tlo-glowna-dubaj-basen-1779-opt.jpg) center/cover no-repeat}
body.category-o-dubaju #slider ul._slider li img{opacity:0}
body.category-o-hiszpanii #slider ul._slider li{background:url(https://worldresidence.eu/wp-content/uploads/2026/10/wr-1791138055942.jpg) center/cover no-repeat}
body.category-o-hiszpanii #slider ul._slider li img{opacity:0}


/* WR karty ofert: mniejsze etykiety parametrów (Liczba pokoi, Powierzchnia, Rok budowy…), rodzic dziedziczy 17px z dl.params */
.widget-offers.boxes:not(.type-2) .property .inner .info dl.params dt {
    font-size: 13px;
}
