
/* Content Studio Layout System — scoped with .cs- prefix */
/* Typography (h1-h6, p, a, ul, ol) inherits from WP theme */

.cs-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Fade animation */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.cs-hero {
  max-width: 100%;
  text-align: center;
  padding: 100px 24px;
  background-color: #1a1a2e;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}
.cs-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cs-hero-heading {
  font-size: 2.8em;
  margin-bottom: 16px;
  color: #fff;
}
.cs-hero-subtitle {
  font-size: 1.25em;
  opacity: 0.9;
  margin-bottom: 32px;
  color: #e0e0e0;
}

/* Two Column (text-image, image-text) */
.cs-two-col {
  display: flex;
  gap: 48px;
  align-items: center;
}
.cs-two-col-reverse {
  flex-direction: row-reverse;
}
.cs-col-text {
  flex: 1;
}
.cs-col-media {
  flex: 1;
}
.cs-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.cs-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  border-radius: 12px;
}

/* Floating Image */
.cs-float {
  max-width: 1200px;
}
.cs-float::after {
  content: '';
  display: table;
  clear: both;
}
.cs-float-img {
  width: 45%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
}
.cs-float-right {
  float: right;
  margin-left: 24px;
}
.cs-float-left {
  float: left;
  margin-right: 24px;
}

/* Full Text */
.cs-full-text {
  max-width: 1200px;
}

/* Image Above */
.cs-image-above {
  max-width: 1200px;
}
.cs-image-above-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 24px;
}

/* Cards */
.cs-cards {
  text-align: center;
}
.cs-cards-heading {
  margin-bottom: 40px;
}
.cs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  text-align: left;
}
.cs-card {
  padding: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}
.cs-card h3 {
  margin-bottom: 8px;
}

/* FAQ */
.cs-faq-heading {
  text-align: center;
  margin-bottom: 32px;
}
.cs-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.cs-faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}
.cs-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cs-faq-item summary::after {
  content: '+';
  font-size: 1.4em;
  font-weight: 300;
  transition: transform 0.2s;
}
.cs-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.cs-faq-answer {
  padding-top: 12px;
}

/* CTA */
.cs-cta {
  max-width: 100%;
  text-align: center;
  padding: 80px 24px;
  background: var(--cs-accent-bg, #f0f4ff);
}
.cs-cta-content {
  max-width: 600px;
  margin: 0 auto;
}
.cs-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--cs-accent, #2563EB);
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05em;
  margin-top: 20px;
  transition: opacity 0.2s;
}
.cs-cta-btn:hover {
  opacity: 0.9;
}

/* Stats */
.cs-stats {
  text-align: center;
}
.cs-stats-heading {
  margin-bottom: 40px;
}
.cs-stats-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}
.cs-stat-value {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--cs-accent, #2563EB);
  line-height: 1.2;
}
.cs-stat-label {
  font-size: 0.9em;
  color: #666;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .cs-section {
    padding: 40px 16px;
  }
  .cs-hero {
    padding: 60px 16px;
  }
  .cs-hero-heading {
    font-size: 2em;
  }
  .cs-two-col,
  .cs-two-col-reverse {
    flex-direction: column;
    gap: 24px;
  }
  .cs-float-img {
    float: none;
    width: 100%;
    margin: 0 0 16px 0;
  }
  .cs-stats-grid {
    gap: 24px;
  }
  .cs-stat-value {
    font-size: 2em;
  }
}
