/* Calendario de salidas grupales · República Dominicana 2027. Prefijo .ck-rd */

.ck-rd-spot {
  padding: 8px 0 28px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.ck-rd-spot__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  text-decoration: none;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(242, 100, 34, 0.14), transparent 28%),
    #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 39, 68, 0.08), 0 4px 12px -2px rgba(15, 39, 68, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ck-rd-spot__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(15, 39, 68, 0.16);
}

.ck-rd-spot__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(160deg, #0f2744, #1a446c);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 2px rgba(242, 100, 34, 0.85);
}

.ck-rd-spot__kicker {
  display: block;
  margin-bottom: 4px;
  color: #f26422;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ck-rd-spot__copy strong {
  display: block;
  color: #0f2744;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ck-rd-spot__lead {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.ck-rd-spot__dates {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ck-rd-spot__dates span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f2744;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.ck-rd-spot__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f26422, #ff7836);
  color: #0f172a;
  font-weight: 800;
  white-space: nowrap;
}

.ck-rd {
  padding: 0 0 64px;
  background: #f8fafc;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  color: #0f172a;
}

/* El menú de la hamburguesa no ocupa la página mientras está cerrado. */
body.page-rd-calendar .c-header-collective__nav:not(.is-open),
body.page-rd-calendar .c-header-collective__compact-drawer:not(.is-open) {
  display: none !important;
  position: fixed !important;
  top: 0;
  right: 0;
  width: min(380px, 92vw) !important;
  max-width: 380px !important;
  height: 100dvh !important;
  margin: 0 !important;
  transform: translateX(110%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.ck-rd-cover {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  margin: 0 0 28px;
  overflow: hidden;
  background: #0f2744;
}

.ck-rd-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.ck-rd-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 39, 68, 0.48) 52%, rgba(15, 39, 68, 0.18) 100%);
}

.ck-rd-cover__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding-top: 72px;
  padding-bottom: 36px;
}

.ck-rd-cover__copy h1 {
  margin: 12px 0 10px;
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.ck-rd-cover__copy p {
  margin: 0;
  max-width: 46ch;
  color: #f8fafc;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ck-rd__feature {
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 39, 68, 0.08), 0 4px 12px -2px rgba(15, 39, 68, 0.04);
}

.ck-rd__year {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f26422;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ck-rd__stats {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.ck-rd__stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ck-rd__stats strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.ck-rd__stats small {
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
}

.ck-rd__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.ck-rd__feature {
  background: #fff;
}

.ck-rd__feature--gold {
  background: linear-gradient(180deg, #fff7f2, #fff);
  border-color: rgba(242, 100, 34, 0.45);
}

.ck-rd__feature h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: #0f2744;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ck-rd__feature h2 i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #0f2744;
  color: #fff;
  font-size: 0.9rem;
}

.ck-rd__feature p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ck-rd__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.ck-rd__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 39, 68, 0.08), 0 4px 12px -2px rgba(15, 39, 68, 0.04);
  transition: transform 0.25s ease;
}

.ck-rd__card:hover {
  transform: translateY(-2px);
}

.ck-rd__card--hot {
  background: #fffaf6;
  border: 1px solid #f26422;
  box-shadow: 0 10px 30px -5px rgba(242, 100, 34, 0.16), 0 4px 12px -2px rgba(15, 39, 68, 0.06);
  color: #0f172a;
}

.ck-rd__card--hot .ck-rd__when strong,
.ck-rd__card--hot .ck-rd__theme {
  color: #0f2744;
}

.ck-rd__card--hot p {
  color: #334155;
}

.ck-rd__card--hot .ck-rd__when em {
  color: #c2410c;
}

.ck-rd__card--hot .ck-rd__tag {
  background: #f26422;
  color: #0f172a;
}

.ck-rd__when {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ck-rd__when strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f2744;
}

.ck-rd__when em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f26422;
}

.ck-rd__theme {
  margin: 0;
  color: #0f2744;
  font-size: 0.98rem;
  font-weight: 800;
}

.ck-rd__card p {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ck-rd__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(242, 100, 34, 0.14);
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 800;
}

.ck-rd__card--hot .ck-rd__tag {
  background: #f26422;
  color: #0f172a;
}

.ck-rd__pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 39, 68, 0.08), 0 4px 12px -2px rgba(15, 39, 68, 0.04);
}

.ck-rd__pdf p {
  margin: 0;
  max-width: 52ch;
  color: #0f2744;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.ck-rd-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ck-rd-cover__actions button,
.ck-rd__pdf button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #f26422;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
}

.ck-rd-cover__actions button.ck-rd__wa {
  background: #fff;
  color: #0f2744;
}

.ck-rd__pdf button.ck-rd__wa {
  background: #128c7e;
  color: #fff;
}

.ck-rd-cover__actions button:hover,
.ck-rd__pdf button:hover {
  transform: translateY(-2px);
  background: #ff7836;
}

.ck-rd-cover__actions button.ck-rd__wa:hover {
  background: #fff7f2;
}

.ck-rd__pdf button.ck-rd__wa:hover {
  background: #0f766e;
}

.ck-rd__pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ck-rd__pdf button:disabled,
.ck-rd-cover__actions button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.ck-rd-print {
  width: 794px;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  box-sizing: border-box;
}

.ck-rd-print__hero {
  margin: 0;
  padding: 0;
  background: #fff;
}

.ck-rd-print__hero img {
  display: block;
  width: 794px;
  height: auto;
  margin: 0;
  padding: 0;
}

.ck-rd-print__title {
  margin: 0;
  padding: 20px 32px 4px;
  background: #fff;
}

.ck-rd-print__kicker {
  margin: 0 0 6px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ck-rd-print h1,
.ck-rd-print h2,
.ck-rd-print h3,
.ck-rd-print p {
  margin: 0;
}

.ck-rd-print__title h1 {
  color: #0f2744;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ck-rd-print__title p {
  margin-top: 6px;
  color: #334155;
  font-size: 15px;
  line-height: 1.4;
}

.ck-rd-print__body {
  padding: 28px 32px 36px;
}

.ck-rd-print__intro {
  margin-bottom: 16px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.ck-rd-print__block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.ck-rd-print__block--gold {
  display: block;
  background: #fff7f2;
  border-color: rgba(242, 100, 34, 0.45);
}

.ck-rd-print__block--hot {
  background: #fffaf6;
  border-color: #f26422;
}

.ck-rd-print__block h2 {
  color: #0f2744;
  font-size: 16px;
  font-weight: 800;
}

.ck-rd-print__block--gold p {
  margin-top: 6px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.ck-rd-print__when strong {
  display: block;
  color: #0f2744;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ck-rd-print__when em {
  color: #c2410c;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.ck-rd-print__info h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #0f2744;
  font-size: 15px;
  font-weight: 800;
}

.ck-rd-print__info h3 span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f26422;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
}

.ck-rd-print__info p {
  margin-top: 4px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.ck-rd-print__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.ck-rd-print__head h2 {
  color: #0f2744;
  font-size: 20px;
  font-weight: 800;
}

.ck-rd-print__head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ck-rd-print__note {
  margin-top: 16px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.ck-rd__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.ck-rd__ask p {
  margin: 0;
  color: #0f2744;
  font-weight: 700;
}

.ck-rd__ask a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  background: #0f2744;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.ck-rd__ask a:hover {
  transform: translateY(-2px);
  background: #1a446c;
}

@media (max-width: 980px) {
  .ck-rd-spot__card,
  .ck-rd__features,
  .ck-rd__grid {
    grid-template-columns: 1fr;
  }
  .ck-rd-cover,
  .ck-rd-cover__copy {
    min-height: 360px;
  }
  .ck-rd-spot__dates {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.page-rd-calendar .ck-rd-card-cover {
  position: relative;
  height: 148px;
  margin: -18px -18px 6px;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: #0f2744;
}
.page-rd-calendar .ck-rd-card-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.page-rd-calendar .ck-rd-card-edit {
  display: grid;
  gap: 6px;
  margin-bottom: 6px;
  padding: 10px;
  border-radius: 14px;
  background: #0f2744;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.page-rd-calendar .ck-rd-card-edit label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.page-rd-calendar .ck-rd-card-edit input[type="range"] {
  width: 108px;
}
.page-rd-calendar .ck-rd-card-edit button {
  min-height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f26422;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
}

.page-rd-calendar .ck-rd-cover-edit {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 8px;
  width: min(280px, calc(100% - 32px));
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 120, 54, 0.55);
  background: rgba(15, 39, 68, 0.88);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 12px 28px -10px rgba(15, 39, 68, 0.45);
}
.page-rd-calendar .ck-rd-cover-edit label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}
.page-rd-calendar .ck-rd-cover-edit input[type="range"] {
  width: 120px;
}
.page-rd-calendar .ck-rd-cover-edit button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f26422;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
}
.page-rd-calendar .ck-rd-cover-edit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  .ck-rd-spot__card,
  .ck-rd__card,
  .ck-rd__ask a,
  .ck-rd__pdf button {
    transition: none;
  }
}
