/*
Theme Name: Bailey Valuation & Consulting (V39 Readability)
Author: OpenAI
Version: 39.0
Description: V39.0 readability refinement of the V38 editorial build, with larger reading text and improved tablet navigation behavior.
Requires at least: 5.7
Requires PHP: 7.4
Text Domain: bailey-valuation
*/
:root{--ink:#17212b;--navy:#183044;--navy2:#0f2230;--red:#a12f33;--paper:#f7f5f1;--line:#d8d4cd}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:"Helvetica Neue",Arial,sans-serif;line-height:1.55}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.bvc-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}.bvc-kicker{letter-spacing:.17em;text-transform:uppercase;font-size:.7rem;font-weight:700}
.bvc-topline{background:#f6f4f0;border-bottom:1px solid #e3dfd8;font-size:.82rem;color:#4d5660}.bvc-topline .bvc-wrap{display:flex;justify-content:flex-end;padding:8px 0}
.bvc-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 12px rgba(0,0,0,.06)}.bvc-nav{min-height:78px;display:flex;align-items:center;gap:28px}.bvc-brand{margin-right:auto}.bvc-brand img{width:228px}
.bvc-menu{display:flex;gap:25px;align-items:center;font-size:.96rem}.bvc-menu a{padding:28px 0 24px;border-bottom:3px solid transparent}.bvc-menu a:hover{border-color:var(--red)}.bvc-contact-mini{border:1px solid var(--red);color:var(--red);padding:9px 14px;font-weight:700}
.bvc-hero{min-height:520px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(8,20,31,.86) 0%,rgba(8,20,31,.68) 33%,rgba(8,20,31,.14) 68%,rgba(8,20,31,.04) 100%),url("assets/images/bailey-arizona-modern-hero-1920.webp") center center/cover}.bvc-hero .bvc-wrap{padding:58px 0}.bvc-hero-copy{max-width:700px}.bvc-hero h1{margin:10px 0 18px;font:normal 3.85rem/1.02 Baskerville,Georgia,serif}.bvc-hero p{font-size:1.08rem;max-width:650px}
.bvc-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.bvc-btn{display:inline-block;padding:12px 18px;font-weight:700;border:1px solid #fff}.bvc-btn.primary{background:var(--red);border-color:var(--red)}
.bvc-intro{background:var(--paper);border-bottom:1px solid var(--line)}.bvc-intro .bvc-wrap{text-align:center;padding:30px 70px;font:normal 1.02rem/1.62 Baskerville,Georgia,serif}
.bvc-section{padding:64px 0}.bvc-section-head h2{font:normal 2rem/1.12 Baskerville,Georgia,serif}.bvc-practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bvc-card{border:1px solid var(--line);background:#fff}.bvc-card img{width:100%;height:205px;object-fit:cover}.bvc-card-body{padding:20px}.bvc-card h3{margin:0 0 8px;font:normal 1.22rem/1.18 Baskerville,Georgia,serif}.bvc-card p{margin:0;color:#4e5962;font-size:.95rem}.bvc-arrow{display:inline-block;margin-top:16px;color:var(--red);font-weight:bold}
.bvc-split{display:grid;grid-template-columns:1fr 1fr;background:var(--navy);color:#fff}.bvc-split-copy{padding:68px max(40px,calc((100vw - 1180px)/2))}.bvc-split h2{font:normal 2.35rem/1.1 Baskerville,Georgia,serif}.bvc-split-image{min-height:430px;background:url("assets/images/litigation-expert-witness-arizona.webp") center/cover}
.bvc-about-row{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.bvc-about-panel{display:grid;grid-template-columns:245px 1fr;gap:30px;align-items:center}.bvc-portrait{height:330px;background:linear-gradient(135deg,#c9c2b8,#80766a);display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;padding:25px}.bvc-about-copy h2,.bvc-coverage h2{font:normal 1.95rem/1.12 Baskerville,Georgia,serif}.bvc-coverage{min-height:330px;padding:42px;background:#f7f5f1;border:1px solid var(--line)}
.bvc-contact-band{background:var(--navy2);color:#fff;padding:52px 0}.bvc-contact-grid{display:grid;grid-template-columns:1.35fr 1fr .55fr;gap:40px;align-items:center}.bvc-contact-band h2{font:normal 2.3rem Baskerville,Georgia,serif}.bvc-contact-details{display:grid;gap:10px;font-weight:700}
.bvc-footer{background:#091822;color:#b9c4ca;padding:22px 0;font-size:.82rem}.bvc-footer .bvc-wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:950px){.bvc-menu{display:none}.bvc-brand img{width:205px}.bvc-hero h1{font-size:3.1rem}.bvc-practice-grid{grid-template-columns:repeat(2,1fr)}.bvc-split,.bvc-about-row,.bvc-contact-grid{grid-template-columns:1fr}}
@media(max-width:620px){.bvc-wrap{width:min(100% - 28px,1180px)}.bvc-topline{display:none}.bvc-brand img{width:190px}.bvc-hero h1{font-size:2.6rem}.bvc-practice-grid{grid-template-columns:1fr}.bvc-about-panel{grid-template-columns:1fr}}

/* v2 refinements */
.bvc-header{overflow:visible}
.bvc-nav{min-height:90px;padding:8px 0}
.bvc-brand{display:flex;align-items:center;overflow:visible}
.bvc-brand img,.custom-logo{width:225px!important;max-height:74px!important;object-fit:contain!important}
.bvc-menu{margin-left:auto}
.bvc-contact-mini{margin-left:8px}
.bvc-split-image{
  min-height:410px;
  background:
    linear-gradient(rgba(10,18,26,.10),rgba(10,18,26,.10)),
    url("assets/images/litigation-expert-witness-arizona.webp") center/cover!important;
}
.bvc-about-clean{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:44px;
  align-items:center;
  max-width:930px;
}
.bvc-portrait-clean{height:340px}
.bvc-about-copy-clean h2{
  max-width:680px;
  font:normal 2.2rem/1.12 Baskerville,Georgia,serif;
  margin:8px 0 18px;
}
.bvc-about-copy-clean p{font-size:1.02rem;max-width:760px}
.bvc-coverage-band{
  margin-top:34px;
  min-height:auto!important;
  padding:28px 32px!important;
  background:#f7f5f1!important;
}
.bvc-coverage-band h2{margin:6px 0 10px}
.bvc-contact-band{padding:46px 0}
@media(max-width:950px){
  .bvc-brand img,.custom-logo{width:185px!important;max-height:62px!important}
  .bvc-about-clean{grid-template-columns:1fr}
  .bvc-portrait-clean{max-width:320px}
}

/* v3 About / Qualifications page */
.bvc-page-hero{background:#f4f1eb;border-bottom:1px solid var(--line);padding:70px 0 52px}
.bvc-page-hero h1{font:normal 3rem/1.05 Baskerville,Georgia,serif;margin:8px 0 16px;max-width:850px}
.bvc-page-hero p{font-size:1.08rem;max-width:850px;color:#4c5963;margin:0}
.bvc-about-page-section{padding:60px 0;border-bottom:1px solid #ece8e1}
.bvc-about-page-section h2{font:normal 2.15rem/1.12 Baskerville,Georgia,serif;margin:6px 0 18px}
.bvc-about-page-section h3{font:normal 1.4rem/1.2 Baskerville,Georgia,serif;margin:26px 0 8px}
.bvc-about-page-section p{max-width:900px;font-size:1.01rem;color:#28343e}
.bvc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:54px}
.bvc-fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.bvc-fact{border:1px solid var(--line);padding:20px;background:#fff}
.bvc-fact strong{display:block;font:normal 1.65rem Baskerville,Georgia,serif;color:var(--navy);margin-bottom:5px}
.bvc-engagements{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}
.bvc-engagement-card{border:1px solid var(--line);padding:24px;background:#fff}
.bvc-engagement-card h3{margin:0 0 10px}
.bvc-link-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.bvc-dark-link{display:inline-block;background:var(--navy);color:#fff;padding:12px 18px;font-weight:700;border:1px solid var(--navy)}
.bvc-outline-link{display:inline-block;color:var(--navy);padding:12px 18px;font-weight:700;border:1px solid var(--navy)}
.bvc-note{font-size:.9rem;color:#64707a;margin-top:12px}
@media(max-width:850px){
  .bvc-two-col,.bvc-engagements{grid-template-columns:1fr}
  .bvc-fact-grid{grid-template-columns:1fr}
  .bvc-page-hero h1{font-size:2.5rem}
}

.bvc-page-hero + .bvc-about-page-section .bvc-practice-grid{margin-top:24px}
.bvc-page-hero + .bvc-about-page-section .bvc-card{min-height:180px}
.bvc-page-hero + .bvc-about-page-section .bvc-card a{display:block;height:100%}

.bvc-footer a{color:#d8e0e5;text-decoration:none}.bvc-footer a:hover{text-decoration:underline}

/* v7 fixes */
.bvc-menu{list-style:none}
.bvc-menu li{list-style:none;margin:0;padding:0}
.bvc-menu li::marker{content:""}
.bvc-menu li a{display:block}


/* v8 consulting / forensic valuation refinements */
.bvc-feature-band{background:#eef1f2;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:44px 0}
.bvc-feature-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.bvc-feature-grid h2{font:normal 2.05rem/1.12 Baskerville,Georgia,serif;margin:7px 0 0}
.bvc-feature-grid p{margin:0 0 14px;color:#34424c;font-size:1.02rem}
.bvc-role-section{background:#fbfaf8}
.bvc-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}
.bvc-topic{border:1px solid var(--line);background:#fff;padding:20px;min-height:145px}
.bvc-topic strong{display:block;font:normal 1.25rem/1.15 Baskerville,Georgia,serif;color:var(--navy);margin-bottom:8px}
.bvc-topic span{display:block;color:#4d5962;font-size:.95rem}
.bvc-footer a{color:#d8e0e5;text-decoration:none}
.bvc-footer a:hover{text-decoration:underline}
@media(max-width:950px){
  .bvc-feature-grid{grid-template-columns:1fr}
  .bvc-topic-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .bvc-topic-grid{grid-template-columns:1fr}
}

/* v10 discreet pro bono note */
.bvc-probono-note{
  margin:28px 0 0;
  font-size:.84rem;
  line-height:1.45;
  color:#7a8389;
}


/* v15 homepage practice-area navigation */
.bvc-card-clickable{padding:0}
.bvc-card-link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.bvc-card-link img{display:block;width:100%}
.bvc-card-link:hover h3,
.bvc-card-link:focus h3{color:var(--red)}
.bvc-card-link:hover .bvc-arrow,
.bvc-card-link:focus .bvc-arrow{transform:translateX(4px)}
.bvc-card-link .bvc-arrow{
  display:inline-block;
  transition:transform .18s ease;
}
.bvc-practice-more{
  margin-top:34px;
  display:flex;
  justify-content:flex-start;
}

/* v18 uniform homepage featured cards */
.bvc-practice-grid .bvc-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
}
.bvc-practice-grid .bvc-card-link{
  display:block;
  height:100%;
  text-decoration:none;
  color:inherit;
}

/* v19 temporary Ryan headshot */
.bvc-portrait img,
.bvc-portrait-clean img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}


/* v22 Ask a Question form */
.bvc-question-layout{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);
  gap:52px;
  align-items:start;
}
.bvc-question-form{margin-top:28px}
.bvc-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 22px;
}
.bvc-field{display:flex;flex-direction:column;gap:7px}
.bvc-field-full{grid-column:1 / -1}
.bvc-field label{
  font-weight:700;
  color:var(--navy);
  font-size:.94rem;
}
.bvc-optional{font-weight:400;color:#7a8389}
.bvc-field input,
.bvc-field select,
.bvc-field textarea{
  width:100%;
  border:1px solid #cfd5d9;
  background:#fff;
  color:#26343d;
  font:inherit;
  padding:12px 13px;
  border-radius:2px;
}
.bvc-field textarea{resize:vertical;min-height:160px}
.bvc-field input:focus,
.bvc-field select:focus,
.bvc-field textarea:focus{
  outline:2px solid rgba(164,33,44,.18);
  border-color:var(--red);
}
.bvc-submit{margin-top:22px;border:0;cursor:pointer}
.bvc-form-disclaimer{
  margin:18px 0 0;
  font-size:.82rem;
  line-height:1.5;
  color:#6e787f;
  max-width:760px;
}
.bvc-contact-sidebar{
  background:#f7f5f1;
  border:1px solid var(--line);
  padding:28px;
}
.bvc-contact-sidebar h2{margin-top:4px}
.bvc-contact-sidebar p{line-height:1.55}
.bvc-contact-sidebar hr{
  border:0;
  border-top:1px solid var(--line);
  margin:24px 0;
}
.bvc-sidebar-small{font-size:.9rem;color:#66727a}
.bvc-form-notice{
  margin:0 0 28px;
  padding:16px 18px;
  border-left:4px solid var(--navy);
  background:#f3f5f6;
}
.bvc-form-success{border-left-color:#506e58}
.bvc-form-error{border-left-color:var(--red)}
.bvc-honeypot{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
@media(max-width:800px){
  .bvc-question-layout{grid-template-columns:1fr}
  .bvc-form-grid{grid-template-columns:1fr}
  .bvc-field-full{grid-column:auto}
}

/* v23 Contact + Ask a Question header treatment */
.bvc-nav-contact{
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
}
.bvc-nav-contact:hover,
.bvc-nav-contact:focus{
  color:var(--red);
}


/* v24 homepage differentiation */
.bvc-intro{
  padding:38px 0;
  background:#fff;
}
.bvc-intro h2{
  margin:0 0 10px;
  color:var(--navy);
  font:normal 1.72rem/1.16 Baskerville,Georgia,serif;
}
.bvc-intro p{
  margin:0;
  max-width:1040px;
  font:normal 1.02rem/1.62 Baskerville,Georgia,serif;
  color:#34424c;
}
.bvc-credibility-strip{
  background:#f4f1eb;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.bvc-credibility-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.bvc-credibility-grid > div{
  padding:22px 24px;
  border-right:1px solid var(--line);
}
.bvc-credibility-grid > div:first-child{padding-left:0}
.bvc-credibility-grid > div:last-child{
  border-right:0;
  padding-right:0;
}
.bvc-credibility-grid strong{
  display:block;
  margin-bottom:5px;
  color:var(--navy);
  font:normal 1.18rem/1.15 Baskerville,Georgia,serif;
}
.bvc-credibility-grid span{
  display:block;
  color:#58646c;
  font-size:.88rem;
  line-height:1.4;
}
@media(max-width:950px){
  .bvc-credibility-grid{grid-template-columns:1fr 1fr}
  .bvc-credibility-grid > div{
    padding:20px 18px;
    border-bottom:1px solid var(--line);
  }
  .bvc-credibility-grid > div:nth-child(2){border-right:0}
  .bvc-credibility-grid > div:nth-child(3),
  .bvc-credibility-grid > div:nth-child(4){border-bottom:0}
  .bvc-credibility-grid > div:first-child{padding-left:18px}
  .bvc-credibility-grid > div:last-child{padding-right:18px}
}
@media(max-width:620px){
  .bvc-hero{
    min-height:500px;
    background-position:62% center !important;
  }
  .bvc-credibility-grid{grid-template-columns:1fr}
  .bvc-credibility-grid > div{
    border-right:0;
    border-bottom:1px solid var(--line) !important;
    padding:17px 14px !important;
  }
  .bvc-credibility-grid > div:last-child{border-bottom:0 !important}
}


/* v25 header cleanup */
.bvc-contact-mini{
  white-space:nowrap;
  min-width:max-content;
}

/* Keep the desktop navigation compact enough that the CTA stays on one line. */
@media (min-width: 901px) and (max-width: 1220px){
  .bvc-nav{
    gap:18px;
    min-height:86px;
  }
  .bvc-brand img,.custom-logo{
    width:210px!important;
    max-height:70px!important;
  }
  .bvc-menu{
    gap:20px;
  }
  .bvc-nav a{
    font-size:.98rem;
  }
  .bvc-contact-mini{
    padding-left:16px;
    padding-right:16px;
  }
}

/* At narrower widths, move to the theme's mobile treatment before the CTA wraps. */
@media (max-width: 900px){
  .bvc-contact-mini{
    white-space:nowrap;
  }
  .bvc-nav{
    min-height:80px;
  }
}


/* v26 readability / body-type refinement */

/* General content paragraphs */
.bvc-about-page-section p,
.bvc-page-content p,
.bvc-service-page p,
.bvc-section p,
.bvc-intro p,
.bvc-contact-sidebar p,
.bvc-question-form,
.bvc-question-form input,
.bvc-question-form select,
.bvc-question-form textarea {
  font-size: 1.075rem;
  line-height: 1.62;
}

/* Homepage consulting / split-section copy */
.bvc-split p,
.bvc-feature-band p,
.bvc-consulting-band p {
  font-size: 1.075rem;
  line-height: 1.62;
}

/* Practice-area / service cards */
.bvc-card p,
.bvc-practice-card p,
.bvc-service-card p,
.practice-area-card p {
  font-size: 1.04rem;
  line-height: 1.58;
}

/* Supporting text beneath headings */
.bvc-lead,
.bvc-section-intro,
.bvc-page-hero p {
  font-size: 1.10rem;
  line-height: 1.58;
}

/* Credibility strip secondary copy */
.bvc-credibility-grid span {
  font-size: .98rem;
  line-height: 1.48;
}

/* About / qualifications text */
.bvc-about-grid p,
.bvc-about-copy p,
.bvc-bio-copy p {
  font-size: 1.075rem;
  line-height: 1.62;
}

/* Statewide / regional service copy */
.bvc-serving p,
.bvc-serving-arizona p {
  font-size: 1.075rem;
  line-height: 1.62;
}

/* Footer / bottom CTA supporting copy */
.bvc-footer p,
.bvc-footer a,
.bvc-bottom-cta p {
  font-size: .98rem;
  line-height: 1.55;
}

/* Keep nav/interface text compact and preserve hierarchy */
.bvc-nav a,
.bvc-contact-mini,
.bvc-btn,
button,
input[type="submit"] {
  line-height: 1.2;
}

/* Mobile: keep the improvement without letting paragraphs get oversized */
@media (max-width: 700px) {
  .bvc-about-page-section p,
  .bvc-page-content p,
  .bvc-service-page p,
  .bvc-section p,
  .bvc-intro p,
  .bvc-split p,
  .bvc-feature-band p,
  .bvc-consulting-band p,
  .bvc-serving p,
  .bvc-serving-arizona p,
  .bvc-about-grid p,
  .bvc-about-copy p,
  .bvc-bio-copy p {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .bvc-card p,
  .bvc-practice-card p,
  .bvc-service-card p,
  .practice-area-card p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .bvc-credibility-grid span {
    font-size: .94rem;
  }
}


/* v28 condominium termination page */
.bvc-condo-experience{
  background:#fff;
}
.bvc-condo-facts{
  grid-template-columns:repeat(3,1fr);
}
.bvc-condo-facts .bvc-fact{
  min-height:170px;
}
.bvc-condo-facts .bvc-fact strong{
  color:var(--red);
  font-size:1.9rem;
}
.bvc-condo-facts .bvc-fact span{
  display:block;
  color:#47545e;
  font-size:1rem;
  line-height:1.5;
}
.bvc-condo-proof{
  margin-top:26px;
  max-width:980px !important;
  font:normal 1.18rem/1.58 Baskerville,Georgia,serif;
  color:var(--navy) !important;
}
.bvc-condo-presentation h2{
  max-width:850px;
}
@media(max-width:950px){
  .bvc-condo-facts{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .bvc-condo-facts{grid-template-columns:1fr}
}


/* v29 condominium termination experience hierarchy */
.bvc-condo-fact-primary{
  border-top:3px solid var(--red);
}
.bvc-condo-fact-primary strong{
  font-size:2.25rem !important;
}


/* v30 Cao section */
.bvc-cao-section{
  background:#fff;
}
.bvc-cao-section h2{
  max-width:900px;
}
.bvc-opinion-link{
  display:inline-block;
  margin-top:4px;
  color:var(--red);
  font-weight:700;
  border-bottom:1px solid rgba(161,47,51,.35);
}
.bvc-opinion-link:hover,
.bvc-opinion-link:focus{
  border-bottom-color:var(--red);
}


/* v31 content and practice-area refinements */
.bvc-family-method,
.bvc-dim-method{
  background:#fff;
}
.bvc-family-method h2,
.bvc-dim-method h2{
  max-width:900px;
}
.bvc-family-method p,
.bvc-dim-method p{
  max-width:980px;
}
.page-template-page-practice-areas .bvc-practice-grid{
  align-items:stretch;
}
.page-template-page-practice-areas .bvc-card{
  height:100%;
}


/* v32 Practice Areas catchall treatment */
.bvc-practice-catchall{
  margin-top:26px;
  padding:28px 30px;
  border:1px solid var(--line);
  background:#f7f5f1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.bvc-practice-catchall h2{
  margin:6px 0 8px;
  font:normal 1.7rem/1.15 Baskerville,Georgia,serif;
}
.bvc-practice-catchall h2 a:hover,
.bvc-practice-catchall h2 a:focus{
  color:var(--red);
}
.bvc-practice-catchall p{
  margin:0;
  max-width:860px;
  font-size:1.04rem;
  line-height:1.58;
  color:#4e5962;
}
.bvc-practice-catchall .bvc-outline-link{
  flex:0 0 auto;
  white-space:nowrap;
}
@media(max-width:800px){
  .bvc-practice-catchall{
    align-items:flex-start;
    flex-direction:column;
  }
}
