/* ==========================================================================
   WhatsForm Design Overrides
   Sits on top of Source theme's built/screen.css
   Colors, fonts, header, footer matching whatsform.com
   ========================================================================== */

:root {
    --ghost-accent-color: #29b21f;
    --background-color: #f9fafb;
    /* Override Source theme container to match whatsform.com Tailwind container */
    --container-width: 1200px;
    --container-gap: 16px;
    --wf-green: #29b21f;
    --wf-green-hover: #239619;
    --wf-green-light: rgba(41, 178, 31, 0.08);
    --wf-text-primary: #1e0e62;
    --wf-text-heading: #111827;
    --wf-text-secondary: #4c5a6b;
    --wf-text-muted: #6b7280;
    --wf-text-faint: #9ca3af;
    --wf-bg: #f9fafb;
    --wf-bg-white: #ffffff;
    --wf-border: #e5e7eb;
    --wf-border-light: rgba(0, 0, 0, 0.06);
}

/* ---------- Override Source theme container system ---------- */
/* Match whatsform.com's Tailwind responsive container widths */
.gh-outer { padding: 0 24px !important; }
.gh-inner { max-width: 100% !important; width: 100% !important; margin: 0 auto !important; }
.gh-canvas > * { --container-width: 1200px; }

/* Responsive container max-widths — exact match of whatsform.com Tailwind container */
@media (min-width: 640px)  {
    .gh-inner, .wf-navbar, .wf-footer-container { max-width: 640px !important; }
}
@media (min-width: 768px)  {
    .gh-inner, .wf-navbar, .wf-footer-container { max-width: 768px !important; }
}
@media (min-width: 992px)  {
    .gh-inner, .wf-navbar, .wf-footer-container { max-width: 992px !important; }
    .gh-canvas > * { --container-width: 992px; }
}
@media (min-width: 1200px) {
    .gh-inner, .wf-navbar, .wf-footer-container { max-width: 1200px !important; }
    .gh-canvas > * { --container-width: 1200px; }
}
@media (min-width: 1536px) {
    .gh-inner, .wf-navbar, .wf-footer-container { max-width: 1536px !important; }
    .gh-canvas > * { --container-width: 1536px; }
}

/* ---------- Font Override: DM Sans ---------- */
body,
.is-title,
.is-body,
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
body {
    color: var(--wf-text-primary);
    background-color: var(--wf-bg);
}
h1, h2, h3, h4, h5, h6,
.is-title {
    color: var(--wf-text-primary);
}

/* ---------- Accent color overrides ---------- */
a { color: var(--wf-green); }
a:hover { color: var(--wf-green-hover); }

.gh-button,
.gh-btn-primary {
    background-color: var(--wf-green) !important;
    color: #fff !important;
    border-radius: 30px !important;
}
.gh-button:hover {
    background-color: var(--wf-green-hover) !important;
}

/* ---------- Navigation overrides ---------- */
/* Hide Source theme's default navigation completely */
.gh-navigation { display: none !important; }

/* ==========================================================================
   WHATSFORM NAVBAR — exact match of whatsform.com
   Sticky | bg #f9fafb | padding 10px 0
   Logo: flex:8, height 40px
   Links: 18px DM Sans, color #868692
   Login: outline, border-radius 30px
   CTA: bg #29B21F, #fff, 15px, padding 8px 22px, border-radius 30px
   ========================================================================== */
.wf-site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f9fafb;
    z-index: 999;
    padding: 0;
    transition: all 0.1s ease-in-out;
}
.wf-navbar {
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wf-navbar-logo { flex: 8; }
.wf-navbar-logo a { display: inline-flex; align-items: center; border: none; text-decoration: none; }
.wf-logo-img { height: 40px; width: auto; }
.wf-logo-text { font-size: 22px; font-weight: 700; color: var(--wf-text-primary); }

.wf-navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.wf-nav-item { margin: 0; margin-left: 30px; position: relative; }
.wf-nav-item:first-child { margin-left: 0; }

/* Nav links — 16px DM Sans, weight 500, color #868692 */
.wf-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #868692;
    text-decoration: none;
    letter-spacing: 0.32px;
    transition: color 0.25s;
    white-space: nowrap;
}
.wf-nav-link:hover { color: #617389; }

/* Tools dropdown */
.wf-nav-dropdown-toggle svg { transition: transform 0.2s; }
.wf-nav-dropdown:hover .wf-nav-dropdown-toggle svg { transform: rotate(180deg); }
.wf-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(30,14,98,0.1);
    padding: 12px 0;
    z-index: 100;
}
.wf-nav-dropdown:hover .wf-dropdown-menu { display: block; }
.wf-dropdown-item {
    display: block;
    padding: 8px 20px;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--wf-text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.wf-dropdown-item:hover {
    background: #f9fafb;
    color: var(--wf-text-primary);
}

/* Login — outline button, exact match: padding 8px 22px, font 15px/500, color #333, border #ccc */
.wf-nav-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 30px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.wf-nav-btn-outline:hover {
    border-color: #333;
    color: #000;
}

/* CTA — green pill, exact dimensions: ~175.78 × 38.5 */
.wf-nav-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #29B21F;
    color: #FFFFFF !important;
    padding: 8px 22px;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s;
}
.wf-nav-btn-primary:hover {
    background: #239619;
    color: #FFFFFF !important;
}

/* Mobile toggle — matches whatsform.com circular 50×50 button */
.wf-nav-menu-toggle {
    display: none;
    position: relative;
    border-radius: 50%;
    background-color: white;
    height: 50px;
    width: 50px;
    cursor: pointer;
    z-index: 99999;
    border: none;
    outline: none;
    transition: all 0.3s ease-in-out;
}
.wf-nav-menu-toggle::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    height: 2px;
    width: 25px;
    transition: all 0.3s ease-in-out;
}
.wf-nav-menu-toggle::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #121212;
    height: 2px;
    width: 25px;
    transition: all 0.3s ease-in-out;
}
.wf-nav-menu-toggle:hover {
    box-shadow: -5px 38px 97px -16px rgba(0, 0, 0, 0.1);
}
/* Active state — X icon, green background */
.wf-nav-menu-toggle.wf-toggle-active {
    background-color: #5BFFBB;
}
.wf-nav-menu-toggle.wf-toggle-active::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #121212;
}
.wf-nav-menu-toggle.wf-toggle-active::after {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: #121212;
}

/* Mobile nav — slide-out panel matching whatsform.com */
.wf-header-mob {
    display: none;
    padding: 15px 0;
    background-color: #111a26;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 450px;
    margin: 0;
    padding: 0;
    z-index: -1;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-out;
    box-shadow: -5px 38px 97px -16px rgba(0, 0, 0, 0.45);
    will-change: transform, opacity;
    overflow: hidden;
    max-height: -webkit-fill-available;
}
.wf-header-mob.wf-nav-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 999;
    display: block;
}
.wf-mobile-nav-inner {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: auto;
    transition: all 0.3s ease-out;
    transition-delay: 0.1s;
    transform: translateX(100%);
    opacity: 0;
    will-change: transform, opacity;
}
.wf-nav-active .wf-mobile-nav-inner {
    transform: translateX(0);
    opacity: 1;
}
.wf-mobile-nav-content {
    height: 100%;
    overflow: auto;
    padding: 0 10px 0 40px;
    padding-top: 50px;
}
.wf-mobile-nav-content ul { list-style: none; margin: 0; padding: 0; }
.wf-mobile-nav-content li {
    display: block;
    margin-top: 5px;
    margin-bottom: 25px;
    text-align: center;
}
.wf-mobile-nav-logo { margin-top: 0; margin-bottom: 40px; display: none; }
.wf-mobile-nav-logo img { width: 135px; }
.wf-mobile-nav-logo a { border: none; }
.wf-mobile-link {
    display: inline-block;
    color: white;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 36px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: 0.32px;
    text-decoration: none;
    position: relative;
}
.wf-mobile-link:hover { color: var(--wf-green); }
.wf-mobile-btn-primary {
    display: inline-block;
    background: #29B21F;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    margin-top: 8px;
}
.wf-mobile-btn-primary:hover { background: #239619; color: #fff !important; }

@media (max-width: 767px) {
    .wf-nav-menu-toggle { display: block; }
    .wf-navbar-nav { display: none; }
    .wf-header-mob { display: block; }
    /* Mobile logo — 15% smaller, vertically centered with toggle */
    .wf-logo-img { height: 34px; }
    .wf-navbar { align-items: center; padding: 6px 16px; }
    .wf-navbar-logo { display: flex; align-items: center; }
    .wf-navbar-logo a { display: inline-flex; align-items: center; }
    /* Mobile-specific: light bg, full width, vertical slide */
    .wf-header-mob {
        transform: translateX(0%);
        width: 100vw;
        background-color: #F4F0EB;
    }
    .wf-mobile-nav-inner {
        transition: all 0.15s ease-in-out;
        transform: translateY(10%);
    }
    .wf-nav-active .wf-mobile-nav-inner {
        transform: translateY(0);
    }
    .wf-mobile-nav-content {
        padding-left: 20px;
    }
    .wf-mobile-link {
        font-size: 20px;
        line-height: 50px;
        color: #868692;
    }
    .wf-mobile-link:hover { color: #617389; }
    .wf-mobile-nav-logo { display: block; }
    .wf-nav-menu-toggle {
        top: 10px;
        right: 10px;
    }
    .wf-nav-menu-toggle.wf-toggle-active {
        transform: translateX(0);
        background-color: #ffffff;
    }
    .wf-nav-menu-toggle.wf-toggle-active::before,
    .wf-nav-menu-toggle.wf-toggle-active::after {
        background-color: #000000;
    }
}

/* ---------- Hero section (home.hbs) — matches WhatsForm homepage ---------- */
.wf-hero-section {
    background: #ffffff;
}
.wf-hero-wrapper {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.wf-hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.wf-hero-heading {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    margin: 0 0 32px;
}
.wf-highlight-green {
    color: #29b21f;
}
.wf-hero-cta {
    position: relative;
    z-index: 2;
}

/* --- Avatars --- */
.wf-hero-avatars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* Gentle floating animation */
@keyframes wf-float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes wf-float-center {
    0%   { transform: translateX(-50%) translateY(0px); }
    50%  { transform: translateX(-50%) translateY(-10px); }
    100% { transform: translateX(-50%) translateY(0px); }
}
.wf-avatar-item {
    position: absolute;
    animation: wf-float 3s ease-in-out infinite;
}
/* Stagger each avatar so they float at different phases */
.wf-avatar-top-left     { animation-delay: 0s; }
.wf-avatar-top-center   { animation-delay: 0.5s; animation-name: wf-float-center; }
.wf-avatar-top-right    { animation-delay: 1s; }
.wf-avatar-bottom-left  { animation-delay: 1.5s; }
.wf-avatar-bottom-right { animation-delay: 2s; }
.wf-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.wf-online-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: #29b21f;
    border: 3px solid #fff;
    border-radius: 50%;
}

/* Avatar positions */
.wf-avatar-top-left     { top: 10%; left: 5%; }
.wf-avatar-top-center   { top: 5%; left: 50%; transform: translateX(-50%); }
.wf-avatar-top-right    { top: 10%; right: 5%; }
.wf-avatar-bottom-left  { bottom: 10%; left: 8%; }
.wf-avatar-bottom-right { bottom: 10%; right: 8%; }

/* --- Chat bubbles --- */
.wf-chat-bubble {
    position: absolute;
    background: #dcf8c6;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.wf-chat-bubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
/* Bubble pointing left (appears to the right of avatar) */
.wf-chat-bubble-left {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
}
.wf-chat-bubble-left::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 12px 8px 0;
    border-color: transparent #dcf8c6 transparent transparent;
}
/* Bubble pointing right (appears to the left of avatar) */
.wf-chat-bubble-right {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
}
.wf-chat-bubble-right::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #dcf8c6;
}

/* --- Hero responsive --- */
@media (max-width: 992px) {
    .wf-hero-heading { font-size: 32px; }
    .wf-avatar-img { width: 60px; height: 60px; }
    .wf-avatar-top-left,
    .wf-avatar-top-right { top: 5%; }
    .wf-avatar-bottom-left,
    .wf-avatar-bottom-right { bottom: 5%; }
    .wf-chat-bubble { font-size: 12px; padding: 8px 12px; }
}
@media (max-width: 768px) {
    .wf-hero-wrapper { min-height: 350px; padding: 40px 15px; }
    .wf-hero-heading { font-size: 24px; }
    .wf-avatar-img { width: 50px; height: 50px; }
    .wf-avatar-top-left     { top: 2%; left: 2%; }
    .wf-avatar-top-center   { top: 0; }
    .wf-avatar-top-right    { top: 2%; right: 2%; }
    .wf-avatar-bottom-left  { bottom: 2%; left: 5%; }
    .wf-avatar-bottom-right { bottom: 2%; right: 5%; }
    .wf-avatar-top-center { display: none; }
    .wf-chat-bubble { display: none; }
    .wf-chat-bubble-left { display: block; }
}

/* ---------- Post cards ---------- */
.gh-card {
    background: var(--wf-bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30,14,98,0.06), 0 1px 2px rgba(30,14,98,0.04);
    transition: box-shadow 0.3s, transform 0.3s;
}
.gh-card:hover {
    box-shadow: 0 4px 16px rgba(30,14,98,0.08);
    transform: translateY(-2px);
}

/* Card image — rounded corners */
.gh-card-image {
    margin: 0 !important;
    padding: 12px 12px 0 !important;
}
.gh-card-image img {
    border-radius: 15px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Card content padding — keep text away from edges */
.gh-card-wrapper {
    padding: 12px 16px 16px;
}

/* Tag + Date row above title */
.gh-card-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.gh-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    color: var(--wf-text-secondary) !important;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    margin: 0 !important;
}
.gh-card-date {
    font-size: 12px;
    color: var(--wf-text-muted) !important;
    font-weight: 400;
}

.gh-card-title {
    color: var(--wf-text-primary);
    font-size: 1.1em;
    margin-bottom: 6px !important;
}
.gh-card-excerpt {
    color: var(--wf-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Author footer with avatar */
.gh-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 0;
}
.gh-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
}
.gh-card-author-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.gh-card-author-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    border-radius: 50%;
}
.gh-card-author-icon svg {
    width: 16px;
    height: 16px;
    fill: #9ca3af;
}
.gh-card-author-name {
    font-size: 13px;
    color: var(--wf-text-primary);
    font-weight: 500;
}

/* ---------- Article tag pill ---------- */
.gh-article-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--wf-green-light);
    color: var(--wf-green) !important;
    font-weight: 600;
    font-size: 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gh-article-tag:hover {
    background: var(--wf-green);
    color: #fff !important;
}

/* ---------- Article feature image — rounded with padding ---------- */
.gh-article-image {
    padding: 0 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.gh-article-image img {
    border-radius: 15px !important;
}

/* ---------- Article body ---------- */
.gh-content blockquote {
    border-left-color: var(--wf-green);
}
.gh-content a {
    color: var(--wf-green);
}
.gh-content a:hover {
    color: var(--wf-green-hover);
}

/* Ghost card width classes */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: 32px calc(50% - 42.5vw);
}
.kg-width-full {
    position: relative;
    width: 100vw;
    min-width: 100%;
    margin: 32px calc(50% - 50vw);
}

/* ---------- CTA Section — matches whatsform.com footer-cta-card ---------- */
.wf-cta-section {
    padding: 40px 0 60px;
}
.wf-cta-card {
    position: relative;
    background: #f0f0f0;
    border-radius: 32px;
    padding: 80px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* WhatsApp pattern background overlay */
.wf-cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
    background-image: url("../images/whatsapp-background.png");
    background-size: cover;
    background-position: center;
    pointer-events: none;
}
/* Content sits above the pattern */
.wf-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
}
.wf-cta-heading {
    font-size: 42px;
    font-weight: 700;
    color: var(--wf-text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.wf-cta-desc {
    font-size: 18px;
    color: var(--wf-text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}
.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}
.wf-btn-primary {
    background: var(--wf-green);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
}
.wf-btn-primary:hover {
    background: var(--wf-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 178, 31, 0.3);
}
.wf-btn-lg { padding: 16px 36px; font-size: 17px; }

@media (max-width: 768px) {
    .wf-cta-card { padding: 60px 24px; min-height: 300px; border-radius: 24px; }
    .wf-cta-heading { font-size: 28px; }
    .wf-cta-desc { font-size: 16px; }
}

/* ---------- Spacing before footer ---------- */

/* ---------- Error page ---------- */
.wf-error-page { text-align: center; padding: 120px 0; }
.wf-error-code { font-size: 120px; color: var(--wf-green); line-height: 1; margin-bottom: 16px; }
.wf-error-message { font-size: 20px; color: var(--wf-text-secondary); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.wf-footer {
    padding: 80px 0 0 !important;
    border-top: 1px solid var(--wf-border-light) !important;
    background: var(--wf-bg) !important;
    font-size: 14px !important;
    margin-top: 48px !important;
}
.wf-footer-container { max-width: 100%; margin: 0 auto; }
.wf-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}
@media (max-width: 991px) {
    .wf-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .wf-footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .wf-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.wf-footer-logo { display: inline-block; margin-bottom: 16px; }
.wf-footer-logo img { height: 32px; width: auto; }
.wf-logo-text { font-size: 22px; font-weight: 700; color: var(--wf-text-primary); }
.wf-footer-tagline {
    font-size: 14px; line-height: 1.6;
    color: #6b7280 !important;
    margin: 0 0 20px; max-width: 300px;
}
.wf-footer-apps { display: flex; gap: 12px; flex-wrap: wrap; }
.wf-footer-app-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 13px; font-weight: 500;
    color: #374151 !important;
    text-decoration: none !important;
    transition: border-color 0.2s, background-color 0.2s;
}
.wf-footer-app-badge:hover {
    border-color: rgba(0,0,0,0.25);
    background-color: rgba(0,0,0,0.02);
    color: var(--wf-text-heading);
}
.wf-footer-app-badge svg { flex-shrink: 0; }
.wf-footer-heading {
    font-size: 13px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111827;
    margin: 0 0 16px;
}
.wf-footer-links { list-style: none; margin: 0; padding: 0; }
.wf-footer-links li { margin-bottom: 10px; }
.wf-footer-links li:last-child { margin-bottom: 0; }
.wf-footer-links a {
    font-size: 14px !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.wf-footer-links a:hover { color: #111827 !important; }
.wf-footer-bottom {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid var(--wf-border-light);
}
@media (max-width: 575px) {
    .wf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
.wf-footer-promise { font-size: 14px; color: #6b7280 !important; text-decoration: none !important; transition: color 0.2s; }
.wf-footer-promise:hover { color: #111827 !important; }
.wf-footer-bottom-right { font-size: 13px; color: #9ca3af; }

/* Override Source theme's gh-inner/gh-outer to not conflict with footer layout */
.wf-footer.gh-outer { padding: 80px 0 0 !important; margin-top: 48px !important; }
.wf-footer .gh-footer-inner.gh-inner { padding: 0 24px !important; margin: 0 auto !important; }

@media (max-width: 767px) {
    .wf-footer.gh-outer { padding: 50px 0 0 !important; }
    .wf-footer .gh-footer-inner.gh-inner { padding: 0 15px !important; }
    .wf-footer-tagline { max-width: 100%; }
}
