.sc-cours-page {
  padding-inline: 18px;
}

.sc-cours-page .wp-block-columns {
  margin-bottom: 0;
}

.sc-cours-page p {
  margin-top: 0;
}

.sc-cours-hero {
  padding: clamp(34px, 6vw, 72px) 0;
  gap: clamp(24px, 5vw, 48px);
}

.sc-eyebrow {
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9b5f2f;
}

.sc-cours-hero h1,
.sc-page-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.sc-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.sc-course-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.sc-lead {
  font-size: clamp(1.04rem, 4vw, 1.28rem);
  color: #5f6f7a;
  max-width: 760px;
}

.sc-hero-image {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
}

.sc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-section {
  padding: clamp(30px, 5vw, 64px) 18px;
}

.sc-section-peda {
  background: #f5f1ea;
}

.sc-section-cours {
  background: #f8f8f6;
  border-top: 1px solid #e5e2dc;
}

.sc-two-cols {
  gap: clamp(22px, 4vw, 48px);
  align-items: flex-start;
}

.sc-peda-card {
  background: #efe4d2;
  padding: clamp(22px, 4vw, 32px);
}

.sc-course-grid {
  gap: 14px;
}

.sc-course-grid > .wp-block-column {
  display: flex;
}

.sc-course-card {
  width: 100%;
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid #e5e2dc;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sc-course-card::before {
  content: "";
  width: 42px;
  height: 3px;
  background: #9b5f2f;
  display: block;
  margin-bottom: 14px;
  border-radius: 999px;
}

.sc-course-card:hover,
.sc-course-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.08);
  border-color: rgba(155, 95, 47, 0.35);
  outline: none;
}

.sc-course-card p {
  color: #5f6f7a;
  margin-bottom: 12px;
}

.sc-course-card strong {
  color: #1f2933;
}

.sc-card-link,
.sc-card-button {
  margin-top: auto;
  color: #6f421f !important;
  font-weight: 700;
}

.sc-card-link::after {
  content: " →";
}

@media (max-width: 759px) {
  .sc-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sc-course-card {
    padding: 22px;
  }
}

@media (min-width: 760px) {
  .sc-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-course-grid > .wp-block-column {
    width: auto;
  }
}

@media (min-width: 1050px) {
  .sc-course-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc-hero-image {
    aspect-ratio: 4 / 5;
  }
}