/* DF-v26 homepage: one fixed Navy Focus design with three fields per row
   on desktop and responsive columns on phones. Search stays below the fields.
   The carrier directory keeps its existing layout and content. */
body.df-home-v21{color:#173f58;padding-top:0!important}
.df-home-v21 .ch-page{position:relative;max-width:1480px;width:calc(100% - 48px);padding-top:22px;margin-top:0}
.df-home-v21 .dir-brandmark{margin:0 auto 18px;text-align:center}
.df-home-v21 .dir-brandmark img{display:inline-block;width:420px;height:auto;max-width:100%}
.df-home-v21 .qh-title{color:#063d5e;text-align:center;margin:12px 0;font-size:32px;line-height:1.2}
.df-home-v21 .qh-sub{color:#435d70;text-align:center;font-size:17px;margin:0 0 28px}
.df-home-search{background:#fff;border:1px solid #bed3e1;border-radius:12px;margin:0 auto 30px;padding:24px 26px 25px}
.df-home-search h2{font-size:21px;line-height:1.35;color:#143f59;margin:0 0 8px;text-align:center}
.df-home-copy{max-width:960px;margin:0 auto 23px;text-align:center;color:#435d70;font-size:15px;line-height:1.55}
.df-home-fields{display:grid;grid-template-columns:1fr 1fr 1.05fr 1.3fr 1.3fr 1.15fr;gap:15px;align-items:start}
.df-home-field{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}
.df-home-field>span{font-size:14px;font-weight:650;color:#183e55;line-height:1.45}
.df-home-field em{font-size:13px;font-style:normal;font-weight:400;color:#435d70}
.df-home-field input,.df-home-field select{width:100%;min-width:0;max-width:100%;height:46px;padding:9px 10px;background:#fff;border:1px solid #99b3c6;border-radius:6px;color:#163e58;font:15px "Segoe UI",Arial,sans-serif;box-sizing:border-box}
.df-home-field input::placeholder{color:#526778;opacity:1}
.df-home-plan.has-plan select{background:#f4faf4;border-color:#578b62}
.df-home-action{display:flex;flex-direction:column;align-items:center;gap:13px;margin-top:23px;text-align:center}
.df-home-action p{font-size:14px;line-height:1.5;color:#435d70;margin:0}
.df-home-action #df-home-error{color:#9c201e;font-weight:600;max-width:640px}
.df-home-action #df-home-error[hidden]{display:none}
.df-home-submit{border:0;border-radius:7px;background:#236b34;color:white;min-height:47px;max-width:100%;width:300px;padding:12px 20px;font:700 16px "Segoe UI",Arial,sans-serif;cursor:pointer}
.df-home-submit:hover{background:#195828}
.df-home-field input:focus-visible,.df-home-field select:focus-visible,.df-home-submit:focus-visible{outline:3px solid #ad7e06;outline-offset:3px}
.df-home-noscript{text-align:center;font-size:14px;color:#435d70;margin:18px 0 0}
.df-home-v21.df-home-navy .df-home-search{max-width:1000px;padding:25px 31px;background:#edf6fa}
.df-home-v21.df-home-navy .df-home-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 19px}
.df-home-v21.df-home-navy .df-home-action{border-top:1px solid #c4d9e5;padding-top:19px}
.df-home-v21.df-home-navy .df-home-submit{width:350px}
@media(max-width:1200px){.df-home-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px}}
@media(max-width:760px){
 .df-home-v21 .ch-page{width:calc(100% - 28px);padding-top:12px}
 .df-home-v21 .dir-brandmark{margin-bottom:15px}
 .df-home-v21 .qh-title{font-size:27px;margin:12px 0}
 .df-home-v21 .qh-sub{font-size:16px;margin-bottom:22px}
 .df-home-search,.df-home-v21.df-home-navy .df-home-search{padding:20px 16px 23px}
 .df-home-search h2{font-size:20px}
 .df-home-copy{font-size:14px;margin-bottom:20px}
 .df-home-fields,.df-home-v21.df-home-navy .df-home-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}
 .df-home-city,.df-home-carrier,.df-home-plan,.df-home-specialty{grid-column:1/-1}
 .df-home-field input,.df-home-field select{font-size:16px}
 .df-home-submit,.df-home-v21.df-home-navy .df-home-submit{width:100%}
}
@media(max-width:360px){.df-home-fields,.df-home-v21.df-home-navy .df-home-fields{grid-template-columns:1fr}}


/* The fixed Navy Focus panel shares one form, the large logo and the
   Search button below the fields. These rules also apply without JavaScript. */
body.df-home-v21.df-home-navy .df-home-search {
  max-width:1000px;
  margin:0 auto 30px;
  padding:25px 31px;
  background:#edf6fa;
  border:1px solid #bed3e1;
  box-shadow:none;
}
body.df-home-v21.df-home-navy .df-home-fields {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:21px 19px;
}
body.df-home-v21.df-home-navy .df-home-action {
  border-top:1px solid #c4d9e5;
  padding-top:19px;
}
body.df-home-v21.df-home-navy .df-home-submit {
  width:350px;
}
/* The requested two lines occur once inside the panel, replacing both the
   old standalone heading and the verbose general-search paragraph. */
body.df-home-v21.df-home-navy .df-home-search #general-search-title {
  margin:0 0 8px;
  font-size:26px;
  line-height:1.25;
  text-align:center;
  color:#143f59;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-copy {
  margin:0 0 23px;
  font-size:16px;
  line-height:1.45;
}
body.df-home-v21.df-home-navy .df-home-search {
  background:#073c5b;
  border-color:#073c5b;
  box-shadow:0 3px 9px #073c5b20;
}
body.df-home-v21.df-home-navy .df-home-search :is(h1,h2,.df-home-copy,.df-home-field>span,.df-home-field em,#df-home-help,.df-home-noscript) {
  color:#fff;
}
body.df-home-v21.df-home-navy .df-home-search #general-search-title {
  color:#fff;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-field input,
body.df-home-v21.df-home-navy .df-home-search .df-home-field select {
  background:#fff;
  color:#163e58;
  border-color:#94acbf;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-field input::placeholder {
  color:#526778;
  opacity:1;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-action {
  border-top-color:#6d96ae;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-submit {
  border:1px solid #c4e0ca;
  background:#236b34;
  color:#fff;
}
body.df-home-v21.df-home-navy .df-home-search .df-home-submit:hover {
  background:#195828;
}
body.df-home-v21.df-home-navy .df-home-search #df-home-error {
  color:#ffe0de;
}
body.df-home-v21.df-home-navy .df-home-search :is(input,select,button):focus-visible {
  outline:3px solid #ffd16d;
  outline-offset:3px;
}
@media(max-width:760px) {
  body.df-home-v21.df-home-navy .df-home-search {
    padding:20px 16px 23px;
  }
  body.df-home-v21.df-home-navy .df-home-fields {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 13px;
  }
  body.df-home-v21.df-home-navy .df-home-submit {
    width:100%;
  }
  body.df-home-v21.df-home-navy .df-home-search #general-search-title {
    font-size:23px;
  }
}
@media(max-width:360px) {
  body.df-home-v21.df-home-navy .df-home-fields {
    grid-template-columns:1fr;
  }
}

/* The homepage uses the same loading bar/stripe as the results page. It
   appears only while a validated native POST is leaving this document. */
body.df-home-v21 .df-home-busy {
  display:none;
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:11px 14px;
  border:1px solid #b8cfde;
  border-radius:10px;
  background:#fff;
  color:#163e58;
  font-size:14px;
  font-weight:800;
  text-align:center;
}
body.df-home-v21 .df-home-busy.on { display:block; }
body.df-home-v21 .df-home-busy[hidden] { display:none; }
body.df-home-v21 .df-home-busy.on::after {
  content:"";
  position:absolute;
  top:0;
  left:-40%;
  width:40%;
  height:100%;
  background:linear-gradient(90deg,rgba(0,63,103,0) 0%,rgba(0,63,103,.13) 50%,rgba(0,63,103,0) 100%);
  animation:df-home-sweep 1.1s linear infinite;
}
@keyframes df-home-sweep { to { left:100%; } }
body.df-home-v21 .df-home-submit[aria-disabled="true"] { cursor:wait; }
@media(prefers-reduced-motion:reduce) {
  body.df-home-v21 .df-home-busy.on::after { animation:none; }
}
