/* Hide theme header and footer */
body.home header.wp-block-template-part { display: none !important; }
body.home footer.wp-block-template-part { display: none !important; }
/* Force full-width layout */
.wp-site-blocks { padding: 0 !important; max-width: none !important; }
.wp-site-blocks > .wp-block-group { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.wp-site-blocks .wp-block-post-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.wp-site-blocks .entry-content { max-width: none !important; padding: 0 !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: none !important; }
.wp-block-group.is-layout-constrained { max-width: none !important; }
.has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }
.wp-block-post-content.is-layout-constrained > * { max-width: none !important; }
body .is-layout-constrained > * { max-width: none !important; }
.wp-site-blocks > main { max-width: none !important; }
/* Ensure nav stretches full width */
#mainNav { width: 100vw !important; left: 0 !important; }
.nav-main { width: 100% !important; }
/* Fix nav spacing for smaller screens */
.nav-links { gap: 1.2rem !important; }
.nav-links a { letter-spacing: 1.8px !important; font-size: .68rem !important; }
.nav-cta { font-size: .62rem !important; letter-spacing: 2.5px !important; }

/* === Layout fixes added by Claude === */

/* 1. Hero stats row horizontal */
.hero-bottom {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  width: 100%;
}
.hero-bottom .hero-stat {
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
}
.hero-bottom .stat-div {
  width: 1px;
  align-self: stretch;
  min-height: 48px;
  background: rgba(255,255,255,0.2);
}

/* 2. Bottom trust bar (40+ / 10K / CPA / IRS) horizontal and centered */
.cred-bar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.cred-bar .cred-item {
  flex: 1 1 0;
  min-width: 160px;
  text-align: center;
}

/* CTA banner trust signals row also horizontal & centered */
.cta-trust-signals {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin: 1.5rem auto;
}
.cta-trust-signals .cta-trust-badge {
  text-align: center;
  flex: 0 1 auto;
}

/* 3. "Request a Consultation" CTA centered */
.cta-banner { text-align: center !important; }
.cta-banner > p { text-align: center !important; }
.cta-banner-btn {
  display: inline-block;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 4 & 5. Footer side margins + every column in one responsive row.
   .footer-top wraps the brand + 3 cols; Resources (.footer-col) and
   Newsletter (a class-less div) are direct siblings of .footer-top.
   We use display:contents on .footer-top so all six columns share
   the same CSS grid on the parent footer. */
.entry-content > footer {
  padding-left: clamp(1.25rem, 4vw, 4rem) !important;
  padding-right: clamp(1.25rem, 4vw, 4rem) !important;
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}
.entry-content > footer > .footer-top {
  display: contents !important;
}
.entry-content > footer > .footer-top > .footer-brand {
  grid-column: 1;
}
.entry-content > footer > .footer-top > p:empty {
  display: none !important;
}
.entry-content > footer > p:empty {
  display: none !important;
}
.entry-content > footer > .footer-bottom {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

/* Responsive collapse */
@media (max-width: 1200px) {
  .entry-content > footer {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
  .entry-content > footer > .footer-top > .footer-brand {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 760px) {
  .entry-content > footer {
    grid-template-columns: 1fr 1fr !important;
  }
  .entry-content > footer > .footer-top > .footer-brand {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 480px) {
  .entry-content > footer {
    grid-template-columns: 1fr !important;
  }
}

/* 6. Footer always sits at the bottom of the page (sticky-footer pattern).
   We make the page a column flex container so the main content grows
   and the footer is naturally pushed to the bottom even on short pages. */
html,
body { min-height: 100%; }
body.wp-singular { min-height: 100vh; }
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-site-blocks > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks > main > .entry-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.entry-content > footer {
  margin-top: auto;
  background: #0b0b0b;
}


/* Fee Estimator CTA: hide duplicate empty button (second a wrapped in p) */
#services .fee-estimator-cta > p { display: none !important; }

/* Autofill override — stops Chrome/Edge yellow tint on form fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-text-fill-color: #000000 !important;
  -webkit-box-shadow: 0 0 0 1000px #FAFAF8 inset !important;
  caret-color: #B8976A !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* For pages that use a dark form theme (Fee Estimator, calculator inputs) */
.estimator-wrap input:-webkit-autofill,
.estimator-wrap textarea:-webkit-autofill,
.bp-page input:-webkit-autofill,
.bp-page textarea:-webkit-autofill,
.bp-page select:-webkit-autofill {
  -webkit-text-fill-color: #EDE6DA !important;
  -webkit-box-shadow: 0 0 0 1000px #0A0A0A inset !important;
}


/* Force text input color to black for all form text entry fields */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"],
input:not([type]),
textarea,
select {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Ensure autofilled values also display as black text */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #000000 !important;
  caret-color: #000000 !important;
}
/* ============================================
   FAQ Section — The Reed Corporation
   Matches site palette: cream text, gold accent,
   Cormorant Garamond headings, Inter body
   ============================================ */

/* Container — align to the same 736px reading column as body copy */
.seo-faq {
  max-width: 736px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  font-family: "Inter", sans-serif;
  color: #fafaf8;
}

/* Section heading "Frequently Asked Questions" */
.seo-faq h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  color: #fafaf8;
  margin: 0 0 1.5rem;
  text-align: left;
}

/* Each question/answer pair */
.seo-faq-item {
  border-bottom: 1px solid rgba(184, 151, 106, 0.25);
  padding: 0;
  margin: 0;
  background: transparent;
  transition: background-color 0.2s ease;
}

.seo-faq-item:first-of-type {
  border-top: 1px solid rgba(184, 151, 106, 0.25);
}

/* Question (the clickable summary) */
.seo-faq-item summary {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fafaf8;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  outline: none;
  user-select: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

/* Hide default browser disclosure triangles */
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item summary::marker { content: ""; }

/* Custom plus/minus indicator on the right side */
.seo-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #b8976a;
  transition: transform 0.25s ease, content 0.2s ease;
  line-height: 1;
}

.seo-faq-item[open] summary::after {
  content: "−";
  color: #b8976a;
}

/* Hover state on the question */
.seo-faq-item summary:hover {
  color: #b8976a;
}

.seo-faq-item summary:focus-visible {
  outline: 1px dashed rgba(184, 151, 106, 0.6);
  outline-offset: 4px;
}

/* Answer body */
.seo-faq-answer {
  padding: 0 2.5rem 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(250, 250, 248, 0.82);
}

.seo-faq-answer p {
  margin: 0 0 1rem;
}

.seo-faq-answer p:last-child {
  margin-bottom: 0;
}

.seo-faq-answer a {
  color: #b8976a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.seo-faq-answer a:hover {
  color: #d4b58a;
}

/* Smooth expand animation (modern browsers) */
.seo-faq-item[open] .seo-faq-answer {
  animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .seo-faq {
    margin: 2rem auto 3rem;
    padding: 0 1.25rem;
  }
  .seo-faq h2 {
    font-size: 1.75rem;
  }
  .seo-faq-item summary {
    font-size: 0.95rem;
    padding-right: 2rem;
  }
  .seo-faq-answer {
    padding-right: 0;
    font-size: 0.9rem;
  }
}

/* ============================================
   1. Skip-to-content link (1,929 pages)
   Already screen-reader-only, but fix for compliance
   ============================================ */
a#wp-skip-link {
  color: #e6e6e6;
}

/* ============================================
   2. FAQ summary text (98 pages)
   Was rgb(138,138,138) on transparent gold — too faint
   ============================================ */
details.faq-item > summary,
details.faq-item > summary > p,
details.faq-item > summary > span {
  color: #e6e6e6;
}

/* ============================================
   3. Service buttons — label + description (69 pages)
   Was rgb(30,30,30) on rgb(10,10,10)
   ============================================ */
.bp-svc-btn,
.bp-svc-btn .bp-svc-label,
.bp-svc-btn .bp-svc-desc {
  color: #e6e6e6;
}

.bp-svc-btn:hover .bp-svc-label,
.bp-svc-btn:hover .bp-svc-desc {
  color: #ffffff;
}

/* ============================================
   4. Key takeaway boxes (40 pages)
   Was rgb(201,191,176) on near-transparent — bumped up
   ============================================ */
.key-takeaway,
.key-takeaway p,
.key-takeaway strong {
  color: #f5f0e8;
}

/* ============================================
   5. CTA section links and headings (36+ pages)
   Was rgb(30,30,30) on rgb(10,10,10)
   ============================================ */
.bp-cta h3,
.bp-cta p,
.bp-cta a {
  color: #e6e6e6;
}

.bp-cta a:hover {
  color: #ffffff;
}

/* ============================================
   6. Service option labels — Fee Estimator (28 pages)
   Was rgb(237,230,218) on near-transparent white
   ============================================ */
.service-option .service-label,
.service-option p span {
  color: #f5f0e8;
}

/* ============================================
   7. Bottom-section services headings (24 pages)
   Was rgb(30,30,30) on rgb(10,10,10)
   ============================================ */
.bp-services h3,
.bp-services .bp-svc-sub,
.bp-services p {
  color: #e6e6e6;
}

/* ============================================
   8. 404 page template (24 pages hitting dead URLs)
   Theme default is dark-on-dark
   ============================================ */
h2#page-not-found,
main#wp--skip-link--target p,
.wp-block-search__label {
  color: #e6e6e6;
}

/* reedcorp-cta-opener:start */
/* CTA opener — force .hub-cta details.faq-item always-visible on city hubs.
   Scoped to .hub-cta so the site-wide FAQ accordions (also .faq-item) keep
   their normal collapsible behavior on other pages. */
.hub-cta details.faq-item { display: block; }
.hub-cta details.faq-item summary {
  list-style: none;
  pointer-events: none;
  cursor: default;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #FAFAF8;
  margin-bottom: 0.5rem;
}
.hub-cta details.faq-item summary::-webkit-details-marker { display: none; }
.hub-cta details.faq-item summary::marker { display: none; }
.hub-cta details.faq-item .faq-answer {
  display: block !important;
  color: #C9BFB0;
  font-size: 1rem;
  line-height: 1.7;
}
.hub-cta details.faq-item .faq-answer p { margin: 0; }

/* bp-citations — only on the 3 city hubs (page IDs 6713/6960/6961).
   Scoped by body.page-id so we don't override the bp-page template's
   existing .bp-citations rules on the 280+ blog posts that use the
   same class via their own inline CSS. */
.bp-citations {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #0A0A0A;
  border-top: 1px solid rgba(184, 151, 106, 0.18);
}
.bp-citations h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: #FAFAF8;
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 1rem;
}
.bp-citations ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem;
}
.bp-citations li {
  margin: 0;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #C9BFB0;
  background: #141414;
  border-left: 2px solid rgba(184, 151, 106, 0.3);
  border-radius: 0 4px 4px 0;
}
.bp-citations li a {
  color: #B8976A;
  text-decoration: none;
}
.bp-citations li a:hover {
  text-decoration: underline;
}
/* reedcorp-cta-opener:end */

/* reedcorp-2col-grids:start */
/* 2-column layout for all hub/grid sections. Collapses to 1 column on
   screens narrower than 640px. */

/* Who We Serve grid — city hub niche cards */
.hub-client-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
}

/* Our Services grid — city hub service cards */
.hub-svc-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
}

/* Tax Services & Guides ribbon (NY/LA/Miami) */
.city-ribbon-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
}

/* Sources and Further Reading — bp-citations list */
.bp-citations ul {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.5rem !important;
}

/* State hub "Choose the [State] tax topic" — 4 cards in 2x2 */
.tax-topic-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.85rem !important;
}

/* Mobile: collapse to single column */
@media (max-width: 640px) {
  .hub-client-grid,
  .hub-svc-grid,
  .city-ribbon-grid,
  .bp-citations ul,
  .tax-topic-grid {
    grid-template-columns: 1fr !important;
  }
}

/* CARD UNIFICATION — fixes the "3 clickable boxes per item" rendering.
   wpautop inserts <p>/</p> between the inner block elements of each card,
   making title/desc/arrow appear as 3 stacked boxes. We force each anchor
   to render as a single visual block with no internal spacing artifacts. */

a.hub-svc-card,
a.hub-client-card {
  display: block !important;
  padding: 1.6rem 1.4rem !important;
  background: #141414 !important;
  border: 1px solid rgba(184, 151, 106, 0.25) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  min-height: 110px !important;
}
a.hub-svc-card:hover,
a.hub-client-card:hover {
  background: #1E1E1E !important;
  border-color: #B8976A !important;
  transform: translateY(-2px) !important;
}

/* Kill the empty <p> tags wpautop inserted inside the cards */
a.hub-svc-card > p:empty,
a.hub-client-card > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill any rogue <br> tags between cards in the grid */
.hub-svc-grid > br,
.hub-client-grid > br,
.city-ribbon-grid > br {
  display: none !important;
}

/* Make the inner elements render inline-flow within the single card */
.hub-svc-card .hub-svc-title,
.hub-client-card .hub-client-name {
  display: block !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: #FAFAF8 !important;
  margin: 0 0 0.4rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.hub-svc-card .hub-svc-desc {
  display: block !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  color: #C9BFB0 !important;
  margin: 0 0 0.6rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.hub-svc-card .hub-svc-arrow {
  display: inline-block !important;
  font-size: 0.75rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #B8976A !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.hub-svc-card:hover .hub-svc-arrow {
  color: #D4B896 !important;
}
/* reedcorp-2col-grids:end */

/* reedcorp-seofaq-align:start */
/* .bp-page wrapper: ensure it centers within its parent container,
   overriding any theme inline margin that pushes it left. */
.bp-page {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* .seo-faq alignment fix on bp-page sub-pages:
   widen to match the bp-page section column AND center the heading. */
.bp-page .seo-faq,
.seo-faq {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bp-page .seo-faq h2,
.seo-faq h2 {
  text-align: center !important;
}

/* The FAQ items themselves stay left-aligned so questions read naturally. */
.bp-page .seo-faq-item summary,
.seo-faq-item summary {
  text-align: left !important;
}
/* reedcorp-seofaq-align:end */

/* === 2026-05-21: Fix dropdown background on calculator pages === */
/* The .calc-row select rule sets background:#0A0A0A which matches the page bg.
   Browser autofill paints inputs white-ish but selects stay black. Override both
   so dropdowns and free-text fields visually match. */
.calc-row input[type="number"],
.calc-row input[type="text"],
.calc-row select{
  background:#EDE6DA !important;
  color:#0A0A0A !important;
  border:1px solid rgba(184,151,106,.35) !important;
}
.calc-row input:focus,
.calc-row select:focus{
  border-color:#B8976A !important;
  outline:none !important;
}
/* Style the option list itself for browsers that respect option styling */
.calc-row select option{
  background:#EDE6DA !important;
  color:#0A0A0A !important;
}