/* ==========================================================================
   Shared Inner-Page Hero/Breadcrumb Banner - Udaipur Taxi
   Used by: About, Contact, Blog (index/show), Routes listing
   Relies on CSS variables defined in layouts/front.blade.php (:root)
   ========================================================================== */

.inner-hero-section {
    background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 2.75rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--soft-border);
    text-align: center;
}
.inner-hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.inner-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    position: relative;
}
.inner-breadcrumb a { color: var(--text-body); text-decoration: none !important; }
.inner-breadcrumb a:hover { color: var(--primary-blue); }
.inner-breadcrumb .sep { color: #cbd5e1; }
.inner-breadcrumb .current { color: var(--primary-blue); }

.inner-hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: #e0f2fe;
    color: #0284c7;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(2, 132, 199, 0.2);
    margin-bottom: 1rem;
    position: relative;
}

.inner-hero-title {
    font-size: 2.65rem;
    line-height: 1.15;
    color: var(--deep-navy);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0 auto 1rem;
    max-width: 780px;
    position: relative;
}
@media (max-width: 767px) {
    .inner-hero-title { font-size: 1.9rem; }
}
.inner-hero-lead {
    font-size: 1.04rem;
    color: var(--text-body);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* Generic section header used inside inner pages (About/Contact/Blog/Routes) */
.inner-section-tag {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: var(--primary-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.9rem;
}
.inner-section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-navy);
    letter-spacing: -0.4px;
    margin-bottom: 0.85rem;
}
@media (max-width: 575px) {
    .inner-section-heading { font-size: 1.5rem; }
}
.inner-section-sub {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ==========================================================================
   Image Banner Hero (cream left + photo right) — About / Blog / Contact
   Use: .page-hero-banner (+ .about-hero-banner alias)
   ========================================================================== */
.page-hero-banner,
.about-hero-banner {
    position: relative;
    overflow: hidden;
    background: #f7f3ea;
    border-bottom: none;
}
.page-hero-banner-img,
.about-hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2059 / 764;
    object-fit: cover;
    object-position: center center;
}
.page-hero-overlay,
.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2.75rem) clamp(1.35rem, 4.5vw, 4rem);
    pointer-events: none;
}
.page-hero-content,
.about-hero-content {
    pointer-events: auto;
    width: min(440px, 38%);
    max-width: 440px;
    text-align: left;
}
.page-hero-banner .inner-breadcrumb,
.about-hero-banner .inner-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 0.85rem;
    position: relative;
}
.page-hero-banner .inner-hero-badge,
.about-hero-banner .inner-hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.92);
    color: #b45309;
    border: 1px solid rgba(180, 83, 9, 0.28);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.95rem;
    position: relative;
}
.page-hero-banner .inner-hero-title,
.about-hero-banner .inner-hero-title {
    margin: 0 0 0.85rem;
    max-width: 100%;
    font-size: clamp(1.5rem, 2.15vw, 2.2rem);
    line-height: 1.2;
    color: #092b59;
    font-weight: 800;
    letter-spacing: -0.45px;
    position: relative;
}
.page-hero-banner .inner-hero-lead,
.about-hero-banner .inner-hero-lead {
    margin: 0;
    max-width: 100%;
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    line-height: 1.65;
    color: #334155;
    position: relative;
}
.page-hero-banner .inner-breadcrumb .truncate,
.about-hero-banner .inner-breadcrumb .truncate {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .page-hero-overlay,
    .about-hero-overlay {
        padding-left: clamp(2rem, 5.5vw, 5rem);
    }
    .page-hero-content,
    .about-hero-content {
        width: min(460px, 36%);
        max-width: 460px;
    }
}
@media (min-width: 1600px) {
    .page-hero-overlay,
    .about-hero-overlay {
        padding-left: clamp(3rem, 6vw, 6.5rem);
    }
    .page-hero-content,
    .about-hero-content {
        width: min(480px, 34%);
        max-width: 480px;
    }
}

/* Mobile: text in left cream of banner */
@media (max-width: 991px) {
    .page-hero-banner,
    .about-hero-banner {
        position: relative;
        display: block;
        min-height: 260px;
        background: #f7f3ea;
    }
    .page-hero-banner-img,
    .about-hero-banner-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: 42% center;
    }
    .page-hero-overlay,
    .about-hero-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0.85rem 0.5rem 0.85rem 0.8rem;
        background: none;
    }
    .page-hero-content,
    .about-hero-content {
        width: min(195px, 46%);
        max-width: 195px;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }
    .page-hero-banner .inner-breadcrumb,
    .about-hero-banner .inner-breadcrumb {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
        gap: 4px;
    }
    .page-hero-banner .inner-hero-badge,
    .about-hero-banner .inner-hero-badge {
        font-size: 0.58rem;
        letter-spacing: 0.6px;
        padding: 0.22rem 0.55rem;
        margin-bottom: 0.4rem;
        background-color: rgba(255, 255, 255, 0.95);
    }
    .page-hero-banner .inner-hero-title,
    .about-hero-banner .inner-hero-title {
        font-size: 1.02rem;
        line-height: 1.22;
        margin-bottom: 0.35rem;
        letter-spacing: -0.25px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    .page-hero-banner .inner-hero-lead,
    .about-hero-banner .inner-hero-lead {
        font-size: 0.7rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
    }
    .page-hero-banner .inner-breadcrumb .truncate,
    .about-hero-banner .inner-breadcrumb .truncate {
        max-width: 110px;
    }
}
@media (max-width: 575px) {
    .page-hero-banner,
    .about-hero-banner {
        min-height: 225px;
    }
    .page-hero-banner-img,
    .about-hero-banner-img {
        object-position: 40% center;
    }
    .page-hero-overlay,
    .about-hero-overlay {
        padding: 0.7rem 0.4rem 0.7rem 0.7rem;
    }
    .page-hero-content,
    .about-hero-content {
        width: min(168px, 45%);
        max-width: 168px;
    }
    .page-hero-banner .inner-breadcrumb,
    .about-hero-banner .inner-breadcrumb {
        margin-bottom: 0.28rem;
        font-size: 0.64rem;
    }
    .page-hero-banner .inner-hero-badge,
    .about-hero-banner .inner-hero-badge {
        font-size: 0.54rem;
        padding: 0.18rem 0.48rem;
        margin-bottom: 0.32rem;
    }
    .page-hero-banner .inner-hero-title,
    .about-hero-banner .inner-hero-title {
        font-size: 0.92rem;
        margin-bottom: 0.28rem;
    }
    .page-hero-banner .inner-hero-lead,
    .about-hero-banner .inner-hero-lead {
        font-size: 0.66rem;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }
}
@media (max-width: 380px) {
    .page-hero-banner,
    .about-hero-banner {
        min-height: 205px;
    }
    .page-hero-banner-img,
    .about-hero-banner-img {
        object-position: 38% center;
    }
    .page-hero-content,
    .about-hero-content {
        width: min(150px, 46%);
        max-width: 150px;
    }
    .page-hero-banner .inner-hero-title,
    .about-hero-banner .inner-hero-title {
        font-size: 0.86rem;
    }
    .page-hero-banner .inner-hero-lead,
    .about-hero-banner .inner-hero-lead {
        -webkit-line-clamp: 2;
        font-size: 0.62rem;
    }
}
