/**
 * @file
 * Oastview Services Styles
 * 
 * Save to: themes/mltteamplus/css/components/services.css
 */

/* ============================================
   CSS VARIABLES (inherit from portfolio)
   ============================================ */
:root {
  --ov-charcoal: #3A4545;
  --ov-charcoal-dark: #2D3838;
  --ov-charcoal-darker: #1E2828;
  --ov-charcoal-light: #475252;
  --ov-green: #70BE43;
  --ov-green-light: #84CB5A;
  --ov-green-dark: #5CA336;
  --ov-white: #FFFFFF;
  --ov-text-muted: rgba(255, 255, 255, 0.7);
}


/* ============================================
   FULL WIDTH PAGE OVERRIDES FOR SERVICE
   ============================================ */

.page-node-type-service .sidebar-first,
.page-node-type-service .sidebar-second,
.page-node-type-service aside.sidebar__section {
  display: none !important;
}

.page-node-type-service .main-content__container > .row > section {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.page-node-type-service .main-content {
  padding: 0;
}

.page-node-type-service .main-content__container {
  padding: 0;
}

.page-node-type-service .main-content__section {
  padding: 0;
  margin: 0;
}

.page-node-type-service .main-content > .container {
  max-width: 100%;
  padding: 0;
}

.page-node-type-service .page-title,
.page-node-type-service #page-title,
.page-node-type-service .block-page-title-block {
  display: none;
}


/* ============================================
   SERVICE FULL PAGE - HERO
   ============================================ */

.ov-service-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ov-service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.ov-service-hero-bg .field,
.ov-service-hero-bg .field__item,
.ov-service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ov-service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(30, 40, 40, 0.95) 0%, rgba(30, 40, 40, 0.7) 50%, rgba(30, 40, 40, 0.4) 100%);
  z-index: 2;
}

.ov-service-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 60px 0;
}

.ov-service-hero-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.ov-service-breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 20px;
  font-size: 0.875rem;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

.ov-service-breadcrumb a {
  color: var(--ov-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  flex: none !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

.ov-service-breadcrumb a::before,
.ov-service-breadcrumb a::after,
.ov-service-breadcrumb span::before,
.ov-service-breadcrumb span::after {
  display: none !important;
  content: none !important;
}

.ov-service-breadcrumb a:hover {
  color: var(--ov-green);
}

.ov-service-breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  flex: none !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

.ov-service-breadcrumb span.divider {
  color: rgba(255, 255, 255, 0.4);
}

.ov-service-breadcrumb span.current,
.ov-service-breadcrumb span:last-child {
  color: var(--ov-white);
}

.ov-service-title {
  font-family: var(--mt-hff);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--ov-white);
  margin: 0 0 15px 0;
  line-height: 1.1;
}

.ov-service-tagline {
  font-size: 1.25rem;
  color: var(--ov-text-muted);
  margin: 0 0 30px 0;
  max-width: 700px;
  line-height: 1.6;
}

.ov-service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}


/* ============================================
   BUTTONS
   ============================================ */

.ov-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.ov-btn-primary {
  background: var(--ov-green);
  color: var(--ov-charcoal-darker) !important;
  border-color: var(--ov-green);
}

.ov-btn-primary:hover {
  background: var(--ov-green-light);
  border-color: var(--ov-green-light);
  transform: translateY(-2px);
  color: var(--ov-charcoal-darker) !important;
  text-decoration: none;
}

.ov-btn-outline {
  background: transparent;
  color: var(--ov-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.ov-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ov-white);
  color: var(--ov-white);
  text-decoration: none;
}

.ov-btn-outline-white {
  background: transparent;
  color: var(--ov-white);
  border-color: var(--ov-white);
}

.ov-btn-outline-white:hover {
  background: var(--ov-white);
  color: var(--ov-charcoal);
  text-decoration: none;
}

/* Outline button on green CTA background - white border and text */
.ov-service-final-cta .ov-btn-outline-white {
  background: transparent;
  color: var(--ov-white);
  border: 2px solid var(--ov-white);
}

.ov-service-final-cta .ov-btn-outline-white:hover {
  background: var(--ov-white);
  color: var(--ov-green-dark);
}

.ov-service-final-cta .ov-btn-outline-white svg {
  stroke: var(--ov-white);
}

.ov-service-final-cta .ov-btn-outline-white:hover svg {
  stroke: var(--ov-green-dark);
}

.ov-btn-block {
  width: 100%;
  justify-content: center;
}

.ov-btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}


/* ============================================
   SERVICE CONTENT AREA
   ============================================ */

.ov-service-content {
  background: var(--ov-charcoal);
  padding: 80px 0;
}

.ov-service-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.ov-service-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: start;
}

@media (max-width: 991px) {
  .ov-service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* Main Content Column */
.ov-service-main {
  color: var(--ov-white);
}

.ov-service-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ov-text-muted);
}

.ov-service-body h2 {
  font-family: var(--mt-hff);
  font-size: 1.75rem;
  color: var(--ov-white);
  margin: 40px 0 20px 0;
}

.ov-service-body h3 {
  font-size: 1.35rem;
  color: var(--ov-white);
  margin: 30px 0 15px 0;
}

.ov-service-body p {
  margin-bottom: 20px;
}

.ov-service-body ul,
.ov-service-body ol {
  margin: 20px 0;
  padding-left: 25px;
}

.ov-service-body li {
  margin-bottom: 10px;
}

.ov-service-body strong {
  color: var(--ov-white);
}


/* Benefits Section */
.ov-service-benefits {
  margin-top: 50px;
  padding: 40px;
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  border-left: 4px solid var(--ov-green);
}

.ov-service-benefits h2 {
  font-family: var(--mt-hff);
  font-size: 1.5rem;
  color: var(--ov-white);
  margin: 0 0 25px 0;
}

.ov-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ov-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  color: var(--ov-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.ov-benefits-list li:last-child {
  margin-bottom: 0;
}

.ov-check-icon {
  flex-shrink: 0;
  color: var(--ov-green);
  margin-top: 2px;
}

.ov-benefits-list li span {
  flex: 1;
}


/* Service Areas */
.ov-service-areas {
  margin-top: 40px;
  padding: 30px;
  background: var(--ov-charcoal-dark);
  border-radius: 12px;
}

.ov-service-areas h3 {
  font-size: 1.25rem;
  color: var(--ov-white);
  margin: 0 0 15px 0;
}

.ov-service-areas > p {
  color: var(--ov-text-muted);
  margin: 0 0 20px 0;
  line-height: 1.7;
}

.ov-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.ov-area-tag {
  display: inline-block;
  background: var(--ov-charcoal);
  color: var(--ov-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-area-tag:hover {
  background: var(--ov-green);
  border-color: var(--ov-green);
  color: var(--ov-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.ov-areas-note {
  color: var(--ov-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.ov-areas-note a {
  color: var(--ov-green);
  text-decoration: none;
}

.ov-areas-note a:hover {
  text-decoration: underline;
}


/* ============================================
   SIDEBAR
   ============================================ */

.ov-service-sidebar {
  position: sticky;
  top: 100px;
}

/* Enquiry Box */
.ov-service-enquiry-box {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
}

.ov-service-enquiry-box h3 {
  font-family: var(--mt-hff);
  font-size: 1.35rem;
  color: var(--ov-white);
  margin: 0 0 10px 0;
}

.ov-service-enquiry-box > p {
  color: var(--ov-text-muted);
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.ov-service-price {
  background: var(--ov-charcoal);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
}

.ov-service-price .price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ov-text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ov-service-price .price-value {
  display: block;
  font-family: var(--mt-hff);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ov-green);
}

.ov-service-phone {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-service-phone span {
  display: block;
  font-size: 0.9rem;
  color: var(--ov-text-muted);
  margin-bottom: 8px;
}

.ov-service-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ov-white);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ov-service-phone a:hover {
  color: var(--ov-green);
}


/* Trust Signals */
.ov-service-trust {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ov-trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ov-white);
  font-weight: 500;
}

.ov-trust-item svg {
  flex-shrink: 0;
  color: var(--ov-green);
}


/* ============================================
   RELATED PROJECTS SECTION
   ============================================ */

.ov-service-projects {
  background: var(--ov-charcoal-darker);
  padding: 80px 0;
}

.ov-service-projects .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.ov-service-projects h2 {
  font-family: var(--mt-hff);
  font-size: 2rem;
  color: var(--ov-white);
  text-align: center;
  margin: 0 0 10px 0;
}

.ov-section-subtitle {
  font-size: 1.1rem;
  color: var(--ov-text-muted);
  text-align: center;
  margin: 0 0 50px 0;
}

.ov-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* Style the referenced portfolio items */
.ov-projects-grid .field__item {
  display: block;
}

.ov-projects-cta {
  text-align: center;
}


/* ============================================
   FINAL CTA SECTION
   ============================================ */

.ov-service-final-cta {
  background: linear-gradient(135deg, var(--ov-green-dark) 0%, var(--ov-green) 100%);
  padding: 80px 0;
  text-align: center;
}

.ov-service-final-cta .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.ov-service-final-cta h2 {
  font-family: var(--mt-hff);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ov-white);
  margin: 0 0 15px 0;
}

.ov-service-final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 35px 0;
  line-height: 1.7;
}

.ov-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.ov-service-final-cta .ov-btn-primary {
  background: var(--ov-white);
  color: var(--ov-green-dark);
  border-color: var(--ov-white);
}

.ov-service-final-cta .ov-btn-primary:hover {
  background: transparent;
  color: var(--ov-white);
}


/* ============================================
   SERVICES LISTING PAGE
   ============================================ */

/* Full width for services listing */
.path-services .main-content,
.path-services #main-content {
  padding: 0;
}

.path-services .main-content > .container,
.path-services .main-content__container {
  max-width: 100%;
  padding: 0;
}

.path-services .main-content__container > .row > section {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding: 0;
}

/* View wrapper */
.view-services {
  background: var(--ov-charcoal);
  min-height: 60vh;
}

/* Services header */
.view-services .view-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-services-header h1 {
  font-family: var(--mt-hff);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--ov-white);
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.ov-services-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ov-text-muted);
  max-width: 900px;
  margin: 0 auto;
}

/* Services grid */
.view-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 50px;
}

.view-services .view-content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.view-services .view-content .views-row {
  display: block;
}

@media (max-width: 767px) {
  .view-services {
    padding: 40px 15px;
  }
  
  .view-services,
  .view-services .view-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Hide page title on services listing */
.path-services .page-title,
.path-services #page-title,
.path-services .block-page-title-block {
  display: none;
}


/* ============================================
   SERVICE CARDS (Teaser)
   ============================================ */

.ov-service-card {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ov-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(112, 190, 67, 0.3);
}

.ov-service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ov-service-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Card Image */
.ov-service-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ov-service-card-image .field,
.ov-service-card-image .field__item,
.ov-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ov-service-card:hover .ov-service-card-image img {
  transform: scale(1.08);
}

/* Hover Overlay */
.ov-service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(30, 40, 40, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.ov-service-card:hover .ov-service-card-overlay {
  opacity: 1;
}

.ov-service-card-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ov-green);
  color: var(--ov-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.ov-service-card:hover .ov-service-card-view {
  transform: translateY(0);
}

/* Card Content */
.ov-service-card-content {
  padding: 25px;
}

.ov-service-card-title {
  font-family: var(--mt-hff);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ov-white);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.ov-service-card-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ov-text-muted);
  margin: 0 0 20px 0;
}

.ov-service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ov-green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.ov-service-card:hover .ov-service-card-cta {
  gap: 12px;
}


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

@media (max-width: 767px) {
  .ov-service-hero {
    min-height: 350px;
  }
  
  .ov-service-hero-content {
    padding: 40px 0;
  }
  
  .ov-service-hero-content .container {
    padding: 0 20px;
  }
  
  .ov-service-tagline {
    font-size: 1.1rem;
  }
  
  .ov-service-hero-cta {
    flex-direction: column;
  }
  
  .ov-service-hero-cta .ov-btn {
    width: 100%;
    justify-content: center;
  }
  
  .ov-service-content {
    padding: 50px 0;
  }
  
  .ov-service-content .container {
    padding: 0 20px;
  }
  
  .ov-service-benefits {
    padding: 30px 25px;
  }
  
  .ov-service-sidebar {
    position: static;
  }
  
  .ov-service-projects {
    padding: 50px 0;
  }
  
  .ov-projects-grid {
    grid-template-columns: 1fr;
  }
  
  .ov-service-final-cta {
    padding: 50px 0;
  }
  
  .ov-cta-buttons {
    flex-direction: column;
  }
  
  .ov-cta-buttons .ov-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================
   AREA/LOCATION LANDING PAGES
   ============================================ */

/* Full width for taxonomy pages - Target the Bootstrap column constraint */
body.path-taxonomy .main-content__container > .row > section.col-xl-8,
body.path-taxonomy .main-content__container > .row > section {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove margin auto that centers the column */
body.path-taxonomy .main-content__container > .row > section.ms-xl-auto,
body.path-taxonomy .main-content__container > .row > section.me-xl-auto {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove container constraints */
body.path-taxonomy .main-content,
body.path-taxonomy #main-content {
  padding: 0 !important;
}

body.path-taxonomy .main-content > .container,
body.path-taxonomy .main-content__container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.path-taxonomy .main-content__container > .row {
  margin: 0 !important;
  --bs-gutter-x: 0 !important;
}

body.path-taxonomy .main-content__section {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide sidebars just in case */
body.path-taxonomy .sidebar-first,
body.path-taxonomy .sidebar-second {
  display: none !important;
}

/* Hide default page title */
body.path-taxonomy .page-title,
body.path-taxonomy .block-page-title-block {
  display: none !important;
}

/* Make the article itself full width */
.ov-area-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The view wrapper should also be full width */
body.path-taxonomy .view-taxonomy-term {
  width: 100% !important;
  max-width: 100% !important;
}

/* Hide the view header wrapper padding */
body.path-taxonomy .view-taxonomy-term .view-header {
  padding: 0 !important;
  margin: 0 !important;
}

/* Area Hero - Full Width */
.ov-area-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ov-charcoal-darker);
  width: 100%;
}

.ov-area-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.ov-area-hero-bg .field,
.ov-area-hero-bg .field__item,
.ov-area-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ov-area-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(30, 40, 40, 0.95) 0%, rgba(30, 40, 40, 0.7) 50%, rgba(30, 40, 40, 0.5) 100%);
  z-index: 2;
}

.ov-area-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 0;
}

.ov-area-hero-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.ov-area-title {
  font-family: var(--mt-hff);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ov-white);
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.ov-area-tagline {
  font-size: 1.25rem;
  color: var(--ov-text-muted);
  margin: 0 0 35px 0;
  max-width: 650px;
  line-height: 1.6;
}

/* Area Content - Full Width Background */
.ov-area-content {
  background: var(--ov-charcoal);
  padding: 80px 0;
  width: 100%;
}

.ov-area-content .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.ov-area-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ov-text-muted);
  margin-bottom: 70px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ov-area-description p {
  margin-bottom: 20px;
}

.ov-area-description p:last-child {
  margin-bottom: 0;
}

/* Area Services Grid - Full Width */
.ov-area-services {
  margin-bottom: 80px;
}

.ov-area-services h2 {
  font-family: var(--mt-hff);
  font-size: 2.25rem;
  color: var(--ov-white);
  margin: 0 0 10px 0;
  text-align: center;
}

.ov-area-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.ov-area-service-item {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  padding: 35px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.ov-area-service-item:hover {
  transform: translateY(-8px);
  border-color: var(--ov-green);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.ov-area-service-icon {
  color: var(--ov-green);
  margin-bottom: 20px;
}

.ov-area-service-item h3 {
  font-size: 1.3rem;
  color: var(--ov-white);
  margin: 0 0 12px 0;
}

.ov-area-service-item p {
  font-size: 1rem;
  color: var(--ov-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Area Projects - Full Width */
.ov-area-projects {
  margin-bottom: 80px;
}

.ov-area-projects h2 {
  font-family: var(--mt-hff);
  font-size: 2.25rem;
  color: var(--ov-white);
  margin: 0 0 10px 0;
  text-align: center;
}

.ov-area-projects-placeholder {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  padding: 80px 30px;
  text-align: center;
  margin-top: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-area-projects-placeholder p {
  color: var(--ov-text-muted);
  font-size: 1.1rem;
  margin: 0 0 25px 0;
}

/* Location Projects Grid - Views Block */
.ov-location-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.ov-location-projects-grid .view-content {
  display: contents;
}

.ov-location-projects-grid .views-row {
  display: block;
}

/* No results from Views */
.ov-location-projects-grid .view-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-location-projects-grid .view-empty p {
  color: var(--ov-text-muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Area Trust Cards - Full Width Grid */
.ov-area-trust {
  margin-bottom: 0;
}

.ov-area-trust h2 {
  font-family: var(--mt-hff);
  font-size: 2.25rem;
  color: var(--ov-white);
  margin: 0 0 50px 0;
  text-align: center;
}

.ov-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.ov-trust-card {
  background: var(--ov-charcoal-dark);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.ov-trust-card:hover {
  border-color: rgba(112, 190, 67, 0.3);
  transform: translateY(-5px);
}

.ov-trust-card svg {
  color: var(--ov-green);
  margin-bottom: 20px;
}

.ov-trust-card h3 {
  font-size: 1.2rem;
  color: var(--ov-white);
  margin: 0 0 12px 0;
}

.ov-trust-card p {
  font-size: 0.95rem;
  color: var(--ov-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Section subtitle styling */
.ov-section-subtitle {
  font-size: 1.1rem;
  color: var(--ov-text-muted);
  text-align: center;
  margin: 0 0 50px 0;
}

/* Area page mobile */
@media (max-width: 1200px) {
  .ov-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ov-location-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ov-area-hero {
    min-height: 350px;
  }
  
  .ov-area-hero-content {
    padding: 50px 0;
  }
  
  .ov-area-hero-content .container {
    padding: 0 20px;
  }
  
  .ov-area-content {
    padding: 50px 0;
  }
  
  .ov-area-content .container {
    padding: 0 20px;
  }
  
  .ov-area-services,
  .ov-area-projects,
  .ov-area-trust {
    margin-bottom: 50px;
  }
  
  .ov-area-services h2,
  .ov-area-projects h2,
  .ov-area-trust h2 {
    font-size: 1.75rem;
  }
  
  .ov-area-services-grid {
    grid-template-columns: 1fr;
  }
  
  .ov-trust-grid {
    grid-template-columns: 1fr;
  }
  
  .ov-location-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ov-area-projects-placeholder {
    padding: 50px 20px;
  }
}


/* ============================================
   SERVICE AREAS LISTING PAGE (/areas)
   ============================================ */

/* Full width for areas page - target the view and its parents */
body.path-areas,
body[class*="path-areas"] {
  overflow-x: hidden;
}

body.path-areas .main-content__container > .row > section.col-xl-8,
body.path-areas .main-content__container > .row > section[class*="col-"],
body[class*="path-areas"] .main-content__container > .row > section {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.path-areas .main-content__container > .row > section.ms-xl-auto,
body.path-areas .main-content__container > .row > section.me-xl-auto {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.path-areas .main-content__container,
body.path-areas .main-content__container > .row,
body[class*="path-areas"] .main-content__container,
body[class*="path-areas"] .main-content__container > .row {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.path-areas .region-content,
body[class*="path-areas"] .region-content {
  max-width: 100% !important;
}

/* Force full width background on the view */
.view-service-areas {
  background: var(--ov-charcoal);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Also set background on body for areas page */
body.path-areas,
body[class*="path-areas"] {
  background: var(--ov-charcoal) !important;
}

body.path-areas main,
body[class*="path-areas"] main,
body.path-areas .main-content,
body[class*="path-areas"] .main-content {
  background: var(--ov-charcoal) !important;
}

.ov-areas-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 30px;
}

.ov-areas-intro h1 {
  font-family: var(--mt-hff);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ov-white);
  margin: 0 0 20px;
}

.ov-areas-intro .lead,
.ov-areas-intro p {
  font-size: 1.15rem;
  color: var(--ov-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Areas Grid */
.view-service-areas .view-content .ov-areas-grid,
.ov-areas-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 30px !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Area Card */
.view-service-areas .ov-area-card,
.ov-areas-grid .ov-area-card,
.ov-area-card {
  background: var(--ov-charcoal-dark) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
}

.ov-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ov-area-card .ov-area-card-image,
.ov-area-card-image {
  position: relative;
  overflow: hidden;
}

.ov-area-card .ov-area-card-image img,
.ov-area-card-image img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.5s ease;
}

.ov-area-card:hover .ov-area-card-image img {
  transform: scale(1.05);
}

.ov-area-card-image a {
  display: block;
}

.ov-area-card .ov-area-card-content,
.ov-area-card-content {
  padding: 25px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ov-area-card .ov-area-card-title,
.ov-area-card-title {
  margin: 0 0 10px !important;
}

.ov-area-card .ov-area-card-title a,
.ov-area-card-title a {
  font-family: var(--mt-hff);
  font-size: 1.5rem !important;
  color: var(--ov-white) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.ov-area-card .ov-area-card-title a:hover,
.ov-area-card-title a:hover {
  color: var(--ov-green) !important;
}

.ov-area-card .ov-area-card-postcodes,
.ov-area-card-postcodes {
  font-size: 0.9rem !important;
  color: var(--ov-green) !important;
  margin-bottom: 15px !important;
  font-weight: 600 !important;
}

.ov-area-card .ov-area-card-description,
.ov-area-card-description {
  font-size: 0.95rem;
  color: var(--ov-text-muted);
  line-height: 1.6;
  flex: 1;
}

.ov-area-card-description p {
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .view-service-areas .view-content .ov-areas-grid,
  .ov-areas-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
}

@media (max-width: 767px) {
  .view-service-areas .view-content .ov-areas-grid,
  .ov-areas-grid {
    grid-template-columns: 1fr !important;
    padding: 0 20px;
  }
  
  .ov-areas-intro {
    padding: 0 20px;
    margin-bottom: 40px;
  }
}
