body {
    font-family: var(--font-inter);
}
.truncate-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.truncate-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.truncate-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-black-logo,
.custom-logo {
    height: 49px;
    width: auto;
}
#header .menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#header .menu a {
    color: #fff;
    font-size: 1.125rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
#header.black-header .menu a {
    color: #222;
}
#header .menu a:hover,
#header .menu a:active {
    background-color: rgba(0, 0, 0, 0.3);
}
#header.black-header .menu a:hover,
#header.black-header .menu a:active {
    background-color: rgba(0, 0, 0, 0.05);
}

#footer .menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#footer .menu a {
    display: block;
    color: #101010;
    padding: 4px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}
#footer .menu a:hover,
#footer .menu a:active {
    color: var(--color-light-green);
}

#mobile .menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
#mobile .menu a {
    font-size: 1.5rem;
    display: block;
    color: #fff;
    padding: 4px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}
#mobile .menu a:hover,
#mobile .menu a:active {
    color: var(--color-light-green);
}

.custom-fill-green path {
    transition: all 0.2s ease;
}
.custom-fill-green:hover path,
.custom-fill-green:active path {
    fill: var(--color-green);
}

.testimonial-swiper .swiper-slide {
    height: auto !important;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content.active {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-icon.rotated {
    transform: rotate(45deg);
}

/* Header Menu */
.menu.first {
    transform: translateY(-5px);
    transition: all 0.2s;
}
.menu.middle {
    transition: all 0.2s;
}
.menu.last {
    transform: translateY(5px);
    transition: all 0.2s;
}
.mobile-open .menu.first {
    transform: translateY(4px) rotate(45deg);
}
.mobile-open .menu.middle {
    opacity: 0;
}
.mobile-open .menu.last {
    transform: translateY(-4px) rotate(-45deg);
}
#toggle-menu {
    z-index: -1;
    appearance: none;
    opacity: 0;
    transition: all 0.3s ease;
}
#toggle-menu.active {
    z-index: 50;
    appearance: visible;
    opacity: 1;
}

/* FORM CLASSES */
.hy-form-step {
    background-color: #e3e3e3;
}
.hy-form-step.done {
    background-color: var(--color-light-green);
}

/* ACCORDION */
.hy-accordion-item {
    cursor: pointer;
}
.hy-accordion-item.active {
    cursor: unset;
}
.hy-accordion-content {
    max-height: 0 !important;
    transition: all 1s ease;
    overflow: hidden;
}
.hy-accordion-item.active .hy-accordion-content {
    max-height: 200px !important;
}
.hy-accordion-bar {
    background-color: var(--color-neutral-300);
    transition: all 1s ease;
}
.hy-accordion-item.active .hy-accordion-bar {
    background-color: var(--color-light-green);
}

#faq-editor ol,
#faq-editor ul {
    padding-left: 20px;
    margin: 10px 0;
}
#faq-editor ol {
    list-style: decimal;
}
#faq-editor li {
    margin-bottom: 6px;
}
#faq-editor p {
    margin: 10px 0;
}
#hy-lead-magnet-wrapper br {
    display: none;
}
#hy-lead-magnet-wrapper input[type="email"] {
    border: 1px solid #c4c4c4;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #535353;
    margin-top: 10px;
    width: 100%;
}
#hy-lead-magnet-wrapper > p:has(input[type="submit"]) {
    margin-top: 10px;
    position: relative;
}
#hy-lead-magnet-wrapper .wpcf7-spinner {
    position: absolute;
    top: 16px;
    right: 0;
    margin: 0 8px;
    background-color: #fff;
}
#hy-lead-magnet-wrapper .wpcf7-spinner::before {
    background-color: #222;
}
#hy-lead-magnet-wrapper input[type="submit"] {
    background-color: var(--color-light-green);
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}
#hy-lead-magnet-wrapper input[type="submit"]:hover,
#hy-lead-magnet-wrapper input[type="submit"]:active {
    background-color: var(--color-green);
}
form:has(#hy-lead-magnet-wrapper) .wpcf7-response-output {
    margin: 10px 0 0 0;
    font-size: 14px;
    padding: 6px 10px 8px 10px;
}
#hy-lead-magnet-wrapper .wpcf7-not-valid-tip {
    font-size: 14px;
}
#hy-lead-magnet-toggle {
    opacity: 0;
    appearance: none;
    transform: translateX(40px);
    transition: all 0.5s ease;
}
#hy-lead-magnet-toggle.active {
    opacity: 1;
    appearance: visible;
    transform: translateX(0);
}

/* Flashing */
.opacity-animation img {
    opacity: 1;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    backface-visibility: hidden;
}
.opacity-animation:hover img {
    opacity: 0.8;
    transform: scale(1.05) rotate(1deg);
}
.opacity-animation .card-title {
    transition: all 0.3s ease-in-out;
}
.opacity-animation:hover .card-title {
    color: var(--color-green);
    text-decoration: underline;
}
.my-svg-white path {
    stroke: #fff;
}
.writing-sideway {
    writing-mode: sideways-lr;
    text-orientation: mixed;
}
.about-editor ul {
    padding-left: 20px;
    margin: 10px 0;
    list-style: disc;
}
.about-editor ul li:not(:last-child) {
    margin-bottom: 16px;
}
.about-editor p {
    margin: 10px 0;
}
.about-editor strong {
    font-weight: 600;
}
.testimonial-editor p:not(:last-of-type) {
    margin-bottom: 16px;
}
#hy-single-content {
    font-family: var(--font-inter);
    color: #222;
}
#hy-single-content h1 {
    font-family: var(--font-avenir);
    color: var(--color-green);
    font-size: 2rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem 0;
}
#hy-single-content h2 {
    font-family: var(--font-avenir);
    color: var(--color-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem 0;
}
#hy-single-content h3 {
    font-family: var(--font-avenir);
    color: var(--color-green);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem 0;
}
#hy-single-content li,
#hy-single-content p {
    font-size: 1rem;
    margin: 0.75rem 0;
}
#hy-single-content ol {
    padding-left: 20px;
    list-style: decimal;
}
#hy-single-content ul {
    padding-left: 20px;
    list-style: disc;
}
#hy-single-content strong,
#hy-single-content b {
    font-weight: 600;
}
#hy-single-content a {
    color: var(--color-green);
    text-decoration: underline;
    transition: all 0.2s ease;
}
#hy-single-content a:hover,
#hy-single-content a:active {
    color: var(--color-light-green);
}
#hy-single-content table {
    border: 1px solid #ddd;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5rem;
}

#hy-single-content table th,
#hy-single-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
#hy-single-content table td,
#hy-single-content table p {
    font-size: 0.875rem;
}

@media screen and (min-width: 40rem) {
    #hy-single-content h1 {
        font-size: 2.5rem;
    }
    #hy-single-content h2 {
        font-size: 1.75rem;
    }
    #hy-single-content h3 {
        font-size: 1.375rem;
    }
    #hy-single-content li,
    #hy-single-content p {
        font-size: 1.25rem;
    }
    #hy-single-content table td,
    #hy-single-content table p {
        font-size: 1rem;
    }
}
.testimonial-swiper .swiper-slide {
    padding: 0 10px !important;
}

.tesimonial-popup {
    pointer-events: none;
    opacity: 0;
    appearance: hidden;
    width: 0;
    transition: all 0.5s ease;
}
.tesimonial-popup.active {
    pointer-events: visible;
    opacity: 1;
    appearance: visible;
    width: 100%;
}

#fixed-banner {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    visibility: hidden;
    transition: all 0.5s ease;
}
#fixed-banner.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.hy-lead-styles ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #535353;
}
.hy-lead-styles li:not(:last-child) {
    margin-bottom: 2px;
    line-height: 1.3;
}
.hy-lead-styles li::marker {
    color: var(--color-light-green);
    font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
    .hy-lead-styles li {
        font-size: 0.875rem;
    }
    .hy-lead-styles li::marker {
        font-size: 1rem;
    }
    #hy-lead-magnet-wrapper input[type="email"] {
        padding: 10px 12px;
        font-size: 14px;
        margin-top: 6px;
    }
    #hy-lead-magnet-wrapper input[type="submit"] {
        padding: 10px 14px;
        font-size: 14px;
    }
    #hy-lead-magnet-wrapper .wpcf7-spinner {
        top: 10px;
        width: 16px;
        height: 16px;
    }
    #hy-lead-magnet-wrapper .wpcf7-not-valid-tip,
    form:has(#hy-lead-magnet-wrapper) .wpcf7-response-output {
        font-size: 12px;
    }
}
