/*
Theme Name:  Kadence Child
Description: Child theme for Infrared Wellness
Template:    kadence
Version:     1.0.0
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --iw-primary:    #2E2320;
  --iw-accent:     #B84870;
  --iw-accent-hov: #9C3A5E;
  --iw-bg1:        #FFFCFD;
  --iw-bg2:        #FDF0F2;
  --iw-text-mid:   #6B5C59;
  --iw-text-light: #9C8C89;
  --iw-border:     #F0D0D8;
  --iw-white:      #FFFCFD;

  --iw-font-head: 'Nunito Sans', sans-serif;
  --iw-font-body: 'Lora', Georgia, serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
.iw-homepage * {
  box-sizing: border-box;
}

.iw-homepage {
  background: var(--iw-bg1);
  font-family: var(--iw-font-head);
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.iw-section {
  padding: 60px 48px;
}

.iw-section--hero {
  padding: 80px 48px;
  background: var(--iw-bg1);
}

.iw-section--alt {
  background: var(--iw-bg2);
  border-top: 1px solid var(--iw-border);
}

.iw-section--plain {
  background: var(--iw-bg1);
  border-top: 1px solid var(--iw-border);
}

.iw-container {
  max-width: 1100px;
  margin: 0 auto;
}

.iw-container--narrow {
  max-width: 720px;
  margin: 0 auto;
}

.iw-container--hero {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.iw-eyebrow {
  font-family: var(--iw-font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--iw-accent);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}

.iw-h1 {
  font-family: var(--iw-font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--iw-primary);
  line-height: 1.25;
  margin-bottom: 24px;
}

.iw-h2 {
  font-family: var(--iw-font-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--iw-primary);
  text-align: center;
  margin-bottom: 48px;
}

.iw-h3 {
  font-family: var(--iw-font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--iw-primary);
  margin-bottom: 14px;
}

.iw-h3--card {
  font-size: 18px;
  margin-bottom: 12px;
}

.iw-lead {
  font-family: var(--iw-font-body);
  font-size: 18px;
  color: var(--iw-text-mid);
  line-height: 1.85;
  max-width: 660px;
  margin: 0 auto;
}

.iw-body {
  font-family: var(--iw-font-body);
  font-size: 17px;
  color: var(--iw-text-mid);
  line-height: 1.9;
  margin-bottom: 22px;
}

.iw-body:last-child {
  margin-bottom: 0;
}

.iw-body--sm {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 0;
}

/* =============================================
   ACCENT BAR
   ============================================= */
.iw-accent-bar {
  width: 32px;
  height: 2px;
  background: var(--iw-accent);
  margin-bottom: 20px;
}

/* =============================================
   3-COLUMN GRID
   ============================================= */
.iw-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.iw-grid-3--cards {
  gap: 36px;
}

/* =============================================
   HOW WE WORK CARDS
   ============================================= */
.iw-card {
  background: var(--iw-bg2);
  border-radius: 10px;
  padding: 32px 28px;
}

/* =============================================
   ARTICLE CARDS
   ============================================= */
.iw-article-card {
  background: var(--iw-bg1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--iw-border);
  display: flex;
  flex-direction: column;
}

.iw-article-card__thumb {
  background: var(--iw-bg2);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iw-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iw-article-card__thumb svg {
  width: 60px;
}

.iw-article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.iw-article-card__cat {
  font-family: var(--iw-font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--iw-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.iw-article-card__title {
  font-family: var(--iw-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--iw-primary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.iw-article-card__excerpt {
  font-family: var(--iw-font-body);
  font-size: 13px;
  color: var(--iw-text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}

.iw-article-card__meta {
  font-family: var(--iw-font-head);
  font-size: 12px;
  color: var(--iw-text-light);
}

.iw-article-card__title a {
  color: var(--iw-primary);
  text-decoration: none;
}

.iw-article-card__title a:hover {
  color: var(--iw-accent);
}

/* =============================================
   WAVE SVG PLACEHOLDER
   ============================================= */
.iw-wave-placeholder {
  display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .iw-grid-3,
  .iw-grid-3--cards {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .iw-section,
  .iw-section--hero,
  .iw-section--alt,
  .iw-section--plain {
    padding: 48px 24px;
  }

  .iw-grid-3,
  .iw-grid-3--cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .iw-h1 {
    font-size: 28px;
  }

  .iw-h2 {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .iw-lead {
    font-size: 16px;
  }
}
