/* Stable header geometry, including widths between tablet and desktop. */
html body #main-header .et_menu_container {
  width:calc(100% - 64px)!important; max-width:1440px;
  height:100px; display:flex; align-items:center; justify-content:space-between; gap:32px;
}
html body #main-header .logo_container {
  position:static!important; width:auto; height:auto; flex:0 0 120px;
  display:flex!important; align-items:center; text-align:left;
}
html body #main-header .logo_helper { display:none!important; }
html body #main-header .logo_container > a { display:block; line-height:0; }
html body #main-header .logo_container #logo {
  display:block!important; width:120px!important; height:auto!important;
  max-width:100%!important; max-height:none!important; margin:0!important; transform:none!important;
}
html body #main-header #et-top-navigation { padding:0!important; float:none; font-weight:500; }
html body #top-menu { display:flex; flex-wrap:nowrap; align-items:center; gap:20px; }
html body #top-menu > li { padding:0!important; font-size:15px; }
html body #top-menu > li > a { padding:16px 0!important; white-space:nowrap; }
html body #top-menu > li > a:before { bottom:7px; }
html body #main-header a:empty { display:none!important; }
html body #top-menu .menu_cta > a { padding:14px 20px!important; }
html body #main-header a:focus-visible, html body #main-header .mobile_menu_bar:focus-visible {
  outline:2px solid #becde0; outline-offset:5px;
}
/* Reserve space immediately, before Divi's JavaScript measures the header. */
html body.et_pb_pagebuilder_layout #main-content .et_pb_section_0 { padding-top:164px!important; }
html body #page-container #main-content .babiana-cos-hero {
  min-height:540px; box-sizing:border-box; display:flex; align-items:center;
  padding:164px 0 64px!important;
}
html body #page-container #main-content .babiana-cos-hero > .et_pb_row { padding:0!important; }
html body.home #page-container #main-content .et_pb_section_0 {
  min-height:640px; min-height:clamp(640px,85svh,840px); box-sizing:border-box;
  display:flex; align-items:center; padding:164px 0 72px!important;
}
html body.home #main-content .et_pb_section_0 > .et_pb_row { margin-top:0!important; padding-top:0!important; padding-bottom:0!important; }
html body.page-id-2307 #main-content .et_pb_section_0 { min-height:500px; padding-bottom:64px!important; }
html body.page-id-2307 #main-content .et_pb_section_0 > .et_pb_row { padding-top:0!important; padding-bottom:0!important; }
@media (min-width:1280px) and (max-width:1439px) {
  html body #main-header .et_menu_container { gap:24px; }
  html body #top-menu { gap:16px; }
  html body #top-menu > li { font-size:14px; }
  html body #top-menu .menu_cta > a { padding:14px 16px!important; }
}
@media (max-width:1279px) {
  html body #main-header .et_menu_container { height:80px; }
  html body #main-header #top-menu-nav { display:none!important; }
  html body #main-header #et_mobile_nav_menu { display:block!important; float:none; margin:0; }
  html body #main-header .logo_container { flex-basis:104px; }
  html body #main-header .logo_container #logo { width:104px!important; }
  html body #main-header #et-top-navigation .mobile_menu_bar { padding:8px 0!important; display:block; }
  html body #main-header .mobile_menu_bar:before { color:#fff!important; font-size:36px; }
  html body #main-header #mobile_menu {
    top:100%; padding:16px 24px!important; background:#243852!important;
    border-top:2px solid #becde0; max-height:calc(100dvh - 100px); overflow-y:auto;
  }
  html body #main-header #mobile_menu li a { padding:12px 8px!important; font-size:16px!important; line-height:22px; color:#fff!important; }
  html body #main-header #mobile_menu .menu-item-2967,
  html body #main-header #mobile_menu .menu-item-2966 { display:inline-block; width:48px; }
  html body #main-header #mobile_menu .menu_cta { margin-top:12px; border:0; }
  html body #main-header #mobile_menu .menu_cta a { background:#40598d!important; text-align:center; }
  html body.et_pb_pagebuilder_layout #main-content .et_pb_section_0 { padding-top:136px!important; }
  html body #page-container #main-content .babiana-cos-hero { padding:136px 0 56px!important; }
  html body.home #page-container #main-content .et_pb_section_0 { padding:136px 0 56px!important; }
}
@media (max-width:767px) {
  html body #main-header .et_menu_container { width:calc(100% - 40px)!important; height:76px; }
  html body #main-header .logo_container { flex-basis:96px; }
  html body #main-header .logo_container #logo { width:96px!important; }
  html body #main-header #mobile_menu { padding:12px 16px!important; }
  html body.et_pb_pagebuilder_layout #main-content .et_pb_section_0 { padding-top:120px!important; }
  html body #page-container #main-content .babiana-cos-hero { min-height:480px; padding:120px 0 48px!important; }
  html body.home #page-container #main-content .et_pb_section_0 { min-height:0; padding:120px 0 48px!important; }
  html body.home #main-content .et_pb_section_0 .et_pb_text { padding:0!important; }
  html body.page-id-2307 #main-content .et_pb_section_0 { min-height:360px; padding-bottom:48px!important; }
}
/* The clearfix pseudo-element must not become a third flex item. */
html body #main-header .et_menu_container:after { display:none; }
html body #main-content .babiana-blog-hero > .et_pb_row { padding:0!important; }
@media (max-width:767px) {
  html body #main-content .babiana-blog-hero { padding-bottom:40px!important; }
}
/* Hero content shares the logo's container and has no inherited bottom spacer. */
html body #page-container #main-content .et_pb_section_0 > .et_pb_row {
  width:calc(100% - 64px)!important; max-width:1440px!important;
  margin-left:auto!important; margin-right:auto!important;
}
html body.home #page-container #main-content .et_pb_section_0 { padding-bottom:64px!important; }
html body.home #page-container #main-content .et_pb_section_0 > .et_pb_row { margin-top:0!important; margin-bottom:0!important; }
html body.home #main-content .et_pb_section_0 .et_pb_text { padding:0!important; max-width:960px; }
@media (max-width:1279px) {
  html body.home #page-container #main-content .et_pb_section_0 { padding-bottom:56px!important; }
}
@media (max-width:767px) {
  html body #page-container #main-content .et_pb_section_0 > .et_pb_row { width:calc(100% - 40px)!important; }
  html body.home #page-container #main-content .et_pb_section_0 { padding-bottom:44px!important; }
}
/* Blog: the same photographic hero, palette and typography as the service pages. */
html body.page-id-3584 #main-header { background:transparent!important; }
html body.page-id-3584 #page-container #main-content .babiana-blog-hero {
  background:linear-gradient(90deg,rgba(18,25,25,.76),rgba(18,25,25,.38)),url('/wp-content/uploads/2026/03/18066-3.avif') center 46%/cover no-repeat!important;
  min-height:460px; display:flex; align-items:center; box-sizing:border-box;
  padding:164px 0 64px!important;
}
html body.page-id-3584 .babiana-blog-hero .et_pb_text { max-width:760px; margin:0; font-family:'Open Sans',sans-serif; font-size:17px; line-height:1.8; }
html body.page-id-3584 .babiana-blog-hero h1 { font-family:'Poppins',sans-serif; font-size:42px; line-height:1.25; font-weight:500; margin-bottom:14px; }
html body.page-id-3584 #main-content .et_pb_section_1 { background:#f2f4f7; padding:72px 0!important; }
html body.page-id-3584 #main-content .et_pb_section_1 > .et_pb_row { width:calc(100% - 64px); max-width:1440px; padding:0; }
html body.page-id-3584 .babiana-blog-list .et_pb_ajax_pagination_container { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 32px; }
html body.page-id-3584 .babiana-blog-list .et_pb_ajax_pagination_container:after { display:none; }
html body.page-id-3584 .babiana-blog-list .et_pb_post { display:flex; flex-direction:column; min-width:0; margin:0!important; padding:0 28px 28px; background:#fff; border:0; }
html body.page-id-3584 .babiana-blog-list .entry-featured-image-url { display:block; margin:0 -28px 28px; }
html body.page-id-3584 .babiana-blog-list .entry-featured-image-url img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
html body.page-id-3584 .babiana-blog-list h2.entry-title { padding:0; margin:0 0 16px; font-family:'Poppins',sans-serif; font-size:23px; font-weight:500; line-height:1.4; color:#232929; }
html body.page-id-3584 .babiana-blog-list .entry-title a { color:inherit; }
html body.page-id-3584 .babiana-blog-list .entry-title a:hover { color:#40598d; }
html body.page-id-3584 .babiana-blog-list .post-meta { padding:0!important; margin:0 0 20px; font:13px/1.6 'Open Sans',sans-serif; color:#596571; }
html body.page-id-3584 .babiana-blog-list .post-content { display:flex; flex-direction:column; flex:1; font:16px/1.75 'Open Sans',sans-serif; color:#4e565b; }
html body.page-id-3584 .babiana-blog-list .post-content-inner { margin-bottom:28px; }
html body.page-id-3584 .babiana-blog-list .post-content-inner p { padding:0!important; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
html body.page-id-3584 .babiana-blog-list a.more-link { display:inline-block; align-self:flex-start; margin-top:auto; padding:12px 20px; background:#40598d; color:#fff; font:600 15px/1.5 'Open Sans',sans-serif; text-transform:none; transition:background-color .2s,color .2s; }
html body.page-id-3584 .babiana-blog-list a.more-link:first-letter { text-transform:uppercase; }
html body.page-id-3584 .babiana-blog-list a.more-link:hover { background:#becde0; color:#243852; }
html body.page-id-3584 .babiana-blog-list a:focus-visible { outline:2px solid #40598d; outline-offset:4px; }
html body.page-id-3584 .babiana-blog-list .pagination { grid-column:1/-1; border-top:1px solid #cbd4dc; padding:28px 0 0; }
html body.page-id-3584 .babiana-blog-list .pagination a { display:inline-block; padding:12px 20px; color:#40598d; background:#fff; font:600 15px/1.5 'Open Sans',sans-serif; }
@media(max-width:1279px) {
  html body.page-id-3584 #page-container #main-content .babiana-blog-hero { padding:136px 0 56px!important; min-height:420px; }
}
@media(max-width:1100px) {
  html body.page-id-3584 .babiana-blog-list .et_pb_ajax_pagination_container { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
  html body.page-id-3584 #page-container #main-content .babiana-blog-hero { min-height:380px; padding:120px 0 44px!important; background-position:35% center!important; }
  html body.page-id-3584 .babiana-blog-hero h1 { font-size:32px; }
  html body.page-id-3584 .babiana-blog-hero .et_pb_text { font-size:16px; }
  html body.page-id-3584 #main-content .et_pb_section_1 { padding:40px 0!important; }
  html body.page-id-3584 #main-content .et_pb_section_1 > .et_pb_row { width:calc(100% - 40px); }
  html body.page-id-3584 .babiana-blog-list .et_pb_ajax_pagination_container { grid-template-columns:minmax(0,1fr); gap:28px; }
  html body.page-id-3584 .babiana-blog-list .et_pb_post { padding:0 20px 24px; }
  html body.page-id-3584 .babiana-blog-list .entry-featured-image-url { margin:0 -20px 24px; }
  html body.page-id-3584 .babiana-blog-list h2.entry-title { font-size:22px; }
}
html body.page-id-3584 #page-container .babiana-blog-list a.more-link { color:#fff!important; }
html body.page-id-3584 #page-container .babiana-blog-list a.more-link:hover { background:#35568e!important; color:#fff!important; }
