/*
Theme Name: Brandon Houston Realty Blog Signup Theme
Theme URI: https://brandonhoustonrealty.com
Author: Brandon Houston Realty
Description: A decluttered, accessible real-estate theme for Brandon Houston Realty with a dedicated Request a Resource page.
Version: 4.1.0
Text Domain: bhr
*/

:root {
  --navy: #081428;
  --navy-2: #0b2243;
  --gold: #cf9d27;
  --gold-deep: #b88715;
  --ink: #16233a;
  --text: #2a3240;
  --muted: #6c7481;
  --bg: #f7f7f7;
  --card: #ffffff;
  --border: #e3e5e8;
  --max: 1240px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
a:hover { color: var(--gold-deep); }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
h1, h2, h3 { margin: 0 0 .5rem; color: var(--ink); line-height: 1.08; }
h1, h2, h3, .signature { font-family: Georgia, 'Times New Roman', serif; }
p { margin: 0 0 1rem; }
.eyebrow {
  color: var(--gold-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #d8a835, #be8815);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { color: #fff; filter: brightness(1.04); }
.button--small { min-height: 42px; font-size: .82rem; }
.button--outline {
  background: transparent;
  color: var(--gold);
}
.button--outline:hover { background: var(--gold); color: #fff; }
.button--dark { background: var(--navy); border-color: var(--navy); }
.button--dark:hover { background: var(--navy-2); }

.topbar {
  background: linear-gradient(90deg, #05101f, #081428 58%, #05101f);
  color: #fff;
}
.topbar-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-contact, .topbar-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .86rem;
}
.topbar-contact a, .topbar-socials a, .follow-label {
  color: #fff;
  text-decoration: none;
}
.follow-label { opacity: .9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { text-decoration: none; }
.brand-logo, .custom-logo {
  width: 230px;
  height: 84px;
  object-fit: contain;
}
.primary-nav { justify-self: center; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}
.header-cta { justify-self: end; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.hero--clean {
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.1), transparent 36%), linear-gradient(105deg, #05101f 0%, #081428 50%, #0d203d 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid--clean {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px;
}
.hero-copy--clean { padding: 60px 0; }
.hero-copy--clean h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.1vw, 4.8rem);
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.hero-copy--clean h1 span { color: var(--gold); font-style: italic; }
.hero-copy--clean p { max-width: 560px; font-size: 1.15rem; color: #edf1f6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.5rem; }
.hero-photo-wrap--clean { align-self: end; }
.hero-photo {
  max-height: 460px;
  margin-left: auto;
  object-fit: contain;
}

.feature-section { padding: 26px 0 18px; background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(10, 20, 40, .04);
}
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.feature-card h2 { font-size: 1.8rem; margin-bottom: .6rem; }
.feature-card p { min-height: 88px; }

.about-highlight { padding: 10px 0 16px; }
.about-highlight-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
}
.about-panel, .quote-panel {
  border-radius: 10px;
  background: #f6f7f8;
  border: 1px solid var(--border);
  padding: 28px;
}
.about-panel h2 { font-size: 2.4rem; }
.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark {
  color: var(--gold);
  font-size: 4rem;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: .8;
}
.quote-panel p { font-size: 1.25rem; max-width: 420px; }
.signature { color: var(--gold-deep); font-size: 2rem; }

.request-banner { padding: 8px 0 26px; }
.request-banner-inner {
  background: linear-gradient(95deg, #06101e, #081a33 55%, #06101e);
  color: #fff;
  border-radius: 10px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.request-banner-inner h2 { color: #fff; font-size: 2.1rem; }
.request-banner-inner p { color: #f0f4f8; max-width: 560px; margin-bottom: 0; }

.blog-roll-home { padding: 6px 0 30px; }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.section-heading-row h2 { font-size: 2.2rem; }
.section-link {
  color: var(--gold-deep);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .85rem;
}
.blog-roll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-preview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.post-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-preview-copy { padding: 18px; }
.article-meta { color: var(--gold-deep); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.post-preview-copy h2, .post-preview-copy h3 { font-size: 1.5rem; margin-bottom: .55rem; }
.post-preview-copy p:last-of-type { color: var(--text); }
.card-link { color: var(--ink); font-weight: 800; text-decoration: none; }

.page-hero {
  background: #f7f7f7;
  border-bottom: 1px solid var(--border);
  padding: 58px 0 42px;
}
.page-hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.3rem); letter-spacing: -.04em; }
.page-hero p { max-width: 760px; color: var(--text); }
.page-hero--request { background: linear-gradient(180deg, #fff, #f7f7f7); }
.request-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 24px;
}
.request-subtitle { color: var(--gold-deep) !important; font-size: 1.5rem; font-style: italic; }
.request-hero-accent {
  min-height: 220px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(8,20,40,.02), rgba(8,20,40,.02)), linear-gradient(135deg, transparent 58%, var(--navy) 58%, var(--navy) 64%, var(--gold) 64%, var(--gold) 68%, transparent 68%);
}
.content-area { padding: 46px 0 60px; }
.content-area h2 { font-size: 2.3rem; margin-bottom: .75rem; }
.feature-list { padding-left: 1.2rem; }
.feature-list li { margin-bottom: .55rem; }
.resource-banner {
  background: #fffaf0;
  border: 1px solid #edd9ab;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 24px 26px;
  margin-top: 28px;
}
.resource-banner h2 { font-size: 2rem; }

.request-layout {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 28px;
  align-items: start;
}
.resource-library-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.resource-library-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.resource-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(207,157,39,.14);
  color: var(--gold-deep);
  font-weight: 800;
  margin-bottom: 10px;
}
.resource-library-card h3 { font-size: 1.4rem; }
.resource-library-card a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }

.request-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(10,20,40,.06);
}
.request-form-panel > h2 {
  color: #fff;
  background: linear-gradient(90deg, #05101f, #081428);
  border-radius: 8px 8px 0 0;
  margin: -26px -26px 20px;
  padding: 18px 24px;
  font-size: 2rem;
}
.selected-resource-note {
  background: #fffaf0;
  border: 1px solid #edd9ab;
  border-radius: 8px;
  padding: 10px 12px;
}
.request-form-content > *:first-child,
.request-form-placeholder > *:first-child { margin-top: 0; }
.request-form-placeholder {
  background: #fafafa;
  border: 1px dashed #bac0ca;
  border-radius: 8px;
  padding: 18px;
}
.request-form-placeholder ul { padding-left: 1.2rem; }
.request-note {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 700;
}
.request-benefits {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.request-benefits article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.request-benefits h3 { font-size: 1.35rem; }

.site-footer {
  background: linear-gradient(95deg, #06101e, #081a33 55%, #06101e);
  color: #fff;
  padding: 36px 0 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr .9fr;
  gap: 28px;
}
.footer-bh-logo {
  width: 210px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.site-footer p, .site-footer li, .site-footer a {
  color: #f2f4f7;
  text-decoration: none;
}
.footer-links-list, .site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-list li, .site-footer ul li { margin-bottom: 8px; }
.footer-tucker-logo {
  width: 120px;
  height: auto;
  background: #fff;
  border-radius: 4px;
  padding: 5px;
}
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social-link {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .84rem;
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: .86rem;
}
.footer-sep { padding: 0 8px; }

.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-content { padding: 16px; }
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.contact-direct-card {
  background: linear-gradient(95deg, #06101e, #081a33);
  color: #fff;
  border-radius: 10px;
  padding: 26px;
}
.contact-direct-card h2, .contact-direct-card h3 { color: #fff; }
.light-outline { color: var(--gold); }

@media (max-width: 1040px) {
  .feature-grid, .blog-roll-grid, .request-benefits { grid-template-columns: 1fr; }
  .hero-grid--clean, .about-highlight-grid, .request-layout, .request-hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-photo { margin-inline: auto; }
  .header-inner { grid-template-columns: auto auto 1fr; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-inner { grid-template-columns: auto auto; position: relative; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--border);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .topbar-inner, .topbar-contact, .topbar-socials, .request-banner-inner, .section-heading-row, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .resource-library-grid, .feature-grid, .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-logo, .custom-logo { width: 180px; height: 68px; }
  .hero-grid--clean { min-height: auto; }
  .hero-copy--clean h1 { font-size: 2.7rem; }
  .hero-copy--clean p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .feature-card h2, .about-panel h2, .section-heading-row h2, .request-banner-inner h2, .content-area h2 { font-size: 1.85rem; }
  .request-form-panel > h2 { font-size: 1.6rem; }
}


.blog-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 64%, #fffaf0 100%);
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
.blog-signup-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(10,20,40,.06);
}
.blog-signup-card h2 {
  font-size: 2rem;
  margin-bottom: .6rem;
}
.subscribe-placeholder {
  background: #fffaf0;
  border: 1px dashed #d8bd78;
  border-radius: 10px;
  padding: 18px;
  margin-top: 16px;
}
.subscribe-placeholder p:last-child { margin-bottom: 0; }
.blog-intro-banner {
  background: linear-gradient(95deg, #06101e, #081a33 55%, #06101e);
  color: #fff;
  border-radius: 10px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.blog-intro-banner h2 { color: #fff; font-size: 2rem; }
.blog-intro-banner p { color: #f0f4f8; max-width: 720px; }
.blog-intro-banner p:last-child { margin-bottom: 0; }
.blog-content-area { padding-top: 34px; }
@media (max-width: 900px) {
  .blog-hero-grid { grid-template-columns: 1fr; }
  .blog-intro-banner { flex-direction: column; align-items: flex-start; }
}
