/*
 * 홈 최상단 PHP 보안 안내 (.php-sec-strip)
 * style.css는 Vite 번들이라 여기 규칙은 $additional_css로만 로드한다.
 * 고정 헤더 여백은 이 섹션이 갖고, 바로 아래 .hero-ent의 위 여백은 줄인다.
 */

.php-sec-strip {
    background: #16305c;
    color: #fff;
    padding: calc(var(--header-h, 76px) + 28px) 0 32px;
}

.php-sec-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.php-sec-copy {
    flex: 1 1 520px;
    min-width: 0;
}

.php-sec-kicker {
    margin: 0 0 8px;
    color: #d6e4ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.php-sec-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
    word-break: keep-all;
}

.php-sec-lead {
    margin: 10px 0 0;
    max-width: 46rem;
    color: #e8eef8;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
    word-break: keep-all;
}

.php-sec-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: #16305c;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.php-sec-cta:hover,
.php-sec-cta:focus-visible {
    background: #e8eef8;
    color: #0f2547;
}

/* 안내가 헤더 여백을 가져가므로 히어로가 한 번 더 밀리지 않게 한다. */
.php-sec-strip + .hero-ent {
    margin-top: 0;
}

.home-main .php-sec-strip + .hero-ent {
    padding-top: 64px;
}

@media (max-width: 768px) {
    .php-sec-strip {
        padding: calc(var(--header-h, 64px) + 20px) 0 24px;
    }

    .php-sec-strip-inner {
        padding: 0 20px;
    }

    .php-sec-lead {
        font-size: 0.95rem;
    }

    .php-sec-cta {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .home-main .php-sec-strip + .hero-ent {
        padding-top: 40px;
    }
}
