/* ============================================================
 * PAGES
 * General page content styling.
 * ============================================================ */

/* Page title */
.page-title {
  font-size: var(--font-size-h1);
  font-weight: 500;
  padding-bottom: 10px;
  margin-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--color-accent);
}

/* Content sections with dark backgrounds */
.section-dark {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: var(--spacing-xxl) 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-on-dark);
}

.section-dark a {
  color: var(--color-accent);
}

/* Content sections with accent backgrounds */
.section-accent {
  background: var(--color-accent);
  color: #fff;
  padding: var(--spacing-xxl) 0;
}

.section-accent h2,
.section-accent h3,
.section-accent h4 {
  color: #fff;
}

/* Blurb module (icon + text) */
.blurb {
  text-align: center;
  padding: var(--spacing-lg);
}

.blurb-icon {
  font-size: 64px;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  display: block;
}

.blurb h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.blurb p {
  color: var(--color-text-light);
}

/* Team member */
.team-member {
  text-align: center;
  padding: var(--spacing-lg);
}

.team-member img {
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  max-width: 200px;
  width: 100%;
}

.team-member h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.team-member .position {
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.blog-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card .entry-title {
  padding: var(--spacing-md) var(--spacing-md) 5px;
  font-size: var(--font-size-h4);
}

.blog-card .post-meta {
  padding: 0 var(--spacing-md);
  color: var(--color-text-light);
  font-size: var(--font-size-small);
}

.blog-card .post-content {
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
}

/* Agent grid */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: var(--spacing-xxl) 0;
  background: var(--color-primary);
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: var(--font-size-h1);
}

.cta-section .button {
  margin-top: var(--spacing-lg);
}

.banner {
  position: relative;
  width: 100%;
  padding: 65px 20px;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  
  /* Background base (left lighter tan) */
  background-color: #c9b398;
  
}

/* Curved darker overlay on the right */
.banner::before {
  content: '';
  position: absolute;
  top: -25%;
  /* right: -17%; */
  width: 65%;
  height: 150%;
  background-color: #bd9a77;
  border-radius: 50%;
  z-index: 1;
}

/* Text styles & elevation */
.banner-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 47px;
  font-weight: bold;
  
  /* Text drop shadow to match the 3D text feel */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Modifiers for banner */
.banner--top {
  margin-top: 100px;
}
/* Curve on the Right */
.banner--right::before {
  right: -17%;
}

/* Curve on the Left */
.banner--left::before {
  left: -17%;
}

.iframe-wrapper {
  display: flex;
  justify-content: center;
}

/* Card Container - Constrained and centered */
.content-card {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}

/* Media container clips whatever Gutenberg renders */
.content-card__media {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden; /* Hard clips Gutenberg gallery corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reset margins and force images inside Gutenberg blocks to scale properly */
.content-card__media img,
.content-card__media figure,
.content-card__media .wp-block-gallery,
.content-card__media .wp-block-image {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  display: block;
}

/* Ensures gallery items/flex containers don't break out */
.content-card__media .wp-block-gallery {
  border-radius: inherit;
}

.content-card__title {
  color: #000000;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
}

.content-card__description {
  color: #222222;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 25px;
}

/* Button style matching the boxed look in the image */
.content-card__button {
  display: inline-block;
  border: 2px solid #000000;
  color: #000000;
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background-color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.content-card__button:hover {
  background-color: #000000;
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.social-links__item a:hover {
  background-color: #333;
}


/* -----------------------------------------------
   Contact Info
   ----------------------------------------------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: center;
}

.contact-info-item {
  padding: 30px 20px;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info-item .contact-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  color: #F58220;
}

.contact-info-item .contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  color: #044704;
  margin: 0 0 10px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: #575279;
  margin: 0;
}

.contact-info-item a {
  color: #F58220;
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Contact form wrapper */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 30px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* -----------------------------------------------
   Rent page (page--webform--rent.html.twig)
   Matches WordPress Divi layout:
     Row 1: 1-4 / 1-2 / 1-4 — centered image + blurb
     Row 2: Full-width — rental application form
   ----------------------------------------------- */
.page--rent .rent-section {
  background: #fafaff;
  padding: 50px 0;
}

/* Intro row: 1/4 - 1/2 - 1/4 grid (image + blurb centered) */
.page--rent .rent-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
}

.page--rent .rent-intro-gutter {
  /* empty column, left/right spacing */
}

.page--rent .rent-intro-center {
  text-align: center;
}

.page--rent .rent-image {
  width: 100%;
  max-width: 500px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  display: inline-block;
}

.page--rent .rent-blurb {
  margin-top: 20px;
}

.page--rent .rent-blurb-title {
  color: #000;
  font-size: 31px;
  font-weight: 700;
  margin: 0 0 20px;
}

.page--rent .rent-blurb-text {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 15px;
}

/* Form row: full-width with inner container */
.page--rent .rent-form-row {
  max-width: 800px;
  margin: 0 auto;
}

.page--rent .rent-form-inner {
  /* wraps the rendered webform */
}

.page--rent .rent-form-placeholder {
  color: #999;
}

.page--rent .rent-form-placeholder a {
  color: var(--color-accent);
}

.page--rent .rent-form-title {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
}

.page--rent .rent-form-required {
  color: #666;
  font-size: 14px;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .page--rent .rent-intro-grid {
    grid-template-columns: 1fr;
  }

  .page--rent .rent-intro-gutter {
    display: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media only screen and (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .agent-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
