/*
 * Homepage premium redesign (theme 1 / default front layout).
 * Scoped entirely under the .hp-page wrapper + hp-* classes so it never
 * touches the shared hero-section / about-section styling used by the
 * blog, FAQ, custom-page and business-directory templates that also
 * extend front.layouts.app.
 */

.hp-page {
    --hp-navy: #101057;
    --hp-navy-soft: #1c1c74;
    --hp-ink: #14142b;
    --hp-muted: #6b7080;
    --hp-line: #e7e8f1;
    --hp-surface: #f7f8fc;
    --hp-orange-a: #ff5c00;
    --hp-orange-b: #feb62b;
    --hp-purple-a: #bc4afe;
    --hp-purple-b: #f478fd;
    --hp-blue-a: #369efe;
    --hp-blue-b: #47eef9;
    --hp-green-a: #8ff8ac;
    --hp-green-b: #1bc2a1;
    --hp-radius-lg: 28px;
    --hp-radius-md: 20px;
    --hp-radius-sm: 14px;
    --hp-shadow: 0 30px 60px -25px rgba(16, 16, 87, 0.25);
    --hp-shadow-sm: 0 12px 30px -12px rgba(16, 16, 87, 0.18);
    overflow-x: clip;
}

.hp-page .hp-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hp-page .hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hp-navy);
    margin-bottom: 14px;
}

.hp-page .hp-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hp-orange-a), var(--hp-orange-b));
    display: inline-block;
}

.hp-page .hp-section-head {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 56px;
}

.hp-page .hp-section-head.hp-align-start {
    text-align: left;
    margin-left: 0;
}

.hp-page[dir="rtl"] .hp-section-head.hp-align-start,
.hp-page .hp-align-start[dir="rtl"] {
    text-align: right;
}

.hp-page .hp-heading {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
    line-height: 1.15;
}

.hp-page .hp-sub {
    color: var(--hp-muted);
    font-size: 18px;
    line-height: 1.65;
    margin-top: 14px;
    margin-bottom: 0;
}

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */

.hp-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 110px;
    background: radial-gradient(ellipse 60% 55% at 18% 12%, rgba(255, 92, 0, 0.10), transparent 60%),
        radial-gradient(ellipse 55% 60% at 88% 8%, rgba(76, 111, 254, 0.12), transparent 60%),
        linear-gradient(180deg, #fbfbff 0%, #f4f5fb 100%);
    overflow: hidden;
}

.hp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 16, 87, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 16, 87, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hp-hero .hp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    animation: hp-float 9s ease-in-out infinite;
}

.hp-hero .hp-blob-1 {
    width: 340px;
    height: 340px;
    top: -100px;
    right: 8%;
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
    animation-delay: 0s;
}

.hp-hero .hp-blob-2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    left: 4%;
    background: linear-gradient(135deg, var(--hp-purple-a), var(--hp-purple-b));
    animation-delay: 2.5s;
}

@keyframes hp-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-22px) scale(1.04); }
}

.hp-hero .hp-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 991px) {
    .hp-hero .hp-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hp-hero .hp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 26px;
}

.hp-hero .hp-badge-pill .hp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b));
    box-shadow: 0 0 0 4px rgba(27, 194, 161, 0.15);
}

.hp-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hp-ink) !important;
    line-height: 1.12;
    margin-bottom: 22px;
}

.hp-hero .hp-hero-sub {
    font-size: 19px !important;
    font-weight: 500 !important;
    color: var(--hp-muted) !important;
    max-width: 520px;
    margin-bottom: 36px !important;
}

@media (max-width: 991px) {
    .hp-hero .hp-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
}

.hp-hero .hp-cta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .hp-hero .hp-cta-row {
        justify-content: center;
    }
}

.hp-page .hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    box-shadow: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    border: none;
}

.hp-page .hp-btn-primary {
    background-image: linear-gradient(95deg, var(--hp-orange-a), var(--hp-orange-b));
    color: #fff !important;
    box-shadow: 0 16px 30px -12px rgba(255, 92, 0, 0.55) !important;
}

.hp-page .hp-btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
    box-shadow: 0 22px 36px -12px rgba(255, 92, 0, 0.6) !important;
    color: #fff !important;
}

.hp-page .hp-btn-ghost {
    background: #fff;
    color: var(--hp-navy) !important;
    border: 1px solid var(--hp-line) !important;
}

.hp-page .hp-btn-ghost:hover {
    transform: translateY(-3px);
    border-color: var(--hp-navy) !important;
    box-shadow: var(--hp-shadow-sm) !important;
    color: var(--hp-navy) !important;
}

.hp-hero .hp-hero-visual {
    position: relative;
}

.hp-hero .hp-hero-art {
    position: relative;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff, #eef1fb);
    box-shadow: var(--hp-shadow);
    padding: 28px;
}

.hp-hero .hp-hero-art img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.hp-hero .hp-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: var(--hp-shadow-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-ink);
    animation: hp-float 6s ease-in-out infinite;
}

.hp-hero .hp-float-card small {
    display: block;
    font-weight: 500;
    color: var(--hp-muted);
    font-size: 11px;
}

.hp-hero .hp-float-1 {
    top: 8%;
    left: -6%;
    animation-delay: 0.6s;
}

.hp-hero .hp-float-2 {
    bottom: 6%;
    right: -6%;
    animation-delay: 1.8s;
}

@media (max-width: 575px) {
    .hp-hero .hp-float-card {
        display: none;
    }
}

.hp-hero .hp-float-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.hp-hero .hp-float-1 .hp-float-icon {
    background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b));
}

.hp-hero .hp-float-2 .hp-float-icon {
    background: linear-gradient(135deg, var(--hp-purple-a), var(--hp-purple-b));
}

/* Stats strip */
.hp-stats-wrap {
    position: relative;
    z-index: 2;
    margin-top: -46px;
    padding-bottom: 20px;
}

.hp-stats {
    background: #fff;
    border-radius: var(--hp-radius-md);
    box-shadow: var(--hp-shadow);
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 767px) {
    .hp-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 26px;
    }
}

.hp-stats .hp-stat {
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.hp-stats .hp-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    width: 1px;
    background: var(--hp-line);
}

@media (max-width: 767px) {
    .hp-stats .hp-stat:nth-child(2)::after {
        display: none;
    }
}

.hp-stats .hp-stat-num {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hp-navy);
    display: block;
    margin-bottom: 4px;
}

.hp-stats .hp-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-muted);
}

/* ---------------------------------------------------------------- */
/* Features                                                           */
/* ---------------------------------------------------------------- */

.hp-features {
    padding-top: 100px;
    padding-bottom: 90px;
    background: var(--hp-surface);
}

.hp-features .hp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .hp-features .hp-feature-grid {
        grid-template-columns: 1fr;
    }
}

.hp-page .hp-feature-card {
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hp-page .hp-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-orange-a), var(--hp-purple-a), var(--hp-blue-a));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.hp-page .hp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow-sm);
    border-color: transparent;
}

.hp-page .hp-feature-card:hover::before {
    transform: scaleX(1);
}

.hp-page .hp-feature-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-page .hp-feature-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hp-page .hp-feature-card:nth-child(4n+1) .hp-feature-icon {
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
}

.hp-page .hp-feature-card:nth-child(4n+2) .hp-feature-icon {
    background: linear-gradient(135deg, var(--hp-purple-a), var(--hp-purple-b));
}

.hp-page .hp-feature-card:nth-child(4n+3) .hp-feature-icon {
    background: linear-gradient(135deg, var(--hp-blue-a), var(--hp-blue-b));
}

.hp-page .hp-feature-card:nth-child(4n+4) .hp-feature-icon {
    background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b));
}

.hp-page .hp-feature-card h3 {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--hp-ink) !important;
    margin-bottom: 8px !important;
}

.hp-page .hp-feature-card p {
    color: var(--hp-muted) !important;
    font-size: 15.5px !important;
    line-height: 1.65;
    margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------- */
/* About / showcase                                                  */
/* ---------------------------------------------------------------- */

.hp-about {
    padding-top: 100px;
    padding-bottom: 90px;
    background: #fff;
}

.hp-about .hp-about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hp-about .hp-about-row:not(:last-child) {
    margin-bottom: 90px;
}

@media (max-width: 991px) {
    .hp-about .hp-about-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hp-about .hp-about-row:not(:last-child) {
        margin-bottom: 60px;
    }
}

.hp-about .hp-about-row:nth-child(even) .hp-about-media {
    order: 2;
}

@media (max-width: 991px) {
    .hp-about .hp-about-row:nth-child(even) .hp-about-media {
        order: 0;
    }
}

.hp-about .hp-about-media {
    position: relative;
}

.hp-about .hp-about-media .hp-index {
    position: absolute;
    top: -22px;
    left: -14px;
    font-size: 72px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(16, 16, 87, 0.14);
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.hp-page[dir="rtl"] .hp-about .hp-about-media .hp-index {
    left: auto;
    right: -14px;
}

.hp-about .hp-about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow);
}

.hp-about .hp-about-copy h3 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--hp-ink) !important;
    letter-spacing: -0.01em;
    margin-bottom: 16px !important;
}

.hp-about .hp-about-copy p {
    color: var(--hp-muted) !important;
    font-size: 16.5px !important;
    line-height: 1.75;
    max-width: 460px;
}

/* ---------------------------------------------------------------- */
/* Pricing (structure/JS hooks unchanged — visual skin only)         */
/* ---------------------------------------------------------------- */

.hp-pricing {
    padding-top: 100px;
    padding-bottom: 110px;
    background: var(--hp-surface);
}

.pricing-plan-section .pricing-plan-card.hp-plan {
    border: 1px solid var(--hp-line) !important;
    border-radius: var(--hp-radius-lg) !important;
    box-shadow: 0 10px 30px -18px rgba(16, 16, 87, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff !important;
}

.pricing-plan-section .pricing-plan-card.hp-plan:hover {
    transform: translateY(-6px);
}

.pricing-plan-section .pricing-plan-card.hp-plan .pricing {
    background: var(--hp-surface) !important;
}

.pricing-plan-section .pricing-plan-card.hp-plan.slick-current {
    background: linear-gradient(165deg, var(--hp-navy), var(--hp-navy-soft)) !important;
    border-color: transparent !important;
    box-shadow: 0 30px 60px -22px rgba(16, 16, 87, 0.55) !important;
}

.pricing-plan-section .pricing-plan-card.hp-plan.slick-current .pricing {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.hp-page .hp-plan-cta {
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 12px 26px !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------------- */
/* Testimonials                                                      */
/* ---------------------------------------------------------------- */

.hp-testimonials {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--hp-navy) 0%, var(--hp-navy-soft) 100%);
    position: relative;
    overflow: hidden;
}

.hp-testimonials .hp-heading,
.hp-testimonials .hp-sub {
    color: #fff !important;
}

.hp-testimonials .hp-sub {
    color: rgba(255, 255, 255, 0.7) !important;
}

.testimonial-section .testimonial-card.hp-testimonial {
    border-radius: var(--hp-radius-md) !important;
    border: none !important;
    box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.35) !important;
}

.testimonial-section .testimonial-card.hp-testimonial .hp-quote-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
}

.testimonial-section .testimonial-card.hp-testimonial.slick-current:before {
    background-image: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b)) !important;
}

/* ---------------------------------------------------------------- */
/* Contact                                                            */
/* ---------------------------------------------------------------- */

.hp-contact {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #fff !important;
}

.hp-contact .hp-contact-panel {
    background: var(--hp-surface);
    border-radius: var(--hp-radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}

@media (max-width: 991px) {
    .hp-contact .hp-contact-panel {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
}

.hp-contact .contact-info__block {
    background: #fff;
    border-radius: var(--hp-radius-sm);
    padding: 16px 18px;
    box-shadow: var(--hp-shadow-sm);
}

.hp-contact .contact-info__contact-icon {
    background: linear-gradient(135deg, var(--hp-purple-a), var(--hp-purple-b)) !important;
    border-radius: var(--hp-radius-sm) !important;
}

.hp-contact .contact-form .form-control {
    border-radius: 12px;
    border: 1px solid var(--hp-line);
    padding: 14px 18px;
    background: #fff;
}

.hp-contact .contact-form .form-control:focus {
    border-color: var(--hp-navy);
    box-shadow: 0 0 0 4px rgba(16, 16, 87, 0.08);
}

/* ---------------------------------------------------------------- */
/* Final CTA band                                                    */
/* ---------------------------------------------------------------- */

.hp-final-cta {
    padding: 80px 0;
    background: var(--hp-surface);
}

.hp-final-cta .hp-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--hp-radius-lg);
    padding: 70px 40px;
    text-align: center;
    background: linear-gradient(120deg, var(--hp-navy) 0%, #3a2a8f 55%, #7a2ea8 100%);
    box-shadow: var(--hp-shadow);
}

.hp-final-cta .hp-cta-card::before,
.hp-final-cta .hp-cta-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.hp-final-cta .hp-cta-card::before {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
    top: -80px;
    right: -40px;
}

.hp-final-cta .hp-cta-card::after {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--hp-blue-a), var(--hp-blue-b));
    bottom: -80px;
    left: -30px;
}

.hp-final-cta h2 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.hp-final-cta p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 32px;
}

.hp-final-cta .hp-btn-primary {
    position: relative;
    z-index: 1;
}

/* ================================================================== */
/* Business Discovery — hero search, categories, listing cards         */
/* (theme 1 only — see livewire.home-business-discovery-premium)       */
/* ================================================================== */

/* ---- Discover hero / search ------------------------------------- */

.hp-discover-hero {
    position: relative;
    padding-top: 70px;
    padding-bottom: 60px;
    overflow: hidden;
    background: #fff;
}

.hp-discover-glow {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 420px;
    background:
        radial-gradient(closest-side, rgba(255, 92, 0, 0.14), transparent 70%),
        radial-gradient(closest-side, rgba(188, 74, 254, 0.12), transparent 70%);
    background-position: 20% 60%, 80% 40%;
    background-size: 60% 100%, 60% 100%;
    background-repeat: no-repeat;
    filter: blur(10px);
    pointer-events: none;
}

.hp-search-wrap {
    position: relative;
    max-width: 680px;
    z-index: 2;
}

.hp-search-card {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    padding: 8px 8px 8px 22px;
    box-shadow: var(--hp-shadow);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-search-card:focus-within {
    border-color: rgba(16, 16, 87, 0.25);
    box-shadow: 0 30px 60px -20px rgba(16, 16, 87, 0.32);
}

.hp-search-icon {
    color: var(--hp-muted);
    font-size: 16px;
    display: flex;
}

.hp-search-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: var(--hp-ink);
    padding: 12px 10px;
    min-width: 0;
}

.hp-search-input::placeholder {
    color: var(--hp-muted);
}

.hp-search-btn.hp-btn {
    padding: 13px 26px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .hp-search-card {
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 16px;
    }

    .hp-search-input {
        flex-basis: 100%;
        order: 1;
        padding: 6px 10px 14px;
    }

    .hp-search-btn.hp-btn {
        order: 2;
        flex: 1;
        justify-content: center;
    }
}

.hp-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-line);
    overflow: hidden;
    z-index: 5;
    text-align: left;
}

.hp-page[dir="rtl"] .hp-suggestions {
    text-align: right;
}

.hp-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    border-bottom: 1px solid var(--hp-line);
    transition: background 0.15s ease;
}

.hp-suggestion-item:hover {
    background: var(--hp-surface);
}

.hp-suggestion-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hp-suggestion-item span {
    min-width: 0;
    overflow: hidden;
}

.hp-suggestion-name {
    display: block;
    font-weight: 700;
    color: var(--hp-ink);
}

.hp-suggestion-item small {
    display: block;
    color: var(--hp-muted);
}

.hp-suggestion-empty {
    padding: 20px;
    text-align: center;
    color: var(--hp-muted);
}

.hp-suggestion-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--hp-surface);
    color: var(--hp-navy);
    font-weight: 700;
    text-decoration: none;
}

.hp-discover-stats {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

.hp-discover-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    padding: 10px 20px;
}

.hp-discover-stat-num {
    font-weight: 800;
    color: var(--hp-navy);
    font-size: 17px;
}

.hp-discover-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-muted);
}

/* ---- Categories ---------------------------------------------------- */

.hp-categories {
    padding-top: 30px;
    padding-bottom: 70px;
    background: #fff;
}

.hp-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hp-rail-head h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    align-items: center;
}

.hp-rail-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    margin-right: 12px;
}

.hp-page[dir="rtl"] .hp-rail-icon {
    margin-right: 0;
    margin-left: 12px;
}

.hp-rail-icon-amber { background: linear-gradient(135deg, #ffb020, #ff8a00); }
.hp-rail-icon-blue { background: linear-gradient(135deg, var(--hp-blue-a), var(--hp-blue-b)); }
.hp-rail-icon-orange { background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b)); }
.hp-rail-icon-green { background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b)); }

.hp-rail-link {
    font-weight: 700;
    color: var(--hp-navy);
    text-decoration: none;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.hp-rail-link:hover {
    gap: 12px;
    color: var(--hp-orange-a);
}

.hp-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .hp-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hp-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hp-category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 26px 14px;
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hp-category-tile:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: transparent;
    box-shadow: var(--hp-shadow-sm);
}

.hp-category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
    transition: transform 0.3s ease;
}

.hp-category-tile:nth-child(6n+2) .hp-category-icon { background: linear-gradient(135deg, var(--hp-purple-a), var(--hp-purple-b)); }
.hp-category-tile:nth-child(6n+3) .hp-category-icon { background: linear-gradient(135deg, var(--hp-blue-a), var(--hp-blue-b)); }
.hp-category-tile:nth-child(6n+4) .hp-category-icon { background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b)); }
.hp-category-tile:nth-child(6n+5) .hp-category-icon { background: linear-gradient(135deg, #ffb020, #ff8a00); }
.hp-category-tile:nth-child(6n+6) .hp-category-icon { background: linear-gradient(135deg, #6c8cff, var(--hp-purple-a)); }

.hp-category-tile:hover .hp-category-icon {
    transform: scale(1.08) rotate(-4deg);
}

.hp-category-label {
    max-width: 100%;
    font-weight: 700;
    color: var(--hp-ink);
    font-size: 14.5px;
}

.hp-category-count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hp-muted);
    background: rgba(16, 16, 87, 0.06);
    border-radius: 999px;
    padding: 2px 10px;
}

/* ---- Business rails / cards ---------------------------------------- */

.hp-rail {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #fff;
}

.hp-rail-tinted {
    background: var(--hp-surface);
}

.hp-biz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .hp-biz-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .hp-biz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hp-biz-grid { grid-template-columns: 1fr; }
}

.hp-page .hp-biz-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px -18px rgba(16, 16, 87, 0.25);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.hp-page .hp-biz-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hp-shadow);
    border-color: transparent;
}

.hp-biz-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hp-surface);
}

.hp-biz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.hp-page .hp-biz-card:hover .hp-biz-media img {
    transform: scale(1.08);
}

.hp-biz-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--hp-navy);
    background: linear-gradient(135deg, #eef1fb, #e4e7fb);
}

.hp-biz-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hp-page .hp-biz-card:hover .hp-biz-scrim {
    opacity: 1;
}

.hp-biz-badges-top {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.hp-biz-badges-corner {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 2;
}

.hp-page[dir="rtl"] .hp-biz-badges-top {
    left: auto;
    right: 14px;
}

.hp-page[dir="rtl"] .hp-biz-badges-corner {
    right: auto;
    left: 14px;
    align-items: flex-start;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hp-chip-blue { background: rgba(230, 250, 253, 0.95); color: #009bb0; }
.hp-chip-green { background: rgba(220, 252, 231, 0.95); color: #15803d; }
.hp-chip-neutral { background: rgba(255, 255, 255, 0.95); color: var(--hp-muted); border: 1px solid var(--hp-line); }

.hp-chip-solid {
    color: #fff;
}

.hp-chip-teal { background: linear-gradient(135deg, var(--hp-green-a), var(--hp-green-b)); }
.hp-chip-amber { background: linear-gradient(135deg, #ffb020, #ff8a00); }

.hp-biz-visit {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--hp-ink);
    font-weight: 700;
    font-size: 13.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hp-page .hp-biz-card:hover .hp-biz-visit {
    opacity: 1;
    transform: translateY(0);
}

.hp-biz-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-biz-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--hp-ink);
    margin: 0;
    min-width: 0;
}

.hp-biz-verified {
    color: #2e7dff;
    font-size: 14px;
    flex-shrink: 0;
}

.hp-biz-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--hp-muted);
    margin: 0;
    min-width: 0;
}

.hp-biz-location i {
    color: var(--hp-orange-a);
    font-size: 12px;
}

.hp-biz-desc {
    font-size: 13.5px;
    color: var(--hp-muted);
    line-height: 1.55;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-biz-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--hp-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hp-muted);
}

.hp-biz-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================================== */
/* Header — dark nav/lang-switcher/buttons on the homepage only.       */
/* The redesigned hero is now a light surface (no more hero-bg.png),   */
/* so the header's default white-on-dark styling (shared with every    */
/* other front page, which still sits on a colored hero) needs to      */
/* flip to dark text here. Scoped to body.hp-home-body — see the       */
/* `request()->routeIs('home')` class in front/layouts/app.blade.php.  */
/* ================================================================== */

body.hp-home-body .header .navbar-nav > .nav-item > .nav-link,
body.hp-home-body .header .navbar-nav .dropdown .dropdown-toggle {
    color: #14142b !important;
}

body.hp-home-body .header .navbar-nav > .nav-item > .nav-link:hover,
body.hp-home-body .header .navbar-nav .dropdown .dropdown-toggle:hover {
    color: #ff5c00 !important;
}

body.hp-home-body .header .navbar-toggler-icon {
    background-color: #14142b !important;
}

body.hp-home-body .header .btn-white {
    background: #14142b;
    border: 1px solid #14142b;
}

body.hp-home-body .header .btn-white span,
body.hp-home-body .header .btn-white {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

body.hp-home-body .header .btn-white:hover {
    background: #ff5c00;
    border-color: #ff5c00;
}

@media (max-width: 991px) {
    body.hp-home-body .header .navbar-collapse {
        background: #fff;
        box-shadow: 0 20px 45px -20px rgba(16, 16, 87, 0.35);
    }

    body.hp-home-body .header .navbar-nav .nav-item .nav-link {
        color: #14142b !important;
    }
}

/* ================================================================== */
/* /business-directory — same premium system as the homepage           */
/* (theme 1 only — home-business-directory1/3/4.blade.php + their own  */
/* BusinessDirectoryList1/3/4 Livewire variants are untouched).         */
/* ================================================================== */

.hp-bizdir-hero {
    padding-top: 150px;
    padding-bottom: 50px;
}

/* Generic light "page header" band — FAQ / Blog / Blog show / Custom
   pages. Same visual language as .hp-discover-hero, used standalone
   (not paired with it) since those pages aren't the discover section. */
.hp-page-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 50px;
    overflow: hidden;
    background: #fff;
}

.hp-eyebrow-link {
    color: inherit;
    text-decoration: none;
}

.hp-eyebrow-link:hover {
    color: var(--hp-orange-a);
}

/* ---- Filters panel --------------------------------------------------- */

.hp-bizdir-filters-wrap {
    margin-top: -20px;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.hp-filters-card {
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    box-shadow: var(--hp-shadow);
    padding: 22px;
}

.hp-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hp-filter-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    padding: 0 16px;
    height: 52px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hp-filter-field:focus-within {
    border-color: var(--hp-navy);
    background: #fff;
}

.hp-filter-field i {
    color: var(--hp-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.hp-filter-field input,
.hp-filter-field select {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14.5px;
    color: var(--hp-ink);
    width: 100%;
    height: 100%;
}

.hp-filter-grow {
    flex: 1 1 220px;
}

.hp-filter-select {
    flex: 1 1 170px;
}

.hp-filter-submit.hp-btn {
    height: 52px;
    padding: 0 28px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .hp-filter-field,
    .hp-filter-submit.hp-btn {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }
}

.hp-filters-row2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.hp-toggle-chip {
    display: inline-flex;
    cursor: pointer;
    margin: 0;
}

.hp-toggle-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hp-toggle-chip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--hp-muted);
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    padding: 9px 16px;
    transition: all 0.2s ease;
}

.hp-toggle-chip input:checked + span {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-navy-soft));
}

.hp-toggle-chip:nth-of-type(2) input:checked + span {
    background: linear-gradient(135deg, #ffb020, #ff8a00);
}

.hp-clear-btn {
    margin-left: auto;
    background: none;
    border: 0;
    color: #e5484d;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
}

.hp-page[dir="rtl"] .hp-clear-btn {
    margin-left: 0;
    margin-right: auto;
}

.hp-location-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hp-line);
}

.hp-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-navy);
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    padding: 7px 14px;
    transition: all 0.2s ease;
}

.hp-location-chip span {
    opacity: 0.7;
}

.hp-location-chip:hover {
    border-color: var(--hp-navy);
}

.hp-location-chip.is-active {
    background: var(--hp-navy);
    border-color: var(--hp-navy);
    color: #fff;
}

/* ---- Results grid / states -------------------------------------------- */

.hp-bizdir-results {
    padding-bottom: 90px;
}

.hp-bizdir-grid {
    row-gap: 28px;
}

.hp-biz-skeleton {
    box-shadow: none;
}

.hp-biz-skeleton .hp-biz-media {
    aspect-ratio: 4 / 3;
}

.hp-bizdir-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: var(--hp-surface);
    border-radius: var(--hp-radius-lg);
    border: 1px dashed var(--hp-line);
}

.hp-bizdir-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-orange-a), var(--hp-orange-b));
}

.hp-bizdir-empty h5 {
    font-weight: 700;
    color: var(--hp-ink);
    margin-bottom: 0;
}

/* ---- Pagination --------------------------------------------------- */

.hp-bizdir-pagination,
.hp-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 46px;
    grid-column: 1 / -1;
}

.hp-bizdir-pagination .pagination,
.hp-pagination-wrap .pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hp-bizdir-pagination .page-link,
.hp-pagination-wrap .page-link {
    border: 1px solid var(--hp-line) !important;
    color: var(--hp-ink) !important;
    border-radius: 10px !important;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #fff !important;
    margin: 0 !important;
}

.hp-bizdir-pagination .page-item.active .page-link,
.hp-pagination-wrap .page-item.active .page-link {
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-navy-soft)) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.hp-bizdir-pagination .page-item.disabled .page-link,
.hp-pagination-wrap .page-item.disabled .page-link {
    opacity: 0.4;
}

.hp-bizdir-pagination .page-link:hover,
.hp-pagination-wrap .page-link:hover {
    border-color: var(--hp-navy) !important;
}

/* ================================================================== */
/* FAQ / Blog / Blog show / Custom page — theme 1 only.                 */
/* (home-faq.blade.php, home-blog.blade.php + front-blog-list,          */
/*  home-blog-show.blade.php, home-custom-page-show.blade.php)          */
/* ================================================================== */

.hp-static-page {
    background: #fff;
}

.hp-faq-container,
.hp-custom-page-section .hp-container {
    max-width: 860px;
}

/* ---- FAQ accordion ------------------------------------------------ */

.hp-faq-section {
    padding-bottom: 100px;
}

.hp-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-faq-item {
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-faq-item:has(.collapse.show) {
    background: #fff;
    border-color: var(--hp-navy);
    box-shadow: var(--hp-shadow-sm);
}

.hp-faq-heading {
    margin: 0;
}

.hp-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    background: none;
    border: 0;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hp-ink);
    cursor: pointer;
}

.hp-page[dir="rtl"] .hp-faq-btn {
    text-align: right;
}

.hp-faq-caret {
    flex-shrink: 0;
    color: var(--hp-muted);
    font-size: 13px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hp-faq-btn:not(.collapsed) .hp-faq-caret {
    transform: rotate(180deg);
    color: var(--hp-orange-a);
}

.hp-faq-body {
    padding: 0 24px 22px;
    color: var(--hp-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Blog list ------------------------------------------------------ */

.hp-blog-section {
    padding-bottom: 100px;
}

.hp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .hp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hp-blog-grid { grid-template-columns: 1fr; }
}

.hp-page .hp-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px -18px rgba(16, 16, 87, 0.25);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}

.hp-page .hp-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hp-shadow);
}

.hp-blog-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hp-surface);
}

.hp-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.hp-page .hp-blog-card:hover .hp-blog-media img {
    transform: scale(1.06);
}

.hp-blog-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-blog-meta {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hp-muted);
    margin-bottom: 10px;
}

.hp-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hp-blog-meta i {
    color: var(--hp-orange-a);
}

.hp-blog-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hp-ink);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-blog-excerpt {
    font-size: 14px;
    color: var(--hp-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--hp-navy);
    transition: gap 0.2s ease, color 0.2s ease;
}

.hp-page .hp-blog-card:hover .hp-blog-readmore {
    gap: 12px;
    color: var(--hp-orange-a);
}

.hp-blog-empty {
    grid-column: 1 / -1;
}

/* ---- Blog show / article -------------------------------------------- */

.hp-blog-show-meta {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-muted);
}

.hp-blog-show-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hp-blog-show-meta i {
    color: var(--hp-orange-a);
}

.hp-blog-show-section {
    padding-bottom: 100px;
}

.hp-blog-show-article {
    max-width: 900px;
    margin: 0 auto;
}

.hp-blog-show-media {
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    margin-bottom: 40px;
    max-height: 480px;
}

.hp-blog-show-media img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.hp-blog-show-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #2c2c40;
}

/* ---- Custom (CMS) page ------------------------------------------------ */

.hp-custom-page-section {
    padding-bottom: 100px;
}

.hp-custom-page-card {
    font-size: 16.5px;
    line-height: 1.85;
    color: #2c2c40;
}

/* ================================================================== */
/* vCard templates showcase — standalone page (vcards-templates.blade.php) */
/* ================================================================== */

.hp-tpl-section {
    padding-top: 20px;
    padding-bottom: 100px;
    background: #fff;
}

.hp-tpl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .hp-tpl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .hp-tpl-grid { grid-template-columns: 1fr; }
}

.hp-page .hp-tpl-card {
    position: relative;
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    padding: 18px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.hp-page .hp-tpl-card:hover {
    transform: translateY(-8px);
    background: #fff;
    border-color: transparent;
    box-shadow: var(--hp-shadow);
}

.hp-tpl-featured {
    border-color: var(--hp-orange-a);
}

.hp-tpl-img {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.hp-tpl-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hp-page .hp-tpl-card:hover .hp-tpl-img img {
    transform: scale(1.04);
}

.hp-tpl-name {
    margin-top: 16px;
    font-weight: 700;
    font-size: 16px;
    color: var(--hp-ink);
}

.hp-tpl-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.hp-page[dir="rtl"] .hp-tpl-ribbon {
    right: auto;
    left: 12px;
}

/* ================================================================== */
/* "Near me" — location-aware search (business-directory-list.blade.php, */
/* home-business-discovery-premium.blade.php, business-card-premium.blade.php) */
/* ================================================================== */

.hp-chip-distance {
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-navy-soft));
}

.hp-locate-btn {
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    cursor: pointer;
    color: var(--hp-navy);
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
}

.hp-locate-btn i {
    color: var(--hp-orange-a);
}

.hp-locate-btn:hover {
    border-color: var(--hp-navy);
}

.hp-near-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 16, 87, 0.06), rgba(255, 92, 0, 0.06));
    border: 1px solid var(--hp-line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--hp-navy);
}

.hp-near-banner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hp-near-banner span i {
    color: var(--hp-orange-a);
}

.hp-near-banner button {
    background: none;
    border: 0;
    font-weight: 700;
    color: var(--hp-navy);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.hp-near-banner-muted {
    background: #fff5f5;
    border-color: #ffd9d9;
    color: #9a3b3b;
}

.hp-near-banner-muted span i {
    color: #e5484d;
}

.hp-suggestion-item {
    position: relative;
}

.hp-suggestion-distance {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-navy-soft));
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}
