.elementor-10177 .elementor-element.elementor-element-075a273{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;overflow:visible;}.elementor-10177 .elementor-element.elementor-element-5354cd6{--display:flex;--border-radius:20px 20px 20px 20px;--padding-top:275px;--padding-bottom:150px;--padding-left:10px;--padding-right:10px;overflow:hidden;}.elementor-10177 .elementor-element.elementor-element-5354cd6:not(.elementor-motion-effects-element-type-background), .elementor-10177 .elementor-element.elementor-element-5354cd6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://warmleypark.onsetwebdesign.co.uk/wp-content/uploads/2026/03/Warmley-school-239-scaled.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-10177 .elementor-element.elementor-element-5354cd6::before, .elementor-10177 .elementor-element.elementor-element-5354cd6 > .elementor-background-video-container::before, .elementor-10177 .elementor-element.elementor-element-5354cd6 > .e-con-inner > .elementor-background-video-container::before, .elementor-10177 .elementor-element.elementor-element-5354cd6 > .elementor-background-slideshow::before, .elementor-10177 .elementor-element.elementor-element-5354cd6 > .e-con-inner > .elementor-background-slideshow::before, .elementor-10177 .elementor-element.elementor-element-5354cd6 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(270deg, #10182800 20.17%, #101828E6 70.2%);}.elementor-10177 .elementor-element.elementor-element-de74631{--display:flex;--gap:10px 10px;--row-gap:10px;--column-gap:10px;overflow:visible;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );color:var( --e-global-color-primary );}.elementor-10177 .elementor-element.elementor-element-3bee916{text-align:start;}.elementor-10177 .elementor-element.elementor-element-3bee916 .elementor-heading-title{font-size:80px;font-weight:700;line-height:1.1em;letter-spacing:-0.02em;color:var( --e-global-color-white );}.elementor-10177 .elementor-element.elementor-element-541e654e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;border-style:none;--border-style:none;--margin-top:050px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;overflow:visible;}@media(min-width:768px){.elementor-10177 .elementor-element.elementor-element-075a273{--content-width:1880px;}}@media(max-width:1440px) and (min-width:768px){.elementor-10177 .elementor-element.elementor-element-de74631{--width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-10177 .elementor-element.elementor-element-075a273{--content-width:100%;}}@media(max-width:1440px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}}@media(max-width:1024px){.elementor-10177 .elementor-element.elementor-element-075a273{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-10177 .elementor-element.elementor-element-5354cd6{--border-radius:0px 0px 0px 0px;--padding-top:160px;--padding-bottom:70px;--padding-left:10px;--padding-right:10px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-10177 .elementor-element.elementor-element-3bee916 .elementor-heading-title{font-size:54px;}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-10177 .elementor-element.elementor-element-3bee916 .elementor-heading-title{font-size:28px;}}/* Start custom CSS for html, class: .elementor-element-7671dc4 */<style>
/* ============================================================
   WARMLEY PARK — THE SCHOOL DAY & TERM DATES PAGE
   Elementor-ready HTML template
   Term dates: South Gloucestershire 2026–2027
 
   HOW TO USE IN ELEMENTOR:
   - Drop an HTML widget into a full-width, zero-padding section
   - Paste everything inside <body> into the widget
   - Move the <style> block to Appearance > Customize >
     Additional CSS, or your child theme's style.css
   ============================================================ */
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
.wp-sd {
  font-family: 'Poppins', sans-serif;
  color: #2c2c2a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
 
.wp-sd img { display: block; max-width: 100%; }
 
.wp-sd .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}
 
/* ---------- HERO ---------- */
.wp-sd .hero {
  background-color: #1a3347;
  border-radius: 16px;
  padding: 5rem 4rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
 
.wp-sd .hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
  pointer-events: none;
}
 
.wp-sd .hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 120px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}
 
.wp-sd .hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
 
.wp-sd .hero-title {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 640px;
}
 
.wp-sd .hero-title em {
  font-style: italic;
  color: #7ec8e3;
}
 
.wp-sd .hero-body {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
}
 
/* ---------- PHOTO STRIP ---------- */
.wp-sd .photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 3.5rem;
  height: 260px;
}
 
.wp-sd .photo-strip figure {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8e4;
}
 
.wp-sd .photo-strip figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
 
/* ---------- SECTION LABEL ---------- */
.wp-sd .section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 1.5rem;
}
 
.wp-sd .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0ded8;
}
 
/* ---------- SECTION TITLE ---------- */
.wp-sd .section-title {
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 32px);
  color: #2c2c2a;
  line-height: 1.2;
  margin-bottom: 1.75rem;
}
 
/* ---------- KEY TIMES STRIP ---------- */
/* Four big time cards side by side */
.wp-sd .times-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 3.5rem;
}
 
.wp-sd .time-card {
  background: #1a3347;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
 
.wp-sd .time-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
 
.wp-sd .time-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
 
.wp-sd .time-card-time {
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  color: #7ec8e3;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
 
.wp-sd .time-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
 
/* ---------- TIMETABLE GRID ---------- */
/* Primary / Secondary split table */
.wp-sd .timetable-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 3.5rem;
}
 
.wp-sd .timetable-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0ded8;
}
 
.wp-sd .timetable-card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
 
.wp-sd .timetable-card--primary .timetable-card-header {
  background: #1a3347;
}
 
.wp-sd .timetable-card--secondary .timetable-card-header {
  background: #1e4d3a;
}
 
.wp-sd .timetable-card-header-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.wp-sd .timetable-card--primary .timetable-card-header-dot { background: #7ec8e3; }
.wp-sd .timetable-card--secondary .timetable-card-header-dot { background: #a8d8a8; }
 
.wp-sd .timetable-card-header-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
 
.wp-sd .timetable-rows {
  display: flex;
  flex-direction: column;
}
 
.wp-sd .timetable-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e0ded8;
}
 
.wp-sd .timetable-row:last-child { border-bottom: none; }
.wp-sd .timetable-row:nth-child(even) { background: #faf9f7; }
 
.wp-sd .timetable-row-label {
  font-size: 14px;
  color: #5f5e5a;
}
 
.wp-sd .timetable-row-time {
  font-size: 14px;
  font-weight: 600;
  color: #1a3347;
  white-space: nowrap;
}
 
/* ---------- TERM DATES LEGEND ---------- */
.wp-sd .legend-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.25rem 1.75rem;
  background: #f5f3ef;
  border-radius: 10px;
  margin-bottom: 2rem;
}
 
.wp-sd .legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2a;
}
 
.wp-sd .legend-swatch {
  width: 18px; height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}
 
.wp-sd .legend-swatch--bank     { background: #3a7a3a; }
.wp-sd .legend-swatch--holiday  { background: #e8e820; border: 1px solid #c8c800; }
.wp-sd .legend-swatch--school   { background: #4ab0e8; }
.wp-sd .legend-swatch--inset    { background: #e84040; }
 
/* ---------- TERM DATES CALENDAR ---------- */
.wp-sd .calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 3.5rem;
}
 
.wp-sd .cal-month {
  border: 1px solid #e0ded8;
  border-radius: 12px;
  overflow: hidden;
}
 
.wp-sd .cal-month-header {
  background: #1a3347;
  padding: 0.75rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;
}
 
.wp-sd .cal-month-header.header--holiday {
  background: #1e4d3a;
}
 
.wp-sd .cal-inner {
  padding: 0.75rem;
}
 
.wp-sd .cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}
 
.wp-sd .cal-day-name {
  font-size: 10px;
  font-weight: 700;
  color: #888780;
  text-align: center;
  padding: 2px 0;
  letter-spacing: 0.04em;
}
 
.wp-sd .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
 
.wp-sd .cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  color: #2c2c2a;
}
 
/* Day type colours — matching the legend */
.wp-sd .day--empty    { }
.wp-sd .day--weekend  { color: #c0bdb8; }
.wp-sd .day--school   { background: #d0ecf8; color: #1a3347; font-weight: 600; }
.wp-sd .day--holiday  { background: #f5f580; color: #5a5a00; }
.wp-sd .day--bank     { background: #5aaa5a; color: #fff; }
.wp-sd .day--inset    { background: #e84040; color: #fff; }
 
/* ---------- TERM SUMMARY TABLE ---------- */
.wp-sd .term-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0ded8;
  margin-bottom: 3.5rem;
}
 
.wp-sd .term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
 
.wp-sd .term-table thead {
  background: #1a3347;
}
 
.wp-sd .term-table thead th {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
 
.wp-sd .term-table tbody tr {
  border-bottom: 1px solid #e0ded8;
}
 
.wp-sd .term-table tbody tr:last-child { border-bottom: none; }
.wp-sd .term-table tbody tr:hover { background: #f9f8f5; }
 
.wp-sd .term-table tbody td {
  padding: 0.9rem 1.25rem;
  color: #5f5e5a;
  vertical-align: top;
}
 
.wp-sd .term-table tbody td:first-child {
  font-weight: 600;
  color: #2c2c2a;
}
 
.wp-sd .inset-badge {
  display: inline-block;
  background: #fdecea;
  color: #c0392b;
  font-size: 11px;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
 
/* ---------- TWO-PHOTO ROW ---------- */
.wp-sd .two-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
 
.wp-sd .two-photo figure {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8e4;
  height: 240px;
}
 
.wp-sd .two-photo figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
 
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .wp-sd .calendar-grid { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 900px) {
  .wp-sd .times-strip { grid-template-columns: 1fr 1fr; }
  .wp-sd .timetable-layout { grid-template-columns: 1fr; }
  .wp-sd .calendar-grid { grid-template-columns: 1fr 1fr; }
}
 
@media (max-width: 768px) {
  .wp-sd .hero { padding: 3rem 2rem; border-radius: 12px; }
  .wp-sd .photo-strip { grid-template-columns: 1fr 1fr; height: 200px; }
  .wp-sd .photo-strip figure:last-child { display: none; }
}
 
@media (max-width: 580px) {
  .wp-sd .times-strip { grid-template-columns: 1fr; }
  .wp-sd .calendar-grid { grid-template-columns: 1fr; }
  .wp-sd .photo-strip { grid-template-columns: 1fr; height: 180px; }
  .wp-sd .photo-strip figure:not(:first-child) { display: none; }
  .wp-sd .two-photo { grid-template-columns: 1fr; }
  .wp-sd .two-photo figure:last-child { display: none; }
}
</style>/* End custom CSS */