/* Page hero banner — shared by SEO tools, static pages, and key site pages */

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 18px 0 22px;
    margin-bottom: 0;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d2137 0%, #1a5276 35%, #148f77 65%, #32bea6 100%);
    background-size: 200% 200%;
    animation: pageHeroGradient 8s ease infinite;
    z-index: 0;
}

@keyframes pageHeroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
    opacity: 0.88;
}

.page-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.page-hero-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-hero-breadcrumb-sep {
    margin: 0 5px;
    opacity: 0.5;
}

.page-hero-breadcrumb-current {
    opacity: 0.95;
}

.page-hero-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-hero-main {
    flex: 1;
    min-width: 200px;
}

.page-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
}

.page-hero-badge i {
    margin-right: 4px;
    color: #a8f0d8;
}

.page-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.page-hero-tagline {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.45;
    max-width: 720px;
}

@media (min-width: 992px) {
    body.domain-page .page-hero-tagline {
        max-width: 860px;
    }
}

.page-hero-icon {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 14px;
    backdrop-filter: blur(4px);
}

.page-hero-icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.page-hero-icon-fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 36px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.page-hero-active #title {
    display: none;
}

body.page-hero-active .main-content > .container,
body.page-hero-active .main-container {
    margin-top: 24px;
}

/* View templates load after header closes .main-content (scripts may sit in between) */
body.page-hero-active .main-content ~ .container {
    margin-top: 32px;
}

body.page-hero-active .main-container,
body.page-hero-active > .main-content > .container.top40,
body.page-hero-active .main-content .container > .row > .top40 {
    margin-top: 24px;
}

body.page-hero-active .main-content .container > .row > .col-md-8.top40,
body.page-hero-active .main-content .container > .row > .col-md-9.top40,
body.page-hero-active .main-content .container > .row > .col-md-12.top40 {
    margin-top: 24px;
    padding-top: 0;
}

@media (max-width: 767px) {
    .page-hero-title {
        font-size: 22px;
    }

    .page-hero-icon {
        display: none;
    }

    .page-hero-tagline {
        font-size: 13px;
    }
}
