/*
Theme Name: My Awesome Theme
Theme URI: https://www.myawesometheme.com
Author: John Doe
Author URI: https://www.johndoe.com
Description: My Awesome Theme is a responsive, modern, and feature-rich WordPress theme designed for all kinds of websites. It comes with a custom homepage layout, multiple widget areas, and full compatibility with popular plugins.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: my-awesome-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/




@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');

/*globális változó :root*/
:root {
    --green: #407436;
    --beige: #DDC9B9;
    --light-purple: #DCBBC2;
    --purple: #B06097;
    --body-txt: #434f49;

}

html {
    font-size: 1.25vw;
    /*24px*/
}


@media only screen and (max-width: 1281px) {
    html {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1025px) {
    html {
        font-size: 1.4vw;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 22px;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 18px;
    }
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/* margók letiltása */
body {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--body-txt);
    overflow-x: hidden;

}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--purple);
    text-decoration: none;
}


P,
li {
    line-height: 1.5;
}

ul {
    padding-left: 20px;
}

ul li::marker {
    color: var(--purple);
}

ol {
    padding-left: 1.5rem;
}

ol li::marker {
    font-weight: bold;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}

ol li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--light-purple);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
    border-radius: 50%;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-family: "DM Serif Display", serif;
}

h1 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    z-index: 1;
}


h2 {
    font-size: 1.75rem;
    margin-top: 0;
    position: relative;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 10px;
    /* A cím és a vonal közötti távolság */
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    /* A vonal elhelyezkedése */
    width: 25rem;
    /* A vonal hossza */
    height: 2px;
    /* A vonal vastagsága */
    background-color: var(--purple);
    /* A vonal színe */
    transform: translateX(-50%);
    /* Középre igazítás */
}

/* Balra igazított cím és aláhúzás */
h2.has-text-align-left::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 25rem;
    height: 2px;
    background-color: var(--purple);
    transform: none;
}

/* Középre igazított cím és aláhúzás */
h2.has-text-align-center {
    display: block;
    text-align: center;
}

h2.has-text-align-center::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 25rem;
    height: 2px;
    background-color: var(--purple);
    transform: translateX(-50%);
}



.box-style-about h2::after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: -8px;
    /* A vonal elhelyezkedése */
    width: 15rem;
    /* A vonal hossza */
    height: 2px;
    /* A vonal vastagsága */
    background-color: var(--purple);
    /* A vonal színe */
}


h3,
.archive h2 {
    font-size: 1.25rem;
}

h2 a,
h3 a {
    color: inherit;
}


h2 a:hover,
h3 a:hover {
    color: var(--purple);
}


h1 {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 0.6s;
}

.hero h1 {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 1.2s;
}

.hero .wp-block-button {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 1.5s;
}

.wp-block-button.visible,
.button.visible,
.wp-block-post-excerpt__more-text.visible {
    opacity: 0;
    animation: hello 0.6s ease-in-out forwards;
    transform: translateX(-50px);
}


@keyframes hello {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes helloup {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hellosize {
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.page-template-page-hero h1 {
    margin-top: 0;
}

.page-template-page-hero h1 {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-template-page-hero .hero h2 {
    font-size: 1.75rem;
    margin-top: 0;
    position: relative;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 1rem;
    /* A cím és a vonal közötti távolság */
    text-align: center;
    font-family: "DM Sans", sans-serif;
}

.page-template-page-hero .hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    /* A vonal elhelyezkedése */
    width: 25rem;
    /* A vonal hossza */
    height: 2px;
    /* A vonal vastagsága */
    background-color: var(--purple);
    /* A vonal színe */
    transform: translateX(-50%);
    /* Középre igazítás */
}

.page-template-page-hero .hero h2::after {
    content: none !important;
}

.page-template-page-hero .hero .content-box {
    text-align: center;
    padding-bottom: 3rem;
    padding-top: 4rem;
}


.page-template-page-hero .torzskonyv a {
    color: var(--purple);
    text-decoration: underline;
}

.page-template-page-hero .torzskonyv a:hover {
    color: var(--light-purple);
    /* ha van ilyen változód */
    text-decoration: underline;
}

.page-template-page-hero .wp-block-post-featured-image :where(img) {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wp-block-post-excerpt__excerpt {
    margin-bottom: 1rem;
}

.wp-block-post-excerpt__more-text {
    margin-bottom: 1.5rem;
}

.button,
.wp-block-button a,
.wp-block-post-excerpt__more-link,
input[type=submit] {
    display: inline-block;
    padding: 0.75rem 2rem;
    color: #fff;
    background: var(--purple);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 2rem;
}


.button:hover,
.wp-block-button a:hover,
.wp-block-post-excerpt__more-link:hover,
input[type=submit]:hover, .wp-block-buttons .wp-block-button:last-child a:hover {
    color: #fff;
    background: var(--light-purple);
    padding: 0.75rem 2rem;
}

.wp-block-buttons .wp-block-button:last-child a {
    display: inline-block;
    padding: 0.75rem 2rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--purple);
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 2rem;
}


.align-center {
    text-align: center;
}

header {
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
}

#top-head {
    background: var(--purple);
    color: #fff;
    font-size: 0.75rem;
}



#top-head .content-box,
#head .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

}




#top-head ul {
    display: flex;
    gap: 1.5rem;
    margin: 0.35rem 0;
}

#top-head ul li {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

#top-head a {
    color: #fff;
}

#top-head .icon {
    display: flex;
    /* logók egymás mellé */
    gap: 0.5rem;
    padding-left: 1rem;
}

#top-head .icon svg {
    height: 0.2rem;
    /* egységes logóméret */
    display: block;
}

#head {
    padding: 0.5rem 0;
}


#logo {
    max-width: 5rem;
}


.hero {
    background: var(--beige);
    overflow: hidden;
    margin-bottom: 0;
    padding: 0 0;
}

.home-hero {
    background-image: url(img/hero.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    color: #fff;
}


.home-hero .wp-block-media-text__content {
    padding-left: 40px !important;
    padding-right: 0 !important;
}

.home-hero .wp-block-media-text__media {
    border-top-left-radius: 500px;
    overflow: hidden;
    margin: 0;
}

.home-hero-img {
    border-top-left-radius: 500px;
    overflow: hidden;
    margin: 0;
    padding-bottom: 0 !important;
}

.about .wp-block-media-text__media {
    overflow: hidden;
    margin: 0;
}


.box-style,
blockquote,
.query-cta ul li {
    background: var(--purple);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.query-cta-dogs ul li {
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.query-cta ul li figure,
.box-style figure,
.query-cta-dogs ul li figure {
    margin: 0 0;

}

.query-cta ul li h3,
.query-cta ul li h2,
.query-cta-dogs ul li h3,
.query-cta-dogs ul li h2 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.25rem;
}

.query-cta-dogs .wp-block-post-featured-image img {
    height: 350px;
    /* egységes magasság */
    width: 100%;
    /* teljes szélesség */
    object-fit: cover;
    /* vágja, de arányosan tartsa */
    display: block;
}

.query-cta-dogs .wp-block-post-excerpt {
    line-height: 1.2;
    font-family: "DM Serif Display", serif;
    font-size: 1.25rem;
    color: inherit;
}

.query-cta-dogs-h3 a:hover {
    color: var(--purple);
}

.query-cta-dogs h3 {
    position: relative;
    text-align: center;
    /* középen */
}

.query-cta h3 a:hover {
    color: #fff;
}


.box-style-about {
    border: 2px solid var(--purple);
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    overflow: hidden;
    padding: 0 50px 50px 50px;
    margin-top: -10rem;
}


.box-style-dogs ul li {
    border-radius: var(--radius);
    background: var(--green);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.box-style-dogs ul li figure {
    margin: 0 0;
}

.box-style-dogs ul li h3,
.box-style-dogs ul li h2 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.5rem;
}

.box-style-dogs {
    overflow: hidden;
    display: block;
}


.box-style-dogs a img {
    transition: all 0.3s ease-in-out;
    display: block;
}

box-style-dogs a:hover img {
    transform: scale(1.2);
}

.box-style-news {
    border: 2px solid var(--purple);
    background: #fff;
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    padding: 0 1.5rem 1.5rem 1.5rem;
    overflow: hidden;
    width: 20rem;
    height: 45rem;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.box-style-news figure {
    margin: 0 -1, 5.rem;
}

.box-style-news-img {
    width: 20rem;
    height: 400px;
    object-fit: cover;
    display: block;
    padding: 0;
    margin: 0 -1.5rem;
}


.box-style-velemeny {
    border: 3px solid var(--purple);
    background: var(--beige);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    overflow: hidden;
    padding: 50px;
}


/* 🔹 Gutenberg Query Pagination gombok (Next/Previous) stílus */
.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    text-indent: -9999px;
    /* szöveg elrejtése */
}

/* 🔹 Bal nyíl */
.wp-block-query-pagination-previous::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid var(--wp--preset--color--purple, #7a2c91);
    /* Supreme Passion lila */
    position: absolute;
}

/* 🔹 Jobb nyíl */
.wp-block-query-pagination-next::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--wp--preset--color--purple, #7a2c91);
    position: absolute;
}


.history {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8e7e7;
    padding: 2rem;
    border: 3px solid var(--purple);
    flex-wrap: wrap;
}

.history img {
    max-width: 400px;
    height: auto;
}



.padding {
    padding: 0;
}


.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% + 9px);
    margin-left: -50vw;
}

.narrow {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.narrow-2 {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.narrow-3 {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.narrow-border {
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--purple);
    padding: 2rem;
}

.narrow-border-02 {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--purple);
    padding: 3rem;
}

.vertical-center {
    align-items: center;
}

.beige-bg {
    background: var(--beige);
    padding: 5vw 0;
    color: var(--title);

}

.purple-bg {
    background: var(--purple);
    color: var(--title);
    margin-bottom: 0 !important;
}


input[type=text],
input[type=tel],
input[type=email],
select,
textarea {
    background: #fff;
    border: solid 3px var(--purple);
    box-shadow: 0px 2px 10px 0px rgba(1, 122, 111, 0.20);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

form a {
    text-decoration: underline;
    color: var(--purple);
}

footer {
    background: var(--purple);
    color: #000;
    font-size: smaller;
    padding: 5rem 0 3rem 0;


}

footer a,
footer h3 {
    color: #000;
}

footer a:hover {
    color: var(--light-purple);
}

.footer-logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    /* tetszőleges térköz a logók között */
    background: var(--purple);
}

.footer-logos .logo-svg svg {
    width: auto;
    height: 5rem;
    display: block;
    margin-bottom: 2rem;
    /* az utolsó után legyen extra tér */
}


#copyright {
    background: var(--purple);
    color: #fff;
    font-size: smaller;
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    overflow: hidden;
}




.box-style figure {
    margin-bottom: 1rem;
}

.wp-block-query .wp-block-post-featured-image a,
.box-style figure a {
    overflow: hidden;
    display: block;
}

.wp-block-query .wp-block-post-featured-image a img,
.box-style figure a img {
    transition: all 0.3s ease-in-out;
    display: block;
}

.wp-block-query .wp-block-post-featured-image a:hover img,
.box-style figure a:hover img {
    transform: scale(1.2);
}

@media only screen and (max-width: 1281px) {


    #head .content-box {
        flex-wrap: wrap;
    }

    #head-menu {
        width: 100%;

    }


    .wide {
        width: 100vw;
        left: 50%;
    }

}



@media only screen and (max-width: 1023px) {
    #top-head .content-box {
        display: block;
        text-align: center;
    }

}

@media only screen and (max-width: 768px) {

    .home-section,
    .home-section .wp-block-buttons {
        display: block !important;
    }

    .home-section-txt {
        text-align: center;
    }

    .home-section h2 {
        justify-content: center;
        display: flex;
    }

    .page-template-page-hero h1,
    .page-template-page-hero .hero h2 {
        font-size: 1.5rem;
    }

    h1,
    h2 {
        font-size: 1.5rem;
    }

    h3,
    .archive h2 {
        font-size: 1rem;
    }

    .query-cta ul {
        display: block;
    }

    .query-cta ul li {
        margin-bottom: 1rem;
    }

    .preference {
        column-count: 1;
    }

    .box-style-news {
        height: 45rem;
    }

    .query-cta-dogs .wp-block-post-featured-image img {
        height: 150px;
        /* egységes magasság */
    }

    .home-blog-loop .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }

    .home-blog-loop .wp-block-post-template > li {
        display: none;
    }

    .home-blog-loop .wp-block-post-template > li:first-child {
        display: block;
    }

    #n2-ss-2 [id*="arrow"],
    #n2-ss-3 [id*="arrow"],
    #n2-ss-4 [id*="arrow"],
    #n2-ss-5 [id*="arrow"] {
        padding: 0 !important;
    }
}



@media only screen and (max-width: 480px) {


    .hero h1 {
        font-size: 1.2rem;
    }

    .page-template-page-hero .hero h2 {
        font-size: 1rem;
    }

    #top-head ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    #top-head ul li {
        margin: 0;
        padding: 0.25rem 0;
    }

    #top-head .content-box {

        text-align: center;
        padding-bottom: 1.5rem;
    }

    .page-template-page-hero .hero h1::after {
        width: 10rem;
        /* A vonal hossza */
    }


    .page-template-page-hero .hero h2::after {
        width: 15rem;
    }

    h2.has-text-align-center::after {
        width: 15rem;
    }

    h2.has-text-align-left::after {
        width: 15rem;
    }

    .box-style-about {
        margin-top: 0.5rem;
        padding: 30px;
    }

    .box-style-about.wp-block-media-text > .wp-block-media-text__content {
        padding: 0;
    }

    .box-style-news {
        width: 19rem;
        margin: auto;

    }

    .query-cta-dogs .wp-block-post-featured-image img {
        height: 200px;
        /* egységes magasság */
    }


    .history {
        padding: 1rem;
    }

    footer .column-3 > div {
        width: 100%;
    }

    .wp-block-spacer {
        max-height: 50px;
    }

}
