/* =========================================================
   Business Finder Directories - Home page CSS (prefix: bh-)
   ========================================================= */

/* =========================================================
   SECTION 1 - Top advertise strip
   ========================================================= */

.bh-strip {
    background: var(--accent);
    color: var(--white);
    padding: 0.65rem 0;
}
.bh-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.bh-strip__msg,
.bh-strip__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.4;
    transition: opacity var(--dur-fast) var(--ease);
}
.bh-strip__msg:hover,
.bh-strip__phone:hover {
    opacity: 0.85;
    color: var(--white);
}
.bh-strip__msg i,
.bh-strip__phone i {
    font-size: 0.85rem;
}
.bh-strip__msg strong {
    font-weight: 700;
}

/* =========================================================
   SECTION 2 - Hero (fanned covers + headline)
   ========================================================= */

.bh-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 15% 25%, rgba(32, 88, 144, 0.13) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 75%, rgba(78, 139, 94, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 92% 15%, rgba(249, 181, 3, 0.14) 0%, transparent 32%),
        radial-gradient(circle at 8% 85%, rgba(3, 102, 102, 0.10) 0%, transparent 32%),
        linear-gradient(180deg, #EEF4FB 0%, #FFFFFF 55%, #F0F7F2 100%);
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}
.bh-hero::before {
    content: "";
    position: absolute;
    top: -130px;
    left: -100px;
    width: 340px;
    height: 340px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.10;
    z-index: 0;
}
.bh-hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}
/* Extra decorative circles for more colour depth */
.bh-hero__spot--gold,
.bh-hero__spot--teal {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.bh-hero__spot--gold {
    top: 8%;
    right: 8%;
    width: 140px;
    height: 140px;
    background: var(--edn-bfst);
    opacity: 0.10;
}
.bh-hero__spot--teal {
    bottom: 12%;
    left: 6%;
    width: 100px;
    height: 100px;
    background: var(--edn-lv);
    opacity: 0.10;
}
.bh-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

.bh-hero__eyebrow {
    margin-bottom: 1.25rem;
}
.bh-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem;
    color: var(--deep);
    font-weight: 700;
}
.bh-hero__title::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    background: var(--accent);
    margin-top: 1.75rem;
    border-radius: 2px;
}
.bh-hero__lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 54ch;
    margin-bottom: 2rem;
}
.bh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Fanned cover arrangement */
.bh-hero__covers {
    position: relative;
    height: clamp(360px, 45vw, 520px);
    perspective: 1200px;
}
.bh-hero__cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45%;
    max-width: 220px;
    aspect-ratio: 210 / 297;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform-origin: bottom center;
    transition: transform var(--dur-slow) var(--ease);
}
.bh-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Fan: 5 covers, centre one straight, others angled outward */
.bh-hero__cover--1 { transform: translate(-50%, -55%) translateX(-70%) rotate(-14deg); z-index: 1; }
.bh-hero__cover--2 { transform: translate(-50%, -52%) translateX(-35%) rotate(-6deg);  z-index: 2; }
.bh-hero__cover--3 { transform: translate(-50%, -50%) translateX(0)     rotate(0);       z-index: 5; }
.bh-hero__cover--4 { transform: translate(-50%, -52%) translateX(35%)  rotate(6deg);   z-index: 3; }
.bh-hero__cover--5 { transform: translate(-50%, -55%) translateX(70%)  rotate(14deg);  z-index: 2; }

.bh-hero__covers:hover .bh-hero__cover--1 { transform: translate(-50%, -55%) translateX(-74%) rotate(-16deg); }
.bh-hero__covers:hover .bh-hero__cover--2 { transform: translate(-50%, -52%) translateX(-38%) rotate(-7deg); }
.bh-hero__covers:hover .bh-hero__cover--3 { transform: translate(-50%, -54%) translateX(0)    rotate(0); }
.bh-hero__covers:hover .bh-hero__cover--4 { transform: translate(-50%, -52%) translateX(38%)  rotate(7deg); }
.bh-hero__covers:hover .bh-hero__cover--5 { transform: translate(-50%, -55%) translateX(74%)  rotate(16deg); }

/* =========================================================
   SECTION 3 - About the directories
   ========================================================= */

.bh-about {
    position: relative;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(32, 88, 144, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 70%, rgba(78, 139, 94, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 60% 15%, rgba(249, 181, 3, 0.08) 0%, transparent 25%),
        linear-gradient(160deg, #E7EFF9 0%, #F4F9F5 100%);
    overflow: hidden;
}
.bh-about__deco {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}
.bh-about__deco--2 {
    top: auto;
    right: auto;
    bottom: -120px;
    left: -120px;
    width: 280px;
    height: 280px;
    background: var(--accent);
    opacity: 0.10;
}
.bh-about__deco--3 {
    top: 20%;
    left: 45%;
    right: auto;
    bottom: auto;
    width: 180px;
    height: 180px;
    background: var(--edn-lv);
    opacity: 0.05;
}

.bh-about__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Intro block (centered) ---------- */
.bh-about__intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.bh-about__eyebrow {
    color: var(--accent);
    display: block;
    margin-bottom: 0.85rem;
}
.bh-about__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--deep);
    margin: 0.5rem 0 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
    display: inline-block;
}
.bh-about__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}
.bh-about__lead {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 1.5rem 0 0;
}
.bh-about__lead strong {
    color: var(--deep);
    font-weight: 700;
}

/* ---------- Highlights row (3 cards) ---------- */
.bh-about__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
/* When the 5-editions highlight is a link (scrolls to #editions), keep it
   looking exactly like the plain cards - no underline, inherit text colour. */
a.bh-about__highlight {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.bh-about__highlight {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    border: 1px solid var(--neutral-line);
    box-shadow: 0 4px 14px rgba(27, 38, 53, 0.06);
    transition: transform var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease);
    position: relative;
    overflow: hidden;
}
.bh-about__highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--h-clr, var(--primary));
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease);
}
.bh-about__highlight:hover {
    transform: translateY(-4px);
    border-color: var(--h-clr, var(--primary));
    box-shadow: 0 12px 28px rgba(27, 38, 53, 0.10);
}
.bh-about__highlight:hover::before {
    transform: scaleX(1);
}
.bh-about__highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--h-clr, var(--primary));
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--h-clr, var(--primary)) 28%, transparent);
}
.bh-about__highlight-icon i {
    color: var(--white);
    display: block;
}
.bh-about__highlight-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.bh-about__highlight-body strong {
    display: block;
    font-size: 1.1rem;
    color: var(--deep);
    font-weight: 700;
    line-height: 1.2;
}
.bh-about__highlight-body span {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.35;
}

/* Feature CTA card - big price + tagline heading + button */
.bh-about__feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
    box-shadow: 0 8px 28px rgba(27, 38, 53, 0.08);
    border: 1px solid var(--neutral-line);
    position: relative;
    overflow: hidden;
}
.bh-about__feature-deco {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.10;
    z-index: 0;
}
.bh-about__feature-price {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    background:
        linear-gradient(160deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
    min-width: 120px;
    box-shadow: 0 8px 18px rgba(78, 139, 94, 0.25);
}
.bh-about__feature-price-tag {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}
.bh-about__feature-price-amount {
    font-family: var(--font-head);
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.bh-about__feature-price-amount span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0;
}
.bh-about__feature-content {
    position: relative;
    z-index: 1;
}
.bh-about__feature-content h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    margin: 0 0 0.5rem;
    color: var(--deep);
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.bh-about__feature-content > p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0 0 1.15rem !important;
}

/* =========================================================
   SECTION 4 - Editions showcase grid
   ========================================================= */

/* Offset the anchor target so the heading clears the fixed top bar when the
   5-editions card (or the header's /#editions link) scrolls to it. */
.bh-editions {
    scroll-margin-top: calc(var(--topbar-h) + 1rem);
}
.bh-editions__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.bh-editions__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0.65rem 0 1rem;
    letter-spacing: -0.02em;
    display: inline-block;
}
.bh-editions__head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}
.bh-editions__lead {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.05rem;
    margin-top: 1.5rem;
}

.bh-editions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    max-width: 1120px;
    margin-inline: auto;
}
.bh-edition {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    border: 0.5px solid var(--neutral-line);
    transition: all var(--dur-base) var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    /* --edn is set inline per card to that edition's brand colour */
}
.bh-edition::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--edn, var(--primary));
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease);
}
.bh-edition:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--edn, var(--primary));
}
.bh-edition:hover::before {
    transform: scaleX(1);
}
.bh-edition__cover {
    aspect-ratio: 210 / 297;
    max-height: 220px;
    background: var(--neutral);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(27, 38, 53, 0.12);
    align-self: center;
    width: min(160px, 100%);
}
.bh-edition__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--dur-slow) var(--ease);
}
.bh-edition:hover .bh-edition__cover img {
    transform: scale(1.04);
}
.bh-edition__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}
.bh-edition__label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--edn, var(--primary));
    padding: 0.35rem 0.65rem;
    background: color-mix(in srgb, var(--edn, var(--primary)) 10%, transparent);
    border-radius: var(--radius-pill);
}
.bh-edition h3 {
    font-size: 1.2rem;
    margin: 0.15rem 0 0;
    color: var(--deep);
    letter-spacing: -0.01em;
}
.bh-edition p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}
.bh-edition__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--edn, var(--primary));
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 0.35rem;
}
.bh-edition__more i {
    transition: transform var(--dur-fast) var(--ease);
}
.bh-edition:hover .bh-edition__more i {
    transform: translateX(4px);
}

/* =========================================================
   SECTION 5 - Advertiser benefits
   ========================================================= */

.bh-benefits__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.bh-benefits__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0.65rem 0 1rem;
    letter-spacing: -0.02em;
    display: inline-block;
}
.bh-benefits__head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}
.bh-benefits__lead {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.05rem;
    margin-top: 1.5rem;
}
.bh-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bh-benefit {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--neutral-line);
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-base) var(--ease);
}
.bh-benefit:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.bh-benefit__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.15rem;
}
.bh-benefit h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--deep);
}
.bh-benefit p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}
/* Featured price card */
.bh-benefit--price {
    background:
        linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    position: relative;
    overflow: hidden;
}
.bh-benefit--price::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.bh-benefit__price-tag {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    margin-bottom: 0.3rem;
}
.bh-benefit__price {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
}
.bh-benefit__price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0;
}
.bh-benefit--price p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* =========================================================
   SECTION 6 - Enquire form
   ========================================================= */

.bh-enquire {
    position: relative;
    overflow: hidden;
}
.bh-enquire::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.18;
}
.bh-enquire__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}
.bh-enquire__eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}
.bh-enquire__intro h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.bh-enquire__intro > p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    font-size: 1.05rem;
    margin: 0 0 1.75rem;
    max-width: 44ch;
}
.bh-enquire__reasons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.bh-enquire__reasons li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.5;
}
.bh-enquire__reasons li i {
    color: var(--accent);
    margin-top: 0.3rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Hide the green top advertise strip on mobile (780px and below - where the
   header flips to hamburger + phone icon). The main top-bar call icon is a
   separate element in bfd-global.css and is unaffected. */
@media (max-width: 780px) {
    .bh-strip {
        display: none;
    }
}

@media (max-width: 900px) {
    .bh-hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bh-enquire__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bh-hero__covers {
        margin-top: 2rem;
        height: 340px;
    }
    .bh-hero__cover {
        width: 42%;
        max-width: 170px;
    }
    .bh-about__highlights {
        grid-template-columns: 1fr;
    }
    .bh-about__feature {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bh-about__feature-price {
        justify-self: center;
        min-width: 160px;
    }
    .bh-benefits__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .bh-strip__inner {
        justify-content: center;
        gap: 0.5rem 1.25rem;
    }
    .bh-strip__msg,
    .bh-strip__phone {
        font-size: 0.85rem;
    }
    .bh-hero__covers {
        height: 280px;
    }
    .bh-hero__cover {
        width: 46%;
        max-width: 140px;
    }
    .bh-hero__cover--1 { transform: translate(-50%, -55%) translateX(-55%) rotate(-12deg); }
    .bh-hero__cover--2 { transform: translate(-50%, -52%) translateX(-28%) rotate(-5deg); }
    .bh-hero__cover--3 { transform: translate(-50%, -50%) translateX(0) rotate(0); }
    .bh-hero__cover--4 { transform: translate(-50%, -52%) translateX(28%) rotate(5deg); }
    .bh-hero__cover--5 { transform: translate(-50%, -55%) translateX(55%) rotate(12deg); }
    .bh-benefits__grid {
        grid-template-columns: 1fr;
    }
}
