.fg-hero-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(26, 95, 180, 0.12);
}

.fg-hero-section-head__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #001f3f;
    text-decoration: none;
    border-left: 4px solid #1a5fb4;
    padding-left: 0.65rem;
    line-height: 1.25;
}

a.fg-hero-section-head__title:hover {
    color: #1a5fb4;
}

.fg-hero-section-head__more {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.fg-hero-section-head__more:hover {
    color: #1a5fb4;
}

.fg-hero-wrap {
    margin-bottom: 0.5rem;
}

.fg-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 1rem;
    align-items: stretch;
}

.fg-hero-layout__main {
    min-width: 0;
}

.fg-hero-layout__ad {
    min-width: 0;
}

.fg-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 48%, #eef6ff 100%);
    border: 1px solid rgba(10, 45, 92, 0.08);
    box-shadow:
        0 18px 40px rgba(10, 45, 92, 0.1),
        0 4px 12px rgba(10, 45, 92, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    min-height: 280px;
}

.fg-hero-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    min-height: 280px;
}

.fg-hero-panel__content {
    padding: 2.25rem 2rem 2.25rem 2.5rem;
    position: relative;
    z-index: 2;
}

.fg-hero-panel__badge {
    display: inline-block;
    max-width: 100%;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a5fb4;
    background: linear-gradient(180deg, #e8f2ff 0%, #d4e8ff 100%);
    border: 1px solid rgba(26, 95, 180, 0.15);
    box-shadow:
        0 3px 8px rgba(26, 95, 180, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fg-hero-panel__title {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.fg-hero-panel__title-line1 {
    display: block;
    color: #001f3f;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fg-hero-panel__title-line2 {
    display: block;
    color: #1a5fb4;
    text-shadow: 0 2px 8px rgba(26, 95, 180, 0.18);
}

.fg-hero-panel__title--article {
    color: #001f3f;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.fg-hero-panel__intro {
    margin: 0 0 1.5rem;
    max-width: 520px;
    color: #5b6b82;
    font-size: 1rem;
    line-height: 1.7;
}

.fg-hero-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.35rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(180deg, #2f7fe8 0%, #1a5fb4 55%, #1554a3 100%);
    border: 1px solid #1554a3;
    box-shadow:
        0 8px 20px rgba(26, 95, 180, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fg-hero-panel__cta:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(26, 95, 180, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.fg-hero-panel__visual {
    position: relative;
    height: 100%;
    min-height: 280px;
    display: flex;
 
    justify-content: center;
    padding: 1.5rem 1.5rem 0 0;
}

.fg-hero-panel__visual-bg {
    position: absolute;
    inset: 10% 8% 0 15%;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34, 165, 76, 0.08) 0%, rgba(26, 95, 180, 0.06) 100%);
    transform: perspective(600px) rotateY(-8deg);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5);
}

.fg-hero-panel__image {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    height: auto;
    max-height: 260px;
    object-fit: cover;
    border-radius: 16px;
    filter: drop-shadow(0 16px 28px rgba(0, 31, 63, 0.22));
    transform: translateY(8px);
}

.fg-hero-panel__illustration {
    position: relative;
    z-index: 2;
    width: min(100%, 320px);
    filter: drop-shadow(0 16px 28px rgba(0, 31, 63, 0.18));
}

.fg-hero-ad__box,
.fg-hero-ad__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 336 / 280;
    padding: 1.25rem;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px dashed rgba(10, 45, 92, 0.16);
    box-shadow:
        inset 0 2px 8px rgba(10, 45, 92, 0.04),
        0 4px 14px rgba(10, 45, 92, 0.05);
}

.fg-hero-ad__placeholder span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fg-hero-ad__placeholder small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.fg-hero-ad__box > * {
    max-width: 100%;
}

@media (max-width: 1199px) {
    .fg-hero-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 991px) {
    .fg-hero-layout {
        grid-template-columns: 1fr;
    }

    .fg-hero-panel__grid {
        grid-template-columns: 1fr;
    }

    .fg-hero-panel__content {
        padding: 1.75rem 1.5rem 0.5rem;
    }

    .fg-hero-panel__visual {
        min-height: 220px;
        padding: 0 1.25rem 1.25rem;
    }

    .fg-hero-layout__ad {
        max-width: 336px;
    }

    .fg-hero-ad__box,
    .fg-hero-ad__placeholder {
        min-height: 200px;
        aspect-ratio: auto;
    }
}
