/*@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');*/


/* old green #0a5f72
old blue: #86D3E5 
old hover: #8DBAD0*/

/* ===== Brand palette ===== */

/* Global brand colour override */
:root{
  /* Primary */
  --bs-primary: #142B59;
  --bs-primary-rgb: 20, 43, 89;

  /* Optional: link colour to match */
  --bs-link-color: #142B59;
  --bs-link-hover-color: #0f2247; /* a touch darker */
}

/* Buttons use their own CSS vars, so set those too */
.btn-primary{
  --bs-btn-color: #fff;
  --bs-btn-bg: #142B59;
  --bs-btn-border-color: #142B59;
  --bs-btn-hover-bg: #0f2247;
  --bs-btn-hover-border-color: #0f2247;
  --bs-btn-active-bg: #0c1c3b;
  --bs-btn-active-border-color: #0c1c3b;
  --bs-btn-disabled-bg: #142B59;
  --bs-btn-disabled-border-color: #142B59;
}

.btn-outline-primary{
  --bs-btn-color: #142B59;
  --bs-btn-border-color: #142B59;
  --bs-btn-hover-bg: #142B59;
  --bs-btn-hover-border-color: #142B59;
  --bs-btn-active-bg: #0f2247;
  --bs-btn-active-border-color: #0f2247;
}

/* (Optional) tweak badges, pagination, etc., if you want tighter control */
.pagination .page-link{
  --bs-pagination-color: #142B59;
  --bs-pagination-border-color: #142B59;
  --bs-pagination-hover-color: #0f2247;
  --bs-pagination-hover-border-color: #0f2247;
}

:root{
  /* you already have these, included here for completeness */
  --bs-primary:        #142B59;  /* brand navy */
  --bs-primary-rgb:    20,43,89;
  --bs-link-color:     var(--bs-primary);
  --bs-link-hover-color:#0f2247;

  /* helpful extras */
  --bs-secondary:      #BF9075;  /* sand/tan accent */
  --bs-secondary-rgb:  191,144,117;

  /* ✅ your new choices */
  --bs-success:        #2AA198;  /* teal (replaces green) */
  --bs-success-rgb:    42,161,152;

  --bs-info:           #738CBF;  /* soft info blue */
  --bs-info-rgb:       115,140,191;

  --bs-danger:         #812828;  /* bright red */
  --bs-danger-rgb:     214,69,69;

  /* optional */
  --bs-dark:           #0B1C3B;
  --bs-dark-rgb:       11,28,59;
}

/* ===== Buttons (primary is already done) ===== */
.btn-success{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-success);
  --bs-btn-border-color:  var(--bs-success);
  --bs-btn-hover-bg:      #1F7D75;   /* deep teal */
  --bs-btn-hover-border-color:#1F7D75;
  --bs-btn-active-bg:     #1b6d66;
  --bs-btn-active-border-color:#1b6d66;
}
.btn-outline-success{
  --bs-btn-color:         var(--bs-success);
  --bs-btn-border-color:  var(--bs-success);
  --bs-btn-hover-bg:      var(--bs-success);
  --bs-btn-hover-border-color: var(--bs-success);
  --bs-btn-hover-color:#fff;
}

.btn-danger{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-danger);
  --bs-btn-border-color:  var(--bs-danger);
  --bs-btn-hover-bg:      #8B2635;   /* maroon hover */
  --bs-btn-hover-border-color:#8B2635;
  --bs-btn-active-bg:     #721d2a;
  --bs-btn-active-border-color:#721d2a;
}
.btn-outline-danger{
  --bs-btn-color:         var(--bs-danger);
  --bs-btn-border-color:  var(--bs-danger);
  --bs-btn-hover-bg:      var(--bs-danger);
  --bs-btn-hover-border-color: var(--bs-danger);
  --bs-btn-hover-color:#fff;
}

.btn-info{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-info);
  --bs-btn-border-color:  var(--bs-info);
  --bs-btn-hover-bg:      #5f77ad;
  --bs-btn-hover-border-color:#5f77ad;
}
.btn-outline-info{
  --bs-btn-color:         var(--bs-info);
  --bs-btn-border-color:  var(--bs-info);
  --bs-btn-hover-bg:      var(--bs-info);
  --bs-btn-hover-border-color: var(--bs-info);
  --bs-btn-hover-color:#fff;
}

/* ===== Alerts: subtle backgrounds that match your palette ===== */
.alert-success{ color:#0f4f49; background-color:#e6f4f3; border-color:#cde9e7; }
.alert-danger { color:#641822; background-color:#fde9ea; border-color:#f6c9ce; }
.alert-info   { color:#24365e; background-color:#eef2fb; border-color:#dfe6f8; }

/* ===== Badges (optional but keeps things consistent) ===== */
.badge.bg-success{ background-color:var(--bs-success)!important; }
.badge.bg-danger { background-color:var(--bs-danger)!important; }
.badge.bg-info   { background-color:var(--bs-info)!important; color:#fff; }

/* ===== Form accents (switches, checks) pick up teal ===== */
.form-check-input:checked{
  background-color:var(--bs-success);
  border-color:var(--bs-success);
}

/* ===== Navbar active state (from earlier ask) ===== */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"]{
  color:#BF9075 !important;   /* sand accent when current */
}



/* ELEMENTS */
html, body {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  background-color: white;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* .div {
outline: 2px solid red;
} */

/* .section {
outline: 2px solid red;
} */

.img-fluid {
  max-height: 400px;
  max-width: 400px;
  object-fit: cover;
}

.sil-text{
  padding-top: 30px;
}


/* Reusable elevation utilities (brand-tinted shadows) */
.elevate-1 { /* subtle */
  box-shadow: 0 6px 18px rgba(20,43,89,.06);
}

.elevate-2 { /* like your login screenshot */
  box-shadow:
    0 18px 48px rgba(20,43,89,.12),
    0 3px 10px  rgba(20,43,89,.06);
}

.elevate-3 { /* extra deep, rarely needed */
  box-shadow:
    0 28px 80px rgba(20,43,89,.16),
    0 6px 16px  rgba(20,43,89,.08);
}

/* When the card is focused, keep your ring AND the elevation */
.elevate-2:focus-within {
  box-shadow:
    0 18px 48px rgba(20,43,89,.12),
    0 3px 10px  rgba(20,43,89,.06),
    0 0 0 3px rgba(134,211,229,.22); /* your focus ring */
}

.h1{
  /* text-align: left; */
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  letter-spacing: .2px;
  /* responsive but not gigantic */
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.6rem);
  color: #142B59;
}
.h2{
  /* text-align: left; */
  font-size: clamp(1.15rem, 1.2vw + .9rem, 1.6rem);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  color: #2a4278;
}

/* Tagline on white background */
.white-bg h2 {
  color: #142B59; /* clean, bold against white */
}


/* NAVBAR */

.brand-title {
  font-family: 'Russo One', sans-serif;
  color: #BF9075; /* your brand navy */
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar {
  background-color: #142B59; /* your brand navy */
}

.navbar-brand {
  font-family: 'Russo One', sans-serif;
  color: #BF9075;
}

.navbar-nav .nav-link {
  color: white;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #86D3E5; /* your brand light blue */
}

/* Put these after Bootstrap */
.navbar .navbar-brand.brand {
  display: inline-block;   /* shrink-wrap to the text */
  line-height: 1.1;
}

.navbar .navbar-brand.brand .brand-title {
  display: block;          /* forces title on its own line */
}

.navbar .navbar-brand.brand .brand-tagline {
  display: block;          /* forces tagline on its own line */
  text-align: right;       /* right-align under the title */
  margin-top: 2px;         /* tiny gap */
  font-size: 0.875rem;     /* optional sizing */
}



/* Base colours */
.navbar .navbar-brand.brand .brand-title {
  color: #BF9075;           /* title */
  transition: color .2s ease;
}
.navbar .navbar-brand.brand .brand-tagline {
  color: #86D3E5;           /* tagline */
  display: block;
  text-align: right;
  margin-top: 2px;
  font-size: 0.875rem;
  transition: color .2s ease;
}

/* Stop Bootstrap/link states from overriding child span colours */
.navbar .navbar-brand.brand,
.navbar .navbar-brand.brand:link,
.navbar .navbar-brand.brand:visited,
.navbar .navbar-brand.brand:hover,
.navbar .navbar-brand.brand:focus {
  color: inherit !important;
  text-decoration: none;
}

/* On hover/focus, make both lines white */
.navbar .navbar-brand.brand:hover .brand-title,
.navbar .navbar-brand.brand:hover .brand-tagline,
.navbar .navbar-brand.brand:focus .brand-title,
.navbar .navbar-brand.brand:focus .brand-tagline {
  color: #ffffff !important;
}


/* HAMBURGER MENU ICON */
/* make hamburger lines white */
.navbar .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* (optional) lighten the toggler outline */
.navbar .navbar-toggler{ border-color:rgba(255,255,255,.25); }

/* --- Responsive toggler sizing & colour --- */

/* Base look */
.navbar .navbar-toggler{
  padding: .25rem .5rem;
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
}

/* Icon colour = white (works even if you don't use .navbar-dark) */
.navbar .navbar-toggler-icon{
  /* scale the glyph with viewport: min 1rem, fluid, max 1.35rem */
  width:  clamp(1.00rem, 3.5vw, 1.35rem);
  height: clamp(1.00rem, 3.5vw, 1.35rem);
  background-size: 100% 100%;
  /* inline SVG so we control the stroke colour */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* Paragraphs */
p {
  font-family: 'Roboto', sans-serif;
  color: #142B59;
  font-size: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: #142B59;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #142B59;         /* Dark blue on hover */
  text-decoration: underline;
}

/* ------------------------- FOOTER ---------------------------------------*/

.footer-section {
  background-color: #142B59;
}

.footer-link {
  color: #BF9075; /* match your warm accent */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #738CBF; /* soft hover blue */
  text-decoration: underline;
}

.footer-section i {
  margin-right: 8px;
  font-size: 1.1rem;
}


/* Make footer icons bigger */
.footer-icon i {
  font-size: 28px;        /* try 24–36px to taste */
  line-height: 1;         /* keeps them tidy vertically */
  vertical-align: middle; 
}

/* Optional: make the click target bigger too */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;            /* nicer touch target */
  height: 30px;
  text-decoration: none;  /* keep the underscore away */
}

/* Optional: subtle hover pop */
.footer-icon:hover i {
  transform: scale(1.07);
}

.footer .footer-icon{
  font-size: 1.25rem;
  line-height: 1;
  color: #1e52a7;             /* matches your brand blue accents */
  transition: transform .15s ease, color .15s ease;
}
.footer .footer-icon:hover{ color:#0d3f8a; transform: translateY(-1px); }

.footer .footer-link{
  color: #1e52a7;
  text-decoration: none;
}
.footer .footer-link:hover{ text-decoration: underline; }



ul {
  list-style-position: inside;
  list-style-type: square;
  margin: 1rem;
  padding: 0rem;
}

#calendar {
  min-height: 600px;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}

.grecaptcha-badge { right: 12px !important; bottom: 12px !important; }


/* BLOG */
.ck-content figure.media.embed-narrow  { max-width: 480px; }
.ck-content figure.media.embed-medium  { max-width: 680px; }
.ck-content figure.media.embed-wide    { max-width: 900px; }
.ck-content figure.media,

.ck-content figure.media,
.ck-content .ck-media__wrapper,
.ck-content iframe {
  max-width: 680px;   /* choose 480/640/720/etc */
  margin: 1rem auto;
  display: block;
}
.ck-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 10px; /* optional */
}


/* SIDE BAR */

/* === DESKTOP SIDEBAR === */
#wrapper {
  display: flex;
  transition: all 0.3s ease-in-out;
}

#sidebar-wrapper {
  width: 250px;
  min-height: 100vh;
    /*overflow-y: auto;*/
  background-color: #212529;
  color: white;
  transition: transform 0.3s ease-in-out;
  transform: translateX(0); /* Visible by default */
}

#wrapper.toggled #sidebar-wrapper {
  transform: translateX(-100%); /* Slide out when toggled */
}

#page-content-wrapper {
  flex: 1;
  transition: margin-left 0.3s ease-in-out;
}

#wrapper.toggled #page-content-wrapper {
  margin-left: 0;
}

/* Make the icon transformable and animate it */
.sidebar-toggle .bi{
  display:inline-block;         /* <-- critical */
  transition:transform .2s ease;
  will-change:transform;
}

/* If the button sits INSIDE #sidebar-wrapper, this will work */
#sidebar-wrapper.minimized .sidebar-toggle .bi{
  transform:rotate(180deg);
}

/* Extra path: if the button is OUTSIDE the sidebar, we'll toggle this class in JS */
.sidebar-toggle.rotated .bi{
  transform:rotate(180deg);
}

#sidebar-wrapper.minimized {
  width: 60px;
  overflow-x: hidden;
}

#sidebar-wrapper.minimized .list-group-item {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  justify-content: center;
  text-align: center;
}

#sidebar-wrapper.minimized .list-group-item span {
  display: none;
}

#sidebar-wrapper.minimized .form-label,
#sidebar-wrapper.minimized select,
#sidebar-wrapper.minimized #timezone-filter {
  display: none;
}

.sidebar-disabled {
    opacity: .55;
    pointer-events: none;   /* no clicks */
}



 /* Autocomplete for bootstrap modal */
.pac-container {
    z-index: 1051 !important;  /* Bootstrap modal is z-index 1050 */
}

#timezone {
  display: block !important;
}

/* CALENDAR BOOKING STYLES BASED ON BOOKING STATUS AND PAYMENT STATUS */

.fc-event:hover {
  filter: brightness(70%);
}

/* BUSINESS PERSONAL NAVIGATION */
.btn-sm.rounded-pill {
  font-weight: bold;
}


/* BACK BUTTON */
.back-btn-container {
    position: absolute;
    top: 80px;
    right: 10px;
    z-index: 1000;
}

.back-btn-container .btn {
    padding: 5px 10px;
}


/*-------------------------------------------------------------------------*/

/*BANNER STYLES */

.my-banner .page-title {
  color: #fff !important;
  font-family: 'Didact Gothic', sans-serif;
  /*text-transform: uppercase;*/
  letter-spacing: 0.5px;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .3px;
  margin: .1rem 0 0;
  padding-bottom: .5rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.18);
  display: inline-block;
  position: relative;            /* <-- needed for the full-width underline */
}

.my-banner .page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;                   /* <-- spans the whole title */
  height: 4px;
  background: #86D3E5;
  border-radius: 2px;
}

.my-banner #greeting {
  color: #6c757d;                 /* visible on the navy banner */
  margin: 0 0 .25rem;
  text-align: left;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.0rem);
  line-height: 1.15;
}


.my-banner {
  width: 97%;
  margin-left: 0;
  background-color: #142B59;
  color: white;
  padding: 4rem 2rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.my-banner h1,
.my-banner h2,
.my-banner h3,
.my-banner h4,                  
.my-banner h5 {
  text-align: left;
}

/* Greeting fade-out */
#greeting {
  transition: opacity .4s ease, transform .4s ease;
  will-change: opacity, transform;
}
#greeting.greeting--hide {
  opacity: 0;
  transform: translateY(-6px);
}

/* Optional: small tagline under greeting */
#business-tagline {
  font-size: .9rem;
  color: #6c757d;
  margin-top: .25rem;
}



/* Underline pseudo-element (hidden by default) */
.my-banner .page-title {
  position: relative;
}

.my-banner .page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: #86D3E5;
  border-radius: 2px;
  transform: scaleX(0);           /* start collapsed */
  transform-origin: left;
  opacity: 0;                     /* hidden until animating */
}

/* When this class is present, run the draw + fade animation */
.my-banner .page-title.is-animating::after {
  opacity: 1;
  animation: underline-draw 5s ease-out forwards;
}

/* 0–20% draw line, 20–80% hold, 80–100% fade out */
@keyframes underline-draw {
  0%   { transform: scaleX(0); opacity: 1; }
  20%  { transform: scaleX(1); opacity: 1; }
  80%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Respect reduced motion preferences: show a static line briefly */
@media (prefers-reduced-motion: reduce) {
  .my-banner .page-title.is-animating::after {
    animation: none;
    transform: scaleX(1);
    opacity: 1;
  }
}




/*-------------------------------------------------------------------------*/
/* PAYMENT STYLES LABELS*/

.payment-status {
  padding: 0.4em 0.75em;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  display: inline-block;
}

/* Colour per status */
.payment-status.not-paid {
  background-color: #ffc107; /* Bootstrap warning */
  color: #212529;
}

.payment-status.paid {
  background-color: #198754; /* Bootstrap success */
  color: white;
}

.payment-status.overdue {
  background-color: #dc3545; /* Bootstrap danger */
  color: white;
}

.payment-status.refund {
  background-color: #6c757d; /* Bootstrap secondary */
  color: white;
}

.payment-status.write-off {
  background-color: #343a40; /* Bootstrap dark */
  color: white;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  max-height: 70vh;
}

  /* Optional image preview in dropdown */
  .staff-option {
    display: flex;
    align-items: center;
  }

  .staff-option img {
    border-radius: 50%;
    margin-right: 10px;
    width: 28px;
    height: 28px;
    object-fit: cover;
  }

.flatpickr-day.flatpickr-disabled.flatpickr-past-date {
  color: #ccc !important;
  background: #f9f9f9 !important;
  cursor: not-allowed;
}


#staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.staff-card {
  flex: 0 0 150px; /* ← minimum width */
  max-width: 150px;
}


.past-date {
  background-color: #f8f9fa;
  color: #999;
}


.staff-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}


/* Start booking date button */

.date-button {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.date-button.selected {
    background: #0056b3;
    font-weight: bold;
}

.date-button.unavailable {
    background: #ccc;
    cursor: not-allowed;
    color: #666;
}

/* End booking date button */

/* General Blog Section Styling */
.blog-section {
    padding: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;  /* ✅ Ensures everything inside is centered */
}

/* White Section: Centering Text */
.section-white {
    background-color: #ffffff;
}

/* Grey Section: Standard Layout */
.section-grey {
    background-color: #f8f8f8;
}

/* Blog Content Wrapper */
.blog-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Image Left, Text Right */
.blog-content img {
    width: 40%;
    max-width: 300px;
    border-radius: 8px;
}

/* Ensure all sections follow image-left, text-right */
.section-white .blog-content,
.section-grey .blog-content {
    flex-direction: row; /* Ensures image is on the left, text is on the right */
    text-align: left; /* Align text properly */
}

/* Ensure text container fills space */
.blog-content .text {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Centers text vertically */
    width: 55%;
}

/* Ensure heading is on top */
.text h2 {
    margin-bottom: 10px;
    order: -1; /* Moves heading above the text */
}

/* Center the first section */
.intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.intro-section .text {
    max-width: 700px;
    font-size: 1.2em;
}


.icon-white {
  color: white;
}



/* CLASS */
.form-check-padding {
  padding-top: 1rem;
}
.form-button-padding {
  margin-top: 1rem;
}
.ndis-list {
  list-style-position: outside;
}

.section-h2 {
  color: #FFFFFF;
}
.section-h3 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  background-color: #FFFFFF;
}


/* Container section */
.container-fluid {
  padding: 4% 4% 5%;
  flex: 1;
}
#services .container-fluid {
  padding: 4% 2% 1%;
}
.ndis-container-fluid {
  padding: 2% 12%;
}
.next-step {
  padding: 2rem 0rem;
}
#title .container-fluid {
  padding: 2% 14%;
}



.banner-section {
  background-color: #142B59;
  background-image: url('https://troubleshootit.sirv.com/hero/hero.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 400px; /* adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.banner-content h1,
.banner-content h2 {
  margin: 0;
  line-height: 1.2;
}


/* Sections */
.section-heading {
  line-height: 1.5;
  font-size: 3rem;
}
.coloured-section {
  background-color: #0a5f72;
}
.coloured-section h3, 
.coloured-section p, 
.coloured-section li {
  color: white;
}

.white-section {
  background-color: #FFFFFF;
}
.off-white-section {
  background-color: #F7F9F9;
}
/* BLOG SECTION */

/* Blog Font */
.blog-container h1 {
  font-size: 2.5rem;
  color: #643c2d;
  /*font-weight: 700;*/
  /*text-align: left;*/
  /*margin-bottom: 1.5rem;*/
}

.blog-container {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.blog-container h1,
.blog-container h2,
.blog-container h3 {
  color: #643c2d; /* match your heading style */
}


.blog-container p{
  color: #333c4d; /* match your heading style */
  font-size: 1.2rem;
}

.blog-section {
  padding: 2rem 0;
}

.blog-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.text {
  line-height: 1.7;
  color: #444;
}

.intro-section .text {
  font-style: italic;
  color: #555;
}

section.bg-light {
  background-color: #f8f9fa;
}

.blog-section{
  /*background-color: black;*/
  padding: 40px 0;
}


.blog-container h1 {
  font-size: 4rem; /* Adjust this to your desired size */

}

/* BLOG CARDS */

/* Blog Card Styling */
.blog-card {
  max-width: 250px;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin: auto;
}

.blog-card-img {
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a5f72;
}

/* 🧩 Space between rows */
.row.g-4 {
  margin-bottom: 2rem;
}

/* 🧍‍♀️ Center section headers */
h3.text-center, h5 {
  text-align: center;
}

.text-left {
  text-align: left;
}
/* Optional: add spacing below each card */
.blog-card .card-body {
  padding-bottom: 1rem;
}
/*BUTTONS*/

.standard-btn {
  background-color: #142B59;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.4s ease-in-out;
  text-align: center;
  white-space: nowrap;
}


.standard-btn:hover {
  background-color: #ccc;
  color: #142B59;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #142B59;
  box-shadow: 0 0 10px rgba(115, 140, 191, 0.5);
}


#booking-form label {
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

#booking-form input[type="text"],
#booking-form input[type="date"],
#booking-form .form-control {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Staff and date buttons */
#staff-list .staff-member {
  margin-bottom: 15px;
}


/* Default state for all buttons */
.date-button,
.time-button,
.date-btn,
.time-btn {
  background-color: #E0E0E0;
  color: #142B59;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
  margin: 4px;
}

/* Hover state */
.date-button:hover,
.time-button:hover,
.date-btn:hover,
.time-btn:hover {
  background-color: #142B59;
  color: #FFFFFF;
  cursor: pointer;
}

/* Selected state */
.date-button.selected,
.time-button.selected,
.date-btn.selected,
.time-btn.selected,
.date-btn.active,
.time-btn.active {
  background-color: #142B59 !important;
  color: #FFFFFF !important;
}


.cancel-btn {
  background-color: #C0392B; /* Rich red */
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.cancel-btn:hover {
  background-color: #922B21;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.4);
  cursor: pointer;
}


.status-badge {
  font-size: 0.85rem;
  padding: 0.4em 0.8em;
  border-radius: 50px;
  font-weight: 600;
}

.status-pending {
  background-color: #f0ad4e; /* Bootstrap warning */
}

.status-confirmed {
  background-color: #0d6efd; /* Bootstrap primary */
}

.status-completed {
  background-color: #198754; /* Bootstrap success */
}

.status-cancelled {
  background-color: #dc3545; /* Bootstrap danger */
}

.status-no-show {
  background-color: #6c757d; /* Bootstrap secondary/dark */
}


.payment-badge {
  font-size: 0.85rem;
  padding: 0.4em 0.8em;
  border-radius: 50px;
  font-weight: 600;
}
.payment-not-paid {
  background-color: #dc3545; /* red = danger */
}

.payment-paid {
  background-color: #198754; /* green = success */
}

.payment-pending {
  background-color: #f0ad4e; /* orange = warning */
}

.payment-refunded {
  background-color: #6c757d; /* grey = secondary */
}


/*MY BOOKING FILTER*/

.filter-active {
  background-color: #142B59;
  color: #FFFFFF;
  border: 1px solid #142B59;
  font-weight: 500;
}

.filter-inactive {
  background-color: transparent;
  color: #142B59;
  border: 1px solid #142B59;
  font-weight: 400;
}

.filter-inactive:hover {
  background-color: #142B59;
  color: #FFFFFF;
}


/*MY BOOKING GRID*/

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.booking-card {
  width: 100%;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.booking-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
  padding: 20px 0;
}

.service-card {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.service-card:hover {
  transform: scale(1.02);
}


.Sirv {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  object-fit: cover; /* Ensure the image covers the entire area */
}

.tile-hover {
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease;
}

.tile-hover:hover {
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Watermark - service agreement */

.watermark {
  position: fixed;
  top: 35%;
  left: 35%;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.1);
  transform: rotate(-30deg);
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  font-weight: bold;
}

.watermark.approved {
  color: rgba(0, 128, 0, 0.15); /* green tint */
}


.page-break {
  page-break-before: always;
}



/* --- Print Styles --- */

@media print {
  .no-print {
    display: none !important;
  }
}

/* Service Agreement view */
/* --- Scoped styles for service_agreement_details only --- */
.agreement-pdf p,
.agreement-pdf div,
.agreement-pdf td,
.agreement-pdf li {
  text-align: justify !important;
  text-justify: inter-word;
}

.agreement-pdf h1,
.agreement-pdf h2,
.agreement-pdf h3,
.agreement-pdf h4,
.agreement-pdf h5,
.agreement-pdf h6,
.agreement-pdf strong,
.agreement-pdf b {
  text-align: left !important;
}

.agreement-pdf th {
  text-align: center !important;
}

.agreement-pdf td {
  text-align: justify !important;
  text-justify: inter-word;
}


/* ------------------------------------ CHARTS -------------------------------- */
.chart-box{ height:320px; }
.chart-box--square{ width:320px; height:320px; }


/* ------------------------------------ TABLES -------------------------------- */
/* Smooth horizontal scroll on mobile */
.table-responsive{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges; /* keeps layout from jumping */
}

/* Keep controls compact; allow text to wrap sensibly */
.table td { word-break: break-word; }
.table .btn, .table .badge { white-space: nowrap; }


/* ---------- Responsive brand sizing (append at end) ---------- */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #greeting {
    transition: none;
  }
}

@media (min-width: 992px){
  .navbar .navbar-nav .nav-link.active{
    background: transparent;
    color: #86D3E5;
  }
}

@media (max-width: 991.98px){  
  
    /* White sheet under the navy bar */
  .navbar .navbar-collapse{
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    margin-top: .5rem;
    padding: .25rem .5rem;
    box-shadow: 0 8px 24px rgba(20,43,89,.10);
  }

  /* Dropdown menu matches the sheet and sits close to trigger */
  .navbar .dropdown-menu{
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(20,43,89,.10);
    margin-top: .2rem;
  }

  /* Make the user dropdown trigger look like a row */
  .navbar .dropdown > .nav-link{
    display: block;
    width: 100%;
    background: #eef2fb;       /* selected-row look */
    border-radius: 10px;
    padding: .75rem 1rem;
    color: #142B59;
  }

  /* Left-aligned, full-width tappable rows */
  .navbar .navbar-nav .nav-link{
    color: #142B59;
    text-align: left;
    padding: .78rem 1rem;      /* ~46px tap target */
    border-radius: 10px;
  }

  /* Hover/active rows */
  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active,
  .navbar .navbar-nav .nav-link[aria-current="page"]{
    background: #eef2fb;       /* light blue */
    color: #142B59;
    text-decoration: none;
  }

  /* Dropdown items match the rows */
  .navbar .dropdown-item{
    padding: .78rem 1rem;
    border-radius: 10px;
    color: #142B59;
  }
  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus,
  .navbar .dropdown-item.active{
    background: #eef2fb;
    color: #142B59;
  }
  .navbar .dropdown-item.text-danger{ color: #dc3545; }
  .navbar .dropdown-item.text-danger:hover{ background: #fff3f3; }

  /* Accessible focus ring */
  .navbar a.nav-link:focus-visible,
  .navbar .dropdown-item:focus-visible{
    outline: 2px solid #86D3E5;
    outline-offset: 2px;
  }
  
  .chart-box{ 
    height:240px; 
  }
  .chart-box--square{ 
    width:240px; height:240px; 
  }
}


/* ===== Desktop layout (fix minimized width) ===== */
@media (min-width: 769px){
  #wrapper{ display:flex; }

  #sidebar-wrapper{
    position: relative;
    width: 260px;
    flex: 0 0 260px;             /* normal width allocation */
    transition: width .2s ease;
  }

  /* When minimized, shrink BOTH width and flex-basis */
  #sidebar-wrapper.minimized{
    width: 56px;                 /* or 60px – just be consistent */
    flex-basis: 56px;            /* <-- key line that removes the gap */
    overflow-x: hidden;
  }

  #page-content-wrapper{
    flex: 1 1 auto;
    margin-left: 0 !important;   /* ensure no old margin-left */
  }

  /* (optional) hide labels when minimized */
  #sidebar-wrapper.minimized .list-group-item span{ 
    display:none; 
  }
}



@media (max-width: 768px){
  :root { --footer-safe: 64px; }        /* your footer/icon bar height */
  /* Lift the badge above the footer and nudge in from the edge */
  .grecaptcha-badge{
    right: 12px !important;             /* or set left:12px; right:auto; if left is better */
    bottom: calc(var(--footer-safe) + 12px) !important;
    transform: scale(.9);                /* optional: shrink a touch */
    transform-origin: right bottom;
  }
  /* Give the content some breathing room so nothing sits under the badge */
  #page-content-wrapper, main, body {    /* use whichever wrapper holds your page content */
    padding-bottom: calc(var(--footer-safe) + 80px);
  }

  .navbar .brand-title   {
    font-size: 1.6rem; letter-spacing: 0.3px; 
  }
  .navbar .brand-tagline {
    font-size: 0.78rem; 
  }

  .page-title {
    font-size: 1.5rem; 
  } 

}

/* Smaller on phones */
@media (max-width: 576px){

  .navbar .navbar-toggler{ 
    padding: .2rem .4rem; 
  }

  /* Accessible focus ring that suits your navy */
  .navbar .navbar-toggler:focus{
    box-shadow: 0 0 0 .15rem rgba(255,255,255,.25);
  }

  .navbar .navbar-brand.brand{
  max-width: 70%;
  white-space: normal;
  }

  .navbar .brand-title   { 
    font-size: 1.25rem; letter-spacing: 0.2px; line-height: 1.05; 
  }
  .navbar .brand-tagline { 
    font-size: 0.70rem; margin-top: 1px; 
  }
  .card-body { 
    padding-bottom: 40px; /* space so the badge doesn’t cover last controls */
  } 

  .table td, .table th { padding: .4rem .5rem; }
}


/* Extra-small: hide the tagline if space is tight */
@media (max-width: 360px){
  .navbar .brand-tagline { display: none; }
}

/* Keep badge above other UI */
.grecaptcha-badge { z-index: 500; }

/* ----- Mobile layout fixes ----- */
/* Height of your bottom icon footer (tweak if needed) */




/* Ultra-small phones: shrink a bit more */
@media (max-width: 380px){
  .grecaptcha-badge{
    transform: scale(.65);
  }
}


/* Staff picker cards */
.staff-card-label { cursor: pointer; }

.staff-card {
  border: 2px solid transparent;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease-in-out;
}
.staff-card:hover {
  border-color: rgba(20,43,89,.25); /* subtle brand navy */
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.06);
}
.staff-radio:checked + .staff-card {
  border-color: #0d6efd;            /* Bootstrap primary */
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/* Tiny typography helpers */
.xsmall { font-size: .75rem; }

/* Keep names from blowing out the card */
.staff-card .text-truncate { max-width: 100%; }



/* Some template packs accidentally put .form-control on wrappers as well as inputs.
   This strips borders ONLY from non-input/select/textarea elements carrying .form-control. */
.booking-form .form-control:where(:not(input):not(select):not(textarea)) {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Keep a clean single border on the actual controls */
.booking-form input.form-control,
.booking-form select.form-select,
.booking-form textarea.form-control {
  box-shadow: none;
}

/* Optional: make each field block look clean */
.booking-form .mb-3,
.booking-form .form-group {
  background: transparent;
  border: 0;
  box-shadow: none;
}


/* Collapsible notes styling */
.notes-summary{
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--bs-primary);
}
.notes-summary::marker{ content: ""; } /* hide default marker (Firefox/Chromium) */
.notes-summary::after{
  content: "▾";
  transition: transform .2s ease;
  font-size: .9em;
}
.notes-details[open] .notes-summary::after{
  transform: rotate(180deg);
}

/* Optional: hide the label inside the panel if you prefer a cleaner look */
.notes-details .form-label{
  display: none;
}


/* Staff cards: centered, inline, with a selectable border */
.staff-card-label {
  cursor: pointer;
  display: inline-block;
}

.staff-card {
  width: 180px;                     /* nice compact width */
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}

.staff-card:hover {
  border-color: var(--bs-primary);
}

.staff-radio:focus + .staff-card {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb, 13,110,253), .2);
}

.staff-radio:checked + .staff-card {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb, 13,110,253), .15);
}

/* Avatar container (optional tweak) */
.staff-avatar { width: 56px; height: 56px; }

/* Tiny helper so the two-line text looks balanced */
.xsmall { font-size: .75rem; }

/* Make disabled options read as unavailable */
#id_time_slot option:disabled {
  color: var(--bs-secondary-color, #6c757d);
}


/* Card phases */
.card-await-quote { 
  background: #f0f7ff; 
  border-left: 4px solid #0d6efd;
}
.card-quote-sent { 
  background: #fff8e6; 
  border-left: 4px solid #f59f00; /* amber */
}
.card-sub-active { 
  background: #eefcf2; 
  border-left: 4px solid #17a34a; /* green */
}
.card-past { 
  opacity: .85;
}

/* Tiny pill badges with outline feel */
.badge-soft {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e5e7eb;
}

/* Legal pages: readable column + tidy type */
.legal-page{
  max-width: 860px;            /* hard cap for giant screens */
}
.legal-page h1{
  text-align: left;
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  letter-spacing: .2px;
  /* responsive but not gigantic */
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.6rem);
  color: #142B59;
}
.legal-page h2{
  text-align: left;
  font-size: clamp(1.15rem, 1.2vw + .9rem, 1.6rem);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  color: #2a4278;
}

/* Paragraphs: justify with hyphenation on larger screens */
.legal-page p{
  text-align: justify;
  text-justify: inter-word;      /* better spacing in some browsers */
  line-height: 1.6;
  color: #2b2f36;
  margin-bottom: .9rem;
  hyphens: auto;                 /* enable soft hyphens */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Keep lists left-aligned for readability */
.legal-page ul{ 
  padding-left: 1.2rem; 
  text-align: left;
}
.legal-page li{ margin-bottom: .35rem; }


.legal-page .legal-updated{
  font-size: .95rem;
  color: #6c7a91;
  margin: 0;
}

/* Subtle divider */
.legal-page hr{
  border: 0;
  height: 1px;
  background: linear-gradient(to right, #e6eef7, #d9e5fb, #e6eef7);
  margin: 1rem 0 1.25rem;
}


@media (max-width: 576px){
  .legal-page h1{ margin-bottom: .6rem; }
  .legal-page h2{ margin-top: 1.25rem; }
}

/* Optional: on very small screens, revert to left-align to avoid rivers */
@media (max-width: 480px){
  .legal-page p{ text-align: left; hyphens: manual; }
}


/* Brand navy for headers */
.bg-brand-navy{ background-color:#142B59 !important; }

/* Card polish */
.contact-card{ overflow:hidden; }
.contact-card .card-header{ border-bottom:1px solid #e6eef7; }

/* Form controls: rounder corners + brand focus ring */
.contact-card .form-control,
.contact-card .form-select{
  border-radius:.6rem;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus{
  border-color:#86D3E5;
  box-shadow:0 0 0 .2rem rgba(134,211,229,.25);
}

/* Radio/checkbox spacing */
.contact-card .form-check{ margin-bottom:.35rem; }
.contact-card .form-check-input:focus{
  box-shadow:0 0 0 .2rem rgba(134,211,229,.25);
  border-color:#86D3E5;
}

/* Primary button in your palette */
.btn-primary{
  background-color:#1e52a7;
  border-color:#1e52a7;
}
.btn-primary:hover{
  background-color:#0d3f8a;
  border-color:#0d3f8a;
}

/* Keep form readable on huge screens */
@media (min-width: 1400px){
  .contact-card{ max-width: 860px; margin-inline:auto; }
}

/* ---------- Radios & checkboxes: tighter, next to label ---------- */
.contact-card fieldset { border: 0; }   /* crispy often wraps radios in fieldset */

.contact-card legend.col-form-label,
.contact-card .form-label{
  text-align: left;
  width: 100%;
}

.contact-card .form-check{
  display: flex;              /* put input right next to label */
  align-items: center;
  gap: .5rem;
  padding-left: 0;            /* remove Bootstrap indent */
  margin-bottom: .35rem;
}
.contact-card .form-check-input{
  float: none;
  margin: 0;
}
.contact-card .form-check-input:focus{
  box-shadow: 0 0 0 .2rem rgba(134,211,229,.25);
  border-color: #86D3E5;
}
.contact-card .form-check-label{ margin: 0; }

/* ---------- Card boundary & header ---------- */
.contact-card{
  border: 1.5px solid #b7c6df;            /* clearer edge */
  border-radius: 16px;
  overflow: hidden;                       /* rounds header too */
  box-shadow: 0 10px 26px rgba(20,43,89,.08);
  background: #fff;
}

/* Keep header divider subtle (10px looked like a bug) */
.contact-card .card-header{
  border-bottom: 1px solid #b7c6df;
}

/* Whole-card highlight when any field inside is focused */
.contact-card:focus-within{
  border-color: #86D3E5;
  box-shadow: 0 0 0 3px rgba(134,211,229,.22);
}

/* ---------- Labels & help text ---------- */
.contact-card label{
  color: #243B6B;
  font-weight: 600;
}
.contact-card .form-text,
.contact-card .help-block{
  color: #6c7a91;
}

/* ---------- Inputs: clearer borders + gentle tint ---------- */
.contact-card .form-control,
.contact-card .form-select,
.contact-card textarea{
  background: #fbfdff;                     /* faint blue-white */
  border: 1.25px solid #d7e1ee;
  border-radius: .65rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-card .form-control:hover,
.contact-card .form-select:hover,
.contact-card textarea:hover{
  border-color: #bfcce0;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus,
.contact-card textarea:focus{
  background: #fff;                        /* crisp when active */
  border-color: #86D3E5;
  box-shadow: 0 0 0 .2rem rgba(134,211,229,.25);
}

/* Placeholder readability */
.contact-card ::placeholder{
  color: #9aa6bb;
  opacity: 1;
}

/* ---------- Required + validation ---------- */
.contact-card .asteriskField{ color: #c13b3b; margin-left: .15rem; }

.contact-card .is-invalid{ border-color: #dc3545; }
.contact-card .is-invalid:focus{
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.15);
}

/* ---------- Submit row divider (optional) ---------- */
.contact-card .submit-row{
  border-top: 1px solid #e6eef7;
  margin-top: 1rem;
  padding-top: 1rem;
}
/* Stronger, rounder boundary */
.contact-card{
  border: 1.5px solid #b7c6df;      /* darker than #d7e1ee */
  border-radius: 16px;
  overflow: hidden;                  /* rounds the header too */
  box-shadow: 0 10px 26px rgba(20,43,89,.08);
}


/* ===== Blog list (news style) ===== */
.post-list { 
  max-width: 980px; 
  margin-inline: auto; 
}

.post-row { 
  position: relative;                 /* for .stretched-link */
  border-bottom: 1px solid rgba(0,0,0,.075);
}

.post-row:last-child { border-bottom: 0; }

.post-thumb-link { 
  flex: 0 0 auto; 
  display: block; 
}

.post-thumb {
  width: 240px; 
  height: 135px;                      /* 16:9 */
  object-fit: cover; 
  border-radius: .5rem; 
  display: block;
}

/* Text bits */
.post-kicker {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 700;
  opacity: .75;
  margin-bottom: .25rem;
}

.post-title { 
  font-size: 1.35rem; 
  line-height: 1.25; 
  margin: 0; 
}

.post-title a {
  color: inherit; 
  text-decoration: none;
}

.post-title a:hover { text-decoration: underline; }

.post-meta { 
  font-size: .9rem; 
  color: #6c757d; 
  margin-top: .4rem; 
}

/* Spacing (align with your Bootstrap rhythm) */
.post-row { 
  padding: 1.25rem 0;                 /* py-4-ish */
}

.post-row .gap-3 { gap: 1rem !important; }

/* Responsive */
@media (max-width: 992px) {
  .post-thumb { width: 220px; height: 124px; }
}
@media (max-width: 768px) {
  .post-thumb { 
    width: 36vw; 
    height: calc(36vw * 9 / 16);      /* maintain 16:9 */
  }
}

/* Accessibility: visible focus for links/images */
.post-thumb-link:focus-visible,
.post-title a:focus-visible {
  outline: 3px solid rgba(0,123,255,.6);
  outline-offset: 2px;
  border-radius: .4rem;
}

/* Optional: subtle hover lift on image */
.post-thumb-link:hover .post-thumb {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Optional dark-mode tweaks */
@media (prefers-color-scheme: dark) {
  .post-row { border-color: rgba(255,255,255,.12); }
  .post-meta { color: rgba(255,255,255,.65); }
}


/* Force left alignment inside blog list rows */
.post-list,
.post-row,
.post-row .post-kicker,
.post-row .post-title,
.post-row .post-meta {
  text-align: left !important;
}


/* ===== Responsive type/spacing for blog list ===== */

/* Make titles/kickers/meta scale smoothly on all screens */
.post-title { font-size: clamp(1.05rem, 1.8vw + .6rem, 1.35rem); line-height: 1.25; }
.post-kicker  { font-size: clamp(.7rem, .3vw + .65rem, .75rem); }
.post-meta    { font-size: clamp(.85rem, .2vw + .8rem, .9rem); }

/* Limit very long titles to 2 lines on small screens */
@media (max-width: 768px) {
  .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Tighten layout on phones */
@media (max-width: 576px) {
  .post-row { padding: .9rem 0; }         /* was ~1.25rem */
  .post-row .gap-3 { gap: .75rem !important; }
  .post-thumb { width: 32vw; height: calc(32vw * 9 / 16); }  /* slightly smaller image */
}

/* Slightly tighter on small tablets */
@media (min-width: 577px) and (max-width: 768px) {
  .post-row { padding: 1rem 0; }
  .post-thumb { width: 34vw; height: calc(34vw * 9 / 16); }
}


/* --- Blog detail fixes (append at end of styles.css) --- */

/* Left-align headings and text inside blog pages */
.blog-container h1,
.blog-container h2,
.blog-container h3,
.blog-container p,
.blog-container li {
  text-align: left !important;
}

/* Match H3 colour to the H2 brand heading */
.blog-container h2,
.blog-container h3 {
  color: #2a4278; /* same as your .h2 brand tone */
}

/* Let blog images actually fill the content width */
.blog-container .img-fluid,
.blog-container .blog-image {
  max-width: 100% !important;   /* override the global 400px cap */
  width: 100%;
  height: auto;
  border-radius: 10px;          /* keep your current polish */
}

/* Optional: if you use a “hero” image and want a fixed-height crop */
.blog-container .blog-image.hero {
  height: clamp(180px, 28vw, 420px);
  object-fit: cover;            /* nice 16:9 crop feel */
  display: block;
}

/* Left-align Django CheckboxSelectMultiple for Booking intent */
#id_booking_intent { 
  list-style: none; 
  padding-left: 0; 
  text-align: left; 
  margin: 0;
}
#id_booking_intent li { 
  margin-bottom: .25rem; 
}
#id_booking_intent label {
  display: flex;               /* keeps box + text on one line nicely */
  align-items: center;
  gap: .5rem;
  justify-content: flex-start;  /* ensure left alignment */
}
