/*****************************************************************
 * Three Rivers District Council - 3SC Look and Feel
 * Brand palette and layout derived from https://www.threerivers.gov.uk
 *   --trdc-green: #006431   (primary brand green)
 *   --trdc-green-dark: #003e44  (hover)
 *   --trdc-lime: #bdd143    (accent border under top nav)
 *   --trdc-text: #261213    (body text)
 *****************************************************************/

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    color: #261213;
    background-color: #ffffff;
}

.trdc-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =====================================================
   Top white navigation bar with lime-green border
   ===================================================== */

.trdc-topbar {
    background-color: #ffffff;
    border-bottom: 2px solid #bdd143;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.trdc-topbar .trdc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.trdc-topbar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.trdc-topbar__menu li {
    list-style: none;
}

.trdc-topbar__menu li + li::before {
    content: "|";
    color: #565656;
    margin: 0 10px;
}

.trdc-topbar__menu a {
    color: #006431;
    text-decoration: none;
    font-weight: 600;
}

.trdc-topbar__menu a:hover {
    color: #261213;
    text-decoration: underline;
}

/* =====================================================
   Main header band with green-wave background image
   ===================================================== */

.trdc-header {
    background-image: url("../../images/bespoke/Header-default.jpeg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-color: #006431;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
}

.trdc-header__inner {
    width: 100%;
    padding-top: 24px;
    padding-bottom: 16px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 6px 6px 0 0;
    margin-top: auto;
}

.trdc-header__logo-link {
    display: inline-block;
    text-decoration: none;
}

.trdc-header__logo {
    display: block;
    max-height: 88px;
    width: auto;
    height: auto;
}

/* =====================================================
   Breadcrumb
   ===================================================== */

.trdc-breadcrumb {
    background-color: #f5f5f4;
    padding: 12px 0;
    font-size: 0.95rem;
}

.trdc-breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.trdc-breadcrumb__item {
    list-style: none;
}

.trdc-breadcrumb__item + .trdc-breadcrumb__item::before {
    content: ">";
    color: #565656;
    margin: 0 8px;
}

.trdc-breadcrumb__item a {
    color: #006431;
    text-decoration: none;
    font-weight: 600;
}

.trdc-breadcrumb__item a:hover {
    text-decoration: underline;
}

.trdc-breadcrumb__item span {
    color: #261213;
}

/* =====================================================
   3SC content container (sits between header and footer)
   ===================================================== */

.container3SC {
    max-width: 1280px;
    margin: 24px auto;
    padding: 0 16px;
    min-height: 300px;
}

/* =====================================================
   Footer (4 columns on green, then copyright bar)
   ===================================================== */

.trdc-footer {
    background-color: #006431;
    color: #ffffff;
    margin-top: 48px;
}

.trdc-footer__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 24px;
}

.trdc-footer__column {
    flex: 1 1 200px;
    min-width: 200px;
}

.trdc-footer p,
.trdc-footer a,
.trdc-footer li {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.trdc-footer p {
    margin: 0 0 12px;
}

.trdc-footer a {
    text-decoration: underline;
}

.trdc-footer a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.trdc-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trdc-footer__menu li {
    list-style: none;
    margin-bottom: 6px;
}

/* Social icons */

.trdc-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.trdc-footer__social li {
    list-style: none;
}

.trdc-footer__social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.trdc-footer__social a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

/* Copyright bar */

.trdc-footer__copyright {
    background-color: #003e44;
    color: #edf0e6;
    padding: 10px 0;
    font-size: 0.85rem;
}

.trdc-footer__copyright p {
    margin: 0;
    color: #edf0e6;
    font-size: 0.85rem;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 768px) {
    .trdc-topbar {
        height: auto;
        padding: 8px 0;
    }
    .trdc-topbar .trdc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .trdc-header {
        min-height: 120px;
    }
    .trdc-header__logo {
        max-height: 60px;
    }
    .trdc-footer__columns {
        display: flow;
        flex-direction: column;
        gap: 16px;
    }
}


@media (min-width: 48em) {
    .column--one-quarter {
        max-width: 23%;
    }
}
@media (min-width: 48em) {
    .column {
        flex: 1 1 auto;
    }
}
