﻿/* Matching section headings and readable schedule/enrollment cards. */
#fullpage .schedule-section { background: #eaf4f8; }
#fullpage .enrollment-section { background: #fff6f1; }
#fullpage .home-schedule,
#fullpage .home-enrollment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
#fullpage .home-schedule .schelude__title,
#fullpage .home-enrollment .enrollments__title {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  text-align: center;
}
#fullpage .home-schedule .schelude__title .hours,
#fullpage .home-enrollment .enrollments__title h2 {
  margin: 0;
  color: #0a3046;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}
#fullpage .home-schedule .hours:before,
#fullpage .home-enrollment .enrollments__title h2:before { display: none; }
#fullpage .home-section-intro {
  max-width: 540px;
  margin: 14px auto 0;
  color: #687782;
  font-size: 1rem;
  line-height: 1.5;
}
#fullpage .home-section-intro:after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px auto 0;
  background: #be4579;
  border-radius: 4px;
}
#fullpage .home-schedule .schelude__school,
#fullpage .home-schedule .schelude__regular {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dce8ee;
  border-radius: 18px 18px 26px 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10,48,70,.09);
}
#fullpage .home-schedule .main-schelude__school__title,
#fullpage .home-schedule .main-schelude__title {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  background: #1e843d;
}
#fullpage .home-schedule .main-schelude__title { background: #ff5722; }
#fullpage .home-schedule .main-schelude__school__title:after,
#fullpage .home-schedule .main-schelude__title:after {
  content: '';
  position: absolute;
  right: -16px;
  top: -28px;
  width: 100px;
  height: 100px;
  border: 16px solid rgba(255,255,255,.14);
  border-radius: 50%;
  pointer-events: none;
}
#fullpage .home-schedule .school { position: relative; padding: 18px 22px; color: #fff; font-size: 1.35rem; line-height: 1.3; text-align: left; }
#fullpage .home-schedule .schelude__school > .container,
#fullpage .home-schedule .schelude__regular > .container { display: grid; gap: 12px; width: 100%; padding: 18px; }
#fullpage .home-schedule .schelude__school__week,
#fullpage .home-schedule .schelude__school__saturday,
#fullpage .home-schedule .schelude__regular__week,
#fullpage .home-schedule .schelude__regular__saturday {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid #e6edf1;
  border-radius: 10px;
  overflow: hidden;
}
#fullpage .home-schedule table { width: 100%; table-layout: fixed; font-size: .85rem; line-height: 1.5; }
#fullpage .home-schedule table th { padding: 9px 8px; font-weight: bold; overflow-wrap: anywhere; }
#fullpage .home-schedule table th span { padding: 0 4px; }
#fullpage .home-schedule table td { padding: 8px 6px; background: #fff; color: #425867; border-bottom: 1px solid #edf1f4; }
#fullpage .home-schedule tbody tr:nth-child(odd) td { background: #f7fafc; }
#fullpage .home-schedule tbody tr:first-child td { color: #0a3046; font-weight: bold; }
#fullpage .home-schedule tbody tr:last-child td { border-bottom: 0; }
#fullpage .home-enrollment { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
#fullpage .home-enrollment .enrollments__title { order: 0; }
#fullpage .home-enrollment .enrollments-img {
  order: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e0eaf2;
  border-radius: 22px 8px 22px 8px;
  background: linear-gradient(145deg, #eef8ff, #fff 52%, #fff1e8);
  box-shadow: 0 14px 32px rgba(10,48,70,.1);
}
#fullpage .home-enrollment .enrollments-img img { display: block; width: 100%; height: auto; max-height: 520px; position: relative; z-index: 1; object-fit: contain; }
#fullpage .home-enrollment .enrollments-datos {
  order: 2;
  display: grid;
  align-content: start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid #f0ddd3;
  border-radius: 18px 18px 26px 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10,48,70,.07);
}
#fullpage .home-enrollment .enrollments-title { padding: 0 0 4px; }
#fullpage .home-enrollment .enrollments-title h3 { color: #0a3046; font-size: 1.35rem; }
#fullpage .home-enrollment .enrollments-datos > .item:not(.enrollments-title) {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  background: #f0f8f2;
  border: 1px solid #dfede3;
  border-left: 4px solid #1e843d;
  border-radius: 10px;
}
#fullpage .home-enrollment .enrollments-datos > .item:nth-of-type(3) { background: #eff8fe; border-color: #dceefa; border-left-color: #1a9bf1; }
#fullpage .home-enrollment .enrollments-datos > .item:nth-of-type(4) { background: #fff5ef; border: 1px solid #f7e2d5; border-left: 4px solid #ff5722; }
#fullpage .home-enrollment .enrollments-datos h4 { font-size: 1.08rem; line-height: 1.35; }
#fullpage .home-enrollment .enrollments-datos p { color: #425867; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
#fullpage .home-enrollment .enrollments__icon { display: inline-block; width: 22px; padding: 0; font-style: normal; font-family: inherit; }
#fullpage .home-enrollment .enrollments__icon:before { content: '\2713'; }
@media screen and (max-width: 767px) {
  #fullpage .home-schedule,
  #fullpage .home-enrollment { grid-template-columns: minmax(0, 1fr); padding: 36px 16px; gap: 20px; }
  #fullpage .home-enrollment .enrollments-img { padding: 10px; }
  #fullpage .home-enrollment .enrollments-img img { max-height: none; }
  #fullpage .home-enrollment .enrollments-datos { padding: 18px; }
}
@media screen and (max-width: 399px) {
  #fullpage .home-schedule .schelude__school > .container,
  #fullpage .home-schedule .schelude__regular > .container { padding: 10px; }
  #fullpage .home-schedule table { font-size: .76rem; }
  #fullpage .home-schedule table td { padding: 8px 3px; }
}

/* Decorative accents remain inside the image card. */
#fullpage .home-enrollment .enrollments-img:before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(26,155,241,.22);
  border-radius: 16px 5px 16px 5px;
  background:
    linear-gradient(#1a9bf1, #1a9bf1) left top / 68px 4px no-repeat,
    linear-gradient(#1a9bf1, #1a9bf1) left top / 4px 38px no-repeat,
    linear-gradient(#ff5722, #ff5722) right bottom / 68px 4px no-repeat,
    linear-gradient(#ff5722, #ff5722) right bottom / 4px 38px no-repeat;
  pointer-events: none;
  z-index: 2;
}
#fullpage .home-enrollment .enrollments-img:after {
  content: '';
  position: absolute;
  top: -52px;
  right: -52px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(26,155,241,.09);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Compact schedules while keeping every populated time slot visible. */
#fullpage .home-schedule { padding-top: 30px; padding-bottom: 30px; gap: 18px; }
#fullpage .home-schedule .schelude__title { margin-bottom: 0; }

