/**
 * Nečiūnas NT Elementor Hero widget.
 */

.elementor-widget-neciunasnt-hero > .elementor-widget-container {
    height: 100%;
}

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

.neciunasnt-hero {
    --neciunasnt-hero-cream: var(--color-cream, #f2eee3);
    --neciunasnt-hero-taupe: var(--color-taupe, #c4bdb5);
    --neciunasnt-hero-brown: #391214;
    --neciunasnt-hero-dark: #160f0c;

    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    min-height: 758px;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--neciunasnt-hero-dark);
    background-image: var(--neciunasnt-hero-image, none);
    background-repeat: no-repeat;
    background-position: 68% center;
    background-size: cover;
    font-family: var(--font-primary, "TT Firs Neue", Arial, sans-serif);
}

.neciunasnt-hero--focus-center {
    background-position: center;
}

.neciunasnt-hero--focus-right {
    background-position: right center;
}

.neciunasnt-hero__inner {
    display: flex;
    width: min(calc(100% - 48px), 1240px);
    min-height: inherit;
    align-items: center;
    margin-inline: auto;
    padding-block: calc(96px + clamp(44px, 4.5vw, 72px)) clamp(56px, 6vw, 88px);
}

.neciunasnt-hero__content {
    width: min(100%, 666px);
}

.neciunasnt-hero__eyebrow {
    margin: 0 0 18px;
    color: var(--neciunasnt-hero-cream);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.neciunasnt-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(44px, 3.9vw, 56px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    white-space: pre-line;
}

.neciunasnt-hero__description {
    max-width: 520px;
    margin: 16px 0 0;
    color: var(--neciunasnt-hero-taupe);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.neciunasnt-hero__cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 12px 36px;
    color: var(--neciunasnt-hero-brown);
    background: var(--neciunasnt-hero-cream);
    border: 1px solid var(--neciunasnt-hero-cream);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color var(--transition-base, 250ms ease),
        background-color var(--transition-base, 250ms ease),
        transform var(--transition-base, 250ms ease);
}

.neciunasnt-hero__cta:hover,
.neciunasnt-hero__cta:focus-visible {
    color: var(--neciunasnt-hero-cream);
    background: rgba(242, 238, 227, 0.08);
    transform: translateY(-1px);
}

.neciunasnt-hero__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.neciunasnt-hero__social-label {
    color: var(--neciunasnt-hero-taupe);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.neciunasnt-hero__social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.neciunasnt-hero__social-link {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--neciunasnt-hero-taupe);
    border: 1px solid rgba(196, 189, 181, 0.28);
    border-radius: 50%;
    text-decoration: none;
    transition:
        color var(--transition-base, 250ms ease),
        border-color var(--transition-base, 250ms ease),
        background-color var(--transition-base, 250ms ease);
}

.neciunasnt-hero__social-link:hover,
.neciunasnt-hero__social-link:focus-visible {
    color: var(--neciunasnt-hero-cream);
    background: rgba(242, 238, 227, 0.08);
    border-color: rgba(242, 238, 227, 0.64);
}

.neciunasnt-hero__social-link i,
.neciunasnt-hero__social-link svg {
    width: 18px;
    height: 18px;
    font-size: 18px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .neciunasnt-hero {
        min-height: 700px;
        background-position: 62% center;
    }

    .neciunasnt-hero--focus-center {
        background-position: center;
    }

    .neciunasnt-hero--focus-right {
        background-position: right center;
    }

    .neciunasnt-hero__content {
        width: min(100%, 590px);
    }
}

@media (max-width: 767px) {
    .neciunasnt-hero {
        min-height: 720px;
        background-position: 70% center;
    }

    .neciunasnt-hero--focus-center {
        background-position: center;
    }

    .neciunasnt-hero--focus-right {
        background-position: right center;
    }

    .neciunasnt-hero__inner {
        width: min(calc(100% - 40px), 1240px);
        align-items: flex-end;
        padding-block: calc(80px + 56px) 48px;
    }

    .neciunasnt-hero__content {
        width: 100%;
    }

    .neciunasnt-hero__title {
        font-size: clamp(36px, 10.5vw, 48px);
    }

    .neciunasnt-hero__description {
        max-width: 460px;
    }
}

@media (max-width: 374px) {
    .neciunasnt-hero__inner {
        width: calc(100% - 32px);
        padding-bottom: 40px;
    }

    .neciunasnt-hero__eyebrow {
        font-size: 11px;
        letter-spacing: 0.11em;
    }

    .neciunasnt-hero__title {
        font-size: clamp(33px, 10.5vw, 39px);
    }

    .neciunasnt-hero__cta {
        width: 100%;
        padding-inline: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neciunasnt-hero__cta,
    .neciunasnt-hero__social-link {
        transition-duration: 0.01ms;
    }
}
