/* ============================================
   babies.lol — Custom Homepage Styles
   Built on Casper 5.x
   ============================================ */

/* --- Colour palette from logo --- */
:root {
    --bl-pink:    #e94080;
    --bl-green:   #2da84b;
    --bl-yellow:  #f7c521;
    --bl-blue:    #2e7bb5;
    --bl-red:     #d93b2a;
    --bl-orange:  #f47b20;
    --bl-light:   #fff9f0;
    --bl-dark:    #1a1a2e;
    --bl-radius:  16px;
    --bl-radius-sm: 10px;
}

/* --- Logo: override Casper's max-height constraint --- */
.gh-head-logo img {
    max-height: 52px !important;
    height: auto;
    width: auto;
}

/* ============================================
   HERO
   ============================================ */
.bl-hero {
    background: var(--bl-light);
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 3px solid var(--bl-yellow);
}

.bl-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bl-hero-title {
    font-size: clamp(2.8rem, 4.5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--bl-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Colourful first word à la logo */
.bl-hero-title::first-line {
    color: var(--bl-pink);
}

.bl-hero-subtitle {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 32px;
    max-width: 520px;
}

.bl-hero-cta {
    display: inline-block;
    background: var(--bl-green);
    color: #fff !important;
    font-size: 1.7rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 48px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: -0.01em;
}

.bl-hero-cta:hover {
    background: var(--bl-pink);
    transform: translateY(-2px);
}

.bl-hero-image img {
    width: 100%;
    border-radius: var(--bl-radius);
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .bl-hero-inner {
        grid-template-columns: 1fr;
    }
    .bl-hero-image {
        order: -1;
    }
    .bl-hero-image img {
        max-height: 240px;
    }
}

/* ============================================
   PILLARS
   ============================================ */
.bl-pillars {
    padding-top: 56px;
    padding-bottom: 56px;
    background: #fff;
}

.bl-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.bl-pillar {
    background: var(--bl-light);
    border-radius: var(--bl-radius);
    padding: 32px 28px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.15s;
}

.bl-pillar:nth-child(1) { border-top: 4px solid var(--bl-pink); }
.bl-pillar:nth-child(2) { border-top: 4px solid var(--bl-yellow); }
.bl-pillar:nth-child(3) { border-top: 4px solid var(--bl-green); }

.bl-pillar:hover {
    transform: translateY(-4px);
    border-color: var(--bl-yellow);
}

.bl-pillar-icon {
    font-size: 3.6rem;
    margin-bottom: 14px;
    line-height: 1;
}

.bl-pillar h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bl-dark);
    margin: 0 0 10px;
}

.bl-pillar p {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 767px) {
    .bl-pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LATEST POSTS
   ============================================ */
.bl-posts {
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--bl-light);
}

.bl-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.bl-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bl-dark);
    margin: 0;
}

.bl-section-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bl-green);
    text-decoration: none;
}

.bl-section-link:hover {
    color: var(--bl-pink);
}

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

.bl-post-card {
    background: #fff;
    border-radius: var(--bl-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.15s, box-shadow 0.15s;
}

.bl-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.bl-post-card-image-link {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.bl-post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bl-post-card:hover .bl-post-card-image {
    transform: scale(1.04);
}

.bl-post-card-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bl-post-card-tag {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bl-pink);
    margin-bottom: 8px;
}

.bl-post-card-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--bl-dark);
    flex-grow: 1;
}

.bl-post-card-title a {
    color: inherit;
    text-decoration: none;
}

.bl-post-card-title a:hover {
    color: var(--bl-green);
}

.bl-post-card-excerpt {
    font-size: 1.45rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 14px;
}

.bl-post-card-meta {
    font-size: 1.3rem;
    color: #999;
    margin-top: auto;
}

@media (max-width: 991px) {
    .bl-post-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bl-post-grid .bl-post-card:nth-child(3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .bl-post-grid {
        grid-template-columns: 1fr;
    }
    .bl-post-grid .bl-post-card:nth-child(3) {
        display: flex;
    }
    .bl-section-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   EVENTS PLACEHOLDER
   ============================================ */
.bl-events {
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--bl-dark);
}

.bl-events-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.bl-events-text {
    flex: 1;
}

.bl-events-badge {
    display: inline-block;
    background: var(--bl-yellow);
    color: var(--bl-dark);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.bl-events h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}

.bl-events p {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    max-width: 540px;
    margin: 0;
}

.bl-events-emoji {
    font-size: 7rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .bl-events-inner {
        flex-direction: column;
        gap: 24px;
    }
    .bl-events-emoji {
        font-size: 4.8rem;
    }
}

/* --- Hero: dual CTA buttons --- */
.bl-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.bl-hero-cta-secondary {
    background: transparent !important;
    color: var(--bl-green) !important;
    border: 2px solid var(--bl-green);
    padding: 12px 24px;
}

.bl-hero-cta-secondary:hover {
    background: var(--bl-green) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* --- Pillar as full-card link --- */
a.bl-pillar {
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.bl-pillar-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bl-green);
}

a.bl-pillar:hover .bl-pillar-link {
    color: var(--bl-pink);
}

/* --- Events CTA --- */
.bl-events-cta {
    display: inline-block;
    margin-top: 20px;
    color: var(--bl-yellow);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.bl-events-cta:hover {
    color: #fff;
}

/* Force logo visible — override Casper's home-template + has-cover hide rule */
.gh-head-logo,
.home-template .gh-head-logo,
.has-cover .gh-head-logo,
.home-template.has-cover .gh-head-logo,
.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo {
    display: block !important;
}

.gh-head-logo img {
    max-height: 52px !important;
    height: auto;
    width: auto;
    display: block !important;
}

/* ============================================
   CONSISTENT HEADER — all pages, always solid
   ============================================ */

/* Always solid white header, never transparent overlay */
#gh-head,
.gh-head,
.home-template .gh-head,
.has-cover .gh-head,
.home-template.has-cover .gh-head,
:is(.home-template,.paged).has-cover .gh-head {
    background-color: #fff !important;
    color: var(--bl-dark) !important;
    position: relative !important;
    border-bottom: 2px solid var(--bl-yellow);
}

/* Nav links always dark */
.gh-head a,
.gh-head .gh-head-logo,
.has-cover .gh-head a,
.has-cover .gh-head .gh-head-logo {
    color: var(--bl-dark) !important;
}

.gh-head .nav a:hover,
.has-cover .gh-head .nav a:hover {
    color: var(--bl-green) !important;
    opacity: 1 !important;
}

/* Burger menu always dark */
.gh-burger:before,
.gh-burger:after,
.has-cover .gh-burger:before,
.has-cover .gh-burger:after {
    background-color: var(--bl-dark) !important;
}

/* Subscribe button — use brand green */
.gh-head-button,
.has-cover .gh-head-button {
    background: var(--bl-green) !important;
    color: #fff !important;
}

/* Hero needs top padding now that header isn't overlaid */
.bl-hero {
    margin-top: 0;
}

/* Hide Home nav item — logotype is the home link */
.gh-head-menu .nav li:first-child {
    display: none !important;
}

/* Logotype 30% bigger: 52px → 68px */
.gh-head-logo img {
    max-height: 68px !important;
}

/* Give the header a touch more height to accommodate bigger logo */
.gh-head,
#gh-head {
    height: 100px !important;
}

/* ============================================
   BLOG LISTING — Featured post hero
   ============================================ */
.bl-featured {
    background: var(--bl-dark);
    padding: 0;
}

.bl-featured .inner {
    padding-top: 0;
    padding-bottom: 0;
}

.bl-featured-inner {
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 480px;
    text-decoration: none !important;
    color: inherit;
}

.bl-featured-image {
    overflow: hidden;
    position: relative;
}

.bl-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.bl-featured-inner:hover .bl-featured-image img {
    transform: scale(1.03);
}

.bl-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 48px 48px 52px;
    color: #fff;
}

.bl-featured-tag {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bl-yellow);
    margin-bottom: 14px;
}

.bl-featured-title {
    font-size: clamp(2.4rem, 3.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px;
}

.bl-featured-excerpt {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    margin: 0 0 20px;
}

.bl-featured-meta {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.bl-featured-cta {
    display: inline-block;
    background: var(--bl-green);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 48px;
    align-self: flex-start;
    transition: background 0.2s;
}

.bl-featured-inner:hover .bl-featured-cta {
    background: var(--bl-pink);
}

@media (max-width: 767px) {
    .bl-featured-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .bl-featured-image {
        height: 260px;
    }
    .bl-featured-content {
        padding: 28px 24px;
    }
}

/* Blog listing section */
.bl-blog-listing {
    padding-top: 48px;
    padding-bottom: 64px;
    background: var(--bl-light);
}

/* Pagination */
.pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    font-size: 1.5rem;
    font-weight: 600;
}

.pagination .page-number {
    color: #999;
}

/* ============================================
   PILLARS — image cards with overlay
   ============================================ */
.bl-pillar-image {
    background-size: cover !important;
    background-position: center !important;
    min-height: 320px;
    position: relative;
    border-radius: var(--bl-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 !important;
    border-top: none !important;
}

.bl-pillar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    transition: background 0.3s;
}

a.bl-pillar-image:hover .bl-pillar-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
}

.bl-pillar-body {
    position: relative;
    z-index: 1;
    padding: 28px 28px 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.bl-pillar-image h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
}

.bl-pillar-image p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
    margin: 0 0 12px;
}

.bl-pillar-image .bl-pillar-link {
    color: var(--bl-yellow);
    margin-top: 4px;
    font-size: 1.4rem;
}

a.bl-pillar-image:hover .bl-pillar-link {
    color: #fff;
}

a.bl-pillar-image:hover {
    transform: translateY(-4px);
    border-color: transparent !important;
}

/* ============================================
   TYPOGRAPHY FIX — bump all body text to readable sizes
   Casper base: 62.5% root = 1rem is 10px
   Standard body = 1.6rem (16px) minimum
   ============================================ */

/* Hero */
.bl-hero-subtitle { font-size: 1.9rem !important; }
.bl-hero-cta { font-size: 1.8rem !important; }

/* Pillars */
.bl-pillar h3 { font-size: 2.2rem !important; }
.bl-pillar p,
.bl-pillar-image p { font-size: 1.6rem !important; }
.bl-pillar-link,
.bl-pillar-image .bl-pillar-link { font-size: 1.5rem !important; }

/* Post cards */
.bl-post-card-tag { font-size: 1.3rem !important; }
.bl-post-card-title { font-size: 2rem !important; }
.bl-post-card-excerpt { font-size: 1.6rem !important; }
.bl-post-card-meta { font-size: 1.4rem !important; }

/* Section headers */
.bl-section-title { font-size: 3rem !important; }
.bl-section-link { font-size: 1.6rem !important; }

/* Featured post (blog page) */
.bl-featured-excerpt { font-size: 1.8rem !important; }
.bl-featured-meta { font-size: 1.4rem !important; }
.bl-featured-cta { font-size: 1.6rem !important; }

/* Books pillar — lighter overlay so covers stay visible */
.bl-pillar-image:first-child .bl-pillar-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
}

/* ============================================
   PILLAR REDESIGN — image top, text below
   ============================================ */

/* Reset old image-overlay pillar styles */
a.bl-pillar {
    background: #fff !important;
    border-radius: var(--bl-radius) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
    min-height: auto !important;
    padding: 0 !important;
    border-top: none !important;
}

a.bl-pillar:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13) !important;
}

/* Image section — top half */
.bl-pillar .bl-pillar-image {
    width: 100% !important;
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
    position: static !important;
    inset: auto !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.3s !important;
    overflow: hidden !important;
}

a.bl-pillar:hover .bl-pillar-image {
    transform: scale(1.03) !important;
}

/* Text section — below image */
.bl-pillar .bl-pillar-body {
    padding: 22px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    z-index: auto !important;
    color: var(--bl-dark) !important;
    background: #fff !important;
}

.bl-pillar .bl-pillar-body h3 {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: var(--bl-dark) !important;
    margin: 0 0 10px !important;
}

.bl-pillar .bl-pillar-body p {
    font-size: 1.6rem !important;
    color: #555 !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
}

.bl-pillar .bl-pillar-link {
    color: var(--bl-green) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

a.bl-pillar:hover .bl-pillar-link {
    color: var(--bl-pink) !important;
}

/* Colour bar at top per pillar */
.bl-pillars-grid > a:nth-child(1) { border-top: 4px solid var(--bl-pink) !important; }
.bl-pillars-grid > a:nth-child(2) { border-top: 4px solid var(--bl-yellow) !important; }
.bl-pillars-grid > a:nth-child(3) { border-top: 4px solid var(--bl-green) !important; }

/* Remove old overlay element if it appears */
.bl-pillar-overlay { display: none !important; }

/* ============================================
   SPACING — more room between nav and hero
   ============================================ */
.bl-hero {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

/* ============================================
   FONT SIZES — final pass, all body text ≥16px
   ============================================ */
.bl-hero-subtitle { font-size: 2rem !important; line-height: 1.6 !important; }
.bl-hero-cta { font-size: 1.8rem !important; }
.bl-section-title { font-size: 3rem !important; }
.bl-section-link { font-size: 1.7rem !important; }
.bl-post-card-title { font-size: 2rem !important; }
.bl-post-card-excerpt { font-size: 1.6rem !important; line-height: 1.55 !important; }
.bl-post-card-meta { font-size: 1.4rem !important; }
.bl-post-card-tag { font-size: 1.3rem !important; }

/* ============================================
   LOGOTYPE — bigger everywhere
   ============================================ */
.gh-head-logo img,
.home-template .gh-head-logo img,
.has-cover .gh-head-logo img {
    max-height: 80px !important;
}

.gh-head,
#gh-head {
    height: 110px !important;
}

/* ============================================
   FOOTER — babies.lol branded
   ============================================ */
.site-footer {
    background: var(--bl-dark) !important;
    color: rgba(255,255,255,0.8) !important;
    border-top: 4px solid var(--bl-yellow) !important;
}

.site-footer .inner {
    color: rgba(255,255,255,0.8) !important;
}

/* Footer logotype — bigger and bright */
.site-footer .gh-head-logo img,
.site-footer img[src*=babies.lol],
.site-footer img[alt*=babies] {
    max-height: 60px !important;
    filter: brightness(0) invert(1) !important;
}

.site-footer a {
    color: rgba(255,255,255,0.7) !important;
}

.site-footer a:hover {
    color: var(--bl-yellow) !important;
}

.site-footer .copyright,
.site-footer .copyright a {
    color: rgba(255,255,255,0.5) !important;
    font-size: 1.4rem !important;
}

/* Footer headings (Site / Socials / Contact) */
.site-footer strong,
.site-footer h4,
.site-footer b {
    color: #fff !important;
    font-size: 1.6rem !important;
}

/* ============================================
   FOOTER — branded babies.lol
   ============================================ */
.bl-footer {
    background: var(--bl-dark);
    color: rgba(255,255,255,0.75);
    margin-top: max(8vmin, 48px);
    padding: 56px 0 32px;
    border-top: 4px solid var(--bl-yellow);
}

.bl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.bl-footer-logo img {
    max-height: 56px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
    display: block;
}

.bl-footer-desc {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
    margin: 0;
}

.bl-footer-nav h4 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bl-yellow);
    margin: 0 0 16px;
}

.bl-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bl-footer-nav li {
    margin-bottom: 10px;
    padding: 0;
}

.bl-footer-nav a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.15s;
}

.bl-footer-nav a:hover {
    color: #fff !important;
}

.bl-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 767px) {
    .bl-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   FOOTER — warm, cheerful, babies.lol
   ============================================ */
.bl-footer {
    background: #fff9f0 !important;
    color: var(--bl-dark) !important;
    margin-top: max(8vmin, 48px) !important;
    padding: 56px 0 0 !important;
    border-top: 5px solid var(--bl-yellow) !important;
}

.bl-footer .inner {
    padding-left: max(4vmin, 32px) !important;
    padding-right: max(4vmin, 32px) !important;
}

.bl-footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 48px !important;
    margin-bottom: 40px !important;
    align-items: start !important;
}

/* Logo — natural colours, proper padding */
.bl-footer-logo {
    display: inline-block !important;
    margin-bottom: 14px !important;
    margin-left: 0 !important;
}

.bl-footer-logo img {
    max-height: 60px !important;
    filter: none !important;
    display: block !important;
}

.bl-footer-desc {
    font-size: 1.5rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    max-width: 300px !important;
    margin: 0 0 20px !important;
}

/* Social icons */
.bl-footer-social {
    display: flex !important;
    gap: 12px !important;
    font-size: 2.2rem !important;
    line-height: 1 !important;
}

.bl-footer-social a {
    text-decoration: none !important;
    transition: transform 0.15s !important;
    display: inline-block !important;
}

.bl-footer-social a:hover {
    transform: scale(1.2) !important;
}

/* Nav columns */
.bl-footer-nav h4 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--bl-pink) !important;
    margin: 0 0 14px !important;
}

.bl-footer-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bl-footer-nav li {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

.bl-footer-nav a {
    color: var(--bl-dark) !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.bl-footer-nav a:hover {
    color: var(--bl-green) !important;
}

/* Bottom bar */
.bl-footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    padding: 20px 0 24px !important;
    font-size: 1.3rem !important;
    color: #999 !important;
    margin-top: 8px !important;
}

@media (max-width: 767px) {
    .bl-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* Homepage only — extra breathing room below nav */
.home-template .bl-hero {
    padding-top: 80px !important;
}

/* Social links — column with SVG icons */
ul.bl-footer-social {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

ul.bl-footer-social li { margin: 0 !important; padding: 0 !important; }

ul.bl-footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--bl-dark) !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

ul.bl-footer-social a:hover { color: var(--bl-green) !important; }

ul.bl-footer-social svg {
    flex-shrink: 0 !important;
    color: var(--bl-pink) !important;
}

/* Footer: 4-column grid — brand, follow, site, contact */
.bl-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
}

@media (max-width: 900px) {
    .bl-footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
