/* Bloc 3 catalogue recettes — spread magazine Pen Desktop V1 / Mobile V1 */

.rc-bloc3-spread {
  width: 100%;
  margin: 0 0 1.5rem;
}

.rc-bloc3-spread__inner {
  width: 100%;
  border: 1px solid #e4dccf;
  border-radius: 2px;
  background: #fbf7f0;
  padding: 2.25rem 2.75rem 1.75rem;
  box-sizing: border-box;
}

.rc-bloc3-spread__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.5rem;
  color: #5f6b66;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rc-bloc3-spread__rule {
  width: 100%;
  height: 1px;
  background: #e4dccf;
}

.rc-bloc3-spread__rule--mast {
  margin: 0 0 1.5rem;
}

.rc-bloc3-spread__rule--footer {
  margin: 1.5rem 0 1.25rem;
}

.rc-bloc3-spread__pages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.rc-bloc3-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.rc-bloc3-page--daily {
  padding: 0 2.5rem 0 0;
  border-right: 1px solid #d9cfc0;
}

.rc-bloc3-page--craving {
  padding: 0 0 0 2.5rem;
}

.rc-bloc3-page__kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
}

.rc-bloc3-page__kicker-rule {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary, #e85d04);
}

.rc-bloc3-page__kicker-text {
  color: var(--color-primary, #e85d04);
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rc-bloc3-page__title {
  margin: 0;
  font-family: var(--font-display, "Literata", Georgia, "Times New Roman", serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.019em;
  line-height: 1.15;
  color: var(--color-secondary-dark, #1b4332);
  text-wrap: balance;
}

.rc-bloc3-page__lead {
  margin: 0;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #5f6b66;
  text-wrap: pretty;
}

.rc-bloc3-page__rule {
  width: 100%;
  height: 1px;
  background: #e4dccf;
}

.rc-bloc3-page__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1 1 auto;
}

.rc-bloc3-page__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.rc-bloc3-entry {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.rc-bloc3-entry__media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #eee6da;
}

.rc-bloc3-entry__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-bloc3-entry__label {
  font-family: var(--font-display, "Literata", Georgia, "Times New Roman", serif);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary-dark, #1b4332);
}

.rc-bloc3-entry__count {
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: #5f6b66;
}

.rc-bloc3-entry:hover .rc-bloc3-entry__label,
.rc-bloc3-entry:focus-visible .rc-bloc3-entry__label {
  color: var(--color-secondary, #2d6a4f);
}

.rc-bloc3-entry:focus-visible {
  outline: 2px solid rgba(27, 67, 50, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.rc-bloc3-spread__ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.rc-bloc3-spread__cta,
.rc-bloc3-page__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  font-family: var(--font-brand, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rc-bloc3-spread__cta--solid,
.rc-bloc3-page__cta--solid {
  border: 0;
  background: var(--color-secondary-dark, #1b4332);
  color: #fff;
}

.rc-bloc3-spread__cta--solid:hover,
.rc-bloc3-page__cta--solid:hover {
  background: #163728;
}

.rc-bloc3-spread__cta--outline,
.rc-bloc3-page__cta--outline {
  border: 1.5px solid var(--color-secondary-dark, #1b4332);
  background: #fff;
  color: var(--color-secondary-dark, #1b4332);
}

.rc-bloc3-spread__cta--outline:hover,
.rc-bloc3-page__cta--outline:hover {
  background: rgba(27, 67, 50, 0.04);
}

.rc-bloc3-spread__cta:focus-visible,
.rc-bloc3-page__cta:focus-visible {
  outline: 2px solid var(--color-primary, #e85d04);
  outline-offset: 2px;
}

.rc-bloc3-page__cta {
  display: none;
}

@media (max-width: 979px) {
  .rc-bloc3-spread__inner {
    padding: 0.5rem 1rem 1.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .rc-bloc3-spread__masthead,
  .rc-bloc3-spread__rule--mast,
  .rc-bloc3-spread__rule--footer,
  .rc-bloc3-spread__ctas {
    display: none;
  }

  .rc-bloc3-spread__pages {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .rc-bloc3-page {
    gap: 0.875rem;
    padding: 1.25rem 1rem 1.125rem;
    border: 1px solid #e4dccf;
    border-radius: 6px;
    background: #fbf7f0;
  }

  .rc-bloc3-page--daily,
  .rc-bloc3-page--craving {
    padding: 1.25rem 1rem 1.125rem;
    border-right: 1px solid #e4dccf;
  }

  .rc-bloc3-page__title {
    font-size: 1.375rem;
    letter-spacing: -0.012em;
    line-height: 1.2;
  }

  .rc-bloc3-page__lead {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .rc-bloc3-page__grid {
    gap: 0.75rem;
  }

  .rc-bloc3-page__row {
    gap: 0.75rem;
  }

  .rc-bloc3-entry__media {
    aspect-ratio: auto;
    height: 7.375rem;
  }

  .rc-bloc3-page__cta {
    display: inline-flex;
    min-height: 2.875rem;
    border-radius: 10px;
  }
}

@media (max-width: 389px) {
  .rc-bloc3-spread__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .rc-bloc3-page {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .rc-bloc3-page__row {
    gap: 0.5rem;
  }

  .rc-bloc3-entry__label {
    font-size: 0.875rem;
  }

  .rc-bloc3-entry__count {
    font-size: 0.6875rem;
  }
}

@media (min-width: 980px) {
  .rc-bloc3-entry__media {
    height: 10.5rem;
    aspect-ratio: auto;
  }
}
