/* =========================================================
   JUEVES DE JUTIKO — EDICIONES ACTIVAS
   ========================================================= */

.jueves-editions {
  padding: 100px 24px 48px;
}

.jueves-editions__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.jueves-editions__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 48px;

  margin-bottom: 42px;
}

.jueves-editions__eyebrow {
  display: inline-flex;

  margin-bottom: 18px;
  padding: 9px 14px;

  border-radius: var(--radius-pill);

  background: rgba(123, 63, 252, 0.1);
  color: var(--jutiko-purple);

  font-size: 14px;
  font-weight: 950;
}

.jueves-editions__heading h2 {
  max-width: 760px;
  margin: 0;

  color: var(--jutiko-black);

  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.jueves-editions__heading p {
  margin: 0;

  color: rgba(17, 17, 17, 0.66);

  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  font-weight: 700;
}

/* =========================================================
   GRID
   ========================================================= */

.jueves-editions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* =========================================================
   CARD
   ========================================================= */

.jueves-edition-card {
  position: relative;
  overflow: hidden;

  min-width: 0;
  padding: 28px;

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 34px;

  background: white;
  color: var(--jutiko-black);

  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.09);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.jueves-edition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.14);
}

.jueves-edition-card--open {
  border-color: rgba(255, 196, 0, 0.34);
}

.jueves-edition-card--special {
  border-color: #7b3ffc;
}

.j-status--special {
  background: #f3edff;
  color: #6d32e8;
  border-color: #d9c8ff;
}

.jueves-edition-card--confirmed {
  background:
    linear-gradient(
      145deg,
      rgba(123, 63, 252, 0.07),
      rgba(255, 255, 255, 1) 48%
    );
}

/* =========================================================
   TOP
   ========================================================= */

.jueves-edition-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 30px;
}


.jueves-edition-card__number {
  color: rgba(17, 17, 17, 0.38);

  font-size: 14px;
  font-weight: 950;
}

/* =========================================================
   BODY
   ========================================================= */

.jueves-edition-card__body {
  flex: 1;
}

.jueves-edition-card__emoji {
  display: block;
  margin-bottom: 18px;

  font-size: 42px;
  line-height: 1;
}

.jueves-edition-card h3 {
  margin: 0;

  font-size: clamp(31px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.jueves-edition-card__instagram {
  display: inline-flex;
  margin-top: 10px;

  color: var(--jutiko-purple);

  text-decoration: none;

  font-size: 17px;
  font-weight: 900;
}

.jueves-edition-card__instagram:hover {
  text-decoration: underline;
}

.jueves-edition-card__details {
  margin-top: 26px;

  display: flex;
  flex-direction: column;
  gap: 9px;

  color: rgba(17, 17, 17, 0.72);

  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.jueves-edition-card__offer {
  margin: 24px 0 0;

  color: rgba(17, 17, 17, 0.72);

  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.jueves-edition-card__creators {
  margin-top: 24px;
  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 7px;

  border-radius: 20px;

  background: rgba(123, 63, 252, 0.07);
}

.jueves-edition-card__creators strong {
  font-size: 15px;
  font-weight: 950;
}

.jueves-edition-card__creators span {
  overflow-wrap: anywhere;

  color: var(--jutiko-purple);

  font-size: 15px;
  line-height: 1.4;
  font-weight: 850;
}

/* =========================================================
   FOOTER
   ========================================================= */

.jueves-edition-card__footer {
  margin-top: 30px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.jueves-edition-card__free {
  color: #8a6400;

  font-size: 14px;
  line-height: 1.3;
  font-weight: 950;
}

.jueves-edition-card__button {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-pill);

  background: var(--jutiko-black);
  color: white;

  text-align: center;
  text-decoration: none;

  font-size: 15px;
  font-weight: 950;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.jueves-edition-card__button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.jueves-edition-card__button:focus-visible {
  outline: 3px solid var(--jutiko-purple);
  outline-offset: 3px;
}

.jueves-edition-card__button--secondary {
  background: var(--jutiko-purple);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
  .jueves-editions__heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .jueves-editions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .jueves-editions {
    padding: 76px 14px 28px;
  }

  .jueves-edition-card {
    padding: 22px;
    border-radius: 28px;
  }

  .jueves-edition-card__top {
    align-items: flex-start;
    margin-bottom: 24px;
  }
}

/* =========================================================
   DATOS DINÁMICOS Y EDICIONES DE EJEMPLO
   ========================================================= */

.jueves-editions__demo-note {
  margin-bottom: 24px;
  padding: 18px 20px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  border: 1px solid rgba(123, 63, 252, 0.14);
  border-radius: 20px;

  background: rgba(123, 63, 252, 0.07);
}

.jueves-editions__demo-note[hidden] {
  display: none;
}

.jueves-editions__demo-note strong {
  color: var(--jutiko-purple);

  font-size: 15px;
  font-weight: 950;
}

.jueves-editions__demo-note span {
  color: rgba(17, 17, 17, 0.6);

  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.jueves-edition-card__status-group {
  min-width: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.jueves-edition-card__demo {
  display: inline-flex;
  align-items: center;

  min-height: 28px;
  padding: 0 10px;

  border-radius: var(--radius-pill);

  background: rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.52);

  font-size: 11px;
  font-weight: 950;
}

.jueves-editions__loading,
.jueves-editions__empty,
.jueves-editions__error {
  grid-column: 1 / -1;

  margin: 0;
  padding: 34px;

  display: flex;
  flex-direction: column;
  gap: 7px;

  border-radius: 28px;

  background: white;
  color: rgba(17, 17, 17, 0.65);

  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.07);

  font-size: 16px;
  line-height: 1.4;
  font-weight: 750;
}

.jueves-editions__empty strong,
.jueves-editions__error strong {
  color: var(--jutiko-black);

  font-size: 20px;
  font-weight: 950;
}

.jueves-editions__error {
  border: 1px solid rgba(190, 45, 45, 0.14);
  background: rgba(190, 45, 45, 0.05);
}

@media (max-width: 600px) {
  .jueves-editions__demo-note {
    margin-bottom: 18px;
    padding: 16px;
  }

  .jueves-edition-card__top {
    gap: 10px;
  }

  .jueves-edition-card__number {
    flex: 0 0 auto;
  }
}

/* =========================================================
   REQUISITOS DE LA CONVOCATORIA
   ========================================================= */

.jueves-edition-card__requirements {
  margin-top: 26px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jueves-edition-card__requirements > div {
  min-width: 0;
  padding: 15px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  border-radius: 18px;

  background: rgba(17, 17, 17, 0.045);
}

.jueves-edition-card__requirements span,
.jueves-edition-card__offer-block > span {
  color: rgba(17, 17, 17, 0.46);

  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 950;
}

.jueves-edition-card__requirements strong {
  overflow-wrap: anywhere;

  color: var(--jutiko-black);

  font-size: 14px;
  line-height: 1.3;
  font-weight: 950;
}

.jueves-edition-card__offer-block {
  margin-top: 24px;
}

.jueves-edition-card__offer-block .jueves-edition-card__offer {
  margin-top: 9px;
}

@media (max-width: 600px) {
  .jueves-edition-card__requirements {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMPARTIR EDICIONES
   ========================================================= */

.jueves-edition-card__actions {
  width: 100%;

  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
}

.jueves-edition-card__share {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius-pill);

  background: white;
  color: var(--jutiko-black);

  font: inherit;
  font-size: 15px;
  font-weight: 950;

  cursor: pointer;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.jueves-edition-card__share:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 63, 252, 0.34);
  background: rgba(123, 63, 252, 0.05);
}

.jueves-edition-card__share:focus-visible {
  outline: 3px solid rgba(123, 63, 252, 0.24);
  outline-offset: 3px;
}

.jueves-share-feedback {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 28px;

  width: max-content;
  max-width: calc(100% - 28px);
  padding: 15px 20px;

  border-radius: var(--radius-pill);

  background: var(--jutiko-black);
  color: white;

  text-align: center;

  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;

  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.24);

  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, 18px);

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.jueves-share-feedback--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .jueves-edition-card__actions {
    grid-template-columns: 1fr;
  }

  .jueves-edition-card__share {
    min-height: 52px;
  }

  .jueves-share-feedback {
    bottom: 18px;
  }
}

.jueves-edition-card.jueves-edition-card--special {
  border: 2px solid #7b3ffc;
}

.jueves-edition-card--special .j-status--special {
  background: #f3edff;
  color: #6d32e8;
  border: 1px solid #d9c8ff;
}

@media (max-width: 768px) {
  .jueves-edition-card.jueves-edition-card--special {
    border: 2px solid #7b3ffc;
    box-shadow: 0 0 0 1px rgba(123, 63, 252, 0.08);
  }
}