/* Fade 'Em All Barber Academy: the pieces the franchise theme (wp-custom-css.css) has no section for, in its palette
   (red #cf0000, blue #0000cf, grey #f5f5f5) and fonts (Antonio headings, Manrope text). Loaded last on every page. */

.edgtf-content .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner { padding: 0; }

/* Home hero height (the franchise sets this in an inline <style> on its home page). */
.video-hero { min-height: 90vh; height: auto; }

/* Photo columns: the theme shows these images as the column's background (the WordPress vc_custom_* classes). */
.fea-bg-beard, .fea-bg-owner, .fea-bg-floor, .fea-bg-students, .fea-bg-training, .fea-bg-equipment, .fea-bg-poster,
.fea-bg-apply, .fea-bg-bbb {
  background-position: center !important; background-repeat: no-repeat !important; background-size: cover !important;
}
.fea-bg-beard { background-image: url("/assets/photos/fea-beard-detail.jpg") !important; }
.fea-bg-owner, .fea-bg-bbb { background-image: url("/assets/photos/fea-building-better-barbers.jpg") !important; }
.fea-bg-floor { background-image: url("/assets/photos/fea-academy-shop-floor.jpg") !important; }
.fea-bg-students { background-image: url("/assets/photos/fea-students-training.jpg") !important; }
.fea-bg-training { background-image: url("/assets/photos/fea-training-floor.jpg") !important; }
.fea-bg-equipment { background-image: url("/assets/photos/fea-equipment.jpg") !important; }
.fea-bg-poster { background-image: url("/assets/photos/fea-hero-poster.jpg") !important; }
.fea-bg-apply { background-image: url("/assets/photos/fea-apply.jpg") !important; }
.fea-bg-grey { background-color: #f5f5f5 !important; }
.sectionPageBanner { position: relative; }
.sectionPageBanner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); z-index: 0; }
.sectionPageBanner .titleBox { z-index: 2; }
.sectionPageBanner .titleBox h3 { font-family: "Manrope", sans-serif; font-weight: 500; text-transform: none; }
.sectionPageBanner .imageBoxFull { height: 420px; overflow: hidden; }
.sectionPageBanner .imageBoxFull img { display: none; }   /* the row paints the photo; the img is for search and screen readers */

/* Header: phone number under the logo (live site), logo sized for the academy mark. */
.edgtf-page-header .edgtf-logo-wrapper { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.edgtf-page-header .edgtf-logo-wrapper a.feaHeaderPhone {
  height: auto !important; display: block; color: #fff; font-family: "Manrope", sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: .08em; line-height: 1; margin-top: 2px; white-space: nowrap;
}
.edgtf-page-header .edgtf-logo-wrapper a.feaHeaderPhone:hover { color: #fff; text-decoration: underline; }

/* Promo strip (live site's "Tuition specials" bar). */
.feaPromo { background: #0000cf; color: #fff; text-align: center; padding: 14px 16px; position: relative; z-index: 5; }
.feaPromo p { margin: 0; color: #fff; font-family: "Manrope", sans-serif; font-size: 15px; line-height: 1.5; }
.feaPromo .feaPromo-tag { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; margin-right: 6px; }
.feaPromo a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.feaPromo a:hover { color: #fff; opacity: .85; }

/* Two buttons side by side (hero, CTAs). */
.feaBtnPair { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.feaBtnPair a.btnRed, .feaBtnPair a.btnBlue { margin: 0 !important; display: inline-block; }
.sectionHomeBanner .textBoxPop .feaBtnPair { margin-top: 40px; }
.sectionHomeBanner .textBoxPop .feaBtnPair a.btnRed { margin-top: 0 !important; }
.sectionHomeBanner .textBoxPop img.feaHeroLogo { width: 260px; height: auto; display: inline-block; }
.sectionHomeBanner .textBoxPop h2 + h2 { margin-top: 10px; }
.textBox1 p a.btnRed + a.btnBlue, .feaCta a.btnRed + a.btnBlue { margin-left: 0; }

/* Cards (franchise Training page's check-mark cards): column counts and a number badge in place of the check. */
.feaCards { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 90px; margin-top: 90px !important; }
.feaCards .iconTextBox { margin-bottom: 0 !important; float: none; }
.feaCards4 .iconTextBox { width: 25% !important; }
.feaCards3 .iconTextBox { width: 33.333% !important; }
.feaCards2 .iconTextBox { width: 50% !important; }
.feaCards .iconTextBox > .vc_column-inner { height: 100%; box-sizing: border-box; }
.feaCards .iconTextBox h3 { font-family: "Antonio", sans-serif; text-transform: uppercase; color: #0000cf; font-size: 26px !important; line-height: 1.15; margin-bottom: 15px; }
.feaCards .iconTextBox p { font-size: 15px; line-height: 1.6; }
.feaCards .iconTextBox a.btnRed { margin-top: 30px; width: 100%; max-width: 270px; }
.feaNumBox .feaNum { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: "Antonio", sans-serif; font-weight: 700; font-size: 52px; line-height: 1; color: #cf0000; }
.feaCardsList .iconTextBox ul { text-align: left; margin: 0; padding-left: 18px; }
.feaCardsList .iconTextBox li { font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.feaBadge { display: inline-block; background: #cf0000; color: #fff; font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 3px 12px; margin: 0 0 12px; }
.feaFunding .iconTextBox p { font-size: 16px; }
.feaIntro { margin-top: 10px !important; }

/* Home: the three experience cards and the section headings that sit tight above them. */
.feaTight { padding-bottom: 0 !important; }
.feaExperience { padding-top: 40px !important; }
.feaExperience .trainingSection3-col figure, .feaExperience .trainingSection3-col .vc_single_image-wrapper { display: block; width: 100%; }
.feaExperience .trainingSection3-col img { display: block; width: 100% !important; max-width: none; height: 360px !important; object-fit: cover; }
.feaExperience p { font-size: 16px; }

/* Longer button labels than the theme's fixed 270px allows. */
.homeSection2-right > .vc_column-inner a.btnRed, .homeSection6-left a.btnRed { width: 380px; max-width: 100%; }
.textBox1 a.btnRed { width: auto !important; min-width: 270px; padding: 0 60px 0 30px; box-sizing: border-box; }
.textBox1 a.btnBlue { width: auto !important; min-width: 270px; padding: 0 60px 0 30px !important; box-sizing: border-box; display: inline-block !important; height: 60px !important; line-height: 60px !important; }

/* Bordered white box sections (franchise aboutSection6). */
.fea-box { background: #fff; }
.feaLicense img.feaFldoe { max-width: 320px; width: 100%; height: auto; }
a.feaTextLink { color: #0000cf; text-decoration: underline; text-underline-offset: 3px; }
a.feaTextLink:hover { color: #cf0000; }

/* Testimonials: four quote boxes with the red bar of the franchise quote block. */
.feaTestimonials { padding: 80px 0 !important; }
.feaQuotes > .edgtf-full-section-inner { display: flex; flex-wrap: wrap; row-gap: 30px; }
.feaQuotes .vc_col-sm-6 { padding: 0 15px; }
.feaQuote { margin: 0; height: 100%; box-sizing: border-box; background: #f5f5f5; border-left: 12px solid #cf0000; padding: 35px 35px 30px; }
.feaQuote p { margin: 0; font-family: "Manrope", sans-serif; font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.6; color: #111; }
.feaQuote p.feaQuote-name { margin: 18px 0 0; font-family: "Antonio", sans-serif; font-style: normal; font-weight: 700; font-size: 20px; text-transform: uppercase; color: #0000cf; }

/* The Student: the two schedule tracks. */
.feaTrackRow > .edgtf-full-section-inner { display: flex; flex-wrap: wrap; row-gap: 30px; margin-top: 40px; }
.feaTrackRow .vc_col-sm-6 { padding: 0 15px; }
.feaTrack { height: 100%; box-sizing: border-box; border: 1px solid #d8d8d8; border-bottom: 30px solid #ececec; padding: 45px 40px; text-align: center; }
.feaTrackRow .vc_col-sm-6:first-child .feaTrack { border-top: 8px solid #cf0000; }
.feaTrackRow .vc_col-sm-6:last-child .feaTrack { border-top: 8px solid #0000cf; }
.feaTrack-kicker { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #cf0000; font-size: 16px; margin: 0 0 6px; }
.feaTrack h3 { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; color: #0000cf; font-size: 34px; margin: 0 0 18px; }
.feaTrack .feaTrack-big { font-family: "Antonio", sans-serif !important; font-weight: 700; font-size: clamp(52px, 6vw, 80px); line-height: 1; color: #111; margin: 0; }
.feaTrack-hours { font-size: 16px; margin: 8px 0 24px; }
.feaTrack-hours strong { color: #cf0000; }
.feaTrack-times { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid #d8d8d8; }
.feaTrack-times li { padding: 14px 0; border-bottom: 1px solid #d8d8d8; font-size: 15px; }
.feaTrack-times span { display: block; font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; color: #0000cf; font-size: 18px; }
.feaTrack-quote { font-style: italic; font-size: 15px; margin: 0; }
.feaTracks .feaBtnPair { margin-top: 50px; }

/* BBB: the workshop list (franchise blue list boxes, each with its waitlist link). */
.support-txt-blue ul.feaWorkshops { list-style: none; padding: 0; margin: 30px 0 0; }
.support-txt-blue ul.feaWorkshops li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; margin-bottom: 15px; }
.feaWorkshops li span { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.2; }
.feaWorkshops li a { flex: none; color: #0000cf; background: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 10px 14px; }
.feaWorkshops li a:hover { background: #cf0000; color: #fff; }

/* About: the four headline facts. */
ul.feaStats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
ul.feaStats li { background: #0000cf; color: #fff; font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 18px; padding: 16px 18px; margin: 0; }

/* Contact: map and booking calendar. */
.feaMap { height: 520px; }
.feaMap iframe { display: block !important; width: 100% !important; height: 520px !important; }
.feaBooking .wpb_raw_code { max-width: 900px; margin: 0 auto; }

/* Apply form (fields laid out two to a row). */
.feaLead p { max-width: 820px; margin: 0 auto 40px; text-align: center; }
form.feaApply { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; max-width: 900px; margin: 0 auto; text-align: left; }
.feaField-full { grid-column: 1 / -1; }
.feaField label { display: block; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px; color: #111; margin-bottom: 8px; }
.feaField .req { color: #cf0000; }
.feaField input, .feaField select {
  width: 100%; box-sizing: border-box; height: 54px; padding: 0 16px; border: 1px solid #b9b9b9; border-radius: 0;
  background: #fff; font-family: "Manrope", sans-serif; font-size: 16px; color: #111; margin: 0;
}
.feaField input:focus, .feaField select:focus { outline: 2px solid #0000cf; outline-offset: 0; border-color: #0000cf; }
.feaField.has-error input, .feaField.has-error select { border-color: #cf0000; }
.feaError { color: #cf0000; font-size: 13px; margin: 6px 0 0; min-height: 0; }
.feaError:empty { display: none; }
button.btnRed.feaSubmit {
  display: block; height: 60px; width: 100%; max-width: 360px; margin: 20px auto 0; border: 0; border-radius: 0;
  background: #cf0000; color: #fff; text-transform: uppercase; font-size: 16px; font-family: inherit; cursor: pointer; position: relative;
}
button.btnRed.feaSubmit:hover { background: #a90d0d; }
button.btnRed.feaSubmit:disabled { opacity: .6; cursor: default; }
.feaFine { text-align: center; font-size: 13px; margin-top: 16px; }

/* Legal pages: long text, left-aligned, headings in the theme blue. */
.feaLegal .textBox1 > .wpb_wrapper { text-align: left !important; max-width: 900px; margin: 0 auto; }
.feaLegal .textBox1 h3 { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; color: #0000cf; font-size: 28px; margin: 40px 0 14px; }
.feaLegal .textBox1 h3:first-child { margin-top: 0; }
.feaLegal .textBox1 h4 { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 18px; margin: 24px 0 8px; }
.feaLegal .textBox1 p, .feaLegal .textBox1 li { text-align: left; font-size: 16px; line-height: 1.7; }
.feaLegal .textBox1 ul { padding-left: 22px; margin-bottom: 16px; }
.feaLegal .textBox1 a { color: #0000cf; text-decoration: underline; }
.feaLegal .feaKicker { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #cf0000; margin: 50px 0 6px; }
.feaLegal .feaKicker:first-child { margin-top: 0; }
.feaLegal .feaKicker + h3 { margin-top: 0; }

/* Footer: address, licence line and social icons (the theme hides plain footer links; these are shown). */
footer a.footerAddress { display: block !important; margin-top: 12px; line-height: 1.6; }
footer .footerLicense { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #333 !important; }
footer .footerSocial { display: flex; gap: 14px; margin-top: 16px; }
footer .footerSocial a { display: inline-flex !important; }
footer .footerSocial img { width: 20px; height: 20px; }
footer .footerLegal { font-size: 12px; }
footer .footerLegal a { color: #000; }

/* Cookie banner and settings (assets/js/consent.js). */
.feaConsent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000; max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid #d8d8d8; border-top: 6px solid #0000cf; box-shadow: 0 0 18px rgb(0 0 0 / 18%); padding: 24px 28px; font-family: "Manrope", sans-serif; color: #111; }
.feaConsent[hidden] { display: none; }
.feaConsent h2 { font-family: "Antonio", sans-serif; font-weight: 700; text-transform: uppercase; color: #0000cf; font-size: 24px; margin: 0 0 8px; }
.feaConsent p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.feaConsent p a { color: #0000cf; text-decoration: underline; }
.feaConsent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feaConsent button { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 13px 20px; border: 2px solid #0000cf; background: #0000cf; color: #fff; cursor: pointer; border-radius: 0; }
.feaConsent button.feaConsent-ghost { background: #fff; color: #0000cf; }
.feaConsent button:hover { background: #cf0000; border-color: #cf0000; color: #fff; }
.feaConsent-prefs { border-top: 1px solid #d8d8d8; margin: 0 0 16px; padding-top: 12px; }
.feaConsent-prefs[hidden] { display: none; }
.feaConsent-prefs label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 14px; line-height: 1.5; cursor: pointer; }
.feaConsent-prefs input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #0000cf; }
.feaConsent-prefs strong { display: block; }

@media only screen and (max-width: 1024px) {
  .feaCards4 .iconTextBox { width: 50% !important; }
  .feaCards3 .iconTextBox { width: 50% !important; }
}
@media only screen and (max-width: 768px) {
  .feaCards4 .iconTextBox, .feaCards3 .iconTextBox, .feaCards2 .iconTextBox { width: 100% !important; }
  .feaQuotes .vc_col-sm-6, .feaTrackRow .vc_col-sm-6 { width: 100%; }
  form.feaApply { grid-template-columns: 1fr; }
  ul.feaStats { grid-template-columns: 1fr; }
  .sectionPageBanner .imageBoxFull { height: 340px; }
  .feaBtnPair a.btnRed, .feaBtnPair a.btnBlue { width: 100% !important; max-width: 320px; }
  .support-txt-blue ul.feaWorkshops li { flex-direction: column; align-items: flex-start; }
  .feaConsent { padding: 20px; }
  .feaConsent-actions button { flex: 1 1 auto; }
}

/* Student clinic: Booksy's Book button (its own widget.css draws it) and the plain link under it. */
.feaClinic { margin-top: 50px; }
.feaBooksy { margin-top: 30px; min-height: 50px; }
.feaBooksy-alt { margin-top: 18px; font-size: 14px; }
.feaHub { margin-top: 50px; }
/* Booksy's button restyled as the theme's red button (it stays Booksy's element, so its pop-up still opens). */
.feaBooksy .booksy-widget-button {
  background: #cf0000 !important; width: 270px !important; height: 60px !important; margin: 0 !important;
  position: relative; cursor: pointer; box-shadow: none !important; border-radius: 0 !important;
}
.feaBooksy .booksy-widget-button:hover { background: #a90d0d !important; }
.feaBooksy .booksy-widget-button::before {
  content: "Book a Cut"; position: absolute; left: 0; right: 36px; top: 0; line-height: 60px; text-align: center;
  color: #fff; font-family: "Manrope", sans-serif; font-size: 16px; text-transform: uppercase;
}
.feaBooksy .booksy-widget-button::after {
  content: ""; position: absolute; width: 26px; height: 12px; right: 10px; top: 50%; transform: translateY(-50%);
  background: url("../img/fadeEMarrow1.png"); transition: .5s;
}
.feaBooksy .booksy-widget-button:hover::after { right: 15px; }
.feaBooksy .booksy-business-link { display: none !important; }

/* Phone: long banner headings ("Building Better Barbers.") fit the width. */
@media only screen and (max-width: 600px) {
  .sectionPageBanner .titleBox { width: 92% !important; }
  .sectionPageBanner .titleBox h1 { font-size: clamp(30px, 9vw, 44px) !important; line-height: 1.05 !important; overflow-wrap: anywhere; }
  .sectionPageBanner .titleBox h3 { max-width: 100% !important; font-size: 16px !important; }
}

/* Header bar in the academy blue (#0000cf) instead of red: desktop, sticky and phone headers. */
.edgtf-menu-area, .edgtf-sticky-header .edgtf-sticky-holder, .edgtf-mobile-header .edgtf-mobile-header-inner { background: #0000cf !important; }

/* Home hero "I am a Licensed Pro" button: white with a red border, red text and a red arrow. */
.feaBtnPair a.btnBlue { background: #fff !important; color: #cf0000 !important; border: 2px solid #cf0000 !important; box-sizing: border-box; }
.feaBtnPair a.btnBlue:hover { background: #f5f5f5 !important; color: #a90d0d !important; border-color: #a90d0d !important; }
.feaBtnPair a.btnBlue:after { background: #cf0000 !important; -webkit-mask: url("../img/fadeEMarrow1.png") no-repeat center / contain; mask: url("../img/fadeEMarrow1.png") no-repeat center / contain; }
.feaBtnPair a.btnBlue { line-height: 56px; }

/* "Tuition Specials Going On Now" promo strip: hidden for now. Delete this rule to bring it back. */
.feaPromo { display: none !important; }
