/*
 Theme Name:   Skylight
 Theme URI:    http://www.mintdesignstudio.co.uk/
 Description:  Ocean WP Child Theme
 Author:       Mintdesignstudio
 Author URI:   http://www.mintdesignstudio.co.uk/
 Template:     oceanwp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  oceanwpchild
*/

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
html {
  font-size: 17px; /* 1rem now equals exactly 17px */
}
:root {
  /* Fonts */
  --font-sans: 'Assistant', sans-serif;

  /* Calming, High-Contrast Color Palette */
  --color-bg-main: #f7f8fb;       /* Lightblue */
  --color-text-main: #252525;     /* Charcoal */
  --color-brand-primary: #253A7E; /* Skylight blue */
  --color-brand-accent: #4FA9A9;  /* Teal */
  /* Layout Spacing Constants */
  /* --heading-margin-bottom: 0.5rem;
  --heading-margin-top-nested: 2rem; */
  --heading-margin-bottom: 0.3em;
  --heading-margin-top-nested: .2em;
}
body,
button,
input,
select,
textarea {
  font-family: 'Assistant', 'Open Sans', 'Helvetica', 'Arial', sans-serif;
  font-size: 17px !important;
  line-height: 1.65 !important;
  font-weight: 400;
  color: #252525;
  background-color: #f7f8fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6  {
  color: #253A7E;
  letter-spacing: .5px;
  font-weight: 500;
}
h1 {
  font-size: 3.2em !important; /* ~42px */
  font-weight: 500 !important;    
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important; /* Tighter tracking keeps large words readable */
  margin-top: 0;
}
h2 {
  font-size: 2.4em !important;
  font-weight: 600;   /* Semi-Bold structural breaks */
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: var(--heading-margin-top-nested);
  margin-bottom: var(--heading-margin-bottom);
}
h3 {
  font-size: 1.7em !important;
  /* margin-bottom: .6em !important; */
  font-weight: 500;   /* Medium weight for safety notices/card titles */
  line-height: 1.4;
  letter-spacing: 0;
  margin-top: var(--heading-margin-top-nested);
  margin-bottom: var(--heading-margin-bottom);
}
.h3_teamsenior {
  padding: .6em;
  color: #253A7E;
  background-color: #dce0ea;
  border-top: 1px dotted #253A7E;
  margin-bottom: 1em;
}
.h3_team {
  padding: .6em;
  color: #253A7E;
  background-color: #eef7f7;
  border-top: 1px dotted #4FA9A9;
  margin-bottom: 1em;
}
.h3_teamclinical {
  padding: .6em;
  color: #253A7E;
  background-color: #eaecf2;
  border-top: 1px dotted #516198;
  margin-bottom: 1em;
}
h4 {
  font-size: 1.25em !important; /* px */
  font-weight: 500;     
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: var(--heading-margin-top-nested);
  margin-bottom: var(--heading-margin-bottom);
}
h4.h4diag {
  border-top: 1px dotted #4FA9A9;
  padding-top: .8em;
  font-size: 1.5em !important;
  margin-top: .5em;
  color: #252525;
}
h5.h5diag {
  font-size: 1.2em !important;
  color: #253A7E;
  /* background-color: #E5E7F0;
  padding: 1em; */
  margin-top: 1em;
  margin-bottom: 1em;
}
h5 {
  font-size: 1em !important;
  font-weight: 600 !important;
  color: #5783f4;
  text-transform: uppercase;
  margin-bottom: 0em;
  padding-bottom: 0;
}
p {
  margin-bottom: 1em !important;
}
.larger {
  font-size: 1.1em !important;
}
.small {
  font-size: .75em !important;
}
.small_highlight {
  font-size: .85em !important;
  color: #253A7E;
}
.small_cta {
  font-size: .75em !important;
  margin-top: -10px;
  padding-top: 0;
}
.text_center {
  text-align: center;
}
.p_lead {
  font-size: 1.15em !important;
  font-weight: 600;
  color: #253A7E;
}
.cta {
  margin-top: -10px;
  font-size: 1.4em !important;
  color: #253A7E;
  font-weight: 600;
  display: block;
}
a {
  color: #253A7E;
}
a:hover,
a:focus {
  color: #4FA9A9;
}
.no-click > a {
  cursor: default;
}
img {
  border-radius: .6em;
}
.img_col_bg {
    background-image: url('http://skylightpsychiatry.local/wp-content/uploads/2026/07/brain.svg');
    background-size: 100% 100%; /* Stretches the image to fit the exact column width and height */
    background-position: center center;
    background-repeat: no-repeat;
    padding: 4em; 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;   /* Keeps blocks stacked vertically */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* Centres content vertically */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;     /* Centres content horizontally */
    text-align: center;      /* Aligns inline text elements to the middle */
}

.blue {
  color: #253A7E;
}
.white {
  color: #fff !important;
}
.teal {
  color: #4FA9A9 !important;  
}

.left {
  -webkit-box-pack: left !important;
      -ms-flex-pack: left !important;
          justify-content: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
  display: block !important;
}
.leftalign {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start !important;
      -ms-flex-align: start !important;
          align-items: flex-start !important;
}

li::marker {
  color: #4FA9A9;
  font-weight: 600;
}
.clear {
  clear: both;
}
.floatleft {
  float: left;
  margin-right: 10px;
}
.floatright {
  float: right;
  margin-left: 10px;
}
.whatwedoheaders {
  min-height: 2.4em;
}
.highlightbox {
  color: #253A7E;
  background-color: #e8ebf4;
  border-radius: .6em;
  padding: 1em;
}
.border_left_teal {
  border-left: 5px solid #4FA9A9;
  padding-left: 10px;
  margin-top: 1em;
  margin-bottom: .2em !important;
}
.bg_body {
  background-color: #F7F6F6 !important;
}
.img_onboard_hb {
  width: 40%;
  float: right;
  padding-left: 20px;
}
.imgnomarginbottom {
  margin-bottom: 0;
}

/* light background colours */
.bluelight {
  background-color: #e8ebf4 !important;
}
.mintlight {
  background-color: #e3f1f1 !important;
}
.pebble {
  background-color: #EFEFEC !important;
}
.purplelight {
  background-color: #f5f3fe !important;
}
.yelllight {
  background-color: #fbf0e5 !important; /* orange */
}

.card_badge {
  display: inline-block;
  padding: .1em 2em;
  background-color: rgba(255, 255, 255, 0.8) !important;  
  border: 2px solid #fff;
  border-radius: .6em;
  font-size: 1.2em;
  font-weight: 600;
  color: #4FA9A9;
}
.box_bluelight .box_name strong,
.box_yelllight .box_name strong,
.box_mintlighter .box_name strong,
.box_purplelight .box_name strong,
.box_pebble .box_name strong,
.box_grey .box_name strong {
  font-size: 1.1em;
}
.levels {
    color: #4FA9A9;
    font-size: 2.6em !important;
    margin-bottom: .1em;
}
.stickynote {
  position: relative;
  padding: 20px;
  border-radius: 1px 1px 20px 1px; /* Subtle curl look on bottom right */
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Very slight flat shadow */
  display: inline-block;
}
/* The Curved Corner Shadow Effect */
.stickynote::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 1px 1px 20px 1px; /* Subtle curl look on bottom right */
    bottom: 12px;
    right: 4px;
    width: 70%;
    height: 15px;
    background: rgba(0, 0, 0, 0.35); /* Shadow color */
    -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.35);
            box-shadow: 0 10px 12px rgba(0, 0, 0, 0.35);
    -webkit-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
            transform: rotate(3deg); /* Rotates shadow to create the liftoff effect */
}
.stickynoteleft {
  position: relative;
  padding: 20px;
  /* Swapped border radius: curls bottom-left instead of bottom-right */
  border-radius: 1px 1px 1px 20px; 
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

/* The Curved Corner Shadow Effect (Left Side) */
.stickynoteleft::after {
    content: "";
    position: absolute;
    z-index: -1;
    /* Match the bottom-left layout shape */
    border-radius: 1px 1px 1px 20px; 
    bottom: 12px;
    /* Swapped right:4px to left:4px to shift shadow alignment */
    left: 4px; 
    width: 70%;
    height: 15px;
    background: rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.35);
            box-shadow: 0 10px 12px rgba(0, 0, 0, 0.35);
    /* Inverted to negative rotation to flare the shadow out to the left */
    -webkit-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
            transform: rotate(-3deg); 
}


/* .corknote {
  background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/stickynote_cork.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}
.stickynote_purple {
  background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/stickynote_purple.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width 90%;
}
.stickynote_mint {
  background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/stickynote_mint.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 90%;
} */

.nhs_icb h4 {
  border-bottom: 1px solid #4a71c6 !important;
  padding-top: .8em;  
  padding-bottom: .4em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; /* Pushes text left and image right */
}
.nhs_icb h4 > img {
  border-radius: 0 !important;
  width: 20px !important;
  height: auto;
}
.nhs_icb details summary > strong {
  color: #4FA9A9;
  font-weight: 900;
  padding-right: .6em;
}
.nhs_icb_cluster {
  border: 1px solid #3c5aa7;
  padding: 6px 6px 0 6px;
  margin-bottom: 1em !important;
}

/*--------------------------------------------------------------
General styling
--------------------------------------------------------------*/

/* Header --------------------- */
#site-header {
  /* background-color: #F7F6F6; */
  background-color: #fff;
  -webkit-transition:background 1.5s ease;
  -o-transition:background 1.5s ease;
  transition:background 1.5s ease;
  border-bottom: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 22px;
}
#site-logo #site-logo-inner a img {
  height: 60px; /* Same as logo height in OceanWP */
}

/* Doctify --------------------- */
#doctify {
  margin-top: -20px;
}
.doctify_horizontal_widget_style_wrapper-item_9621796b {
  padding-right: 0 !important;
}
.col_doctify {
  padding-top: .3em;
  margin-bottom: .2em !important;
  gap: 1em !important;
}
.col_doctify figure{
  margin-bottom: 0 !important;
}

/* Group --------------------- */
.wp-block-group {
  margin-bottom: 3em;
}

/* Main menu --------------------- */
#site-navigation a {
  font-weight: 600;
}
#site-navigation-wrap .dropdown-menu > li > a {
  display: block;
  font-size: 1em !important;
  color: #253A7E;
  padding: 0 12px;
  letter-spacing: 0.4px;
  /* text-transform: uppercase; */
}
#site-navigation-wrap .dropdown-menu > li > a:hover,
#site-navigation-wrap .dropdown-menu > li > a:focus {
  color: #1c2c5f;
  background-color: #f4f9f9 !important;
  border-radius: 1em;
}
.dropdown-menu .sub-menu {
  border-radius: 1em;
  border: 1px solid #fff;
  background-color: #fff;
  min-width: 370px;
}
.sub-menu > li > a {
  color: #253A7E;
  font-size: 1em !important;
  padding: 1.4em !important;
}
.sub-menu > li > a:hover,
.sub-menu > li > a:focus {
  color: #1c2c5f !important;
  background-color: #f4f9f9 !important;
  /* border-left: 10px solid #3c5aa7 !important; */
}
/* PDS menu --------------------- */
.nav_pds {
  margin-top: 1.6em;
  font-size: 1.4em !important;
  font-weight: 600;
  color: #253A7E;
  letter-spacing: 0.4px;
}
.nav_pds li {
  list-style-type: none;
  margin-bottom: .4em;
}
.nav_pds a {
  background-color: #e8ebf4; /* blue */
  padding: 10px;
  margin-bottom: .4em;
  border-radius: .6em;
  padding: .4em 1em;
  text-decoration: none !important;
  display: block;
}
.nav_pds li a:hover,
.nav_pds li a:focus {
  color: #1c2c5f;
  background-color: #EFEFEC !important; /* pebble */
  border-radius: .6em;
}
.nav_pds li.nav_pds_header a {
  color: #1c2c5f;
  background-color: #e3f1f1; 
}
.nav_pds li a:visited  {
  background-color: #d8deed !important;
}
.nav_pds li.nav_pds_header a:visited  {
  background-color: #d5eaea !important;
}
/* Sticky sidebar menu --------------------- */
/* Make the OceanWP sidebar sticky */
    /* 1. Open OceanWP parent containers so the sidebar can track down the page */
    #wrap, .site-content, #content-wrap, #primary, .content-area {
        overflow: visible !important;
        height: auto !important;
    }

    /* 2. Set structural containers to flex layout to keep columns side-by-side */
    #content-wrap .container {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-align: start !important;
            -ms-flex-align: start !important;
                align-items: flex-start !important;
    }

    /* 3. Make your exact right sidebar sticky */
    #right-sidebar { 
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important; /* Pushes the menu down to sit cleanly below your sticky header */
        height: -webkit-fit-content !important;
        height: -moz-fit-content !important;
        height: fit-content !important;
        z-index: 99 !important; /* Stays above content, but below the top header */
    }

/* Staff menu --------------------- */
.staff_nav {
  font-size: 1.2em !important;
  text-transform: uppercase;
  font-weight: 600;
  color: #1c2c5f;
  letter-spacing: 0.6px;
}
.staff_nav li {
  background-color: #E5E7F0;
  padding: 10px;
  border-bottom: 1px solid #253A7E;
  list-style-type: none;
}
.staff_nav a {
  text-decoration: none !important;
  display: block;
}
.staff_nav li a:hover,
.staff_nav li a:focus {
  color: #4FA9A9 !important;
  padding-left: 5px;
  border-left: 10px solid #4FA9A9 !important;
}
/* Sub menu --------------------- */
/* .nav_sub {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: .4em;
    padding-bottom: .4em;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;

}
.nav_sub::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #e3f1f1; 
    margin-bottom: 1px;
    z-index: -1;
}
.nav_sub a {
    color: #4FA9A9 !important;
    text-decoration: none !important;
} */
/* Main --------------------- */

#main #content-wrap {
  padding-top: 0;
  padding-bottom: 50px
}

hr {
  border: 0;
  height: 0;
  border-bottom: 1px solid #253A7E !important;
  margin: 40px auto !important;
}
.hrfull {
  width: 100% !important;
  border: 0;
  height: 0;
  border-bottom: 1px solid #d8deed !important;
  margin: 0 auto 40px !important;
}
.hrdots {
  width: 100% !important;
  border: 0;
  height: 0;
  border-bottom: 1px dotted #253A7E !important;
  margin: 30px auto 20px !important;
}

/* buttons --------------------- */
.btn_menu span {
  background-color: #ffc10f;
  font-size: 1em !important;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  border: none;
  outline: none;
  height: auto;
  padding: 10px 25px;
  border-radius: 2.6em;
}
.btn_menu span:hover,
.btn_menu span:focus {
  background-color: #ffda6f;
  color: #252525;
}
.btn_menu_sub span {
  background-color:#fff !important;
  padding: 5px 10px;
}
/* menu button sub nav fix --------------------- */

/* Sub-menu Fix: Ensure sub-menu spans are totally normal */
.btn_menu .sub-menu span {
    background-color: transparent !important;
    padding: 0 !important;
}

#site-navigation-wrap .dropdown-menu > li.btn_menu > a {
  color: #252525;
}
#site-navigation-wrap .dropdown-menu > li.btn_menu > a:hover,
#site-navigation-wrap .dropdown-menu > li.btn_menu > a:focus {
  color: #fff;
}
/* .wp-block-buttons {
  justify-content: center;
} */
.btn_center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.btn_left { 
  -webkit-box-pack: left; 
      -ms-flex-pack: left; 
          justify-content: left;
}
.btn_right {
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}
.btn_inline {
  display: inline;
}
.btn_marginbottom {
  margin-bottom: 1em;
}
.wp-block-button__link {
  font-family: inherit;
  background-color: #ffc10f;
  color: #252525;
  font-size: 1em !important;
  font-weight: 600;
  margin: 10px 0;
  padding: 14px 32px;
  text-transform: none !important; /* Forced to override global uppercase */
  letter-spacing: 1px !important;
}
.btn_darkblue .wp-block-button__link{
  background-color: #253A7E;
  color: #fff;
}
.btn_lightblue .wp-block-button__link{
  background-color: #3c5aa7;
  color: #fff;
}
.btn_teal .wp-block-button__link{
  background-color: #4FA9A9;
  color: #fff;
}
.btn_yell .wp-block-button__link{
  background-color: #ffc10f;
  color: #252525;
}
.btn_gold .wp-block-button__link{
  background-color: #c5a059;
  color: #ffffff;
}
.btn_darkblue a.wp-block-button__link:hover,  
.btn_darkblue a.wp-block-button__link:focus {
  background-color: #3c5aa7;
}
.btn_lightblue a.wp-block-button__link:hover, 
.btn_lightblue a.wp-block-button__link:focus {
  background-color: #4a71c6;
}
.btn_yell a.wp-block-button__link:hover,  
.btn_yell a.wp-block-button__link:focus  {
  background-color: #ffda6f;
} 
.btn_teal a.wp-block-button__link:hover,  
.btn_teal a.wp-block-button__link:focus {
  background-color: #72baba;
}
.btn_gold a.wp-block-button__link:hover,  
.btn_gold a.wp-block-button__link:focus {
  background-color: #d1b37a;
}
/* .btn_size a {
  width: 305px !important;
} */
 /* Forms */
 input[type="button"], input[type="reset"], input[type="submit"], button[type="submit"], .button, #site-navigation-wrap .dropdown-menu > li.btn > a > span, .thumbnail:hover i, .post-quote-content, .omw-modal .omw-close-modal, body .contact-info-widget.big-icons li:hover i, body div.wpforms-container-full .wpforms-form input[type="submit"], body div.wpforms-container-full .wpforms-form button[type="submit"], body div.wpforms-container-full .wpforms-form .wpforms-page-button {
  background-color: #ffc10f !important;
  border-radius: 2.6em;
  text-transform:capitalize;
}

input[type="button"], input[type="reset"], input[type="submit"], button[type="submit"], .button, body div.wpforms-container-full .wpforms-form input[type="submit"], body div.wpforms-container-full .wpforms-form button[type="submit"], body div.wpforms-container-full .wpforms-form .wpforms-page-button {
  font-family: inherit;
  background-color: #ffc10f;
  color: #252525;
  font-size: 1em !important;
  font-weight: 600;
  margin: 0;
  padding: 14px 40px;
}

.wpforms_art {
    margin: 0 auto !important ;
    max-width: 40%; /* adjust width as needed */
    text-align: center;
}
.wpforms_art input {
    max-width: 80% !important;   /* control field width */
    margin: 0 auto !important;
    display: block;
}
.wpforms_art #rc-anchor-container {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
}
/* My Testimonials ------------------------------------------ */
/* ==========================================================================
   PRODUCTION TESTIMONIALS SLIDER ENGINE
   ========================================================================== */
/* Slider Frame Wrap */
.tm-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px auto;
    padding: 0 45px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
/* Hardware-Accelerated Layout Track */
.tm-slider-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 5px;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.tm-slider-container::-webkit-scrollbar {
    display: none;
}
/* Card Geometry & Flexible Structure */
.tm-slider-card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; 
}
@media (min-width: 768px) { .tm-slider-card { -webkit-box-flex: 0; -ms-flex: 0 0 calc(50% - 10px); flex: 0 0 calc(50% - 10px); } }
@media (min-width: 1024px) { .tm-slider-card { -webkit-box-flex: 0; -ms-flex: 0 0 calc(33.333% - 14px); flex: 0 0 calc(33.333% - 14px); } }
/* Strict Native 3-Line Clamp Frame */
.tm-quote-container {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    margin-bottom: 5px;
}
.tm-quote-container.is-expanded {
    display: block;
    overflow: visible;
}
/* Read More Control */
.tm-read-more-btn {
    background: none;
    border: none;
    color: #4FA9A9;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0 15px 0;
    margin: 0 auto;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tm-read-more-btn:hover {
    text-decoration: underline;
}
/* Inner Text Elements */
img.tm-photo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    margin: 0 auto 15px auto;
    display: block;
}
.tm-quote {
    font-style: italic;
    color: #252525;
    line-height: 1.6;
    margin: 0;
}
.tm-name {
    font-weight: 600;
    color: #23356f;
    margin: 10px 0 0 0;
}
/* SVG Arrow Navigation Layout */
.tm-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
    z-index: 10;
}
.tm-arrow svg {
    width: 32px;
    height: 32px;
    fill: #4FA9A9;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.tm-arrow:hover svg {
    -webkit-transform: scale(1.15);
        -ms-transform: scale(1.15);
            transform: scale(1.15);
}
.tm-arrow-prev { left: 5px; }
.tm-arrow-next { right: 5px; }
/* My Testimonials end ------------------------------------------ */

/* Easy Accordion Home --------------------- */
#sp_easy_accordion-1759503074 #ea-header-68190::before,
#sp_easy_accordion-1759503074 #ea-header-68191::before,
#sp_easy_accordion-1759503074 #ea-header-68192::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Use 900 for solid icons (fa-solid) */
  content: "\f071";
  margin-right: 0.1em;
  display: inline-block;
}

/* Accordion styles --------------------- */
/* ==========================================================================
   CUSTOM GUTENBERG ACCORDION STYLES
   ========================================================================== */

/* 1. MAIN CONTAINER */
.custom-accordion {
    border: 1px solid #e2e8f0;
    border-radius: .6em;
    margin-bottom: 12px;
    background-color: #ffffff;
    overflow: hidden;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.custom-accordion:hover {
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 2. HEADER COLOR STATES & STYLES */
/* Default closed header styling */
.custom-accordion summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Removes default browser arrow */
    position: relative;
    background-color: #fff; /* White background when closed */
    color: #1e293b;            /* Dark text color when closed */
    -webkit-transition: background-color 0.2s ease, color 0.2s ease;
    -o-transition: background-color 0.2s ease, color 0.2s ease;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.custom-accordion summary img {
    width: 75px !important;
    padding-right: .4em;
}

/* Open header styling (Changes color when active) */
.custom-accordion[open] summary {
    background-color: #e8ebf4; /* Soft blue background when open */
    color: #3c5aa7;            /* Vibrant blue text when open */
}

/* Hide default arrow in Safari */
.custom-accordion summary::-webkit-details-marker {
    display: none;
}

/* 3. ARROW INDICATOR COLOR & ANIMATION (OPTION 2) */
/* Default closed arrow icon */
.custom-accordion summary::after {
    content: '❯';
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(0deg);
        -ms-transform: translateY(-50%) rotate(0deg);
            transform: translateY(-50%) rotate(0deg);
    font-size: 0.9rem;
    color: #64748b;            /* Medium gray arrow when closed */
    -webkit-transition: color 0.2s ease, -webkit-transform 0.2s ease;
    transition: color 0.2s ease, -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
}

/* Active open arrow icon */
.custom-accordion[open] summary::after {
    -webkit-transform: translateY(-50%) rotate(90deg);
        -ms-transform: translateY(-50%) rotate(90deg);
            transform: translateY(-50%) rotate(90deg); /* Smoothly rotates down */
    color: #3c5aa7;            /* Matches the vibrant blue text when open */
}

/* 4. INNER CONTENT WRAPPER */
.custom-accordion > div {
    padding: 2em;
    border-top: 1px solid #e2e8f0;
    -webkit-animation: fadeIn 0.3s ease-out;
            animation: fadeIn 0.3s ease-out;
}

/* 5. MULTI-COLUMN & CONTENT LAYOUT SUPPORT */
.custom-accordion .wp-block-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* Wraps cleanly on mobile devices */
    gap: 20px;
    margin-bottom: 0;
}

.custom-accordion .wp-block-column {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 250px;
            flex: 1 1 250px; /* Minimum width of 250px per column before wrapping */
}

/* Responsive media scaling inside columns (Images, Videos, Iframes) */
.custom-accordion img, 
.custom-accordion video,
.custom-accordion iframe {
    max-width: 100%;
    height: auto;
    border-radius: .6em;
}

/* 6. SMOOTH ENTRY ANIMATION */
@-webkit-keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(-4px); transform: translateY(-4px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(-4px); transform: translateY(-4px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
/* ==========================================================================
   END CUSTOM GUTENBERG ACCORDION STYLES
   ========================================================================== */
/* End Accordion styles --------------------- */

/* blockquote --------------------- */
blockquote {
  font-size: 1.2em !important;
  border: 0;
  color: #253A7E;
  font-weight: 600;
}
.wp-block-quote {
  border: 0;
  padding: 0;
  margin: 0;
}
/* faqs --------------------- */
.sp-easy-accordion {
 margin-bottom: 2em !important;
}
.ea-header {
  margin-bottom: 0 !important;
  background-color: #E5E7F0;
}
.ea-header a {
  color: #253A7E !important;
  text-decoration: none !important;
}
.ea-header i {
  color: #253A7E !important;
}
/* Colours */
.black {
  color: #000000 !important;  
}
/* Bg colours */
.bg_bluelight {
  background-color: #e8ebf4 !important;
}
.bg_yelllight {
  background-color: #fbf0e5 !important;  
}
.bg_mintlighter {
  background-color: #e3f1f1 !important;
}
.bg_purplelight {
  background-color: #f5f3fe !important;
}
.bg_pebble {
  background-color: #EFEFEC !important;
}

/*--------------------------------------------------------------
Section styling
--------------------------------------------------------------*/
/* cover --------------------- */
.cover_top h2 {
  color: #252525 !important;
  padding-top: 30px;
}
.cover_top h2.white {
  color: #fff !important;
} 
.staff_cover_top h2 {
  color: #4FA9A9 !important;
  padding-top: 30px;
  padding-left: 4em;
}
.cover_top_pds {
  margin-top: 1.6em;
  margin-bottom: 2.4em;
}
.cover_top_pds h2 {
  /* padding-top: .6em; */
  margin-left: 40px;
  margin-bottom: 10px !important;
  font-size: 1.8em !important;
  padding-left: 15px;
}
.cover_top_pds h3 {
  margin-top: 1em;
  margin-left: 40px;
  /* margin-bottom: .3em !important; */
  padding-left: 10px;
  font-weight: 600;
  font-size: 1.2em !important;
  color: #253A7E !important;
  border-left: 5px solid #4FA9A9;
  /* background: rgb(79 169 169 / .2); */
}
.cover_top_pds p {
  font-weight: 600;               
  font-size: 1.1em !important;
  color: #253A7E !important;
  padding-left: 55px;
}
.cover_top_onboarding h2 {
  padding-top: 30px;
  padding-left: 5em;
}
.cover_top_post {
  min-height: 100px !important;
    margin-top: 1.6em;
}
/* media and text block --------------------- */
.hero > figure.wp-block-media-text__media {
  -ms-flex-item-align: start !important;
      align-self: flex-start !important;
}
.herobox {
  padding-top: .4em;
}
.hero p {
  text-align: left;
}
.hero p:last-child {
  margin-bottom: 0;
}
.wait_times {
  margin-top: 1em;
  /* margin-left: 4em; */
  margin-bottom: 1em !important;
  padding: 20px 20px 5px 20px;
  background-color: #E5E7F0;
  border-radius: 5px;
}
.wait_times p {
  margin-left: 0;
}
.wait_times p.p_lead {
  border-bottom: 1px dotted #a8b0cb;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
/* Above for Main Container Width (px) 1280px*/
.getintouch_box {
  background-color: #4FA9A9;
  padding: 0 6em;
  margin: 3em 0;
  text-align: center;
}
.getintouch_box h2 {
  margin-bottom: .2em;
}
.getintouch_box h2,
.getintouch_box .btn_darkblue {
  padding: 20px 0;
}
.getintouch_box a:hover {
  color: #fff;
}

/* columns --------------------- */
.wp-block-columns {
  gap: 2.4em ;
  margin-bottom: 3em; /* UPDATED  */
}
/* Service  */
.service_box {
  background-color: #E5E7F0;
  padding: 2.8em;
}
.service_box_2 {
  background-color: #eaeaea;
  /* background: rgb(79 169 169 / .1); #4FA9A9 */
  padding: 2.8em;
}

/* Vision  */
.vision figure img[src$=".svg"] {
  width: auto;
  height: 4em;
  display: block; /* Ensures it behaves as a block element so margins work reliably*/ 
  margin-left: 0;   /* Forces left alignment*/ 
  margin-right: auto; /* Pushes any remaining space to the right*/ 
  margin-bottom: .2em;
}
.vision figure {
  margin-bottom: .2em;
}
.vision figure img {
  margin-bottom: 1em;
}
/* .vision  {
  background: #fff;
  border-radius: .6em;

} */
.vision > div {
  background: #fff;
  /* border: 2px solid #e8ebf4; */
  border-radius: .6em;
  padding: 2em;
}
.vision h4 {
  margin-bottom: 0;
  color: #3c5aa7;
}
.vision p {
  border-bottom: 1px dotted #3c5aa7;
  padding-bottom: .8em;
}
.vision  > div p:last-child {
  border-bottom: none;
}

.statement_box {
  background-color: #253A7E;
  padding: 2.8em;
}
.whatwedo > div {
  border-radius: 1em;
  background-color: #fff;
  padding: 1em;
}
.whatwedo h3 {
  font-size: 1.3em !important;
  color: #253A7E;
  padding: .2em;
}
.whatwedo span {
  font-size: 0.7em !important;
  color: #5783f4;
  text-transform: uppercase;
}
.whatwedo img {
  border-radius: .6em;
}
.whatwedo .wp-block-buttons {
  -webkit-box-pack: left !important;
      -ms-flex-pack: left !important;
          justify-content: left !important;
}
.statement_box > div > div {
margin: 0;
}
.statement_box h2 {
  color: #4FA9A9;
  border-right: 1px solid #F7F6F6;
  text-align: right;
  padding-right: 1em;
  margin: 0;
}
.statement_box blockquote {
  color: #fff;
  font-weight: 400;
  text-align: left;
  margin: 0;
}
.statement_box p {
  padding: 10px 0;
  margin: 0;
}
/* Mission  */
.mission {
  background-color: #e8ebf4;
  /* text-align: center; */
}
.mission h4 {
  margin: 0;
  line-height: 1.6 !important;
}
.mission figure {
  margin-bottom: 60px !important;
}
.mission img {
  border-radius: .6em;
}
.values {
  text-align: center;
}
/* ColourBGs - Mission  */
.wp-block-columns:last-child {
  margin-bottom: 0em;
}
.top_col {
  margin-top: 0 !important;
}
.top_col > div {
  margin: 2em 4em 0 4em !important;
}
.top_col_hero {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 4em;    /* Increased padding slightly for a better hero feel */
    padding-bottom: 4em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.top_col_hero::before {
content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    /* Background properties */
    background-color: #e8ebf4; /* Fallback color */
    background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/Hero_banner.jpg');
    background-size: cover;          /* Ensures the image covers the full width/height */
    background-position: center center; /* Keeps the focal point centered */
    background-repeat: no-repeat; 
    z-index: -1;
}

/* hero banner with fixed background */
/* .top_col_hero {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 4em;
    padding-bottom: 4em;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden; 
}
.top_col_hero::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #e8ebf4;
    background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/Hero_banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none; 
} */
/* hero banner with fixed background end*/

.top_col_universal {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 2em;
    padding-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.top_col_universal::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #e8ebf4; /* Replace with your background color */
    z-index: -1;
}
.top_col_private {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 2em;
    padding-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.top_col_private::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    /* background: linear-gradient(135deg, #f0f1f2 0%, #e1e2e5 35%, #f5f6f7 65%, #c2c3c6 100%); */
    /* background: linear-gradient(135deg, #F9F4E8 0%, #F0E4C7 100%); */
    background: -o-linear-gradient(315deg, #F9F4E8 0%, #EFE7D2 100%);
    background: linear-gradient(135deg, #F9F4E8 0%, #EFE7D2 100%);
    z-index: -1;
}
.mid_col_mintlighter {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_mintlighter::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    /* background-color: #e3f1f1;  */
    background: rgb(79 169 169 / .1);
    z-index: -1;
}
.mid_col_yelllight {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_yelllight::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #fbf0e5; 
    z-index: -1;
}
.mid_col_purplelight {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_purplelight::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #f5f3fe; 
    z-index: -1;
}
.mid_col_white {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_white::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #ffffff; 
    z-index: -1;
}
.mid_col_pebble {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_pebble::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #EFEFEC; 
    z-index: -1;
}
.mid_col_darkblue {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.mid_col_darkblue::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background-color: #23356f; 
    z-index: -1;
}
.mission,
.col_blue,
.col_teal,
.col_yell,
.col_white 
{
  margin: 0 0 3em 0; 
  padding-bottom:1em;
}
.mission:last-child,
.col_blue:last-child,
.col_teal:last-child,
.col_yell:last-child,
.col_white:last-child 
{
  margin-bottom: 0em; 
}
.mission > div,
.col_blue > div,
.col_teal > div,
.col_yell > div,
.col_white  > div
{
  margin: 3em 4em 0 4em;
}
.col_blue {
  /* background: rgb(60 90 167 / .1); #3c5aa7 */
  background-color: #e8ebf4;
}
.col_white {
  background-color: #fff;
}
.col_teal {
  background: rgb(79 169 169 / .1); /* #4FA9A9 */
}
.col_yell {
  background-color: #fffaec;
  /*background: rgba(255, 193, 15, 0.2);  #ffc10f */
}
.col_teal h4 {
  font-size: 1.3em !important;
  color: #fff;
}
.col_partnerships {
  background-color: #fff;
  text-align: center;
  padding: 20px;
}
.col_partnerships figure {
  margin-bottom: .3em;
}
.col_partnerships p {
  font-size: .8em !important;
  line-height: 1.2 !important;
}
/* easy read column */
.easy_read {
  text-align: center;
}
.col_stages {
  margin-bottom: .6em;
  gap: .4em !important;
}
.col_note {
  padding-bottom: 1em;
  padding-right: 1.6em;
  padding-left:  1.6em;
  background-color: #253A7E;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 10px
}
.col_note i {
  color: #fff;
  padding-top: 1em;
}
.col_opening {
  width: 100%;
  padding: 1.4em 1em 1em 1em;
  background-color: #E5E7F0;
  color: #253A7E;
  text-align: center;
  margin-bottom: 1em;
}
.col_opening p:nth-child(1) {
  font-size: 1.2em !important;
}
/* box_highlight */
.box_white,
.box_silver,
.box_gold,
.box_darkblue,
.box_teal,
.box_reasons,
.box_steps,
.box_stepspebble,
.box_mintlight,
.box_bluelight,
.box_yelllight,
.box_mintlighter,
.box_purplelight,
.box_pebble,
.box_grey,
.box_blueprivate  {
  padding: 2em;
  border-radius: 1em;
}
.box_white {
  background-color: #fff;
}
.box_silver {
  background: -o-linear-gradient(315deg, #f0f1f2 0%, #e1e2e5 35%, #f5f6f7 65%, #c2c3c6 100%);
  background: linear-gradient(135deg, #f0f1f2 0%, #e1e2e5 35%, #f5f6f7 65%, #c2c3c6 100%);
}
.box_gold {
    background: -o-linear-gradient(315deg, #F9F4E8 0%, #EFE7D2 100%);
    background: linear-gradient(135deg, #F9F4E8 0%, #EFE7D2 100%);
}
.box_blueprivate {
  background: -o-linear-gradient(315deg, #23356f 0%, #1c2c5f 50%, #15234f 100%);
  background: linear-gradient(135deg, #23356f 0%, #1c2c5f 50%, #15234f 100%);
}
.box_darkblue {
  background-color: #253A7E;
  color: #fff;
  font-size: 1.1em !important;
}
/* mobile tel link */
.box_darkblue a[href^="tel:"] {
  color: #a8b0cb !important;
}
.box_bluelight {
  background-color: #e8ebf4;
}
.box_teal {
  background-color: #4FA9A9;
  font-size: 1.1em !important;
  font-weight: 600;
}
.box_mintlight {
  background-color: #e3f1f1;
  font-size: 1.1em !important;
  font-weight: 600;
  border-radius: 1em;
  overflow: hidden; /* Prevents child elements/images from overflowing */
}
.box_yelllight {
  background-color: #fbf0e5;
}
.box_mintlighter {
  background-color: #e3f1f1;
}
.box_purplelight {
  background-color: #f5f3fe;
}
.box_pebble {
  background-color: #EFEFEC;
}
.box_grey {
  background-color: #eeeeee;
}
.box_resources {
  padding: 1em 1.4em !important;
}
.box_resources img {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  /* float: right; */
  padding-right: 1em;
  width: 80px;
}
.boxes_group {
  margin-bottom: 3em !important;
}
.boxes_group .wp-block-columns{
  margin-bottom: 2.4em !important;
}
.box_reasons {
  background-color: #253A7E;
  color: #fff;
  margin-bottom: 80px;
}
.box_reasons i {
  color: #4FA9A9;
  float: left;
  font-size: 2.6em !important;
  padding-right: 10px;
  padding-bottom: 5px;
}
.box_reasons p {
  border-bottom: 1px dotted #4FA9A9;
  padding-bottom: 20px;
}
.box_reasons a {
  color: #4FA9A9;
}
.box_reasons .btn_icon_div a {
  color: #253A7E;
  background-color: #fff;
}
.box_reasons .btn_icon_div i {
  color: #253A7E  ;
  font-size: 1em !important;
  float: none;
}
.box_steps {
  background-color: #fff;
  margin-bottom: 80px;  
}

.box_steps em {
  border-top: 1px dotted #4FA9A9;
  padding-top: 10px;
  display: block;
  text-transform: uppercase;
  color: #4FA9A9;
  font-size: 1.6em !important;
  font-weight: 600;
  font-style: normal;
}
.box_steps > div {
  margin: 0;
  padding-bottom: 20px;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
}
.box_stepspebble {
  background-color: #EFEFEC;
  margin-bottom: 80px;  
}

.box_stepspebble em {
  border-top: 1px dotted #4FA9A9;
  padding-top: 10px;
  display: block;
  text-transform: uppercase;
  color: #4FA9A9;
  font-size: 1.6em !important;
  font-weight: 600;
  font-style: normal;
}
.box_stepspebble > div {
  margin: 0;
  padding-bottom: 20px;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
}
.box_action {
  background-color: #E5E7F0;
  color: #253A7E;
  padding: 1em;
  margin-top: 1em;
  margin-bottom: 1em !important;
}
.box_outline {
    border-radius: 5px;
  border: 1px dotted #4FA9A9;
  padding: 1em;
}
.box_noticeboard {
  border: 1px dotted #a8b0cb;
  background: rgba(168, 176, 203, 0.1); 
  /* background-color: #fff; */
  border-radius: 10px;
  padding: 1em;
  padding-bottom: 0;
  margin-bottom: 1em;
}
.box_clinicians {
  background-color: #fff;
  color: #253A7E;
  padding: 2em 3em;
  text-align: center;
}
.box_clinicians h4 {
  margin-bottom: 5px !important;
}
.box_header {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #4FA9A9;
  padding: .6em;
  color: #fff;
  font-weight: 600;
  font-size: 1.2em !important;
}
.box_line {
  border: 1px solid #E5E7F0;
  color: #253A7E;
  padding: 2em 3em;
  text-align: center;
}
.col_process {
  width: 70%;
  margin: 0 auto;
}
.col_process p {
  font-weight: 600;
}
.col_process_box {
  border: 1px solid #4FA9A9;
  padding: 20px 10px;
  width: 55%;
  margin: 10px auto;
}
.col_single p {
  padding: 0 3em;
}
.col_staff {
  padding: 40px;
}
.col_staff > div >div {
  margin-bottom: 20px;
}
.col_pds {
  border-top: 1px solid #4FA9A9;
  padding-top: 2em;
}
.col_pdiag {
  margin-top: 1.6em;
  background-color: #e8ebf4;
  border-radius: 1.6em;
  padding: 2em;
  margin-bottom: 1.6em;
}
.col_pdiag h2 {
  font-size: 1.4em !important;
  margin-bottom: 0;
  font-weight: 600;
}
.pdiag_toplinks .wp-block-columns {
  gap: .6em !important;
  margin-bottom: .6em !important;
}
.col_videotips div {
  padding: 1.2em;
}
.col_videotips div:nth-child(2) {
  background: #fff;
}
.col_videotips p {
  border-bottom: 1px dotted #253A7E;
  padding-bottom: 1em;
}
.col_bios {
  margin-bottom: 2.4em;
}
.col_bios_last {
  margin-bottom: 0.2em;
}
.col_bios > div {
  padding-bottom: 2.4em;
  border-bottom: 1px dotted #4FA9A9;
}
.col_bios figure > img,
.col_bios_last figure > img {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}
.col_bios_last > div {
  border-bottom: none;
  padding-bottom: 2.4em;
}
.col_bios > div > div.btn_icon_div {
  border: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.col_officehours {
  background-color: #E5E7F0;
  color: #252525;
  text-align: center;
  padding: 1em 3em;
  margin-bottom: 1em;
}
.col_officehours h3 {
  font-weight: normal;
  color: #253A7E;
  font-size: 1.6em !important;
}
.col_officehours h3, p {
  margin: 0.1em;
}

 #services .btn {
  border: 1px solid #a8b0cb !important;
  background-color: none;
  font-weight: 600;
  color: #253A7E;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  border: none;
  outline: none;
  height: auto;
  padding: 8px 25px;
  border-radius: 2.6em;
} 

.more {
  display: none;
}

.service-item.open .more {
  display: inline;
}

.service-item.open .dots {
  display: none;
}

/* icons --------------------- */
figure.icon_sp img {
  width: auto ;
  height: 4em ;
}
figure.icon_pin img {
  width: auto ;
  height: 2.6em ;
}
.positionrelative  {
    position: relative !important;
}
.icon_stickyleft {
  position: absolute;
  margin: 0; /* Remove default Gutenberg figure margins */
  /* Position controls: Changes these to place it in your preferred corner */
  top: 15px;      
  left: 15px;    
  z-index: 10; /* Ensures it sits cleanly on top of backgrounds */
}
.icon_stickyright {
  position: absolute;
  margin: 0; /* Remove default Gutenberg figure margins */
  /* Position controls: Changes these to place it in your preferred corner */
  top: 15px;      
  right: 15px;    
  z-index: 10; /* Ensures it sits cleanly on top of backgrounds */
}
.lineicon figure img[src$=".svg"] {
  width: auto;
  height: 5em;
  display: block; /* Ensures it behaves as a block element so margins work reliably*/ 
  margin-left: 0;   /* Forces left alignment*/ 
  margin-right: auto; /* Pushes any remaining space to the right*/ 
  margin-bottom: 0em !important;
}
.fa-regular,
.fa-solid {
  font-size: 2em !important;
  color: #253A7E;
  margin: 0 0 .4em 0;
}
.mission .fa-regular,
.mission .fa-solid,
.easy_read .fa-regular,
.easy_read .fa-solid {
  font-size: 1.4em !important; 
}

.btn_icon i {
  padding-right: 2px;
}
.btn_icon i:last-child {
  padding-right: 5px;
}
.btn_icon_div {
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  margin-bottom: 2em;
}
/* icons end --------------------- */
.private_stages > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* Centers children horizontally */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* Centers children vertically if the column has a set height */
  text-align: center;
  padding: 1em !important;
}
.private_stages p:last-child {
  font-size: 1.1em;
  font-weight: 500;
}
.stages_nb {
  width: 2em;
  height: 2em;
  background-color: #C5A059;
  color: #fff;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em !important;
}
.card_stages > div {
  padding: 1.4em !important;
}
.card_stages h4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;             /* Allows items to wrap onto multiple lines if needed */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;         /* Vertically centers items */
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; /* Pushes content left and the icon to the far right */
  
  padding-bottom: 1em;
  width: 100%;
  font-size: 1.1em !important;  
  border-bottom: 1px solid #3c5aa7;
  color: #253A7E;
}

/* Force the strong tag to take up its own full line */
.card_stages h4 strong {
  color: #4FA9A9;
  font-size: 1.4em;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;            /* Forces it to break to a new line / fill width */
  display: block;
  padding-bottom: 0.4em;
}

/* Target the Font Awesome SVG icon container to ensure it stays right-aligned */
.card_stages h4 .wp-font-awesome-icon {
  margin-left: auto;           /* Pushes the icon to the far right */
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.card_stages h4 .wp-font-awesome-icon svg {
  width: 20px !important;
  height: auto;
  fill: currentColor;          /* Ensures it matches your text color or inherit settings */
}


/* List --------------------- */
.list_sp {
  list-style: none; /* Remove default bullets */
  padding: 0;
  margin: 0 0 1em 0;
}

.list_sp li {
  position: relative;
  padding-left: 2em; /* Creates space on the left for the absolute icon */
  margin-bottom: 8px; /* Spacing between items */
}

.list_sp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em; /* Adjust this to vertically align with the first line of text */
  width: 1.2em;
  height: 1.2em;
  background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/07/circle-check-solid-full_teal.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.list_sp_private li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start; /* Aligns the icon to the top (first line of text) */
  margin-bottom: 8px;  /* Spacing between items */
}

.list_sp_private li::before {
  content: "";
  display: inline-block;
  width: 1.2em;  /* Adjust size of your icon */
  height: 1.2em;
  /* background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/circle-check-private.svg'); */
  background-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/08/tick_gold.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 10px; 
  -ms-flex-negative: 0; 
      flex-shrink: 0;     /* Prevents the icon from squishing */
  /* Optional: If the icon sits slightly too high or low relative to the text cap-height, add a tiny top margin here: */
  margin-top: 0.2em;
}


.list_sp_long li {
  padding: 6px 1px;
  list-style-image: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2026/07/circle-check-solid-full_teal.svg');
}
.icon_pds img {
  margin: 0;
  clear: both;
  width: 75px;
}

/* table--------------------- */
/* table--------------------- */
/* Container styling: clips inner elements to rounded corners and handles scrolling */
.wp-block-table.table_sp {
  overflow: hidden; /* Crucial: Clips the table background/borders to match the border-radius */
  margin: 2rem 0;
  border-radius: 12px;
  border: none !important; /* FIX: Removed physical border to stop sub-pixel clipping bugs */
}

/* Core table layout */
.wp-block-table.table_sp table {
  width: 100%;
  border-collapse: collapse; /* Kept from your preferred version */
  border: none !important;
  font-family: inherit;
  background-color: #ffffff;
  color: #333333;
  text-align: left;
  margin-bottom: 0; /* Prevents Gutenberg spacing bugs */
  
  /* FIX: Generates a perfect 2px uniform outer border that respects the 12px container radius */
  -webkit-box-shadow: 0 0 0 2px #d8deed;
          box-shadow: 0 0 0 2px #d8deed; 
  border-radius: 12px;
}

/* FORCE OVERRIDE: Targets rows, headers, and structural elements to bypass theme engines */
.wp-block-table.table_sp thead,
.wp-block-table.table_sp thead tr {
  background-color: #1c2c5f !important;
  background: #1c2c5f !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 1.1em !important;
  border-bottom: 1px solid #3c5aa7;
}

/* Specific cell alignment and border line mapping */
.wp-block-table.table_sp th {
  padding: 16px 20px !important;
  border: none !important;
  -webkit-box-shadow: inset 0 -1px 0 #3c5aa7 !important;
          box-shadow: inset 0 -1px 0 #3c5aa7 !important; /* Sharp blue accent bottom divider */
}

/* Cell styling */
.wp-block-table.table_sp td {
  padding: 16px 20px;
  border: 1px solid #d8deed; /* Normal, thin column/row dividers */
}

/* Subtle Zebra Striping for readability */
.wp-block-table.table_sp tbody tr:nth-child(even) {
  background-color: #eff2f8;
}

/* Interactive Hover Effect */
.wp-block-table.table_sp tbody tr {
  -webkit-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.wp-block-table.table_sp tbody tr:hover {
  background-color: #fffcf3;
}

/* Remove bottom border on the last row */
.wp-block-table.table_sp tbody tr:last-child td {
  border-bottom: none !important;
}

/* Footer --------------------- */
body #footer-widgets {
    background-color: #253A7E;
    color: #95CBCB;
    text-align: left;
}
body #footer-widgets strong {
    color: #ffffff;
}
body #footer-widgets h4 {
    color: #4FA9A9;
    font-size: 1.1em !important;
}
body #footer-widgets p,
body #footer-widgets a {
    font-size: 0.9em !important;
}
body #footer-widgets .footer-box a {
    color: #ffffff;
}
#footer-widgets .footer-box {
    padding:0;
    margin: 0;
}

body #footer-widgets a:hover {
    color: #4FA9A9 !important;
}

body .footer-widget img {
    width: 80%;
}

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
Mobile screens - for viewports 768px and smaller:
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  /* header --------------------- */
  #site-header {
    padding: 15px;
  }
  #site-logo {
    max-width: 65%;
  }
  
  /* main --------------------- */
  #main {
    margin-bottom: 2em;
}
  .content-area, .content-left-sidebar .con                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       tent-area {
    margin-bottom: 20px;
  }
  .oceanwp-mobile-menu-icon a {
    font-size: 16px !important;
  }
  .wp-block-columns {
    margin-bottom: 2em;
  	}
  /* general --------------------- */
  h1 {
    font-size: 2.0em !important;     /* Scaled down to ~28px */
    line-height: 1.25 !important;    /* Slightly loosened for better readability on small rows */
    letter-spacing: -0.01em !important; /* Slightly relaxed tracking for smaller text scales */
  }
  h2 {
    font-size: 1.6em !important;     /* Scaled down to ~22px */
    line-height: 1.35 !important;
    letter-spacing: 0 !important;    /* Normal tracking for subheaders on mobile */
  }
  h2 {
    /* font-size: 1.8em !important; */
    margin-bottom: .6em;
  }
  h3 {
    font-size: 1.5em !important;
  }
  .p_lead {
    font-size: 1em !important;
    font-weight: 600;
    color: #253A7E;
  }
  .whatwedoheaders {
    min-height: 1em;
  }
  .img_col_bg {
    padding: 0em; 
}
.top_col_hero,
.top_col_universal,
.top_col_private {
    padding-top: 1em;
    padding-bottom: 1em;
}
.mid_col_pebble,
.mid_col_darkblue,
.mid_col_mintlighter,
.bg_purplelight,
.bg_yelllight,
.bg_bluelight {
    padding-top: 1em;
    padding-bottom: 2em;
    margin-bottom: 1em;
}
.box_white,
.box_gold,
.box_bluelight,
.box_blueprivate,
.box_mintlight,
.bg_mintlighter,
.box_pebble,
.box_purplelight,
.box_steps,
.box_stepspebble,
.box_clinicians,
.box_noticeboard {
    padding: 1em;
}

#main #content-wrap {
    padding-bottom: 0;
}

  /* mobile inline prediag menu --------------------- */
  #site-header {
    border-bottom: #EFEFEC 1px solid !important;
  }
  /* .cover_top_pds img {
    visibility: hidden !important;
  } */
  div.cover_top_pds div::before {
    content: url('https://www.skylightpsychiatry.co.uk/wp-content/uploads/2025/01/spacer1.png') !important;
    display: block;
    height: 120px !important;
   }
	.widget-area.sidebar-primary, .widget-area.sidebar-secondary, .content-left-sidebar .widget-area { 
    position: fixed !important;
    top: 85px;
    left: 0; 
    z-index: 10;
  } 

  .nav_pds  {
    background-color: #fff;
    margin: 0;
    padding: .6em .6em .4em .6em !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
    text-transform: none;
    font-size: 1.2em !important;
    }
  .nav_pds li {
    display: inline;
    padding: 3px;
  }
  .nav_pds a {
    display: inline;
    padding: 5px 10px ;
  }
  /* Sticky sidebar */ 
    /* 1. Force OceanWP structural container to use modern flex block flow */
    #content-wrap .container,
    .content-sidebar-wrap,
    #content-wrap {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
            -ms-flex-direction: column !important;
                flex-direction: column !important; /* Forces layout boxes into a single column vertical stack */
        float: none !important;
        width: 100% !important;
    }

    /* 2. Push the main website body article content lower down the page flow */
    #primary, 
    .content-area {
        -webkit-box-ordinal-group: 3 !important;
            -ms-flex-order: 2 !important;
                order: 2 !important;
        float: none !important;
        width: 100% !important;
    }

    /* 3. Pull right-sidebar to structural position #1 and apply high-intensity sticky values */
    #right-sidebar { 
        -webkit-box-ordinal-group: 2 !important; 
            -ms-flex-order: 1 !important; 
                order: 1 !important; /* Guarantees layout placement above main content text */
        float: none !important;
        width: 100% !important;
        
        /* Activate responsive mobile sticky tracking */
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 90px !important; /* Offsets down precisely past your mobile header */
        
        height: auto !important;
        max-height: 40vh !important; /* Safety constraint: stops long sidebars from swallowing mobile screens */
        overflow-y: auto !important; /* Lets users scroll within the sidebar if it contains lots of links */
        z-index: 99 !important;
        background-color: #ffffff !important; /* Prevents article text below from showing through */
    }
   /* mobile inline prediag menu end --------------------- */

  .img_onboard_hb {
    width: 100%;
    float: none;
  }
  .box_header {
    padding-bottom: 3px;
    background-color: rgb(255, 255, 255, 0);
    border-bottom: #4FA9A9 1px solid;
    color: #4FA9A9;
    width: 100%;
  }
/* cover --------------------- */
.wp-block-spacer {
  height: 30px !important;
}
.cover_top_pds span {
  background-color: #fff !important;
  opacity: 10% !important;
}
.cover_top_pds {
  min-height: 200px !important;
  background-color: #E5E7F0 !important;
  margin-bottom: 1em;
    /* background: rgba(255, 0, 150, 0.5) !important; */
}
.cover_top_pds img {
  opacity: 70%;
}
.cover_top_pds h2 {
  width: 90%;
  margin-left: .4em;
  text-align: left;
  padding-top: .3em;
  padding-left: .4em;
  padding-right: .4em;
  font-size: 1em !important;
}
.cover_top_pds h3 {
  margin-left: .4em !important;
  padding-left: .5em !important;
  width: 90%;
  font-size: 1em !important;
}
/* .cover_top_pds h3 br:first-child {
  display: none !important;
} */
.cover_top_pds p {
  padding-left: .5em !important;
}
.cover_top_onboarding h2 {
  padding-top: 30px;
  padding-left: 1em;
}

/* media and text block --------------------- */
.hero img {
  padding-bottom: 2em;
}.hero p {
  margin: auto;
  margin-bottom: 1em;
  /* text-align: center; */
}
.hero p:last-child {
  margin: auto;
  margin-bottom: 0;
  padding-bottom: 0em;
}
.herobox {
  padding-top: 0;
}
.wait_times {
  margin: auto;
  margin-top: 1em;
  margin-bottom: 2.2em;
}
.getintouch_box {
  padding: 20px 0;
}
.getintouch_box h2 {
  margin-bottom: 0;
}
.getintouch_box h2,
.getintouch_box .btn_darkblue {
  padding: 10px 0;
}
/* doctify --------------------- */
.col_doctify img{
  padding-bottom: 0;
}
/* columns --------------------- */
.wp-block-columns {
  gap: 1em !important;
}
/* Vision  */
.statement_box {
  padding: 1.4em;
}
.statement_box > div > div {
margin: 0;
}
.statement_box h2,
.statement_box p,
.statement_box blockquote {
  border: none;
  text-align: center;
  padding: 0 0 5px 0;
}
/* ColourBGs - Mission  */
.top_col {
  margin-top: 0 !important;
}
.top_col > div {
  margin: 2em 1.4em 0 1.4em !important;
}
.mission,
.col_blue,
.col_teal,
.col_white
 {
  margin: 0 0 1.4em 0;
}
.mission > div,
.col_blue > div,
.col_teal > div,
.col_white  > div
 {
  margin: 2.4em 1.4em 0 1.4em;
}
figure.alignleft {
  float: none !important;
  margin: 0 auto !important;
}
.box_steps > div {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.box_pane {
  /* background: rgba(255, 255, 255, 0.2);  */
  margin-right: 8em;
}
.col_bios,
.col_bios_last {
  margin-bottom: 1em;
}
.col_bios > div,
.col_bios_last > div {
  margin-bottom: 1em;
}
.col_bios_last div:nth-child(1) {
  border-bottom: 1px dotted #4FA9A9 !important;
}
.col_bios_last div:nth-child(1) > div {
  margin-bottom: 0;
}
.col_bios_last div:nth-child(1) > div > div {
  border: none !important;
}

.col_bios figure > img,
.col_bios_last figure > img {
  width: 50%;
}
.col_stages {
  margin-bottom: 0;
  gap: 0 !important;
}
.mission figure {
  margin-bottom: 10px !important;
}

/* List --------------------- */
.list_sp li,
.list_sp_long  {
  text-align: left;
 }
 
 /* Floated image --------------------- */
.name {
  clear: both
;}
.icon_pds img {
  margin: auto;
}
}
 /* Footer --------------------- */
//* Footer 6-col */
    body #footer-widgets .footer-widgets-inner {
        display: block !important;
    }

    body #footer-widgets .footer-box {
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        float: none !important;
    }

    body #footer-widgets .footer-box:last-child {
        margin-bottom: 0 !important;
    }

/*--------------------------------------------------------------
Animation effects
--------------------------------------------------------------*/
/* --- SCROLL FADE --- */
/* Initial hidden state of the element */
.reveal-fade-up {
  opacity: 0;
  -webkit-transform: translateY(24px);
      -ms-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  -o-transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  will-change: transform, opacity;
}
/* State when the element enters the viewport */
.reveal-fade-up.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
/* Respect user accessibility preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up {
    opacity: 1 !important;
    -webkit-transform: none !important;
        -ms-transform: none !important;
            transform: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
  }
}
/* --- SLIDE IN FROM DOWN TO UP --- */
/* Base animation configuration (from previous steps) */
.reveal-slide-up {
  opacity: 0;
  -webkit-transform: translateY(35px);
      -ms-transform: translateY(35px);
          transform: translateY(35px);
  -webkit-transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  -o-transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              -webkit-transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  will-change: transform, opacity;
}
.reveal-slide-up.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
/* --- DELAY UTILITY CLASSES --- */
/* Column 1 (No class needed, starts immediately) */

/* Column 2 / Element 2 delay (0.2 seconds) */
.delay-1 {
  -webkit-transition-delay: 0.2s !important;
       -o-transition-delay: 0.2s !important;
          transition-delay: 0.2s !important;
}
/* Column 3 / Element 3 delay (0.4 seconds) */
.delay-2 {
  -webkit-transition-delay: 0.4s !important;
       -o-transition-delay: 0.4s !important;
          transition-delay: 0.4s !important;
}
/* Column 4 / Element 4 delay (0.6 seconds) */
.delay-3 {
  -webkit-transition-delay: 0.6s !important;
       -o-transition-delay: 0.6s !important;
          transition-delay: 0.6s !important;
}
/* Column 5 / Element 4 delay (0.8 seconds) */
.delay-4 {
  -webkit-transition-delay: 0.8s !important;
       -o-transition-delay: 0.8s !important;
          transition-delay: 0.8s !important;
}
/* Column 6 / Element 4 delay (1.0 seconds) */
.delay-5 {
  -webkit-transition-delay: 1.0s !important;
       -o-transition-delay: 1.0s !important;
          transition-delay: 1.0s !important;
}
/* Column 7 / Element 4 delay (1.2 seconds) */
.delay-6 {
  -webkit-transition-delay: 1.2s !important;
       -o-transition-delay: 1.2s !important;
          transition-delay: 1.2s !important;
}

/* Accessibility: Remove delays if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .delay-1, .delay-2, .delay-3 {
    -webkit-transition-delay: 0s !important;
         -o-transition-delay: 0s !important;
            transition-delay: 0s !important;
  }
}

/* ==========================================================================
   CUSTOM MOBILE SLIDING BURGER MENU - rest is found in functions.php
   ========================================================================== */
/* Force mobile menu links to ignore theme capitalization */
/* 1. Target every possible state of the links inside your custom panel */
#dr-panel #dr-nav-root li a, 
#dr-panel #dr-nav-root li a span,
#dr-panel .dr-submenu li a,
#dr-panel .dr-submenu li a span,
#dr-back span {
    text-transform: none !important;
    text-transform: lowercase !important; /* Force lowercase first to test if it's working */
    text-transform: none !important;      /* Set back to none for normal casing */
    font-variant: normal !important;
}

/* 2. OceanWP specific override - sometimes the theme targets these classes globally */
#dr-panel .menu-item a {
    text-transform: none !important;
}
/* ==========================================================================
   CUSTOM MOBILE SLIDING BURGER MENU END
   ========================================================================== */
/*--------------------------------------------------------------
Tablet screens - for viewports 768px to 1024px
--------------------------------------------------------------*/
  @media screen and (min-width: 768px) and (max-width: 1024px) {

h2 {
  font-size: 2.2em !important;
  margin-bottom: 1em;
}
h3 {
  font-size: 1.4em !important;
}
/* cover --------------------- */
.cover_top {
  margin-bottom: 2em;
}
.wp-block-spacer {
  height: 10px !important;
}
.cover_top_onboarding h2 {
  padding-top: 30px;
  padding-left: 2em;
}

.top_col_universal > .wp-block-column:nth-child(2),
.top_col_private > .wp-block-column:nth-child(2) {
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 1 40% !important;
            flex: 0 1 40% !important; /* Sets base to 25% */
    max-width: 40% !important; /* Hard ceiling for the width */
  }
}

/* media and text block --------------------- */
.hero {
  grid-template-columns: auto 40% !important;
}
.hero p {
  padding-bottom: .2em;
}
/* .hero p:last-child {
  margin-left: 1.8em;
} */
.getintouch_box {
  padding: 20px 0;
}
.getintouch_box h2 {
  margin-bottom: 0;
}
.getintouch_box h2,
.getintouch_box .btn_darkblue {
  padding: 10px 0;
}
/* columns --------------------- */
.col_hero > div {
  -ms-flex-preferred-size: 40% !important;
      flex-basis: 40% !important;
} 
.wp-block-columns {
  gap: 1.8em !important;
}
/* Vision  */
.statement_box {
  padding: 2em 1.4em;
}
.statement_box p {
  padding: 0 0 5px 0;
}
.statement_box {
  margin-bottom: 2em;
}
/* ColourBGs - Mission  */
.top_col {
  margin-top: 0 !important;
}
.top_col > div {
  margin: 2em 2em 0 2em !important;
}
.mission,
.col_blue,
.col_teal,
.col_white
 {
  margin: 0 0 2em 0;
}
.mission > div,
.col_blue > div,
.col_teal > div,
.col_white  > div
 {
  margin: 3em 2em 0 2em;
}

/* doctify --------------------- */
.col_doctify {
  gap: .8em !important;
}
/* columns --------------------- */

/* Footer --------------------- */
/* Footer 6-col*/
    body #footer-widgets .footer-widgets-inner {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    body #footer-widgets .footer-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }
/* ==========================================================================
   4. LAPTOP & STANDARD DESKTOP LAYOUT (@media screen and (min-width: 1025px))
   --------------------------------------------------------------------------
   Forces the grid layout out of the box across all desktop viewports.
   ========================================================================== */
@media screen and (min-width: 1025px) {
  /* Footer --------------------- */
  /* Footer 6-col*/
    body #footer-widgets .footer-widgets-inner {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    body #footer-widgets .footer-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }
}
/*--------------------------------------------------------------
Large screens - for viewports 1400px and wider:
--------------------------------------------------------------*/
  @media screen and (min-width: 1441px) {

/* columns --------------------- */
.top_col > div {
  margin: 2em 6em 0 6em !important;
}
.mission > div,
.col_blue > div,
.col_teal > div,
.col_white  > div
  {
    margin: 3em 8em 0 8em;
  }
/* Footer --------------------- */
/* Footer 6-col*/
    body #footer-widgets .footer-widgets-inner {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }

}


.custom-blog-template .sky-blog{
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: block;
  padding-top: 50px;
}

.sky-blog__content{
max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

@media only screen and (max-width:1300px){
  .custom-blog-template .sky-blog{
    padding: 50px 20px 0;
  }
}

.custom-blog-template .sky-blog .sky-blog__body.entry-content * {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.sky-blog__header{
  aspect-ratio: 3/1;
  background-size: cover;
  background-position: 50% 50%;
}

.sky-blog__section ul{
  padding: 0 20px !important;
}

/* Gallery: mobile 2 cols (1 image = full width). Desktop: 2 = 2 cols, 3 = 3 cols, 4+ = 4 cols. */
.sky-blog__images{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.sky-blog__section + .sky-blog__section{
  margin-top: 30px;
}

.sky-blog__images .sky-blog__image{
  display: block;
  width: calc((100% - (1 * 30px)) / 2 );
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.sky-blog__images--1 .sky-blog__image{
  width: 100%;
  aspect-ratio: 16/9;
}

@media only screen and (min-width:1000px){
    .sky-blog__images .sky-blog__image{
      width: calc((100% - (3 * 30px)) / 4 );
    }
    .sky-blog__images--2 .sky-blog__image{
      width: calc((100% - (1 * 30px)) / 2 );
    }
    .sky-blog__images--3 .sky-blog__image{
      width: calc((100% - (2 * 30px)) / 3 );
    }
    .sky-blog__images--1 .sky-blog__image{
      width: 100%;
    }
}

.sky-cards{
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.sky-cards .sky-card{
  width: 100%;
  -webkit-transition: all ease 0.6s;
  -o-transition: all ease 0.6s;
  transition: all ease 0.6s;
}

@media only screen and (min-width:1000px){
  .sky-cards .sky-card:hover{
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
    -webkit-transition: all ease 0.6s;
    -o-transition: all ease 0.6s;
    transition: all ease 0.6s;
  }
}

.sky-cards .sky-card .item {
  display: block;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

.sky-cards .sky-card .sky-card__image{
  aspect-ratio: 3/1;
  background-size: cover;
  background-position: 50% 50%;
}

@media only screen and (min-width:767px){
    .sky-cards .sky-card{
      display: block;
      width: calc((100% - (1 * 30px)) / 2 );
    }
}

@media only screen and (min-width:1000px){
    .sky-cards .sky-card{
      display: block;
      width: calc((100% - (3 * 30px)) / 4 );
    }
}