/* A focused search is marked by its underline, without a box around the field. */
body.faflds :is(.faflds-search-panel,.faflds-results-form,.flp-blog-search,.et_pb_search) input[type=search]:focus,
body.faflds :is(.flp-blog-search,.et_pb_search) input[name=s]:focus{outline:0!important;border-bottom-color:var(--fl-blue)!important;box-shadow:0 2px 0 var(--fl-blue)!important}
body.faflds .flp-blog-search input[name=s]:focus{box-shadow:0 2px 0 #fff!important}

/* Course details are a separate, light strip rather than another block in the hero. */
body.faflds .flp-service-hero.et_pb_section{padding:0!important}
body.faflds .flp-service-hero .flp-hero-grid{padding-block:42px!important;gap:48px!important;align-items:center!important}
body.faflds .flp-service-hero h1{font-size:clamp(32px,3.25vw,46px)!important;line-height:1.15!important;letter-spacing:-.035em!important}
body.faflds .flp-service-hero .flp-eyebrow{font-size:12px!important;margin-bottom:12px!important}
body.faflds .flp-service-hero .flp-lead{font-size:17px!important;line-height:1.55!important;margin:18px 0 0!important}
body.faflds .flp-service-hero .flp-service-photo img{aspect-ratio:1.5!important;max-height:350px;object-fit:cover;object-position:center}
body.faflds .flp-service-hero .flp-actions-module{margin-top:26px!important}
body.faflds .flp-service-hero .flp-service-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;margin:0!important}
body.faflds .flp-service-hero .flp-service-actions .flp-button{width:auto!important;max-width:100%;min-height:48px!important;padding:12px 20px!important;font-size:15px!important;line-height:1.5!important;text-align:center;white-space:normal}
body.faflds .flp-service-hero .flp-service-actions .flp-text-link{font-size:14px!important;min-height:40px!important;line-height:1.5!important;gap:10px!important}
body.faflds .faflds-course-facts-band.et_pb_section{padding:0!important;background:#f5f8fb!important;border-bottom:1px solid var(--fl-line)}
body.faflds .faflds-course-facts-row.et_pb_row{padding:20px 0!important;margin-block:0!important}
body.faflds .faflds-course-facts-row .et_pb_module{margin:0!important;padding:0!important}
body.faflds .faflds-course-facts-band .flp-course-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;border:0!important;padding:0!important;margin:0!important;color:var(--fl-ink)!important;font-size:15px!important;line-height:1.5!important}
body.faflds .faflds-course-facts-band .flp-course-facts>span{padding:2px 24px 2px 0;border-right:1px solid var(--fl-line);min-width:0}
body.faflds .faflds-course-facts-band .flp-course-facts>span:last-child{border:0;padding-right:0}
body.faflds .faflds-course-facts-band .faflds-course-online{margin-top:10px!important;text-align:left!important}
body.faflds #page-container .faflds-course-facts-band a.et_pb_button.faflds-course-online{background:transparent!important;color:var(--fl-blue)!important;border:0!important;padding:4px 0!important;min-height:36px!important;border-radius:0!important;font:500 14px/1.5 FAFLInter,Arial,sans-serif!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:4px}
body.faflds .faflds-course-facts-band a.et_pb_button.faflds-course-online::after{display:none!important}
body.faflds .flp-course-card p.flp-card-note{display:inline-block!important;width:fit-content!important;max-width:100%;padding:6px 10px!important;margin:0 0 22px!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important;color:#175079!important;background:#edf5fb;border:1px solid #d9e9f4;border-radius:4px;letter-spacing:0!important;text-align:left!important}

/* Shared, restrained headings and content rhythm across the Why Us pages. */
body.faflds .faflds-about-hero.et_pb_section{padding:40px 0!important;min-height:0!important}
body.faflds .faflds-about-hero .et_pb_row{padding:0!important;align-items:center!important}
body.faflds .faflds-about-hero .faflds-heading-wide>.et_pb_column{width:100%!important;margin:0!important}
body.faflds .faflds-about-hero h1{font-size:clamp(32px,3.3vw,46px)!important;line-height:1.18!important;max-width:1000px;margin:0!important;padding:0!important}
body.faflds .faflds-about-hero h4{font-size:12px!important;letter-spacing:.04em!important;line-height:1.5!important;margin:0!important;padding:0!important}
body.faflds .faflds-about-hero .et_pb_text{margin-bottom:14px!important}
body.faflds .faflds-about-hero .et_pb_button_module_wrapper{margin-top:20px!important;margin-bottom:0!important}
body.faflds .faflds-about-hero .et_pb_image img{max-height:300px!important;aspect-ratio:1.65;object-fit:cover;border-radius:8px}
body.faflds .faflds-about-content.et_pb_section{padding:44px 0!important}
body.faflds .faflds-about-content .flp-general-layout{padding-block:0!important}
body.faflds .faflds-about-content :is(.et_pb_text,.et_pb_blurb_description){font-size:16px!important;line-height:1.75!important}
body.faflds .faflds-about-content .et_pb_text p{line-height:1.75!important}
body.faflds .faflds-about-content .et_pb_row+.et_pb_row{margin-top:32px!important}
body.faflds .faflds-about-content .et_pb_toggle{border:1px solid var(--fl-line)!important;border-radius:6px;background:#f5f8fb!important;padding:20px!important;margin-bottom:12px!important}
body.faflds .faflds-about-content .et_pb_toggle_title{font-size:17px!important;line-height:1.45!important;color:var(--fl-ink)!important;padding-right:28px!important}
body.faflds .faflds-about-content .et_pb_toggle_open{background:#fff!important}
body.faflds .faflds-about-content .faflds-empty-spacer{display:none!important}
body.faflds .faflds-about-video{max-width:100%;margin-block:24px!important}
body.faflds .faflds-about-video .et_pb_video_box{aspect-ratio:16/9;overflow:hidden;background:#f5f8fb}
body.faflds .faflds-about-video iframe{max-width:100%!important}
body.faflds .faflds-about-gallery .et_pb_gallery_title{font-size:15px!important;line-height:1.5!important;letter-spacing:0!important;padding-top:10px!important}
body.faflds .faflds-about-gallery .et_pb_gallery_caption{font-size:14px!important;line-height:1.6!important}
body.faflds .faflds-press-grid .et_pb_blurb{padding:18px!important;border:1px solid var(--fl-line);border-radius:8px;background:#f5f8fb}
body.faflds .faflds-press-grid .et_pb_blurb h4{font-size:16px!important;line-height:1.45!important;letter-spacing:0!important}
body.faflds .faflds-press-grid .et_pb_main_blurb_image img{max-height:130px;object-fit:contain}
body.faflds .faflds-shop-intro{max-width:900px!important;margin-inline:auto!important}
body.faflds .faflds-shop-grid.et_pb_row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important}
body.faflds .faflds-shop-grid::after{display:none}
body.faflds .faflds-shop-card.et_pb_column{width:auto!important;float:none!important;margin:0!important;padding:24px!important;border:1px solid var(--fl-line);border-radius:8px;min-width:0}
body.faflds .faflds-shop-image{margin:0 0 20px!important;text-align:center!important}
body.faflds .faflds-shop-image img{width:100%!important;height:170px!important;object-fit:contain!important}
body.faflds .faflds-shop-description :is(p,span,em){font-size:15px!important;line-height:1.7!important;font-style:normal!important;color:var(--fl-body)!important}
body.faflds .faflds-shop-description p:first-child{font-size:18px!important;color:var(--fl-ink)!important;margin-bottom:14px!important}
body.faflds .faflds-shop-description p:first-child :is(span,b){font-size:inherit!important;color:inherit!important}
body.faflds .faflds-shop-advice{max-width:900px!important;border-top:1px solid var(--fl-line);padding-top:36px!important}
body.faflds .faflds-shop-related{max-width:900px!important;padding-top:24px!important;border-top:1px solid var(--fl-line)}
body.faflds .faflds-shop-related .et_pb_sidebar{border:0!important;padding:0!important}

/* Search uses ordinary WordPress URLs and server-rendered, paginated results. */
body.faflds .faflds-search-intro{padding:38px 0;background:#f5f8fb;border-bottom:1px solid var(--fl-line)}
body.faflds .faflds-search-intro h1{font-size:38px!important;margin:0 0 20px;padding:0}
body.faflds .faflds-results-form{display:flex;align-items:center;gap:12px;max-width:800px;border-bottom:1px solid #8aa4b8}
body.faflds .faflds-results-form input[type=search]{flex:1;min-width:0;border:0!important;border-radius:0;background:transparent!important;padding:12px 0!important;font:400 18px/1.5 FAFLInter,Arial,sans-serif;color:var(--fl-ink)}
body.faflds .faflds-results-form svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
body.faflds .faflds-results-content{padding:30px 0 64px}
body.faflds .faflds-search-tabs{display:flex;gap:28px;border-bottom:1px solid var(--fl-line);overflow-x:auto}
body.faflds .faflds-search-tabs a{display:flex;align-items:center;min-height:48px;padding:0 0 12px;border-bottom:3px solid transparent;color:var(--fl-body);font-size:15px;font-weight:500;text-decoration:none;white-space:nowrap}
body.faflds .faflds-search-tabs a[aria-current]{border-color:var(--fl-blue);color:var(--fl-blue)}
body.faflds .faflds-result-count{font-size:14px;color:var(--fl-muted);margin:20px 0 26px;padding:0}
body.faflds .faflds-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.faflds .faflds-result-card{display:flex;flex-direction:column;padding:24px;border:1px solid var(--fl-line);border-radius:8px;min-width:0;background:#fff}
body.faflds .faflds-result-kind{font-size:12px;font-weight:600;color:var(--fl-blue);margin-bottom:12px}
body.faflds .faflds-result-card h2{font-size:22px!important;line-height:1.3!important;padding:0;margin:0 0 16px}
body.faflds .faflds-result-card h2 a{color:var(--fl-ink);text-decoration:none}
body.faflds .faflds-result-card h2 a:hover{text-decoration:underline;text-underline-offset:3px}
body.faflds .faflds-result-card p{font-size:15px;line-height:1.7;margin:0 0 20px;padding:0}
body.faflds .faflds-result-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;min-height:44px;margin-top:auto;align-self:flex-start}
body.faflds .faflds-result-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:32px 0 0}
body.faflds .faflds-result-pagination .page-numbers{min-width:44px;min-height:44px;padding:8px 12px;text-align:center;border:1px solid var(--fl-line);border-radius:5px;font-size:15px}
body.faflds .faflds-result-pagination .current{background:var(--fl-blue);color:#fff;border-color:var(--fl-blue)}
body.faflds .faflds-search-empty{padding:24px 0}
body.faflds .faflds-search-empty h2{font-size:26px!important}
@media(max-width:980px){body.faflds .faflds-results-grid,body.faflds .faflds-shop-grid.et_pb_row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 body.faflds .flp-service-hero .flp-hero-grid{padding-block:30px!important;gap:28px!important}
 body.faflds .flp-service-hero h1{font-size:34px!important}
 body.faflds .flp-service-hero .flp-service-photo img{max-height:280px}
 body.faflds .faflds-about-hero.et_pb_section{padding:30px 0!important}
 body.faflds .faflds-about-content.et_pb_section{padding:32px 0!important}
 body.faflds .faflds-about-hero .et_pb_column:last-child{margin-bottom:0!important}
}
@media(max-width:600px){
 body.faflds .faflds-course-facts-band .flp-course-facts{grid-template-columns:1fr;gap:8px!important;font-size:14px!important}
 body.faflds .faflds-course-facts-band .flp-course-facts>span{border:0;padding:0}
 body.faflds .faflds-course-facts-row.et_pb_row{padding:18px 0!important}
 body.faflds .faflds-results-grid,body.faflds .faflds-shop-grid.et_pb_row{grid-template-columns:1fr}
 body.faflds .faflds-search-intro{padding:28px 0}
 body.faflds .faflds-search-intro h1{font-size:32px!important}
 body.faflds .faflds-search-tabs{gap:20px}
 body.faflds .faflds-search-tabs a{font-size:14px}
 body.faflds .faflds-result-card{padding:22px}
 body.faflds .faflds-result-card h2{font-size:21px!important}
}

body.faflds .faflds-shop-related .et_pb_widget{width:100%!important;max-width:420px;margin:0!important}

body.faflds .faflds-search-page{font-family:FAFLInter,Arial,sans-serif;color:var(--fl-body)}
body.faflds .faflds-result-card p{color:var(--fl-body)}

/* Press coverage uses compact editorial cards rather than page-sized headings. */
body.faflds .faflds-about-content .et_pb_portfolio_grid_items{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px!important}
body.faflds .faflds-about-content .et_pb_portfolio_grid_items::after{display:none!important}
body.faflds .faflds-about-content .et_pb_portfolio_item{float:none!important;width:auto!important;margin:0!important;padding:16px!important;border:1px solid var(--fl-line);border-radius:6px;min-width:0}
body.faflds .faflds-about-content .et_pb_portfolio_item h2{font-size:17px!important;line-height:1.45!important;letter-spacing:-.015em!important;margin:14px 0 0!important;padding:0!important}
body.faflds .faflds-about-content .et_pb_portfolio_item h2 a{color:var(--fl-ink)!important;text-decoration:none}
body.faflds .faflds-about-content .et_pb_portfolio_item h2 a:hover{text-decoration:underline}
body.faflds .faflds-about-content .et_portfolio_image img{width:100%!important;height:140px!important;object-fit:contain!important}
@media(max-width:980px){body.faflds .faflds-about-content .et_pb_portfolio_grid_items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body.faflds .faflds-about-content .et_pb_portfolio_grid_items{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}body.faflds .faflds-about-content .et_pb_portfolio_item{padding:12px!important}body.faflds .faflds-about-content .et_pb_portfolio_item h2{font-size:15px!important}body.faflds .faflds-about-content .et_portfolio_image img{height:95px!important}}
