/* ==========================================
   RUNHAMS DECORATING - FOOTER
   4-column layout, mobile separators
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;400;600;700&display=swap');

/* ==========================================
   FOOTER WRAPPER
   ========================================== */

.runhams-footer {
    background-color: #2b2b2b;
    color: #fff;
    font-family: 'Overpass', sans-serif;
    padding: 4rem 2rem 0;
}

.runhams-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

/* ==========================================
   COLUMNS - SHARED
   ========================================== */

.runhams-footer-col {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   COLUMN 1: BRAND
   ========================================== */

.runhams-footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.runhams-footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

/* Social Row */
.runhams-footer-social-row {
    display: flex;
    gap: 0.75rem;
}

.runhams-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.runhams-footer-social-link:hover {
    background-color: #d90f0f;
    border-color: #d90f0f;
    color: #fff;
}

/* ==========================================
   COLUMN HEADINGS
   ========================================== */

.runhams-footer-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.runhams-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background-color: #d90f0f;
}

/* ==========================================
   LINK LISTS
   ========================================== */

.runhams-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.runhams-footer-links li {
    margin-bottom: 0.625rem;
}

.runhams-footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
}

.runhams-footer-links li a:hover {
    color: #fff;
}

/* ==========================================
   CONTACT LIST
   ========================================== */

.runhams-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.runhams-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.runhams-footer-contact li i {
    color: #d90f0f;
    font-size: 0.8125rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.runhams-footer-contact li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.runhams-footer-contact li a:hover {
    color: #fff;
}

.runhams-footer-contact li span {
    font-weight: 400;
}

/* ==========================================
   BOTTOM BAR
   ========================================== */

.runhams-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.runhams-footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.runhams-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.runhams-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.runhams-footer-bottom-links a:hover {
    color: #fff;
}

.runhams-footer-bottom-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   ========================================== */

@media (max-width: 1024px) {

    .runhams-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .runhams-footer-brand {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */

@media (max-width: 768px) {

    .runhams-footer {
        padding: 3rem 1.5rem 0;
    }

    .runhams-footer-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 0;
    }

    /* Brand column */
    .runhams-footer-brand {
        text-align: center;
        align-items: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .runhams-footer-social-row {
        justify-content: center;
    }

    /* Standard columns on mobile */
    .runhams-footer-col {
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        align-items: center;
    }

    /* Remove border from last column */
    .runhams-footer-col:last-child {
        border-bottom: none;
        padding-bottom: 2rem;
    }

    /* Centre the heading underline on mobile */
    .runhams-footer-heading {
        display: inline-block;
    }

    .runhams-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Centre contact items */
    .runhams-footer-contact li {
        justify-content: center;
    }

    /* Bottom bar stacked */
    .runhams-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }

    .runhams-footer-bottom-links {
        justify-content: center;
    }

    .runhams-footer-logo-text {
        font-size: 1.125rem;
    }

    .runhams-footer-tagline {
        font-size: 0.8125rem;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */

@media (max-width: 480px) {

    .runhams-footer {
        padding: 2.5rem 1rem 0;
    }

    .runhams-footer-col {
        padding: 1.25rem 0;
    }

    .runhams-footer-heading {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .runhams-footer-links li a,
    .runhams-footer-contact li,
    .runhams-footer-contact li a {
        font-size: 0.8125rem;
    }

    .runhams-footer-bottom p,
    .runhams-footer-bottom-links a,
    .runhams-footer-bottom-sep {
        font-size: 0.6875rem;
    }
}

/* WhatConverts — hide tracking code container */
#what-converts-code,
#what-converts-code * {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    visibility: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
}