/* ============================================================
   GLOBAL NHS DIGITAL THEME
   ============================================================ */
:root{
    --nhs-blue:#005EB8;
    --nhs-mid:#4A90E2;
    --bg:#F0F6FF;
    --text:#003057;
    --muted:#55606a;
    --radius:14px;
    --maxw:1150px;
    --shadow:0 6px 20px rgba(0,0,0,0.12);
    font-family:"Segoe UI", Arial, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}
body{
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

/* ============================================================
   HERO HEADER
   ============================================================ */

.hero{
    position: relative;
    background: var(--nhs-blue);
    color: #fff;
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,0.08),rgba(0,0,0,0.15));
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 16px 10px;
    position: relative;
    z-index: 5;
    gap: 16px;
}

.site-logo {
    width: 150px;
    height: auto;
    pointer-events: none;
    flex-shrink: 0;
}

.hero-content{
    position:relative;
    max-width:var(--maxw);
    margin:30px auto 0;
    padding:0 16px;
}

.hero h1{
    font-size:2.2rem;
    font-weight:900;
    margin-bottom:8px;
}

.tagline{
    font-size:1.1rem;
    font-style:italic;
    margin-bottom:16px;
}

@media (max-width: 700px) {
    .hero-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-logo {
        width: 120px;
    }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav-bar{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.nav-btn{
    background:var(--nhs-mid);
    color:#fff;
    padding:8px 16px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 4px 12px rgba(0,0,0,0.18);
    font-size:0.95rem;
    display:inline-block;
}

.nav-btn:hover{
    background:#003f7f;
    transform:translateY(-1px);
}

.nav-btn.active{
    background:#003f7f;
}

/* ============================================================
   MAIN PAGE LAYOUT
   ============================================================ */

main{
    max-width:var(--maxw);
    margin:28px auto 40px;
    padding:0 16px;
}

.intro{
    margin-bottom:24px;
}

.intro h2{
    font-size:1.6rem;
    margin-bottom:8px;
    color:var(--nhs-blue);
}

.intro p{ color:var(--muted); }

/* ============================================================
   TEAM PAGE – NHS Professional Cards
   ============================================================ */

.team-intro{
    max-width:var(--maxw);
    margin:28px auto 20px;
    padding:0 16px;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(360px, 1fr));
    gap:32px;
    align-items:stretch;
}

.team-card{
    background:#fff;
    border-radius:14px;
    padding:28px 26px;
    box-shadow:var(--shadow);
    border-top:6px solid var(--nhs-blue);
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

/* Team Photo — Safari-safe */
.team-photo{
    width:200px;
    height:200px;
    object-fit:cover;
    object-position:top center;
    border-radius:12px;
    display:block;
    margin:0 auto 18px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Safari-only fix */
@supports (-webkit-touch-callout: none) {
    .team-photo{
        object-position:center top;
    }
}

.team-card h3{
    font-size:1.35rem;
    font-weight:800;
    color:var(--nhs-blue);
    text-align:center;
    margin-bottom:4px;
}

.team-credentials{
    text-align:center;
    margin-top:4px;
    margin-bottom:6px;
    font-size:1rem;
    font-weight:600;
    color:#003f7f;
}

.team-role{
    text-align:center;
    margin-bottom:14px;
    font-size:1.05rem;
    font-weight:600;
    color:#003f7f;
}

.team-card h4{
    margin-top:18px;
    margin-bottom:8px;
    font-size:1.12rem;
    font-weight:700;
    color:var(--nhs-blue);
    border-bottom:2px solid rgba(0,0,0,0.05);
    padding-bottom:4px;
}

.team-list{
    margin-top:4px;
    margin-bottom:12px;
    padding-left:20px;
}

.team-list li{
    margin-bottom:6px;
    line-height:1.45;
    color:var(--muted);
    font-size:0.96rem;
}

.team-card p{
    color:var(--muted);
    line-height:1.58;
    font-size:0.97rem;
    margin-bottom:6px;
}

@media(max-width:700px){
    .team-photo{
        width:180px;
        height:180px;
    }
    .team-card{
        padding:24px;
    }
}

/* ============================================================
   CONTACT FORM (NHS Digital Style)
   ============================================================ */

.contact-form-section{
    max-width:800px;
    margin:30px auto;
}

.contact-intro h2{
    color:var(--nhs-blue);
    margin-bottom:8px;
}

.contact-intro p{
    color:var(--muted);
    margin-bottom:20px;
}

.contact-form{
    background:#fff;
    padding:26px;
    border-radius:12px;
    box-shadow:var(--shadow);
    border-top:6px solid var(--nhs-blue);
}

.form-group label{
    display:block;
    font-weight:700;
    margin-bottom:6px;
    color:var(--text);
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:12px;
    border:2px solid #c5d2e4;
    border-radius:8px;
    font-size:1rem;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:var(--nhs-blue);
    outline:none;
}

.submit-btn{
    background:var(--nhs-blue);
    color:#fff;
    padding:12px 22px;
    border:none;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

.submit-btn:hover{
    background:#003f7f;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.thankyou-wrapper{
    max-width:800px;
    margin:40px auto;
    padding:0 16px;
}

.thankyou-card{
    background:#fff;
    padding:28px;
    border-radius:12px;
    border-top:6px solid var(--nhs-blue);
    text-align:center;
    box-shadow:var(--shadow);
}

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

footer{
    text-align:center;
    padding:18px;
    background:#e9eef5;
    color:var(--muted);
    margin-top:40px;
}
/* --- existing CSS --- */


/* ========================================================= */
/* ADD THESE NEW RULES BELOW THIS LINE                       */
/* ========================================================= */

/* Reduce stock image size */
.image-panel img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Restore 3-box layout */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 800px) {
    .highlights {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   HOME / ABOUT / SERVICES – Smaller hero image + spacing
   ============================================================ */

.image-panel img {
    max-height: 320px !important;     /* reduces image size */
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* Slightly reduce top/bottom spacing */
.image-panel {
    margin: 12px 0 22px;
}


/* ============================================================
   HOME – 3 highlighted boxes under the image
   ============================================================ */

.highlight-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    border-top: 5px solid var(--nhs-blue);
    text-align: left;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* Headings inside home boxes */
.highlight-box h3 {
    color: var(--nhs-blue);
    margin-bottom: 6px;
    font-weight: 700;
}

.highlight-box p {
    color: var(--muted);
}


/* ============================================================
   SERVICES – Add image + 6 boxes layout (2 rows × 3 columns)
   ============================================================ */

.services-hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

/* Main service box layout */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    border-top: 5px solid var(--nhs-blue);
    text-align: left;
}

.service-box h3 {
    color: var(--nhs-blue);
    margin-bottom: 6px;
    font-weight: 700;
}

.service-box p {
    color: var(--muted);
}


/* ============================================================
   MOBILE TWEAKS (keeps everything clean)
   ============================================================ */

@media (max-width: 700px) {

    .image-panel img,
    .services-hero-image img {
        max-height: 220px !important;
        object-fit: cover;
    }

    .highlight-box,
    .service-box {
        padding: 18px;
    }
}
/* ============================================
   FIX HOME & ABOUT IMAGE – reduce cropping
   ============================================ */

.image-panel img {
    max-height: 380px !important;    /* slightly taller */
    object-fit: cover;               /* keep layout stable */
    object-position: top center;     /* prevents head cropping */
}

/* Mobile refinement */
@media (max-width: 700px) {
    .image-panel img {
        max-height: 260px !important;
        object-position: top center;
    }
}
/* ============================================================
   NHS DIGITAL – UPGRADED PRIVACY & COOKIE INFO PANELS
   ============================================================ */

/* Wrapper grid */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

/* Individual information panel */
.privacy-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 22px;
    border-left: 6px solid var(--nhs-blue);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* Title inside panel */
.privacy-box h3 {
    color: var(--nhs-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text inside panel */
.privacy-box p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.95rem;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

/* Make email clickable & styled */
.privacy-box a {
    color: var(--nhs-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* Mobile tweak */
@media (max-width: 600px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

/* panel */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 190px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 999999;
    top: 42px;
    left: 0;
}

/* dropdown links */
.dropdown-menu a {
    padding: 10px 14px;
    display: block;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

/* hover effects */
.dropdown-menu a:hover {
    background: var(--bg);
}

/* SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-menu {
    display: block;
}
/* --- NAV Dropdown Fix --- */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 210px;
    top: 56px;
    left: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
    z-index: 2000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #f3f7ff;
    color: var(--nhs-blue);
}
/* FOI card auto height fix */
.foi-box,
.privacy-box {
    height: auto !important;
}
.foi-box a {
    word-break: break-word;
}
/* ==============================================
   FIX — Corporate dropdown interaction + position
   ============================================== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    display: none;
    min-width: 220px;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

/* keep links clickable */
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #eaf4ff;
}


/* ==============================================
   FIX — FOI equal height boxes
   ============================================== */
.foi-grid {
    display: flex;
    gap: 22px;
}

.foi-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* On mobile stack */
@media (max-width: 700px) {
    .foi-grid {
        flex-direction: column;
    }
}
/* keep dropdown open while hovering */
.dropdown:hover .dropdown-menu {
    display: block;
}
/* ==============================
   FOI GRID + BOXES
   ============================== */

.foi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: var(--maxw);
    margin: 20px auto 60px;
    padding: 0 16px;
}

.foi-box {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 6px solid var(--nhs-blue);
}

.foi-box h3 {
    margin-bottom: 8px;
    color: var(--nhs-blue);
}

.foi-box p {
    color: var(--muted);
}
/* Make dropdown stay open while mouse moves down */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}
/* PUBLICATIONS GRID */
.pub-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:26px;
    margin:20px auto 40px;
}

.pub-box{
    background:#ffffff;
    padding:22px;
    border-radius:12px;
    box-shadow:0 4px 16px rgba(0,0,0,0.12);
    border-top:6px solid var(--nhs-blue);
}

.pub-box h3{
    font-size:1.15rem;
    margin-bottom:8px;
    color:var(--nhs-blue);
    font-weight:700;
}

.pub-btn{
    display:inline-block;
    margin-top:12px;
    background:var(--nhs-blue);
    padding:10px 18px;
    border-radius:8px;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}

.pub-btn:hover{
    background:#003f7f;
}

/* NEWS */
.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:26px;
    margin:20px auto 40px;
}

.news-box{
    background:#ffffff;
    padding:22px;
    border-radius:12px;
    box-shadow:0 4px 16px rgba(0,0,0,0.12);
    border-left:6px solid var(--nhs-blue);
}

.news-box h3{
    font-size:1.15rem;
    margin-bottom:8px;
    color:var(--nhs-blue);
    font-weight:700;
}
.news-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
}
/* News filter bar */
.news-filters{
  max-width: var(--maxw);
  margin: 10px auto 10px;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-filter{
  background: #ffffff;
  border: 1px solid var(--nhs-blue);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--nhs-blue);
  font-weight: 600;
}

.news-filter.active{
  background: var(--nhs-blue);
  color: #ffffff;
}

/* Last updated line */
.news-updated{
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Reuse existing grid/card for news */
.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
  margin:20px auto 40px;
  max-width: var(--maxw);
  padding:0 16px;
}

.news-box{
  background:#ffffff;
  padding:22px;
  border-radius:12px;
  box-shadow:0 4px 16px rgba(0,0,0,0.12);
  border-left:6px solid var(--nhs-blue);
}

.news-box h3{
  font-size:1.15rem;
  margin-bottom:6px;
  color:var(--nhs-blue);
  font-weight:700;
}

.news-meta{
  font-size:0.85rem;
  color:var(--muted);
  margin-bottom:8px;
}
.news-source-link{
    font-size: 0.85rem;
    color: var(--nhs-blue);
    text-decoration: underline;
}

.news-source-link:hover{
    opacity: 0.65;
}
.internal-news-box{
    border-left: 6px solid #00A499; /* NHS green */
    background: #ffffff;
}
/* PUBLICATION LIST STYLE */
.publication-list {
    max-width: 900px;
    margin: 20px auto 40px;
    padding: 0 16px;
}

.pub-item {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    border-left: 6px solid var(--nhs-blue);
}

.pub-item h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.pub-item a {
    color: var(--nhs-blue);
    font-weight: 700;
    text-decoration: none;
}

.pub-item a:hover {
    text-decoration: underline;
}

.pub-meta {
    color: var(--muted);
    font-size: 0.9rem;
}
/* PUBLICATIONS */

.pub-list {
    max-width: 950px;
    margin: 10px auto 50px;
    padding: 0 16px;
}

.pub-item {
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-left: 6px solid var(--nhs-blue);
}

.pub-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pub-item h3 {
    margin: 0;
}

.pub-item a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nhs-blue);
    text-decoration: none;
}

.pub-item a:hover {
    text-decoration: underline;
}

.pub-new {
    background: #d41414;
    color: #fff;
    font-size: .75rem;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.pub-meta {
    margin-top: 4px;
    color: var(--muted);
    font-size: .93rem;
}

.pub-fileinfo {
    font-size: .85rem;
    color: #556;
    margin-top: 6px;
}
/* ========================================
   3-COLUMN FOOTER — NHS STYLE
======================================== */

.htsi-footer {
    background:#e9eef5;
    padding:40px 16px;
    margin-top:40px;
}

.footer-columns {
    max-width:1150px;
    margin:0 auto 32px;
    display:grid;
    gap:28px;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.footer-col h4 {
    margin-bottom:10px;
    color:#003f7f;
    font-size:1rem;
    font-weight:800;
}

.footer-col a {
    display:block;
    margin-bottom:6px;
    color:#003057;
    text-decoration:none;
    font-size:0.95rem;
}

.footer-col a:hover {
    text-decoration:underline;
}

.footer-bottom {
    text-align:center;
    font-size:0.9rem;
    color:#55606a;
}


/* mobile tweak */
@media(max-width:600px){
    .footer-columns {
        gap:20px;
    }
}
/* MOBILE – fix oversized hero images */
@media (max-width: 600px) {
    .image-panel img {
        max-height: 240px;
        object-fit: cover;
        object-position: center;
    }
}
/* FIX dropdown visibility + stray underline */
.dropdown-menu {
    display: none !important;
}

/* reveal only on hover */
.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* remove white border highlight */
.dropdown-toggle {
    border: none !important;
}
/* Mission – Vision – Values Grid */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 30px auto 40px;
}

.mvv-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-top: 6px solid var(--nhs-blue);
}

.mvv-box h3 {
    color: var(--nhs-blue);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.mvv-box p,
.mvv-box ul li {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--muted);
}

/* mobile */
@media (max-width: 800px){
    .mvv-grid {
        grid-template-columns: 1fr;
    }
}
/* Vision Banner */
.vision-banner {
    max-width: var(--maxw);
    margin: 30px auto 40px;
    padding: 22px;
    background: #ffffff;
    border-left: 8px solid var(--nhs-blue);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.vision-banner h2 {
    color: var(--nhs-blue);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.vision-banner p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* mobile */
@media(max-width: 700px){
    .vision-banner {
        padding: 18px;
    }
}
/* SOCIAL ICONS */
.social-icons {
    margin-top: 15px;
    text-align: center;
}

.social-icons a {
    font-size: 1.8rem;
    margin: 0 10px;
    text-decoration: none;
    color: var(--nhs-blue);
    transition: opacity .2s ease;
}

.social-icons a:hover {
    opacity: 0.6;
}
/* SOCIAL ICON SECTION */
.social-icons {
    text-align: center;
    margin-top: 22px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    opacity: .85;
    transition: opacity .25s ease;
}

.social-icons a img:hover {
    opacity: 1;
}
/* =========================
   Social media strip (home)
   ========================= */

.social-strip {
  max-width: var(--maxw);
  margin: 32px auto 24px;
  padding: 18px 16px 10px;
  text-align: center;
}

.social-strip h2 {
  font-size: 1.3rem;
  color: var(--nhs-blue);
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.social-link img {
  width: 22px;
  height: 22px;
  display: block;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  background: #eef5ff;
}

/* Mobile tweak */
@media (max-width: 600px) {
  .social-strip {
    padding-top: 10px;
    margin-top: 24px;
  }
}
/* Footer social icons */
.footer-social img {
    width: 28px;
    height: 28px;
    display: inline-block;
}

/* mobile adjustments */
@media (max-width: 600px) {
    .footer-social img {
        width: 22px;
        height: 22px;
    }
    
    .footer-social {
        gap: 14px;
        margin-top: 18px;
    }
}
.footer-social {
    margin-top: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}
/* Disability Confident badge block */
.dc-section {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.dc-wrapper img {
    width: 260px;
    max-width: 90%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
}

/* mobile */
@media(max-width:768px){
    .dc-wrapper img {
        width: 200px;
        margin-top: 20px;
    }
}
/* ============================= */
/* MOBILE FIX — DC BADGE SIZE    */
/* ============================= */

.home-dc-badge img {
    max-width: 220px;   /* desktop default size */
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Mobile view */
@media (max-width: 600px) {
    .home-dc-badge img {
        max-width: 140px !important; /* smaller badge on mobile */
        margin: 10px auto;
    }
}
/* ============================= */
/* DISABILITY CONFIDENT BADGE    */
/* ============================= */

.dc-wrapper img {
    max-width: 220px;     /* nice size for desktop */
    height: auto;
    display: block;
    margin: 25px auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .dc-wrapper img {
        max-width: 140px !important;   /* reduced size for mobile */
        margin: 15px auto;
    }
}
https://htsinternational.co.uk/index-live.html?v=123
/* === FORCE 3-COLUMN TEAM GRID (DESKTOP) === */
body main section.team-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;

  /* prevent clipping */
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Only switch to 2 columns on smaller screens */
@media (max-width: 900px) {
  body main section.team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  body main section.team-grid {
    grid-template-columns: 1fr !important;
  }
}
/* === FORCE 3 COLUMNS ON DESKTOP (OVERRIDES FLEX / COLUMNS / WIDTHS) === */
body main section.team-grid{
  /* kill other layout modes */
  display: grid !important;
  column-count: unset !important;
  columns: unset !important;

  /* force 3 columns */
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;

  /* prevent clipping */
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;

  /* ensure it can expand full width */
  width: 100% !important;
  max-width: 100% !important;
}

/* If cards have fixed/flex widths, neutralise them */
body main section.team-grid > .team-card{
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: initial !important;
}

/* Tablet: 2 columns */
@media (max-width: 1000px){
  body main section.team-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  body main section.team-grid{
    grid-template-columns: 1fr !important;
  }
}
/* ============================================================
   SERVICES GRID — force 4 columns on desktop (matches screenshot)
   Paste at end of styles.css
   ============================================================ */

.service-list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Tablet: 2 columns */
@media (max-width: 1000px){
  .service-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .service-list{
    grid-template-columns: 1fr;
  }
}
