/*
 * Words for Your Work: phone and tablet improvements
 * Loaded by mu-plugins/wfyw-responsive.php. Every rule sits inside a phone or
 * tablet media query, so the desktop layout (981px and up) is untouched,
 * except the topbar color and footer fixes, which apply at all widths.
 */

/* ---------- Header (phone + tablet) ---------- */
@media (max-width: 1080px) { /* header uses the mobile menu up to 1080px (desktop menu wrapped below ~1046px) */
  /* Divi only swaps to the hamburger below 981px; do the same up to 1080px */
  .et_pb_menu_0_tb_header .et_pb_menu__menu { display: none !important; }
  .et_pb_menu_0_tb_header .et_mobile_nav_menu { display: block !important; }
}
@media (min-width: 981px) and (max-width: 1080px) {
  /* Divi's own mobile-menu rules only exist below 981px; repeat them here */
  .et_pb_menu_0_tb_header .et_mobile_nav_menu { float: none; margin: 0 6px; display: flex !important; align-items: center; }
  .et_pb_menu_0_tb_header .et_mobile_menu { top: 100%; padding: 5%; }
  .et_pb_menu_0_tb_header .et_mobile_menu,
  .et_pb_menu_0_tb_header .et_mobile_menu ul { text-align: left; list-style: none !important; }
  .et_pb_menu_0_tb_header .et_mobile_menu ul { padding: 0; }
  .et_pb_menu_0_tb_header { margin-top: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 1080px) {
  /* Top email bar: one tidy line instead of a 110px block */
  .et_pb_section_0_tb_header { padding-top: 0 !important; }
  .et_pb_row_0_tb_header { padding-top: 8px !important; padding-bottom: 8px !important; margin-bottom: 0 !important; }
  .et_pb_row_0_tb_header > .et_pb_column { margin-bottom: 0 !important; }
  .et_pb_column_2_tb_header { display: none !important; } /* holds only a <style> block */
  .et_pb_section_1_tb_header { margin-top: 0 !important; }

  /* Logo + menu icon on one line, consultation button underneath */
  .et_pb_row_2_tb_header {
    display: flex !important; flex-wrap: wrap; align-items: center;
    padding-top: 14px !important; padding-bottom: 16px !important; margin-top: 0 !important;
    position: relative;
  }
  .et_pb_row_2_tb_header > .et_pb_column_7_tb_header { flex: 1 1 0; width: auto !important; margin: 0 !important; }
  .et_pb_row_2_tb_header > .et_pb_column_8_tb_header { display: contents; }
  .et_pb_image_0_tb_header img { width: auto !important; max-width: 100%; max-height: 64px; }
  .et_pb_menu_0_tb_header,
  .et-l--header .et_pb_row_2_tb_header .et_pb_menu.et_pb_menu_0_tb_header {
    order: 2; flex: 0 0 auto; width: auto !important; margin: 0 0 0 12px !important; position: static !important;
  }
  .et_pb_menu_0_tb_header .et_pb_menu__wrap { justify-content: flex-end; }
  .et_pb_menu_0_tb_header .et_pb_menu_inner_container,
  .et_pb_menu_0_tb_header .et_mobile_nav_menu,
  .et_pb_menu_0_tb_header .mobile_nav { position: static !important; }
  /* Dropdown spans the header row instead of the small icon box */
  .et_pb_menu_0_tb_header .et_mobile_menu {
    position: absolute !important; left: 0 !important; right: 0 !important; width: 100% !important;
    top: 100% !important; z-index: 9999;
  }
  /* Current page in the dropdown was white text on the white menu (invisible) */
  .et-l--header .et_pb_menu_0_tb_header .et_mobile_menu li.current-menu-item > a,
  .et-l--header .et_pb_menu_0_tb_header .et_mobile_menu li.current-menu-ancestor > a {
    color: #599887 !important; font-weight: 700 !important;
  }
  .et_pb_button_0_tb_header_wrapper {
    order: 3; flex: 0 0 100%; margin: 12px 0 0 !important; text-align: center !important;
  }
  .et_pb_button_0_tb_header { display: block !important; width: 100% !important; text-align: center !important; }
  .et_pb_code_1_tb_header { margin: 0 !important; }
}
@media (min-width: 600px) and (max-width: 1080px) {
  /* Tablets have room for logo | button | menu icon on one line */
  .et_pb_image_0_tb_header img { max-height: 80px; }
  .et_pb_button_0_tb_header_wrapper { order: 2; flex: 0 0 auto; margin: 0 0 0 16px !important; }
  .et_pb_button_0_tb_header { display: inline-block !important; width: auto !important; }
  .et_pb_menu_0_tb_header { order: 3; }
}

/* ---------- Home page, phone ---------- */
@media (max-width: 767px) {
  /* Hero photo smaller, with breathing room before the badges section */
  body.home .et_pb_image_0 { max-width: 240px !important; margin-left: auto !important; margin-right: auto !important; margin-bottom: 40px !important; }
  /* Hero "Meet Kristin" button centered */
  body.home .et_pb_button_0_wrapper { display: block !important; width: 100% !important; text-align: center !important; }

  /* Credential badges: three across instead of one per screen */
  body.home .et_pb_row_1, body.home .et_pb_row_12 {
    display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center;
    row-gap: 18px; padding-top: 24px !important; padding-bottom: 24px !important;
  }
  body.home .et_pb_row_1 > .et_pb_column, body.home .et_pb_row_12 > .et_pb_column {
    width: 33.333% !important; margin: 0 !important; padding: 0 8px;
  }
  body.home .et_pb_row_1 .et_pb_image, body.home .et_pb_row_12 .et_pb_image {
    max-width: 96px !important; width: 100% !important; margin: 0 auto !important;
  }

  /* Tall photos in the two-column sections: shorter crop */
  body.home .et_pb_image_7 img, body.home .et_pb_image_14 img, body.home .et_pb_image_19 img {
    height: 220px !important; width: 100% !important; object-fit: cover;
  }
}

/* ---------- Tablet: use the width instead of a stretched phone layout ---------- */
@media (min-width: 768px) and (max-width: 980px) {
  #et-main-area .et_pb_row:has(> .et_pb_column_1_3),
  #et-main-area .et_pb_row:has(> .et_pb_column_1_2),
  #et-main-area .et_pb_row:has(> .et_pb_column_3_5) {
    display: flex !important; flex-wrap: nowrap; column-gap: 4%;
  }
  #et-main-area .et_pb_row:has(> .et_pb_column_1_2),
  #et-main-area .et_pb_row:has(> .et_pb_column_3_5) { align-items: center; }
  #et-main-area .et_pb_row > .et_pb_column_1_3,
  #et-main-area .et_pb_row > .et_pb_column_1_2,
  #et-main-area .et_pb_row > .et_pb_column_3_5,
  #et-main-area .et_pb_row > .et_pb_column_2_5 { margin-right: 0 !important; margin-bottom: 0 !important; }
  /* three-card rows: two across on tablets, third card centered below */
  #et-main-area .et_pb_row:has(> .et_pb_column_1_3) {
    width: 90% !important; max-width: 90% !important; flex-wrap: wrap; justify-content: center; row-gap: 30px;
  }
  #et-main-area .et_pb_row > .et_pb_column_1_3 { width: 48% !important; }
  #et-main-area .et_pb_row > .et_pb_column_1_2 { width: 48% !important; }
  #et-main-area .et_pb_row > .et_pb_column_3_5 { width: 56% !important; }
  #et-main-area .et_pb_row > .et_pb_column_2_5 { width: 40% !important; }
  /* cards were capped narrow and centered on tablets */
  #et-main-area .et_pb_row > .et_pb_column_1_3 > .et_pb_module { max-width: 100% !important; }

  /* Home rows whose second column is empty on tablets: keep stacked */
  /* Home rows that stay stacked: empty second column (8, 13) or a card grid
     beside the photo (2, 11) that gets too cramped side by side */
  body.home #et-main-area .et_pb_row_2, body.home #et-main-area .et_pb_row_8,
  body.home #et-main-area .et_pb_row_11, body.home #et-main-area .et_pb_row_13 { display: block !important; }
  body.home #et-main-area .et_pb_row_2 > .et_pb_column, body.home #et-main-area .et_pb_row_8 > .et_pb_column,
  body.home #et-main-area .et_pb_row_11 > .et_pb_column, body.home #et-main-area .et_pb_row_13 > .et_pb_column {
    width: 100% !important; margin-bottom: 30px !important;
  }
  /* and give their photos a shorter crop */
  body.home .et_pb_image_7 img, body.home .et_pb_image_14 img, body.home .et_pb_image_19 img {
    height: 340px !important; width: 100% !important; object-fit: cover;
  }
}

/* Home: the employers section overlaps the testimonials by design on desktop;
   below desktop width it covers the last testimonial card */
@media (max-width: 980px) {
  body.home #et-main-area .et_pb_section_6 { margin-top: 0 !important; }
}

@media (min-width: 768px) and (max-width: 980px) {
  /* About: photo beside the long bio sits at the top of the text, not centered */
  body.page-id-82104 #et-main-area .et_pb_row_2 { align-items: flex-start !important; }
  /* Contact: let the email address wrap in the narrow column */
  body.page-id-113 .et_pb_blurb_0, body.page-id-113 .et_pb_blurb_0 a { overflow-wrap: anywhere; word-break: break-word; }
}

/* About, phone: "Meet Kristin" has 213px of top padding to line it up beside
   the photo on wider screens; stacked on phones it was just a blank gap */
@media (max-width: 767px) {
  body.page-id-82104 #et-main-area .et_pb_text_0 { padding-top: 0 !important; }
}

/* Contact, phone: form and the "Book a Complimentary Call" button at full
   width with the standard side padding (rows were 80% wide) */
@media (max-width: 767px) {
  body.page-id-113 #et-main-area .et_pb_row { width: 90% !important; max-width: 90% !important; }
  body.page-id-113 #et-main-area .et_pb_column_2 { padding-left: 0 !important; padding-right: 0 !important; }
  body.page-id-113 #et-main-area .et_pb_button_0_wrapper { display: block !important; width: 100% !important; text-align: center; }
  body.page-id-113 #et-main-area .et_pb_button_0 { display: block !important; width: 100% !important; text-align: center !important; padding-left: 16px !important; padding-right: 16px !important; }
}

/* Contact form (Gravity Forms, replaced the formdesigner.pro embed 2026-11-25):
   site fonts and colors, brand green pill button (all widths) */
#page-container .gform_wrapper.gform-theme--orbital {
  --gf-color-primary: #599887; --gf-color-primary-rgb: 89, 152, 135; --gf-color-primary-darker: #4a8473;
  --gf-ctrl-border-color: #b9c6d2; --gf-ctrl-radius: 6px; --gf-ctrl-font-size: 16px;
  --gf-ctrl-label-color-primary: #275b88; --gf-ctrl-label-font-size-primary: 16px; --gf-ctrl-label-font-weight-primary: 600;
  --gf-font-family-base: 'Roboto', Helvetica, Arial, sans-serif; --gf-font-family-primary: 'Roboto', Helvetica, Arial, sans-serif;
  --gf-ctrl-label-font-family-primary: 'Roboto', Helvetica, Arial, sans-serif;
}
#page-container .gform_wrapper .gfield input[type=text],
#page-container .gform_wrapper .gfield input[type=email],
#page-container .gform_wrapper .gfield textarea { font-family: 'Roboto', Helvetica, Arial, sans-serif; color: #275b88; background: #fff; border: 1px solid #b9c6d2 !important; border-radius: 6px; }
#page-container .gform_wrapper .gfield input:focus, #page-container .gform_wrapper .gfield textarea:focus { border-color: #599887 !important; }
#page-container .gform_wrapper .gfield_label, #page-container .gform_wrapper .gform-field-label { color: #275b88 !important; font-family: 'Roboto', Helvetica, Arial, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; }
#page-container .gform_wrapper .gfield textarea { min-height: 180px; }
#page-container .gform_wrapper .gform_footer .gform_button,
#page-container .gform_wrapper .gform_footer .gform_button:hover {
  background-color: #599887 !important; color: #fff !important; border: 2px solid #599887 !important; border-radius: 65px !important;
  font-family: 'Sora', Helvetica, Arial, sans-serif !important; font-size: 15px !important; font-weight: 600 !important;
  padding: 14px 37px !important; height: auto !important; line-height: 1.7 !important; cursor: pointer; box-shadow: none !important;
}
#page-container .gform_wrapper .gform_footer .gform_button:hover { background-color: #4a8473 !important; border-color: #4a8473 !important; }
#page-container .gform_wrapper .gform_confirmation_message { font-size: 18px; color: #275b88; }
@media (max-width: 767px) {
  #page-container .gform_wrapper .gform_footer .gform_button { width: 100% !important; }
}

/* Header: top email bar in the button green (all widths) */
.et-l--header .et_pb_section_0_tb_header.et_pb_section { background-color: #599887 !important; }
/* Header: topbar email address was weight 800; lighter (all widths) */
.et-l--header .et_pb_section_0_tb_header .et_pb_module_header, .et-l--header .et_pb_section_0_tb_header .et_pb_module_header a { font-weight: 500 !important; }
@media (min-width: 1081px) {
  /* the blue section below overlapped the bar by 24px (unseen when both were blue) */
  .et-l--header .et_pb_section_1_tb_header { margin-top: 0 !important; }
  .et-l--header .et_pb_section_0_tb_header.et_pb_section { padding-top: 0 !important; }
  .et-l--header .et_pb_row_0_tb_header { margin-bottom: 0 !important; padding-top: 12px !important; padding-bottom: 12px !important; }
  .et-l--header .et_pb_row_0_tb_header .et_pb_module_header { padding-bottom: 0 !important; }
}

/* All buttons: one shape site-wide, the pill used by the main page buttons
   (header 3px, packages 7px, contact 12px and blog 30px corners before) */
body #page-container .et_pb_section .et_pb_button,
body #page-container .et_pb_section .et_pb_button:hover { border-radius: 65px !important; }

/* Footer: the social icons module shrank to one icon's width and stacked the
   icons; keep them on one line (all widths, desktop had the same problem) */
.et-l--footer .et_pb_social_media_follow_0_tb_footer { width: max-content !important; max-width: 100%; white-space: nowrap; }

/* Footer: "Free Resources" (was dark gray) and "Book a Complimentary
   Consultation" (was white) buttons in the brand green pill style used by the
   page buttons (all widths) */
body #page-container .et-l--footer .et_pb_section .et_pb_button_0_tb_footer,
body #page-container .et-l--footer .et_pb_section .et_pb_button_1_tb_footer,
body #page-container .et-l--footer .et_pb_section .et_pb_button_0_tb_footer:hover,
body #page-container .et-l--footer .et_pb_section .et_pb_button_1_tb_footer:hover {
  background-color: #599887 !important; color: #fff !important;
  border: 2px solid #599887 !important; border-radius: 65px !important;
  font-family: 'Sora', Helvetica, Arial, sans-serif !important; font-size: 15px !important; font-weight: 600 !important;
}
body #page-container .et-l--footer .et_pb_section .et_pb_button_0_tb_footer:hover,
body #page-container .et-l--footer .et_pb_section .et_pb_button_1_tb_footer:hover { background-color: #4a8473 !important; border-color: #4a8473 !important; }

/* Footer "We're Here to Help >>>": the arrows wrapped onto a line of their own;
   keep it on one line and size it to fit */
@media (max-width: 980px) {
  .et-l--footer .et_pb_text_4_tb_footer p { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 980px) {
  /* heading sits beside the button here, in a column about 36% wide */
  .et-l--footer .et_pb_text_4_tb_footer { font-size: min(30px, 2.9vw) !important; }
  .et-l--footer .et_pb_text_4_tb_footer p { font-size: inherit !important; }
}
@media (max-width: 767px) {
  .et-l--footer .et_pb_text_4_tb_footer { font-size: min(30px, 6.6vw) !important; }
  .et-l--footer .et_pb_text_4_tb_footer p { font-size: inherit !important; text-align: center !important; }
  /* keep "Book a Complimentary Consultation" on one line */
  body #page-container .et-l--footer .et_pb_section .et_pb_button_1_tb_footer { padding-left: 12px !important; padding-right: 12px !important; }
}

/* Tablet landscape / small laptop (981-1100px): the Resources dropdown ran
   past the right edge and caused sideways scrolling; open it to the left */
@media (min-width: 1081px) and (max-width: 1100px) {
  .et_pb_menu_0_tb_header .et-menu > li:nth-last-child(3) > .sub-menu { left: auto !important; right: 0 !important; }
}
/* ---- generated: oversized headings and section spacing ---- */
@media (max-width: 767px) {
  body.page-id-152 .et_pb_text_1 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_2 h1 { font-size:24px!important;line-height:1.15!important }
  body.page-id-81975 .et_pb_text_0 h2 { font-size:28px!important;line-height:1.15!important }
  body.page-id-81744 .et_pb_text_0 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-81744 .et_pb_text_3 h2 { font-size:28px!important;line-height:1.15!important }
  body.page-id-81744 .et_pb_text_14 h2 { font-size:28px!important;line-height:1.15!important }
  body.page-id-81744 .et_pb_text_27 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-82214 .et_pb_text_0 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-82214 .et_pb_text_1 h2 { font-size:28px!important;line-height:1.15!important }
  body.page-id-82214 .et_pb_text_31 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-81548 .et_pb_text_0 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-82104 .et_pb_text_0 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-152 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_section_2 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_section_3 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_row_4 { padding-top:30px!important }
  body.page-id-152 #et-main-area .et_pb_row_6 { padding-top:30px!important }
  body.page-id-152 #et-main-area .et_pb_section_4 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_section_5 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_section_6 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-152 #et-main-area .et_pb_section_8 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-81952 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-81963 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-81967 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-81975 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-81744 #et-main-area .et_pb_row_0 { padding-top:30px!important }
  body.page-id-82304 #et-main-area .et_pb_section_0 { padding-top:48px!important;padding-bottom:48px!important }
  body.page-id-113 #et-main-area .et_pb_section_1 { padding-top:48px!important;padding-bottom:48px!important }
}
@media (min-width: 768px) and (max-width: 980px) {
  body.page-id-152 .et_pb_text_1 h1 { font-size:52px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_2 h1 { font-size:34px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_5 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_30 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_34 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_39 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-152 .et_pb_text_42 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-81975 .et_pb_text_0 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-81715 .et_pb_text_0 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-81744 .et_pb_text_0 h1 { font-size:52px!important;line-height:1.15!important }
  body.page-id-82214 .et_pb_text_0 h1 { font-size:52px!important;line-height:1.15!important }
  body.page-id-81548 .et_pb_text_0 h1 { font-size:52px!important;line-height:1.15!important }
  body.page-id-82104 .et_pb_text_0 h1 { font-size:52px!important;line-height:1.15!important }
  body.page-id-113 .et_pb_text_4 h2 { font-size:38px!important;line-height:1.15!important }
  body.page-id-152 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_section_2 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_section_3 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_row_4 { padding-top:30px!important }
  body.page-id-152 #et-main-area .et_pb_row_6 { padding-top:30px!important }
  body.page-id-152 #et-main-area .et_pb_section_4 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_section_5 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_section_6 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-152 #et-main-area .et_pb_section_8 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-81952 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-81963 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-81967 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-81975 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-81744 #et-main-area .et_pb_row_0 { padding-top:30px!important }
  body.page-id-82304 #et-main-area .et_pb_section_0 { padding-top:64px!important;padding-bottom:64px!important }
  body.page-id-113 #et-main-area .et_pb_section_1 { padding-top:64px!important;padding-bottom:64px!important }
}
