/*
Theme Name: Lelektonus
Theme URI: https://www.vizsgamunka.nillaindia.hu
Author: Papp Nilla India
Author URI: https://www.nillaindia.hu
Description: A Lélektónus egy letisztult, művészi megjelenésű WordPress téma. Ideális tanácsadók, terapeuták, egészségügyi szakemberek, illetve blogírók számára.
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, elegant, blog, health, custom-colors, custom-header, holistic, dietetian, nutrition
*/

@import url("https://fonts.googleapis.com/css2?family=Gilda+Display&family=Hanken+Grotesk:wght@300;400;500&display=swap");

:root {
    --olive: #9ea57c;
    --mint: #8ba091;
    --golden: #b9a046;
    --body-txt: #434f49;
    --light-bg: #e0e0e0;
    --white: #fff;
    --blush: #d4aba6;
    --title: #2a3937;
    --radius: 2rem;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
html {
    font-size: clamp(18px, 1.5vw, 22px);
}
body {
    font-family: "Hanken Grotesk", sans-serif;
    background-color: var(--white);
    color: var(--body-txt);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body.error404 {
    background-image: url('./img/hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    margin: 0;
    }
.custom-404-container {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
    }
.custom-404-container h1 {
    color: var(--body-txt);
    font-size: 2.5em;
    margin-bottom: 20px;
    }
.custom-404-container p {
    color: var(--body-txt);
    line-height: 1.6;
    margin-bottom: 15px;
    }
.custom-404-container .button {
        display: inline-block;
        padding: 0.5em 1em;
        background-color: var(--blush);
        border: 2px solid var(--white);
        border-radius: var(--radius);
        color: var(--white);
        line-height: 1.2;
        vertical-align: middle;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
.custom-404-container .button:hover {
        background-color: var(--body-txt);
        color: var(--blush);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }
.custom-404-container .button:active {
        transform: translate(2px, 2px);
    }
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--blush);
    text-decoration: none;
}
p,
li {
    line-height: 1.5;
}
ul {
    padding-left: 1.5rem;
}
ol {
    padding-left: 1.5rem;
}
  #breadcrumbs {
    position: relative;
    z-index: 10;
    background-color: var(--blush);
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 12px 12px 0 0;
    color: var(--white) !important;
}
#breadcrumbs a {
    color: var(--white);
    text-decoration: none;
}
#breadcrumbs a:hover {
    text-decoration: underline;
}
.home #breadcrumbs {
    display: none;
}
h1,
h2,
h3 {
    font-family: "Gilda Display", serif;
    color: var(--title);
    line-height: 1.4;
}
.h-hero h1{
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(39, 34, 34, 0.171);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
h1 {
    opacity: 0;
    animation: hello 0.8s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 0.3s;
}
@keyframes hello {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.h-hero p {
    color: var(--white);
}
#highl {
    opacity: 0;
    animation: hello 0.8s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 0.6s;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
}
.h-hero h1 + p {
    opacity: 0;
    animation: hello 0.8s ease-in-out forwards;
    transform: translateX(-50px);
    animation-delay: 1.2s;
}
h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
h2.has-text-align-center {
    justify-content: center;
    display: flex;
}
h2.has-text-align-center::before {
    position: relative;
    left: 1.25rem;
    top: 0.25rem;
}
h3,
.archive h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--blush);
}
.archive h2:hover {
    color: var(--body-txt);
}
h2 a,
h3 a {
    color: inherit;
}
h2 a:hover {
    color: var(--blush);
}
.wp-post-image {
    max-width: 600px;
    height: auto;
}
.wp-image-598 {
    position: relative;
    z-index: 1000;
}
.page-template-page-hero h1 {
    margin-top: var(--radius);
}
.wp-block-post-excerpt__excerpt {
    margin-bottom: 1rem;
}
.wp-block-post-excerpt__more-text {
    margin-bottom: 1.5rem;
}
.button, a.button,
.wp-block-button a,
.wp-block-post-excerpt__more-link,
input[type="submit"] {
    padding: 0.5em 1em;
    background-color: var(--blush);
    border: 2px solid var(--white);
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.2;
    vertical-align: middle;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.button:hover,
.wp-block-button a:hover,
.wp-block-post-excerpt__more-link:hover,
input[type="submit"]:hover {
    background-color: var(--white);
    color: var(--blush);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.button:active,
.wp-block-button a:active,
.wp-block-post-excerpt__more-link:active,
input[type="submit"]:active {
    transform: translate(2px, 2px);
}
@media (min-width: 768px) {
    .button {
        min-width: 120px;
        padding: 0 20px;
    }
}
blockquote {
    font-family: "Gilda Display", serif;
    font-style: italic;
    color: var(--blush);
    border-left: 5px solid var(--olive);
    padding-left: 0.8rem;
    margin: 1.2rem 0;
}
.align-center {
    text-align: center;
}
header {
    background: var(--white);
}
#top-head {
    color: var(--white);
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}
#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;
}
#top-head ul a {
    color: var(--white);
}
.shape-divider-top {
        position: relative;
        z-index: 1;
}
.shape-divider-top svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3vw;
    z-index: 1;
}
.shape-divider-top::before{
    content:'';
    font-family:'shape divider from ShapeDividers.com';
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 132% 90px;
    background-position: 50% 0%; 
}
@media (min-width: 2100px) {
    .shapedividers_com-8957::before {
        background-size: 132% calc(2vw + 90px);
    }
}
#head {
    padding: 0.3rem 0;
    height: 130px;
}
#logo {
    max-width: 8rem;
}
.h-hero, 
.hero-s {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    width: 100vw; 
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
.quo {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%); 
}
.wp-block-column {
    min-width: 0;
    word-break: break-word;
}
.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    display: grid;
    width: 100%;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
.wp-block-post-template > li {
    word-break: break-word;
    min-width: 0;
  }
.wp-block-group.alignfull.h-hero {
    background-image: url(./img/hero.jpg);
    background-size: cover;
    background-position: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
    height: 100%;
  }
  .wp-block-post-template .workshop-post{
    color: var(--body-txt);
    border: 1px solid var(--blush);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
    margin: 16px;
  }
.wp-block-column figure.wp-block-post-featured-image img,
.wp-block-gallery > figure.wp-block-image.size-large {
    border-radius: 12px;
    border: 1px solid var(--blush);
  }
.box-style figure a {
    overflow: hidden;
}
.card {
    background-color: white;
    border: 1px solid var(--blush);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1.2rem;
    margin: 0.8rem;
  }
  .card:hover {
    background-color: #f2f3ec;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }
.box-style,
blockquote {
        background-color: white;
        color: var(--body-txt);
        border: 1px solid var(--blush);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 24px;
        margin: 16px;
        overflow: hidden;
        margin: 0;
}
.sidebar .recent-posts {
    border: 1px solid var(--blush);
    border-radius: 12px;
    background-color: white;
    list-style: none;
    padding: 1rem;
    margin: 1.5rem;
}
ul.recent-posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    border-bottom: solid 1px red;      
    }
li.recent-post {
    width: 100%;
    margin-bottom: 35px; 
    padding: 20px;
}
.content-box .wp-block-quote {
    margin-top: var(--radius);;
    margin-bottom: var(--radius);;
}
.szolgaltatas img {
    transition: transform 2s ease-in-out;
}
.szolgaltatas img:hover {
    transform: rotate(360deg);
}
#szolgaltatasaink .serv-cards {
    padding: 1.5rem;
    margin: 1rem;
    align-items: center;
}
.wp-container-core-columns-is-layout-9d6595d7 {
    display: flex;
}
.wp-block-group.alignfull.h-hero {
    flex-wrap: wrap;
    padding: 3rem;
}
.wp-block-group.alignfull.h-hero .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
.wp-block-columns .alignwide {
    border-bottom: 1px solid var(--blush);
}
.subpage-bg {
    width: 100vw;    
    height: 240px;
    background-image: url(./img/borito.jpg);
    background-size: cover;
    background-position: right center;
    color: var(--white);
    text-align: center;
    align-content: center;
    margin-top: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: var(--gap);
    padding-right: var(--gap);
}
.attachment-post-thumbnail {
    padding-top: 1rem;
    display: block;
    width: 100%;
    object-fit: cover;
    height: 300px;
    border-radius: 12px;
  }
body .team {
    column-count: 2;
    display: block;
    gap: 1.25em !important;
}
body .team .wp-block-image {
    margin-bottom: 1.25em !important;
    overflow: hidden;
    object-fit: fill;
    width: 600px;
    height: auto;
}
.wide {
    width: calc(100vw - 18px);
    position: relative;
    left: calc(50% + 9px);
}
.light-bg {
    background: var(--light-bg);
    padding: 10vw 0;
    color: var(--title);
}
.narrow {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}
.vertical-center {
    align-items: center;
}
input[type="text"],
input[type="tel"],
select,
input[type="email"],
input[type="file"],
textarea {
    border: solid 2px var(--blush);
    background: #ffffff; 
    box-shadow: 0px 4px 15px rgba(239, 185, 147, 0.2);
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    width: 100%;
    color: var(--body-txt);
}
footer {
    font-size: smaller;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 2rem 0;
    border-top: 2px solid var(--blush);
}
footer a,
footer h3 {
    color: var(--body-txt);
}
footer a:hover{
    color: var(--blush);
}
footer .wp-block-list {
    list-style-type: none;
    padding-left: 0 !important;
    
}
footer .wp-block-list li {
    padding-left: 1.5em;
    position: relative;
}
footer .wp-block-list li::before {
    content: "";
    display: inline-block;
    height: 1em;
    width: 1em;
    background-image: url('./img/ikon1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0.25em;
}
#copyright {
    background: var(--blush);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: smaller;
    overflow: hidden;
}
#copyright a {
    color: var(--white);
}
.nav-links {
    margin: 0 auto;
    text-align: center;
    margin: 3rem 0;
}
.nav-links span,
.nav-links a {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border: solid 1px var(--blush);
    border-radius: 12px;
}
.wpcf7-submit {
    padding: 1em !important;
    display: inline-block;
    align-items: center;
    justify-content: center;
    display: block;
    width: 100%;
}
.wp-block-columns.szolgaltatas.is-layout-flex {
    flex-wrap: wrap;
  }
@media only screen and (max-width: 1281px) {
    .wp-block-columns.szolgaltatas.is-layout-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
      }
      .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
        width: calc(50% - 0.8rem); 
        margin-bottom: 0.8rem;
      }
    #top-head .content-box,
        #head .content-box {
            text-align: center;
            align-items: center;
        }
    .quo,
    .quo .wp-block-buttons {
        display: block !important;
        padding: 1rem 0 1rem 0 !important;
    }
    .quo-txt {
        text-align: center;
    }
    .quo h2 {
        justify-content: center;
        display: flex;
    }
    .quo h2::before {
        position: relative;
        left: 1.25rem;
        top: 0.25rem;
    }
    #head .content-box {
        flex-wrap: wrap;
    }
    #head-menu {
        display: none;
        width: 100%;
        border-top: solid 1px #ddd;
        margin-top: 0;
    }
      #head-menu.open {
        display: block;
        background-color: var(--white);
        z-index: 12;
        border-radius: 28px;
      }
    .wide {
        width: 100vw;
        left: 50%;
    }
    @media only screen and (max-width: 1281px) and (min-width: 1024px) {
        .wp-block-columns.szolgaltatas.is-layout-flex {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 10px;
        }
        .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
          width: auto;
          margin-bottom: 0.8rem;
        }
      }
    @media only screen and (max-width: 1023px) {
        #highl {
            font-size: clamp(1.2rem, 1.4vw, 1.8rem); 
        }
        .wp-block-columns.szolgaltatas.is-layout-flex {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
          }
          .wp-block-columns.szolgaltatas.is-layout-flex > * {
            width: auto;
          }
        }
        #top-head .content-box,
        #head .content-box {
            text-align: center;
            align-items: center;
        }
        .box-style {
        flex: 1 1 100%;
    }
    }
@media only screen and (max-width: 768px) {
    .wp-block-columns.szolgaltatas.is-layout-flex {
        flex-direction: column;
        gap: 10px;
      }
      .wp-block-columns.szolgaltatas.is-layout-flex > * {
        width: 100%;
    }
    #highl {
        font-size: clamp(1.1rem, 1.3vw, 1.6rem); 
    }
    .box-style {
        flex: 1 1 100%;
    }
    .h-hero {
        background-position: bottom -30vw right;
        background-size: 190% auto;
        padding-bottom: 45vw;
    }
    h1,
    h2 {
        font-size: 1.5rem;
    }
    h3,
    .archive h2 {
        font-size: 1.25rem;
    }
    ul.recent-posts {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        width: auto;
      }
    
      li.recent-post {
          width: auto;
          margin: 10px;
        }
        footer .content-box > *:first-child {
            flex-direction: column;
            padding: var(--radius);
          }
          footer .content-box > *:first-child > * {
            width: 100%;
          }
}
@media only screen and (max-width: 480px) {
    .h-hero h1 {
        font-size: 1.8rem;
    }
    h2, h3, h4, h5 {
        font-size: 1.25rem;
    }
    .wp-block-columns.szolgaltatas.is-layout-flex {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
      }
      .wp-block-group.alignfull.h-hero { 
        background-position: top; 
    }
      .wp-block-columns.szolgaltatas.is-layout-flex > * {
        width: 100%;
      }
      #szolgaltatasaink .serv-cards {
        margin: 0;
        padding: 0;
      }
    }
    #top-head .content-box {
        text-align: left;
    }
    #top-head ul {
        display: block;
        margin: 0;
        padding: 0;
    }
    #top-head ul li {
        margin: 0;
        padding: 0.25rem 0;
    }
    .wp-block-spacer {
        max-height: 50px;
    }