/*
Theme Name: Blocksy Child
Template: blocksy
Description: Child theme for custom Pathway page styling
Version: 1.0
*/

/* ===== Reset / Basics ===== */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* ===== Pathway Container ===== */
.pathway {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pathway h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

.pathway-content {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 3rem;
}

/* ===== Steps Section ===== */
.pathway-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step {
  padding: 2rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.step-number {
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.step-title {
  font-size: 1.4rem;
  margin: 0;
  color: #222;
}

.step-objective {
  margin: 0.75rem 0 1.5rem;
  color: #555;
  max-width: 700px;
}

/* ===== Resources Grid ===== */
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.resource-card {
  display: block;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.resource-card:hover {
  border-color: #aaa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.resource-type {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777;
  margin-bottom: 0.3rem;
}

.resource-title {
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  color: #111;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .pathway {
    padding: 2rem 1rem;
  }

  .step {
    padding: 1.5rem;
  }

  .step-title {
    font-size: 1.2rem;
  }

  .resources {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
/* ===== Pathway Timeline ===== */

.pathway-steps {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding-left: 40px;
}

/* Vertical line */
.pathway-steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    background: #d0d0d0;
}

/* Step card */
.step-card {
    position: relative;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Timeline dot */
.step-card::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: #111;
    border-radius: 50%;
}

/* Step number */
.step-number {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: #666;
}

/* Step title */
.step-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Core question emphasis */
.step-question {
    font-style: italic;
    color: #333;
    border-left: 3px solid #111;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Mobile */
@media (max-width: 600px) {
    .pathway-steps {
        padding-left: 20px;
    }

    .step-card::before {
        left: -24px;
    }
}
