/* IG Theme - Cards & Components */

/* === COMMUNITY CARDS === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.community-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.community-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.community-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.community-card:hover img {
  transform: scale(1.05);
}
/* Community card content area */
.community-card > a > div > div[style*="background: #fff"],
.community-card div[style*="padding: 20px"] {
  padding: 20px 20px 22px !important;
}
/* Community card button hover */
.community-card:hover span[style*="background:#3E7A8C"] {
  background: #5A5347 !important;
}
/* Communities section column gaps */
.has-palette-6-background-color .wp-block-columns {
  gap: 28px;
}
.community-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(61,53,48,0.8));
  color: #fff;
}
.community-card-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.community-card-overlay p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,0.8);
}
.community-card.featured {
  grid-column: span 2;
  height: 350px;
}

/* === LIFESTYLE CARDS === */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}
.lifestyle-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid #d4cfc8;
  border-radius: 4px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.lifestyle-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.lifestyle-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #5A5347;
  margin: 16px 0 8px;
}
.lifestyle-card p {
  font-size: 15px;
  color: #5A5347;
  line-height: 1.6;
}

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}
.service-card {
  padding: 36px 28px;
  background: #fff;
  border: 1px solid #d4cfc8;
  border-radius: 4px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #5A5347;
  margin: 16px 0 8px;
}

/* === CTA SECTION === */
.cta-section {
  background: #5A5347;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.cta-section h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* === ABOUT BIO === */
.about-bio-section {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin: 60px 0;
}
.about-bio-photo img {
  width: 320px;
  border-radius: 4px;
}
.about-bio-text h2 {
  font-size: 32px;
  font-weight: 300;
  color: #5A5347;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === FAQ === */
.faq-section details {
  border-bottom: 1px solid #d4cfc8;
  padding: 16px 0;
}
.faq-section summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  color: #5A5347;
  list-style: none;
  padding-right: 24px;
  position: relative;
}
.faq-section summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 20px;
  color: #3E7A8C;
}
.faq-section details[open] summary::after {
  content: '-';
}
