/* Old-template geo pages: restyle only (task: Novian geo pages restructure). Palette = site navy #084873, orange #f7941d. */

/* 1. Hero: the three mixed cards (white / grey / blue) become one style */
body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text{background:rgba(255,255,255,.97)!important;border-top:4px solid #f7941d;border-radius:10px;box-shadow:0 14px 34px rgba(0,18,40,.28);padding:26px 24px!important}
body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text *{color:#2b3644!important}
body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text h1,body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text h2,body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text h3,body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text h4,body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)) .et_pb_text strong{color:#084873!important;font-family:Montserrat,Helvetica,Arial,sans-serif!important;font-weight:700!important}
@media (min-width:981px){
 body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2)){display:flex;align-items:stretch}
 body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2))>.et_pb_column{display:flex;flex-direction:column}
 body.glp-geo-old .et_pb_section_0 .et_pb_row:has(>.et_pb_column:nth-child(2))>.et_pb_column>.et_pb_text{flex:1 1 auto}
}

/* 2. Service blurbs with a photo: floating cards, uniform photo crop, sans-serif titles */
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap){background:#fff;border:1px solid #e6eaf0;border-bottom:3px solid #f7c27a;border-radius:10px;box-shadow:0 10px 26px rgba(8,72,115,.10);overflow:hidden;padding:0 0 22px!important;transition:transform .2s,box-shadow .2s}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap):hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(8,72,115,.16)}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top .et_pb_main_blurb_image{width:100%!important;max-width:100%!important;margin:0 0 18px!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top .et_pb_main_blurb_image .et_pb_image_wrap{display:block!important;width:100%!important;max-width:100%!important;margin:0!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top .et_pb_main_blurb_image img{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:0!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap) .et_pb_blurb_container{padding:0 22px!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap) .et_pb_module_header,body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap) .et_pb_module_header a{font-family:Montserrat,Helvetica,Arial,sans-serif!important;font-weight:700!important;font-size:16px!important;line-height:1.3!important;color:#084873!important;padding-bottom:8px!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap) .et_pb_blurb_description{font-size:14px;line-height:1.65;color:#2b3644}
body.glp-geo-old .et_pb_section:has(.et_pb_only_image_mode_wrap){background:linear-gradient(#fff,#f5f7fa)}
@media (min-width:981px){
 body.glp-geo-old .et_pb_row:has(>.et_pb_column>.et_pb_blurb_position_top .et_pb_only_image_mode_wrap){display:flex;align-items:stretch}
 body.glp-geo-old .et_pb_row:has(>.et_pb_column>.et_pb_blurb_position_top .et_pb_only_image_mode_wrap)>.et_pb_column{display:flex!important;flex-direction:column}
 body.glp-geo-old .et_pb_row:has(>.et_pb_column>.et_pb_blurb_position_top .et_pb_only_image_mode_wrap)>.et_pb_column>.et_pb_blurb{flex:1 1 auto;width:100%!important;max-width:100%!important;margin:0!important;height:auto!important}
}
@media (max-width:980px){body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap){margin-bottom:22px!important}}

body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap){width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
body.glp-geo-old .et_pb_blurb.et_pb_blurb_position_top:has(.et_pb_only_image_mode_wrap) .et_pb_blurb_content{max-width:none!important;margin:0!important}

/* 3. Attorneys: framed portraits */
body.glp-geo-old .et_pb_section:has(.et_pb_divider) .et_pb_image img{border-radius:10px;box-shadow:0 12px 28px rgba(0,18,40,.18)}

/* 4. Testimonials: equal cards with an orange top rule */
body.glp-geo-old .et_pb_section:has(.et_pb_testimonial),body.glp-geo-old .et_pb_section:has(+.et_pb_section .et_pb_testimonial){background:#f4f6f9!important}
body.glp-geo-old .et_pb_column:has(>.et_pb_testimonial){background:#fff;border:1px solid #e6eaf0;border-top:4px solid #f7941d;border-radius:10px;box-shadow:0 10px 26px rgba(8,72,115,.10);padding:28px 26px 24px!important}
body.glp-geo-old .et_pb_column:has(>.et_pb_testimonial) .et_pb_image{margin-bottom:14px!important}
body.glp-geo-old .et_pb_testimonial .et_pb_testimonial_content{font-style:italic;color:#2b3644;line-height:1.7}
body.glp-geo-old .et_pb_testimonial .et_pb_testimonial_author{display:block;margin-top:14px;color:#084873;font-family:Montserrat,Helvetica,Arial,sans-serif;font-weight:700}
@media (min-width:981px){
 body.glp-geo-old .et_pb_row:has(>.et_pb_column>.et_pb_testimonial){display:flex;align-items:stretch}
}
@media (max-width:980px){body.glp-geo-old .et_pb_column:has(>.et_pb_testimonial){margin-bottom:20px!important}}
body.glp-geo-old .et_pb_section:has(+.et_pb_section .et_pb_testimonial) .et_pb_row,body.glp-geo-old .et_pb_section:has(+.et_pb_section .et_pb_testimonial) .et_pb_module{background:transparent!important}
body.glp-geo-old .et_pb_section:has(+.et_pb_section .et_pb_testimonial){margin-top:0!important;margin-bottom:0!important;padding:54px 0 24px!important;display:flow-root}
body.glp-geo-old .et_pb_section:has(.et_pb_testimonial){margin-top:0!important;display:flow-root;padding-bottom:48px!important}
