.theme-blog-list-seo {
    display: none !important;
}



.theme-breadcrumb-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: white;
}

.theme-section.theme-breadcrumb-container {
    padding-top: 0 !important;
    padding-bottom: 1rem;
    background-color: #ffffff;
}

.theme-porduct-breadcrumb {
    padding-top: 0;
    margin-top: -;
}


/* ===================================
   ROUTES HEALTHCARE - COMPLETE CSS SYSTEM
   WCAG Compliant with colour variables
   =================================== */

/* ===================================
   COLOUR SYSTEM - Brand Colours
   =================================== */

:root {
  /* HOME CARE (Main Brand) - Coral/Darkest Palette */
  --hc-light: #ffd0bd;
  --hc-main: #fe7f59;
  --hc-dark: #c83e56;
  --hc-darkest: #650727;
  
  /* LIVE-IN CARE - Blue Palette */
  --li-light: #c9dfe6;
  --li-main: #63bce4;
  --li-dark: #2e7fa2;
  --li-darkest: #004164;
  
  /* COMPLEX CARE - Green Palette */
  --cc-light: #c8e4cf;
  --cc-main: #67b269;
  --cc-dark: #2e7b40;
  --cc-darkest: #15501a;
  
  /* END-OF-LIFE CARE - Purple Palette */
  --eol-light: #efdaff;
  --eol-main: #a071cf;
  --eol-dark: #673a92;
  --eol-darkest: #420069;
  
  /* NEUTRAL COLOURS */
  --cream: #f6f4ee;
  --dark: #003048;
  --white: #ffffff;
  --grey-light: #f0f0f5;
  --grey-mid: #e8e8ed;
  
  /* COMMON STATES */
  --text-dark: #333333;
  --border-light: rgba(255, 255, 255, 0.2);
  --border-dark: rgba(0, 0, 0, 0.2);
  
  /* SHADOWS */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ===================================
   WATERMARK SYSTEM
   =================================== */

.routes-watermark-left-1::before { background-image: url('/live-in-care-at-home-near-me-min.png'); }
.routes-watermark-left-2::before { background-image: url('/media/routes-photo-homecare-client-care.png'); }
.routes-watermark-left-3::before { background-image: url('/media/Routes-Healthcare-logo-2025.png'); }
.watermark-left-4::before { background-image: url('/media/carer-and-client.png'); }
.watermark-left-carer-car::before { background-image: url('/media/Care-worker-driving-a-client-happy.png'); }
.routes-watermark-right-1::before { background-image: url('/media/Routes-home-care-client-manchester.png'); }
.routes-watermark-right-2::before { background-image: url('/live-in-care-at-home-near-me-min.png'); }
.watermark-right-carer-car::before { background-image: url('/media/Care-worker-driving-a-client-happy.png'); }
.watermark-right-charity::before { background-image: url('/media/Routes-Healthcare-Supporting-Springwood-Hospice.png'); }



[class*="watermark-left"],
[class*="-left-"] {
  position: relative;
  overflow: hidden;
}

[class*="watermark-left"]::before,
[class*="-left-"]::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

[class*="watermark-right"],
[class*="-right-"] {
  position: relative;
  overflow: hidden;
}

[class*="watermark-right"]::before,
[class*="-right-"]::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  max-width: 650px;
  height: auto;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

[class*="watermark"] > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 1400px) {
  [class*="watermark-left"]::before,
  [class*="-left-"]::before {
    width: 60%;
    opacity: 0.9;
  }
  
  [class*="watermark-right"]::before,
  [class*="-right-"]::before {
    width: 40%;
    opacity: 0.75;
  }
}

@media (max-width: 1024px) {
  [class*="watermark-left"]::before,
  [class*="-left-"]::before,
  [class*="watermark-right"]::before,
  [class*="-right-"]::before {
    width: 50%;
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  [class*="watermark-left"]::before,
  [class*="-left-"]::before,
  [class*="watermark-right"]::before,
  [class*="-right-"]::before {
    width: 40%;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  [class*="watermark-left"]::before,
  [class*="-left-"]::before,
  [class*="watermark-right"]::before,
  [class*="-right-"]::before {
    width: 40%;
    opacity: 0.3;
  }
}

/* ===================================
   POSTCODE FINDER
   =================================== */

.postcode-finder-container * {
    margin: 0;
    padding: 0;
}

.postcode-finder-container {
    position: relative;
    max-width: 700px;
    margin: 2.5rem 0 1.5rem 0;
    padding: 0;
}

.postcode-finder-container a,
.postcode-finder-container a:hover,
.postcode-finder-container a:visited,
.postcode-finder-container a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

#postcodeInput {
    width: 100%;
    padding: 1.4rem 220px 1.4rem 4rem;
    font-size: 1.05rem;
    border: 3px solid var(--white);
    border-radius: 60px;
    color: var(--hc-darkest);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

#postcodeInput::placeholder {
    color: #999;
}

#postcodeInput:focus {
    outline: none;
    border-color: var(--hc-dark);
    box-shadow: 0 6px 20px rgba(200, 62, 86, 0.2);
}

.postcode-finder-container::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('https://img.icons8.com/pulsar-color/48/marker.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem 2rem;
    background-color: var(--hc-darkest);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.search-button:hover {
    background-color: var(--hc-dark);
    transform: translateY(-50%) scale(1.02);
    box-shadow: var(--shadow-md);
}

.search-button:focus {
    outline: 2px solid var(--hc-dark);
    outline-offset: 2px;
}

.search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#errorMessage {
    color: var(--hc-darkest);
    font-size: 14px;
    margin-top: 1rem;
    text-align: center;
    display: none;
    padding: 0.5rem;
}

.phone-alternative {
    text-align: center;
    font-size: 1.1rem;
    color: var(--li-darkest);
    margin-top: 1.5rem;
}

.phone-alternative a {
    color: var(--hc-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.phone-alternative a:hover {
    text-decoration: underline;
    color: var(--hc-darkest);
}

@media (max-width: 768px) {
    .postcode-finder-container {
        max-width: 100%;
    }
    
    #postcodeInput {
        padding: 1.2rem 160px 1.2rem 3.5rem;
        font-size: 0.95rem;
    }
    
    .search-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .postcode-finder-container::before {
        left: 1rem;
        width: 20px;
        height: 20px;
    }
    
    .phone-alternative {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #postcodeInput {
        padding: 1.1rem 1.5rem 1.1rem 3rem;
    }
    
    .search-button {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1rem;
    }
    
    .postcode-finder-container::before {
        top: 1.2rem;
        transform: none;
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-button,
    #postcodeInput {
        transition: none;
    }
}

@media (prefers-contrast: high) {
    #postcodeInput {
        border: 3px solid var(--text-dark);
    }
    
    .search-button {
        border: 2px solid var(--white);
    }
}

/* ===================================
   BLOG STYLING
   =================================== */

html {
    background-color: var(--grey-mid) !important;
}

*, *:before, *:after {
    border: none !important;
    outline: none !important;
}

.theme-blog-container {
    background-color: var(--white) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-md) !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    position: relative;
    padding: 0;
}

.theme-blog-container::before {
    display: none !important;
    content: none !important;
}

.theme-blog-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.theme-single-post .theme-blog-container {
    padding: 60px !important;
}

.theme-single-post h1,
.theme-single-post .theme-blog-heading {
    text-align: left !important;
    margin-bottom: 10px !important;
}

.theme-blog-h1 {
    text-align: center !important;
    font-size: 2.5rem !important;
    padding: 20px 20px !important;
    margin: 20px 20px !important;
}

.theme-blog-container .theme-blog-cover-img-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.theme-blog-container .theme-blog-cover-img-container img {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.theme-blog-part {
    padding: 10px 15px;
}

.theme-blog-container h2,
.theme-blog-container p,
.theme-blog-container a {
    margin: 6px 0;
}

.theme-blog-container h1,
.theme-blog-container h2,
.theme-blog-container h3,
.theme-blog-container p {
    margin-top: 0 !important;
    margin-bottom: 0px !important;
    padding-top: 0 !important;
    padding-bottom: 0px !important;
}

div[class*="category"] {
    background-color: var(--hc-dark) !important;
    color: var(--white) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: var(--shadow-md) !important;
    height: fit-content !important;
}

div[class*="category"] *,
div[class*="category"] a,
div[class*="category"] li,
div[class*="category"] ul,
div[class*="category"] h3,
div[class*="category"] h4 {
    color: var(--white) !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.theme-blog-prev-next {
    background: transparent !important;
    padding: 20px 0 !important;
}

.theme-blog-prev-next a {
    background-color: var(--hc-dark) !important;
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(184, 84, 80, 0.2) !important;
}

.theme-blog-prev-next a:hover {
    background-color: var(--hc-darkest) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(184, 84, 80, 0.3) !important;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: transparent;
    padding: 20px;
    min-height: auto;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--hc-dark);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(184, 58, 77, 0.2);
}

.contact-content {
    color: var(--white);
}

.contact-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--hc-light);
}

.italic-text {
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.contact-invitation {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}

.contact-info {
    margin-bottom: 40px;
}

.office-label {
    font-size: 1rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.phone-number {
    font-size: 2.2rem;
    color: var(--white);
    text-decoration: none;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.phone-number:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--hc-light);
    color: var(--hc-darkest);
    border: 2px solid var(--hc-light);
}

.btn-primary:hover {
    background: var(--hc-main);
    border-color: var(--hc-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(226, 168, 145, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.care-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .contact-heading {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .image-placeholder {
        padding: 40px 30px;
    }
    
    .care-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 10px;
    }
    
    .contact-container {
        padding: 20px 15px;
    }
    
    .contact-heading {
        font-size: 1.75rem;
    }
    
    .phone-number {
        font-size: 1.6rem;
    }
    
    .contact-description,
    .contact-invitation {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phone-number:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .contact-container {
        border: 2px solid var(--white);
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}

/* ===================================
   SERVICE STREAM BOX CONTAINERS
   WCAG Compliant: Light backgrounds with dark text
   =================================== */

.box-hc-light {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--hc-light);
  color: var(--hc-darkest);
}

.box-hc-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-hc-light h1, .box-hc-light h2, .box-hc-light h3, 
.box-hc-light h4, .box-hc-light h5, .box-hc-light h6 {
  color: var(--hc-darkest);
  margin-bottom: 10px;
  margin-top: 0;
}

.box-hc-light p {
  margin-bottom: 16px;
  color: var(--hc-darkest);
}

.box-hc-dark {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--hc-darkest);
  color: var(--white);
}

.box-hc-dark:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-hc-dark h1, .box-hc-dark h2, .box-hc-dark h3, 
.box-hc-dark h4, .box-hc-dark h5, .box-hc-dark h6 {
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-hc-dark p {
  margin-bottom: 16px;
  color: var(--white);
}

.box-cc-light {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--cc-light);
  color: var(--cc-darkest);
}

.box-cc-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-cc-light h1, .box-cc-light h2, .box-cc-light h3, 
.box-cc-light h4, .box-cc-light h5, .box-cc-light h6 {
  color: var(--cc-darkest);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-cc-light p {
  margin-bottom: 16px;
  color: var(--cc-darkest);
}

.box-cc-dark {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--cc-darkest);
  color: var(--white);
}

.box-cc-dark:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-cc-dark h1, .box-cc-dark h2, .box-cc-dark h3, 
.box-cc-dark h4, .box-cc-dark h5, .box-cc-dark h6 {
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-cc-dark p {
  margin-bottom: 16px;
  color: var(--white);
}

.box-eol-light {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--eol-light);
  color: var(--eol-darkest);
}

.box-eol-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-eol-light h1, .box-eol-light h2, .box-eol-light h3, 
.box-eol-light h4, .box-eol-light h5, .box-eol-light h6 {
  color: var(--eol-darkest);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-eol-light p {
  margin-bottom: 16px;
  color: var(--eol-darkest);
}

.box-eol-dark {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--eol-darkest);
  color: var(--white);
}

.box-eol-dark:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-eol-dark h1, .box-eol-dark h2, .box-eol-dark h3, 
.box-eol-dark h4, .box-eol-dark h5, .box-eol-dark h6 {
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-eol-dark p {
  margin-bottom: 16px;
  color: var(--white);
}

.box-li-light {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--li-light);
  color: var(--li-darkest);
}

.box-li-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-li-light h1, .box-li-light h2, .box-li-light h3, 
.box-li-light h4, .box-li-light h5, .box-li-light h6 {
  color: var(--li-darkest);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-li-light p {
  margin-bottom: 16px;
  color: var(--li-darkest);
}

.box-li-dark {
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: var(--li-darkest);
  color: var(--white);
}

.box-li-dark:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.box-li-dark h1, .box-li-dark h2, .box-li-dark h3, 
.box-li-dark h4, .box-li-dark h5, .box-li-dark h6 {
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 0;
}

.box-li-dark p {
  margin-bottom: 16px;
  color: var(--white);
}

/* ===================================
   HOUSE-SHAPED BOX CONTAINERS
   Base house shape - edit once, colours inherit
   =================================== */

/* Base house shape - ALL styling here */
[class*="house-"] {
  position: relative;
  padding: 100px 40px 40px 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  margin-top: 60px;
  clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0 100%, 0 20%);
}

[class*="house-"]:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

[class*="house-"] h1, [class*="house-"] h2, [class*="house-"] h3, 
[class*="house-"] h4, [class*="house-"] h5, [class*="house-"] h6 {
  margin-bottom: 20px;
  margin-top: 0;
}

[class*="house-"] p {
  margin-bottom: 16px;
}

/* Colour variants - ONLY colours */
.house-hc-light {
  background-color: var(--hc-light);
  color: var(--hc-darkest);
}

.house-hc-light h1, .house-hc-light h2, .house-hc-light h3, 
.house-hc-light h4, .house-hc-light h5, .house-hc-light h6,
.house-hc-light p {
  color: var(--hc-darkest);
}

.house-hc-dark {
  background-color: var(--hc-darkest);
  color: var(--white);
}

.house-hc-dark h1, .house-hc-dark h2, .house-hc-dark h3, 
.house-hc-dark h4, .house-hc-dark h5, .house-hc-dark h6,
.house-hc-dark p {
  color: var(--white);
}

.house-cc-light {
  background-color: var(--cc-light);
  color: var(--cc-darkest);
}

.house-cc-light h1, .house-cc-light h2, .house-cc-light h3, 
.house-cc-light h4, .house-cc-light h5, .house-cc-light h6,
.house-cc-light p {
  color: var(--cc-darkest);
}

.house-cc-dark {
  background-color: var(--cc-darkest);
  color: var(--white);
}

.house-cc-dark h1, .house-cc-dark h2, .house-cc-dark h3, 
.house-cc-dark h4, .house-cc-dark h5, .house-cc-dark h6,
.house-cc-dark p {
  color: var(--white);
}

.house-eol-light {
  background-color: var(--eol-light);
  color: var(--eol-darkest);
}

.house-eol-light h1, .house-eol-light h2, .house-eol-light h3, 
.house-eol-light h4, .house-eol-light h5, .house-eol-light h6,
.house-eol-light p {
  color: var(--eol-darkest);
}

.house-eol-dark {
  background-color: var(--eol-darkest);
  color: var(--white);
}

.house-eol-dark h1, .house-eol-dark h2, .house-eol-dark h3, 
.house-eol-dark h4, .house-eol-dark h5, .house-eol-dark h6,
.house-eol-dark p {
  color: var(--white);
}

.house-li-light {
  background-color: var(--li-light);
  color: var(--li-darkest);
}

.house-li-light h1, .house-li-light h2, .house-li-light h3, 
.house-li-light h4, .house-li-light h5, .house-li-light h6,
.house-li-light p {
  color: var(--li-darkest);
}

.house-li-dark {
  background-color: var(--li-darkest);
  color: var(--white);
}

.house-li-dark h1, .house-li-dark h2, .house-li-dark h3, 
.house-li-dark h4, .house-li-dark h5, .house-li-dark h6,
.house-li-dark p {
  color: var(--white);
}



/* ===================================
   SERVICE STREAM BUTTONS
   WCAG Compliant with proper contrast
   =================================== */

.btn-hc-light {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--hc-light);
  color: var(--hc-darkest);
  box-shadow: var(--shadow-sm);
}

.btn-hc-light:hover {
  background-color: var(--hc-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-hc-light:focus {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn-hc-light:active {
  background-color: var(--hc-main);
  transform: translateY(0);
}

.btn-hc-dark {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--hc-darkest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-hc-dark:hover {
  background-color: var(--hc-dark);
  box-shadow: var(--shadow-md);
  color: var(--white);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-hc-dark:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-hc-dark:active {
  background-color: var(--hc-dark);
  transform: translateY(0);
}

.btn-cc-light {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--cc-light);
  color: var(--cc-darkest);
  box-shadow: var(--shadow-sm);
}

.btn-cc-light:hover {
  background-color: var(--cc-main);
  box-shadow: var(--shadow-md);
  color: var(--cc-darkest);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-cc-light:focus {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn-cc-light:active {
  background-color: var(--cc-main);
  transform: translateY(0);
}

.btn-cc-dark {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--cc-darkest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-cc-dark:hover {
  background-color: var(--cc-dark);
  box-shadow: var(--shadow-md);
  color: var(--white);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-cc-dark:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-cc-dark:active {
  background-color: var(--cc-dark);
  transform: translateY(0);
}

.btn-eol-light {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--eol-light);
  color: var(--eol-darkest);
  box-shadow: var(--shadow-sm);
}

.btn-eol-light:hover {
  background-color: var(--eol-main);
  box-shadow: var(--shadow-md);
  color: var(--eol-darkest);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-eol-light:focus {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn-eol-light:active {
  background-color: var(--eol-main);
  transform: translateY(0);
}

.btn-eol-dark {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--eol-darkest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-eol-dark:hover {
  background-color: var(--eol-dark);
  box-shadow: var(--shadow-md);
  color: var(--white);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-eol-dark:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-eol-dark:active {
  background-color: var(--eol-dark);
  transform: translateY(0);
}

.btn-li-light {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--li-light);
  color: var(--li-darkest);
  box-shadow: var(--shadow-sm);
}

.btn-li-light:hover {
  background-color: var(--li-main);
  box-shadow: var(--shadow-md);
  color: var(--li-darkest);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-li-light:focus {
  outline: 3px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn-li-light:active {
  background-color: var(--li-main);
  transform: translateY(0);
}

.btn-li-dark {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  background-color: var(--li-darkest);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-li-dark:hover {
  background-color: var(--li-dark);
  box-shadow: var(--shadow-md);
  color: var(--white);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-li-dark:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-li-dark:active {
  background-color: var(--li-dark);
  transform: translateY(0);
}

@media (max-width: 768px) {
  .btn-hc-light, .btn-hc-dark, .btn-cc-light, .btn-cc-dark,
  .btn-eol-light, .btn-eol-dark, .btn-li-light, .btn-li-dark {
    padding: 14px 28px;
  }
}

/* ===================================
   FORMS - Using colour variables
   =================================== */

.routes-content .routes-form-container {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.routes-content .routes-form-heading {
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.routes-content .routes-form-subheading {
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
}

.routes-content .routes-form-hc-light {
    background-color: var(--hc-light);
    color: var(--hc-darkest);
}

.routes-content .routes-form-hc-light .routes-form-heading {
    color: var(--hc-darkest);
}

.routes-content .routes-form-hc-light .routes-form-subheading {
    color: var(--hc-darkest);
}

.routes-content .routes-form-hc-dark {
    background-color: var(--hc-darkest);
    color: var(--white);
}

.routes-content .routes-form-hc-dark .routes-form-heading {
    color: var(--white);
}

.routes-content .routes-form-hc-dark .routes-form-subheading {
    color: var(--white);
}

.routes-content .routes-form-cc-light {
    background-color: var(--cc-light);
    color: var(--cc-darkest);
}

.routes-content .routes-form-cc-light .routes-form-heading {
    color: var(--cc-darkest);
}

.routes-content .routes-form-cc-light .routes-form-subheading {
    color: var(--cc-darkest);
}

.routes-content .routes-form-cc-dark {
    background-color: var(--cc-darkest);
    color: var(--white);
}

.routes-content .routes-form-cc-dark .routes-form-heading {
    color: var(--white);
}

.routes-content .routes-form-cc-dark .routes-form-subheading {
    color: var(--white);
}

.routes-content .routes-form-eol-light {
    background-color: var(--eol-light);
    color: var(--eol-darkest);
}

.routes-content .routes-form-eol-light .routes-form-heading {
    color: var(--eol-darkest);
}

.routes-content .routes-form-eol-light .routes-form-subheading {
    color: var(--eol-darkest);
}

.routes-content .routes-form-eol-dark {
    background-color: var(--eol-darkest);
    color: var(--white);
}

.routes-content .routes-form-eol-dark .routes-form-heading {
    color: var(--white);
}

.routes-content .routes-form-eol-dark .routes-form-subheading {
    color: var(--white);
}

.routes-content .routes-form-li-light {
    background-color: var(--li-light);
    color: var(--li-darkest);
}

.routes-content .routes-form-li-light .routes-form-heading {
    color: var(--li-darkest);
}

.routes-content .routes-form-li-light .routes-form-subheading {
    color: var(--li-darkest);
}

.routes-content .routes-form-li-dark {
    background-color: var(--li-darkest);
    color: var(--white);
}

.routes-content .routes-form-li-dark .routes-form-heading {
    color: var(--white);
}

.routes-content .routes-form-li-dark .routes-form-subheading {
    color: var(--white);
}

.routes-content .routes-form-hc-light #crmWebToEntityForm,
.routes-content .routes-form-cc-light #crmWebToEntityForm,
.routes-content .routes-form-eol-light #crmWebToEntityForm,
.routes-content .routes-form-li-light #crmWebToEntityForm {
    background-color: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.routes-content .routes-form-hc-light .zcwf_col_lab,
.routes-content .routes-form-cc-light .zcwf_col_lab,
.routes-content .routes-form-eol-light .zcwf_col_lab,
.routes-content .routes-form-li-light .zcwf_col_lab {
    color: var(--text-dark) !important;
    font-size: 14px !important;
    text-align: left !important;
    width: 100% !important;
    float: none !important;
    padding: 0 0 8px 0 !important;
    font-weight: 600 !important;
}

.routes-content .routes-form-hc-light input[type=text],
.routes-content .routes-form-hc-light textarea,
.routes-content .routes-form-hc-light .zcwf_col_fld_slt,
.routes-content .routes-form-cc-light input[type=text],
.routes-content .routes-form-cc-light textarea,
.routes-content .routes-form-cc-light .zcwf_col_fld_slt,
.routes-content .routes-form-eol-light input[type=text],
.routes-content .routes-form-eol-light textarea,
.routes-content .routes-form-eol-light .zcwf_col_fld_slt,
.routes-content .routes-form-li-light input[type=text],
.routes-content .routes-form-li-light textarea,
.routes-content .routes-form-li-light .zcwf_col_fld_slt {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    color: var(--dark) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.routes-content .routes-form-hc-light input[type=text]::placeholder,
.routes-content .routes-form-hc-light textarea::placeholder,
.routes-content .routes-form-cc-light input[type=text]::placeholder,
.routes-content .routes-form-cc-light textarea::placeholder,
.routes-content .routes-form-eol-light input[type=text]::placeholder,
.routes-content .routes-form-eol-light textarea::placeholder,
.routes-content .routes-form-li-light input[type=text]::placeholder,
.routes-content .routes-form-li-light textarea::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}

.routes-content .routes-form-hc-dark #crmWebToEntityForm,
.routes-content .routes-form-cc-dark #crmWebToEntityForm,
.routes-content .routes-form-eol-dark #crmWebToEntityForm,
.routes-content .routes-form-li-dark #crmWebToEntityForm {
    background-color: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.routes-content .routes-form-hc-dark .zcwf_col_lab,
.routes-content .routes-form-cc-dark .zcwf_col_lab,
.routes-content .routes-form-eol-dark .zcwf_col_lab,
.routes-content .routes-form-li-dark .zcwf_col_lab {
    color: var(--white) !important;
    font-size: 14px !important;
    text-align: left !important;
    width: 100% !important;
    float: none !important;
    padding: 0 0 8px 0 !important;
    font-weight: 600 !important;
}

.routes-content .routes-form-hc-dark input[type=text],
.routes-content .routes-form-hc-dark textarea,
.routes-content .routes-form-hc-dark .zcwf_col_fld_slt,
.routes-content .routes-form-cc-dark input[type=text],
.routes-content .routes-form-cc-dark textarea,
.routes-content .routes-form-cc-dark .zcwf_col_fld_slt,
.routes-content .routes-form-eol-dark input[type=text],
.routes-content .routes-form-eol-dark textarea,
.routes-content .routes-form-eol-dark .zcwf_col_fld_slt,
.routes-content .routes-form-li-dark input[type=text],
.routes-content .routes-form-li-dark textarea,
.routes-content .routes-form-li-dark .zcwf_col_fld_slt {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.routes-content .routes-form-hc-dark input[type=text]::placeholder,
.routes-content .routes-form-hc-dark textarea::placeholder,
.routes-content .routes-form-cc-dark input[type=text]::placeholder,
.routes-content .routes-form-cc-dark textarea::placeholder,
.routes-content .routes-form-eol-dark input[type=text]::placeholder,
.routes-content .routes-form-eol-dark textarea::placeholder,
.routes-content .routes-form-li-dark input[type=text]::placeholder,
.routes-content .routes-form-li-dark textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.routes-content .routes-form-hc-light .formsubmit.zcwf_button {
    background-color: var(--hc-main) !important;
    color: var(--hc-darkest) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-hc-light .formsubmit.zcwf_button:hover {
    background-color: var(--hc-dark) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-hc-dark .formsubmit.zcwf_button {
    background-color: var(--hc-dark) !important;
    color: var(--white) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-hc-dark .formsubmit.zcwf_button:hover {
    background-color: var(--hc-light) !important;
    color: var(--hc-darkest) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-cc-light .formsubmit.zcwf_button {
    background-color: var(--cc-dark) !important;
    color: var(--white) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-cc-light .formsubmit.zcwf_button:hover {
    background-color: var(--cc-darkest) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-cc-dark .formsubmit.zcwf_button {
    background-color: var(--cc-light) !important;
    color: var(--cc-darkest) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-cc-dark .formsubmit.zcwf_button:hover {
    background-color: var(--cc-main) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-eol-light .formsubmit.zcwf_button {
    background-color: var(--eol-dark) !important;
    color: var(--white) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-eol-light .formsubmit.zcwf_button:hover {
    background-color: var(--eol-darkest) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-eol-dark .formsubmit.zcwf_button {
    background-color: var(--eol-light) !important;
    color: var(--eol-darkest) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-eol-dark .formsubmit.zcwf_button:hover {
    background-color: var(--eol-main) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-li-light .formsubmit.zcwf_button {
    background-color: var(--li-dark) !important;
    color: var(--white) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-li-light .formsubmit.zcwf_button:hover {
    background-color: var(--li-darkest) !important;
    transform: translateY(-2px) !important;
}

.routes-content .routes-form-li-dark .formsubmit.zcwf_button {
    background-color: var(--li-light) !important;
    color: var(--li-darkest) !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.routes-content .routes-form-li-dark .formsubmit.zcwf_button:hover {
    background-color: var(--li-main) !important;
    transform: translateY(-2px) !important;
}

.routes-content .zcwf_row {
    margin: 15px 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.routes-content .name-row .zcwf_col_fld,
.routes-content .location-row .zcwf_col_fld,
.routes-content .contact-row .zcwf_col_fld {
    flex: 1;
    min-width: 150px;
}

.routes-content .zcwf_col_fld {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.routes-content input[type=text]:focus,
.routes-content textarea:focus,
.routes-content .zcwf_col_fld_slt:focus {
    outline: 3px solid rgba(0, 0, 0, 0.3) !important;
    outline-offset: 2px !important;
}

.routes-content .routes-form-hc-dark input[type=text]:focus,
.routes-content .routes-form-hc-dark textarea:focus,
.routes-content .routes-form-hc-dark .zcwf_col_fld_slt:focus,
.routes-content .routes-form-cc-dark input[type=text]:focus,
.routes-content .routes-form-cc-dark textarea:focus,
.routes-content .routes-form-cc-dark .zcwf_col_fld_slt:focus,
.routes-content .routes-form-eol-dark input[type=text]:focus,
.routes-content .routes-form-eol-dark textarea:focus,
.routes-content .routes-form-eol-dark .zcwf_col_fld_slt:focus,
.routes-content .routes-form-li-dark input[type=text]:focus,
.routes-content .routes-form-li-dark textarea:focus,
.routes-content .routes-form-li-dark .zcwf_col_fld_slt:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 2px !important;
}

@media (max-width: 768px) {
    .routes-content .name-row,
    .routes-content .location-row,
    .routes-content .contact-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .routes-content .routes-form-container {
        padding: 20px;
    }
}

/* ===================================
   SERVICE CARDS
   =================================== */
.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.home-care {
  --service-color: var(--hc-main);
  --service-color-light: var(--hc-light);
  --service-color-darkest: var(--hc-darkest);
}

.live-in-care {
  --service-color: var(--li-main);
  --service-color-light: var(--li-light);
  --service-color-darkest: var(--li-darkest);
}

.complex-care {
  --service-color: var(--cc-main);
  --service-color-light: var(--cc-light);
  --service-color-darkest: var(--cc-darkest);
}

.end-of-life-care {
  --service-color: var(--eol-main);
  --service-color-light: var(--eol-light);
  --service-color-darkest: var(--eol-darkest);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-content {
    padding: 2rem;
  }
  
  .service-footer {
    padding: 1.5rem 2rem;
  }
}

.routes-individual-service-card {
  background: var(--service-color-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  max-width: 450px;
  margin: 0 auto 2rem;
}

.routes-individual-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.routes-individual-service-card::before {
  content: attr(data-price);
  position: absolute;
  top: 0;
  right: 0;
  background: var(--service-color-darkest);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0 20px 0 20px;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  text-align: center;
  white-space: pre-line;
}

.routes-individual-service-card:hover::before {
  transform: translateX(2px) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.routes-individual-service-content {
  padding: 2.5rem;
}

.routes-individual-service-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: var(--service-color-darkest);
}

.routes-individual-service-subtitle {
  font-size: 1rem;
  color: var(--darkest);
  font-weight: 400;
  margin: 0 0 2rem 0;
}

.routes-individual-service-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.routes-individual-service-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--service-color-darkest);
  font-size: 1.1rem;
  cursor: pointer;
}

.routes-individual-service-item::before {
  content: '→';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--service-color-darkest);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--service-color-darkest);
  transition: background 0.3s ease, color 0.3s ease;
  margin-right: 1rem;
  flex-shrink: 0;
}

.routes-individual-service-item:hover::before {
  background: var(--service-color-darkest);
  color: var(--white);
}

.routes-individual-service-footer {
  background: var(--service-color);
  padding: 1.5rem 2.5rem;
  text-align: center;
}

.routes-individual-service-cta {
  background: transparent;
  color: var(--service-color-darkest);
  border: 2px solid var(--service-color-darkest);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.routes-individual-service-cta:hover {
  background: var(--service-color-darkest);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.routes-individual-service-item:focus,
.routes-individual-service-cta:focus {
  outline: none;
}

.routes-individual-home-care {
  --service-color: var(--hc-main);
  --service-color-light: var(--hc-light);
  --service-color-darkest: var(--hc-darkest);
  --service-color-text: var(--hc-dark);
}

.routes-individual-live-in-care {
  --service-color: var(--li-main);
  --service-color-light: var(--li-light);
  --service-color-darkest: var(--li-darkest);
  --service-color-text: var(--li-dark);
}

.routes-individual-complex-care {
  --service-color: var(--cc-main);
  --service-color-light: var(--cc-light);
  --service-color-darkest: var(--cc-darkest);
  --service-color-text: var(--cc-dark);
}

.routes-individual-end-of-life-care {
  --service-color: var(--eol-main);
  --service-color-light: var(--eol-light);
  --service-color-darkest: var(--eol-darkest);
  --service-color-text: var(--eol-dark);
}

@media (max-width: 768px) {
  .routes-individual-service-content {
    padding: 2rem;
  }
  
  .routes-individual-service-card::before {
    font-size: 0.8rem;
    padding: 12px 24px;
    min-width: 100px;
  }
  
  .routes-individual-service-item {
    font-size: 1rem;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .routes-individual-service-card::before {
    position: static;
    display: block;
    border-radius: 12px;
    margin: 1rem 1rem 0 1rem;
    padding: 10px 20px;
    font-size: 0.75rem;
  }
  
  .routes-individual-service-content {
    padding: 1.5rem;
  }
  
  .routes-individual-service-footer {
    padding: 1.5rem;
  }
}

.routes-individual-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.routes-individual-services-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.routes-individual-pricing-banner {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--service-color-darkest);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0 20px 0 20px;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  text-align: center;
}

.routes-individual-service-card:hover .routes-individual-pricing-banner {
  transform: translateX(2px) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.routes-individual-service-header {
  margin-bottom: 2rem;
}

.routes-individual-service-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--service-color-darkest);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.routes-individual-service-item:hover .routes-individual-service-arrow {
  background: var(--service-color-darkest);
}

.routes-individual-service-arrow::after {
  content: '→';
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--service-color-darkest);
  transition: color 0.3s ease;
}

.routes-individual-service-item:hover .routes-individual-service-arrow::after {
  color: var(--white);
}}
/* ===================================
   ANIMATED TEXT
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');

.hero-heading .animated-word {
    font-family: 'Courgette', cursive;
    font-style: normal;
    display: inline-block;
    position: relative;
    min-height: 1.2em;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRight 0.8s ease-out forwards;
    color: var(--hc-darkest);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

.hero-heading .animated-word.fade-out {
    animation: slideOutRight 0.8s ease-out forwards;
}

.home-where-heading .animated-phrase {
    font-family: 'Courgette', cursive;
    font-style: normal;
    display: inline-block;
    position: relative;
    min-height: 1.2em;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRightPhrase 0.8s ease-out forwards;
}

@keyframes slideInRightPhrase {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRightPhrase {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

.home-where-heading .animated-phrase.fade-out {
    animation: slideOutRightPhrase 0.8s ease-out forwards;
}

.hero-heading,
.hero-heading span,
.hero-heading .animated-care {
    font-size: 5rem !important;
    line-height: 1.2;
    font-weight: 700;
color: var(--hc-darkest);
}

.animated-care {
    display: inline-block;
    position: relative;
}

.animated-care::after {
    content: '|';
    display: inline-block;
    animation: blink 1s infinite;
    margin-left: 2px;
    font-weight: 100;
    opacity: 0.6;
}

@keyframes blink {
    0%, 49% {
        opacity: 0.7;
    }
    50%, 100% {
        opacity: 0;
    }
}

.static-tagline {
    font-size: 5rem !important;
    font-weight: 400;
    display: block;
}

.helping-you-feel .animated-word {
    display: inline-block;
    min-width: 18%;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-heading,
    .hero-heading span,
    .hero-heading .animated-care {
        font-size: 2.5rem !important;
    }
    
    .static-tagline {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-heading,
    .hero-heading span,
    .hero-heading .animated-care {
        font-size: 2rem !important;
    }
    
    .static-tagline {
        font-size: 1.75rem !important;
    }
}

/* ===================================
   LIVE-IN CARE CTA FORM
   =================================== */

.li-cta-form {
    display: flex;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: transparent;
}

.li-cta-column {
    flex: 45;
    padding: 35px 40px;
    background: var(--li-darkest);
    position: relative;
}

.li-cta-title h3 {
    font-size: 2.2rem;
    margin: 0 0 20px 0;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.li-cta-description {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.li-cta-contact-details {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.li-cta-contact-text {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
}

.li-cta-contact-text strong {
    font-weight: 600;
}

.li-cta-contact-link {
    color: var(--white);
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 600;
}

.li-cta-contact-link:hover {
    color: var(--white);
    text-decoration: none;
}

.li-cta-enquiry-column {
    flex: 55;
    padding: 35px 40px;
    background-color: var(--li-light);
    position: relative;
}

.li-cta-enquiry-title h2 {
    font-size: 2.2rem;
    margin: 0 0 20px 0;
    font-weight: 500;
    color: var(--li-darkest);
}

.li-cta-enquiry-form {
    width: 100%;
}

.li-cta-form-row {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.li-cta-form-col {
    flex: 1;
    min-width: 200px;
}

.li-cta-form-col-small {
    flex: 0.6;
    min-width: 150px;
}

.li-cta-form-field {
    margin-bottom: 8px;
}

.li-cta-form-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--li-darkest);
    font-size: 0.95rem;
}

.li-cta-form-field label .li-cta-required {
    color: var(--li-dark);
    margin-left: 4px;
}

.li-cta-form-field input,
.li-cta-form-field select,
.li-cta-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 38px;
}

.li-cta-form-field textarea {
    min-height: 70px;
    height: auto;
    resize: vertical;
}

.li-cta-custom-select-wrapper {
    position: relative;
}

.li-cta-custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 28px;
    cursor: pointer;
    height: 38px;
}

.li-cta-recaptcha-container {
    margin: 8px 0;
    width: 100%;
}

.li-cta-recaptcha-error {
    font-size: 12px;
    color: red;
    margin-top: 3px;
    visibility: hidden;
}

.li-cta-submit-button {
    background: var(--li-dark);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--white) !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    margin-top: 5px;
    width: 100%;
    height: auto;
}

.li-cta-submit-button:hover {
    background: var(--li-darkest);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.li-cta-submit-button:disabled {
    background: var(--grey-mid);
    transform: none;
    cursor: not-allowed;
}

.li-cta-hidden-field {
    display: none;
}

@media (max-width: 960px) {
    .li-cta-form {
        flex-direction: column;
        min-height: auto;
    }
    
    .li-cta-column, .li-cta-enquiry-column {
        width: 100%;
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .li-cta-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .li-cta-title h2, .li-cta-enquiry-title h2 {
        font-size: 1.8rem;
    }
    
    .li-cta-column, .li-cta-enquiry-column {
        padding: 20px 15px;
    }
}

/* ===================================
   LISTS - TICK & ARROW STYLES
   WCAG Compliant with darkest colours
   =================================== */

.hc-tick-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hc-tick-list li {
    color: var(--hc-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.hc-tick-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--hc-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.hc-tick-list li:hover::before {
    background: var(--hc-darkest);
}

.hc-tick-list li::after {
    content: '✔';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hc-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.hc-tick-list li:hover::after {
    color: var(--white);
}

.hc-arrow-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hc-arrow-list li {
    color: var(--hc-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.hc-arrow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--hc-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.hc-arrow-list li:hover::before {
    background: var(--hc-darkest);
}

.hc-arrow-list li::after {
    content: '→';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--hc-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.hc-arrow-list li:hover::after {
    color: var(--white);
}

.li-tick-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.li-tick-list li {
    color: var(--li-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.li-tick-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--li-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.li-tick-list li:hover::before {
    background: var(--li-darkest);
}

.li-tick-list li::after {
    content: '✔';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--li-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.li-tick-list li:hover::after {
    color: var(--white);
}

.li-arrow-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.li-arrow-list li {
    color: var(--li-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.li-arrow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--li-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.li-arrow-list li:hover::before {
    background: var(--li-darkest);
}

.li-arrow-list li::after {
    content: '→';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--li-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.li-arrow-list li:hover::after {
    color: var(--white);
}

.cc-tick-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cc-tick-list li {
    color: var(--cc-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.cc-tick-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--cc-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.cc-tick-list li:hover::before {
    background: var(--cc-darkest);
}

.cc-tick-list li::after {
    content: '✔';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cc-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.cc-tick-list li:hover::after {
    color: var(--white);
}

.cc-arrow-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cc-arrow-list li {
    color: var(--cc-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.cc-arrow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--cc-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.cc-arrow-list li:hover::before {
    background: var(--cc-darkest);
}

.cc-arrow-list li::after {
    content: '→';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--cc-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.cc-arrow-list li:hover::after {
    color: var(--white);
}

.el-tick-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.el-tick-list li {
    color: var(--eol-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.el-tick-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--eol-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.el-tick-list li:hover::before {
    background: var(--eol-darkest);
}

.el-tick-list li::after {
    content: '✔';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--eol-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.el-tick-list li:hover::after {
    color: var(--white);
}

.el-arrow-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.el-arrow-list li {
    color: var(--eol-darkest);
    font-weight: 500;
    padding-left: 3rem !important;
    position: relative;
    margin-bottom: 12px;
    list-style: none !important;
}

.el-arrow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--eol-darkest);
    background: transparent;
    transition: all 0.3s ease;
}

.el-arrow-list li:hover::before {
    background: var(--eol-darkest);
}

.el-arrow-list li::after {
    content: '→';
    position: absolute;
    left: 6px;
    top: 0.25em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--eol-darkest);
    transition: color 0.3s ease;
    line-height: 24px;
}

.el-arrow-list li:hover::after {
    color: var(--white);
}

@media (max-width: 768px) {
    .hc-tick-list li, .hc-arrow-list li,
    .li-tick-list li, .li-arrow-list li,
    .cc-tick-list li, .cc-arrow-list li,
    .el-tick-list li, .el-arrow-list li {
        font-size: 0.95rem;
        padding-left: 2rem !important;
    }
    
    .hc-tick-list li::before, .hc-arrow-list li::before,
    .li-tick-list li::before, .li-arrow-list li::before,
    .cc-tick-list li::before, .cc-arrow-list li::before,
    .el-tick-list li::before, .el-arrow-list li::before {
        width: 20px;
        height: 20px;
    }
    
    .hc-tick-list li::after, .hc-arrow-list li::after,
    .li-tick-list li::after, .li-arrow-list li::after,
    .cc-tick-list li::after, .cc-arrow-list li::after,
    .el-tick-list li::after, .el-arrow-list li::after {
        left: 4px;
        font-size: 0.7rem;
    }
}

/* ===================================
   ACCREDITATIONS BANNER
   =================================== */

.accreditations-banner {
    width: 100%;
    padding: 2rem 0;
    overflow: hidden;
}

.accreditations-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.accreditations-track::-webkit-scrollbar {
    display: none;
}

.accreditation-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accreditation-logo {
    height: 110px;
    width: auto;
    max-width: 260px;
    max-height: 110px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.accreditation-logo.lazy {
    opacity: 0.4;
}

.accreditation-item:hover .accreditation-logo {
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
    .accreditations-track {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .accreditation-logo {
        height: 95px;
        max-width: 220px;
        max-height: 95px;
    }
}

@media (max-width: 480px) {
    .accreditations-banner {
        padding: 1.5rem 0;
    }

    .accreditations-track {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .accreditation-logo {
        height: 80px;
        max-width: 180px;
        max-height: 80px;
    }
}

.accreditation-item:focus-within {
    outline: 2px solid var(--li-main);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .accreditation-item,
    .accreditation-logo {
        transition: none;
    }

    .accreditations-track {
        scroll-behavior: auto;
    }
}

@media print {
    .accreditations-banner {
        padding: 1rem 0;
    }

    .accreditations-track {
        overflow: visible;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .accreditation-logo {
        filter: none;
        height: 80px;
        max-height: 80px;
    }
}

/* ===================================
   TABLES
   =================================== */

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.custom-table th,
.custom-table td {
    padding: 20px 24px;
    vertical-align: middle;
    word-wrap: break-word;
    border: none;
}

.custom-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.custom-table tbody tr {
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .custom-table th,
    .custom-table td {
        padding: 16px 20px;
    }
}

.hc-table {
    background-color: var(--hc-dark);
    color: var(--white);
}

.hc-table th {
    background-color: var(--hc-darkest);
}

.hc-table tbody tr {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.hc-table tbody tr:hover {
    background-color: var(--grey-mid);
}

.li-table {
    background-color: var(--li-dark);
    color: var(--white);
}

.li-table th {
    background-color: var(--li-darkest);
}

.li-table tbody tr {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.li-table tbody tr:hover {
    background-color: var(--grey-mid);
}

.eol-table {
    background-color: var(--eol-dark);
    color: var(--white);
}

.eol-table th {
    background-color: var(--eol-darkest);
}

.eol-table tbody tr {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.eol-table tbody tr:hover {
    background-color: var(--grey-mid);
}

.cc-table {
    background-color: var(--cc-dark);
    color: var(--white);
}

.cc-table th {
    background-color: var(--cc-darkest);
}

.cc-table tbody tr {
    background-color: var(--grey-light);
    color: var(--text-dark);
}

.cc-table tbody tr:hover {
    background-color: var(--grey-mid);
}

/* ===================================
   NEWS WIDGET
   =================================== */

.routes-news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--hc-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-title {
    color: var(--dark);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.news-excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--hc-main);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: var(--hc-dark);
    transform: translateX(3px);
    text-decoration: none;
    color: var(--white);
}

.read-more-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(3px);
}

.view-all-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--grey-light);
    border-radius: 12px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--hc-dark);
    color: var(--hc-dark);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: var(--hc-dark);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--hc-dark);
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    background: var(--hc-light);
    border-radius: 12px;
    color: var(--hc-darkest);
    border: 1px solid var(--hc-dark);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .routes-news-section {
        padding: 30px 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-content {
        padding: 20px;
    }
}

.news-card:focus-within {
    outline: 2px solid var(--hc-dark);
    outline-offset: 2px;
}

.read-more-btn:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* ===================================
   HOMECARE WIDGET
   =================================== */

.homecare-widget {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.homecare-widget:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.homecare-widget a {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.homecare-left {
  background: var(--li-main);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homecare-logo {
  height: 36px;
  width: auto;
  display: block;
}

.homecare-right {
  background: var(--cream);
  color: var(--li-main);
  font-size: 28px;
  font-weight: bold;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-header {
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: stretch;
  position: relative;
  background: var(--white);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 500px;
  position: relative;
}

.hero-image {
  position: relative;
  background: url('your-hero-image.jpg') center center/cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.image-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.image-overlay h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.action-boxes {
  background: var(--cc-main);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.action-box {
  flex: 1;
  padding: 2rem;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.action-box:last-child {
  border-bottom: none;
}

.action-box:hover {
  background: var(--cc-dark);
}

.action-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.action-box:hover::before {
  left: 100%;
}

.action-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.action-box p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.action-box:focus {
  outline: 3px solid var(--cc-light);
  outline-offset: -3px;
}

.action-box:active {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 1fr;
  }
  
  .image-overlay h1 {
    font-size: 2.5rem;
  }
  
  .action-box {
    padding: 1.5rem;
  }
  
  .action-box h3 {
    font-size: 1.3rem;
  }
  
  .action-box p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    grid-template-rows: 250px 1fr;
  }
  
  .image-overlay h1 {
    font-size: 2rem;
  }
  
  .action-box {
    padding: 1.2rem;
  }
  
  .action-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .action-box p {
    font-size: 0.9rem;
  }
}

.bottom-left-image {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
  pointer-events: none;
  width: clamp(80px, 30vw, 400px);
  height: auto;
  opacity: clamp(0.15, 0.5, 0.7);
}

.image-container {
  position: relative;
}

@media (max-width: 768px) {
  .bottom-left-image {
    width: clamp(60px, 20vw, 150px);
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .bottom-left-image {
    width: 70px;
    opacity: 0.15;
  }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .box-hc-light, .box-hc-dark,
  .box-li-light, .box-li-dark,
  .box-cc-light, .box-cc-dark,
  .box-eol-light, .box-eol-dark {
    padding: 24px;
    margin-bottom: 16px;
  }
}




/* ============================================
   FAQ SPEECH BUBBLE ACCORDION - BASE STYLES
   ============================================ */

.faq-bubble {
    padding: 20px 50px 20px 50px;
    border-radius: 50px 50px 50px 0px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-bubble:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Target Zoho's accordion header */
.faq-bubble .zpaccordion {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.faq-bubble .zpaccordion-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Target Zoho's accordion content */
.faq-bubble .zpaccordion-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.faq-bubble .zpaccordion-content[style*="display: none"] {
    padding-top: 0 !important;
}

.faq-bubble .zpaccordion-element-container {
    padding: 0 !important;
    margin-top: 0 !important;
}

.faq-bubble .zprow {
    margin-top: 0 !important;
}

.faq-bubble .zptext {
    margin: 0 !important;
    padding-top: 0 !important;
}

/* ============================================
   COLOR VARIANTS
   ============================================ */

/* HOME CARE - Light & Darkest Only */
.faq-hc-light { 
    background-color: var(--hc-light);
    color: var(--hc-darkest);
}
.faq-hc-light .zpaccordion-name { 
    color: var(--hc-darkest) !important;
}

.faq-hc-darkest { 
    background-color: var(--hc-darkest);
    color: var(--white);
}
.faq-hc-darkest .zpaccordion-name { 
    color: var(--hc-main) !important;
}

/* LIVE-IN CARE - Light & Darkest Only */
.faq-li-light { 
    background-color: var(--li-light);
    color: var(--li-darkest);
}
.faq-li-light .zpaccordion-name { 
    color: var(--li-darkest) !important;
}

.faq-li-darkest { 
    background-color: var(--li-darkest);
    color: var(--white);
}
.faq-li-darkest .zpaccordion-name { 
    color: var(--li-main) !important;
}

/* COMPLEX CARE - Light & Darkest Only */
.faq-cc-light { 
    background-color: var(--cc-light);
    color: var(--cc-darkest);
}
.faq-cc-light .zpaccordion-name { 
    color: var(--cc-darkest) !important;
}

.faq-cc-darkest { 
    background-color: var(--cc-darkest);
    color: var(--white);
}
.faq-cc-darkest .zpaccordion-name { 
    color: var(--cc-main) !important;
}

/* END OF LIFE CARE - Light & Darkest Only */
.faq-eol-light { 
    background-color: var(--eol-light);
    color: var(--eol-darkest);
}
.faq-eol-light .zpaccordion-name { 
    color: var(--eol-darkest) !important;
}

.faq-eol-darkest { 
    background-color: var(--eol-darkest);
    color: var(--white);
}
.faq-eol-darkest .zpaccordion-name { 
    color: var(--eol-main) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .faq-bubble {
        padding: 32px 24px;
        border-radius: 40px 40px 40px 0px;
    }
    
    .faq-bubble .zpaccordion-name {
        font-size: 18px;
    }
    
    .faq-bubble .zpaccordion-content {
        font-size: 15px;
    }
}


/* ============================================
   HELP & GUIDANCE SECTION
   ============================================ */
/* Routes Healthcare Help & Guidance Section */
.routes-guidance-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    padding: 0;
    background: transparent;
}

/* Left Column - Guidance */
.guidance-column {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px 0 0 8px;
}

.guidance-title h2 {
    font-size: 2rem;
    color: var(--hc-darkest);
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Pacifico', cursive;
}

.guidance-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.guidance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guidance-card:hover {
    border-color: var(--hc-main);
    box-shadow: 0 2px 8px rgba(0, 102, 178, 0.1);
}

.card-content {
    flex: 1;
}

.card-meta {
    margin-bottom: 8px;
}

.card-meta a {
    color: var(--hc-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-title {
    color: var(--hc-darkest);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.card-arrow {
    color: var(--hc-main);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.guidance-card:hover .card-arrow {
    transform: translateX(5px);
}

.more-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--hc-main);
    color: var(--hc-darkest);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.more-button:hover {
    background: var(--hc-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Right Column - Enquiry Form */
.enquiry-column {
    display: flex;
    flex-direction: column;
    background: var(--hc-main);
    padding: 40px;
    border-radius: 0 8px 8px 0;
}

.enquiry-title h2 {
    font-size: 2rem;
    color: var(--hc-darkest);
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Pacifico', cursive;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enquiry-form .form-field:last-child {
    margin-top: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row.postcode-row {
    grid-template-columns: 2fr 1fr;
}

.form-col,
.form-col-small {
    display: flex;
    flex-direction: column;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-field label {
    color: var(--hc-darkest);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
}

.form-field label .required {
    color: #d32f2f;
}

.form-field input[type="text"],
.form-field textarea {
    padding: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    line-height: 1.5;
    height: 50px;
    box-sizing: border-box;
}

.form-field select {
    padding: 14px 50px 14px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    line-height: 1.5;
    height: 50px;
    box-sizing: border-box;
}

.form-field textarea {
    height: auto;
}

.form-field input[type="text"]:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--hc-main);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select {
    appearance: none;
    width: 100%;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    overflow: visible;
    white-space: normal;
}

.hidden-field {
    display: none;
}

.recaptcha-container {
    margin: 0;
}

.recaptcha-error {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 8px;
    visibility: hidden;
    display: none;
}

.submit-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--hc-darkest);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    line-height: normal;
}

.submit-button:hover:not(:disabled) {
    background: var(--hc-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 968px) {
    .routes-guidance-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .guidance-column {
        border-radius: 8px;
    }
    
    .enquiry-column {
        border-radius: 8px;
    }
    
    .guidance-title h2,
    .enquiry-title h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .guidance-card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-arrow {
        font-size: 1.25rem;
        margin-left: 12px;
    }
    
    .guidance-title h2,
    .enquiry-title h2 {
        font-size: 1.5rem;
    }
}