.cg-hero-v2 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    font-family: Manrope, sans-serif;
    color: #fff;
}

.cg-hero-v2__bg {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/07/kuressaare-summer-day.webp.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.cg-hero-v2__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, .78) 0%, rgba(2, 6, 23, .46) 42%, rgba(2, 6, 23, .18) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, .10) 0%, rgba(2, 6, 23, .62) 100%);
}

.cg-hero-v2__inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 42px;
    align-items: center;
    max-width: 1680px;
margin: 0 auto;
padding: 78px 72px 64px;
}

.cg-hero-v2__content {
    max-width: 760px;
}

.cg-hero-v2__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
    font-size: 14px;
    font-weight: 800;
}

.cg-hero-v2 h1 {
    margin: 26px 0 16px;
    font-size: clamp(46px, 5.4vw, 78px);
    line-height: .98;
    letter-spacing: -.065em;
    font-weight: 850;
}

.cg-hero-v2 h1 span {
    color: #11b8bd;
}

.cg-hero-v2 p {
    margin: 0 0 28px;
    font-size: 22px;
    line-height: 1.35;
    color: rgba(255,255,255,.9);
    font-weight: 650;
}

.cg-hero-v2__search {
    width: min(720px, 100%);
    height: 68px;
    padding: 8px 8px 8px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.cg-hero-v2__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 650;
    color: #0f172a;
}

.cg-hero-v2__search input::placeholder {
    color: #64748b;
}

.cg-hero-v2__search button {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: #11b8bd;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(17,184,189,.35);
}

.cg-hero-v2__quick {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(6, minmax(96px, 1fr));
    gap: 14px;
}

.cg-hero-v2__quick a {
    min-height: 92px;
    padding: 16px 14px;
    border-radius: 22px;
    background: rgba(15,23,42,.58);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
    gap: 8px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.cg-hero-v2__quick a:hover {
    transform: translateY(-4px);
    background: rgba(17,184,189,.18);
    border-color: rgba(17,184,189,.45);
}

.cg-hero-v2__quick span {
    font-size: 28px;
}

.cg-hero-v2__quick strong {
    font-size: 14px;
    font-weight: 850;
}

.cg-weather-card {
    padding: 22px;
    width: 320px;
    height: 340px;
    margin-top: -70px;
    border-radius: 30px;
    background: rgba(8,19,31,.68);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.cg-weather-card__icon {
    font-size: 46px;
    margin-bottom: 8px;
}

.cg-weather-card strong {
    display: block;
    font-size: 58px;
    line-height: 1;
    font-weight: 850;
}

.cg-weather-card span {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 750;
}

.cg-weather-card small {
    display: block;
    margin-top: 18px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.5;
}

.cg-weather-card a {
    margin-top: 22px;
    display: inline-flex;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    opacity: .9;
}

@media (max-width: 1100px) {
    .cg-hero-v2__inner {
        grid-template-columns: 1fr;
    }

    .cg-hero-v2__weather {
        display: none;
    }

    .cg-hero-v2__quick {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .cg-hero-v2 {
        width: calc(100% - 24px);
        min-height: 720px;
        margin: -18px auto 0;
        border-radius: 0 0 32px 32px;
    }

    .cg-hero-v2__inner {
        min-height: 720px;
        padding: 92px 20px 34px;
    }

    .cg-hero-v2 h1 {
        font-size: 42px;
    }

    .cg-hero-v2 p {
        font-size: 17px;
    }

    .cg-hero-v2__search {
        height: 62px;
    }

    .cg-hero-v2__search input {
        font-size: 14px;
    }

    .cg-hero-v2__search button {
        width: 46px;
        height: 46px;
    }

    .cg-hero-v2__quick {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* HERO V3 text visibility fix */
.cg-hero-v2 h1 {
    color: #ffffff;
    text-shadow: 0 8px 34px rgba(0,0,0,.32);
}

.cg-hero-v2 h1 span {
    color: var(--cg-primary);
}

.cg-hero-v2 p {
    color: rgba(255,255,255,.94);
    text-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.cg-hero-v2__shade {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, .68) 0%, rgba(2, 6, 23, .38) 42%, rgba(2, 6, 23, .12) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, .06) 0%, rgba(2, 6, 23, .64) 100%);
}