/*
Theme Name: Astra Child
Theme URI: https://palmbaycompound.com
Description: Child theme for Astra (Palm Bay Compound)
Author: Brian Rice
Author URI: https://palmbaycompound.com
Template: astra
Version: 1.0.0
*/

/* =====================================
   Astra Child – Custom CSS
   ===================================== */
/* =====================================================
   PALM BAY COMPOUND — FINAL CONSOLIDATED CSS
   ===================================================== */

/* -------------------------------
   2. CORE TYPOGRAPHY & CONTAINER
   ------------------------------- */
.pb-compound-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: Inter, "Open Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #f2f2f2;
}

/* Neutralize inline font-size clutter */
.pb-compound-content span {
  font-size: inherit !important;
  line-height: inherit;
}

/* Paragraph & list rhythm */
.pb-compound-content p,
.pb-compound-content li {
  margin-bottom: 14px;
  max-width: 75ch;
}

/* -------------------------------
   3. SECTION HEADINGS (ANCHORS)
   ------------------------------- */
.pb-compound-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 90px 0 25px;
  padding: 20px 0 0 16px;
  border-left: 5px solid #e6b85c;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
}

.pb-compound-content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 35px 0 15px;
  color: #f5d48a;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(230,184,92,0.6);
}

/* -------------------------------
   4. DATA SNAPSHOT CONTAINERS
   ------------------------------- */
.pb-data-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 25px;
  margin: 40px 0;
  backdrop-filter: blur(6px);
}

/* -------------------------------
   5. SNAPSHOT STAT GRID (2-COLUMN)
   ------------------------------- */
.pb-data-box ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  margin: 20px 0 30px;
  padding: 0;
  list-style: none;
}

.pb-data-box ul li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0;
  font-size: 0.95rem;
}

/* Narrative bullets span full width */
.pb-data-box ul li span {
  display: block;
  grid-column: 1 / -1;
  background: none;
  border: none;
  padding: 0;
}

/* -------------------------------
   6. RISKS & CONSIDERATIONS LIST
   ------------------------------- */
#risks + ul {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
}

#risks + ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 22px;
  line-height: 1.7;
}

#risks + ul li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
  color: #e6b85c;
}

/* -------------------------------
   7. IMAGE + MARKET CALLOUT CLEANUP
   ------------------------------- */
.pb-compound-content img.alignleft {
  margin: 6px 18px 10px 0;
  border-radius: 6px;
}

.pb-compound-content span[style*="underline"] {
  text-decoration: none !important;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

/* -------------------------------
   8. DISCLAIMER STYLING
   ------------------------------- */
.pb-compound-disclaimer {
  font-size: 0.9rem;
  color: #cccccc;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  margin-top: 60px;
  font-style: italic;
}

/* -------------------------------
   9. White footer text for Required REK brokerage Language
   ------------------------------- */
.rek-white-text{
color: #ffffff;
}

/* ============================================================
   PALMBAYCOMPOUND.COM
   ABOUT THE COMPOUND – STYLE REFINEMENTS
   Page: /about-the-compound/
   Purpose: Improve hierarchy, readability, authority
   ============================================================ */

/* Scope strictly to About page */
body.page-id-about-the-compound,
body.page-about-the-compound,
.about-the-compound {

}

/* Main content container */
.about-the-compound .entry-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Primary page heading */
.about-the-compound h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  color: #0f172a;
}

/* Section headings */
.about-the-compound h2 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  color: #0f172a;
}

/* Body copy */
.about-the-compound p {
  font-size: 17px;
  line-height: 1.7;
  color: #1f2937;
  margin-bottom: 18px;
}

/* Section spacing */
.about-the-compound section {
  margin-bottom: 64px;
}

/* Intro block (logo + origins text) */
.about-the-compound .compound-intro {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

/* ============================================================
   EASY TABLE OF CONTENTS (v2.0.80)
   ABOUT THE COMPOUND – TOC STYLING
   ============================================================ */

/* Main TOC container */
.about-the-compound .ez-toc-container {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 48px 0;
}

/* TOC title */
.about-the-compound .ez-toc-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #0f172a;
}

/* TOC list reset */
.about-the-compound .ez-toc-list {
  margin: 0;
  padding-left: 0;
}

/* TOC list items */
.about-the-compound .ez-toc-list li {
  margin: 8px 0;
}

/* TOC links */
.about-the-compound .ez-toc-list a {
  font-size: 15px;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
}

/* Hover state */
.about-the-compound .ez-toc-list a:hover {
  text-decoration: underline;
}

/* Counter numbering (hierarchy mode) */
.about-the-compound .ez-toc-counter li::before {
  color: #64748b;
  font-weight: 500;
}

/* Override default grey theme */
.about-the-compound .ez-toc-grey {
  background: transparent;
}

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */

@media (max-width: 768px) {

  .about-the-compound .ez-toc-container {
    padding: 18px 20px;
  }

  .about-the-compound .ez-toc-title {
    font-size: 17px;
  }

  .about-the-compound .ez-toc-list a {
    font-size: 14px;
  }
}



/* Footer CTA tone-down for informational page */
.about-the-compound .footer-cta {
  margin-top: 80px;
  background: linear-gradient(180deg, #0b2c4d, #071a2f);
}

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */

@media (max-width: 768px) {

  .about-the-compound .entry-content {
    padding: 32px 20px;
  }

  .about-the-compound h1 {
    font-size: 32px;
  }

  .about-the-compound h2 {
    font-size: 24px;
  }

  .about-the-compound .compound-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

/* ============================================================
   AUTHOR ATTRIBUTION – BEAVER BUILDER LOCK
   ============================================================ */

.author-attribution {
  display: block !important;
  margin-top: 12px;
  margin-bottom: 28px;
  padding-left: 14px;

  font-size: 0.95rem;
  line-height: 1.4;
  font-family: Arial, Helvetica, sans-serif;

  color: #222 !important;

  border-left: 3px solid #e0b04a !important;

  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* Name */
.author-attribution .author-name {
  display: block !important;
  font-weight: 600;
  color: #222 !important;
}

/* Credentials */
.author-attribution .author-credentials {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.85rem;
  color: #666 !important;
}

/* ============================================================
   BUY LAND PAGE
   ============================================================ */


/* Section spacing */
.buy-homes,
.buy-land {
  margin-bottom: 80px;
}

/* Headings */
.buy-homes h2,
.buy-land h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* Subhead text */
.buy-homes p,
.buy-land p {
  font-size: 1.05rem;
  color: #555;
  max-width: 620px;
}
/* Normalize image containers */
.buy-homes img,
.buy-land img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Center overlay buttons */
.search-now-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 4px;
}
/* Footer grid alignment */
.footer-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Footer text */
.footer-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 1rem;
  line-height: 1.5;
}
/* Inputs */
.footer-cta input {
  height: 44px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 0 12px;
}

/* Subscribe button */
.footer-cta button {
  height: 44px;
  background: #00b3b8;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
}
@media (max-width: 768px) {

  /* Prevent sideways scrolling */
  body {
    overflow-x: hidden;
  }

  /* Stack Buy sections cleanly */
  .buy-homes,
  .buy-land {
    text-align: center;
  }

  /* Reduce oversized margins */
  .buy-homes,
  .buy-land {
    margin-bottom: 60px;
  }

  /* Footer spacing */
  .footer-cta {
    gap: 24px;
  }
}
/* Logo breathing room */
.site-logo {
  margin-bottom: 20px;
}

/* Nav clarity */
.main-navigation a {
  padding: 12px 16px;
}

/* Smooth hover feedback */
a:hover,
button:hover {
  transition: all 0.2s ease;
}
/* PRIMARY CTA BUTTON */
.cta-primary,
.footer-cta button,
.get-offer-btn {
  background: linear-gradient(135deg, #00b3b8, #00939a);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,179,184,0.35);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Hover reinforcement */
.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,179,184,0.45);
}
/* CTA container emphasis */
.footer-cta {
  position: relative;
  padding: 60px 40px;
}

/* Soft spotlight effect */
.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
/* Buyer CTA card */
.buyer-cta {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 8px;
}

/* Seller CTA card */
.seller-cta {
  background: rgba(0,0,0,0.18);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
/* Input clarity */
.footer-cta input {
  font-size: 1rem;
  height: 48px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.95);
}

/* Placeholder confidence */
.footer-cta input::placeholder {
  color: #777;
}
/* CTA micro-copy */
.cta-subtext {
  font-size: .9rem;
  opacity: .85;
  margin-top: 8px;
}
@media (max-width: 768px) {

  .footer-cta {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-primary,
  .footer-cta button {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .footer-cta input {
    width: 100%;
  }
}
.trust-line {
  font-size: .85rem;
  opacity: .75;
  margin-top: 12px;
}


/* ============================================================
   MOBILE ONLY – pb-data-box single-column
   ============================================================ */
@media (max-width: 768px) {

  /* Make the container full width */
  .pb-data-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* If Beaver columns are used inside pb-data-box */
  .pb-data-box .fl-col-group {
    display: flex !important;
    flex-direction: column !important;
  }

  .pb-data-box .fl-col {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  /* If a custom 2-column grid/flex is used */
  .pb-data-box .two-col,
  .pb-data-box .columns,
  .pb-data-box .grid {
    display: block !important;
  }

  .pb-data-box .two-col > *,
  .pb-data-box .columns > *,
  .pb-data-box .grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Normalize inner spacing */
  .pb-data-box * {
    box-sizing: border-box;
  }
}
/* ============================================================
   MOBILE ONLY – pb-data-box full width (max 1200)
   ============================================================ */
@media (max-width: 768px) {

  /* Let the box expand while preventing odd constraints */
  .pb-data-box {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Collapse any 2-column layout inside to 1 column */
  .pb-data-box .fl-col-group {
    display: flex !important;
    flex-direction: column !important;
  }

  .pb-data-box .fl-col {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  /* Safety for custom grids/flex */
  .pb-data-box .two-col,
  .pb-data-box .columns,
  .pb-data-box .grid {
    display: block !important;
  }

  .pb-data-box .two-col > *,
  .pb-data-box .columns > *,
  .pb-data-box .grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure padding doesn’t re-box the content */
  .pb-data-box {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }
}


