/* schedules/schedules.css */
/* Shared styling for community schedule pages (works with Medigo template + ARS colors) */

:root {
  --ars-blue: #253d79;
  --ars-blue-soft: rgba(37,61,121,.08);
  --border: rgba(0,0,0,0.08);
  --text: #59544c;
}

.schedule-page #blog { min-height: 0; }

.schedule-page #blog .parallax-overlay {
  min-height: 220px;
  padding: 55px 0 25px;
  display: flex;
  align-items: center;
}

.schedule-page #blog.parallax {
  background-attachment: scroll;
  background-position: center 15%;
}

/* ===== Layout ===== */

.schedule-intro { padding: 50px 0 16px; }
.schedule-grid { padding: 12px 0 22px; }
.schedule-map { padding: 0 0 42px; }
.schedule-row > [class*="col-"] { margin-bottom: 22px; }

/* ===== Card ===== */

.schedule-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.schedule-card-body { padding: 22px 26px; }

.schedule-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: rgba(37,61,121,.90);
}

.schedule-subtitle {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37,61,121,.20);
  background: rgba(37,61,121,.06);
  color: rgba(37,61,121,.90);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .2px;
}

.schedule-text {
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.schedule-text p {
  margin: 0 0 10px;
}

.schedule-text p:last-child { margin-bottom: 0; }

.schedule-red { color: #c0392b; font-weight: 900; }

/* ===== Schedule boxes ===== */

.schedule-box-head {
  padding: 14px 16px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--border);
}

.schedule-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
}

.schedule-badge-blue { color: #fff; background: rgba(37,61,121,.90); }
.schedule-badge-red { color: #fff; background: #b03a2e; }
.schedule-badge-neutral {
  color: rgba(37,61,121,.92);
  background: rgba(37,61,121,.08);
  border: 1px solid rgba(37,61,121,.18);
}

.schedule-box-body { padding: 16px; background: #fff; }

.schedule-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
}

.schedule-map-img { border-radius: 12px; }

.schedule-map-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text);
}

.schedule-map-note a {
  color: rgba(37,61,121,.92);
  font-weight: 800;
  text-decoration: none;
}

.schedule-map-note a:hover { text-decoration: underline; }

/* ===== Responsive ===== */

@media (max-width: 767px) {
  .schedule-intro { padding: 38px 0 10px; }
  .schedule-card-body { padding: 18px; }
  .schedule-text { font-size: 15px; }
  .schedule-box-body { padding: 12px; }
}

/* =========================================================
   TABLE-BASED COMMUNITY SCHEDULES (Delta template)
   ========================================================= */

.schedule-box-table { padding: 18px 18px 10px; }

.schedule-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: rgba(37,61,121,.90);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
}

.schedule-table thead th {
  background: rgba(37,61,121,.06);
  color: rgba(37,61,121,.90);
  font-weight: 900;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  text-align: left;
}

.schedule-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  vertical-align: top;
}

.schedule-table tbody tr:last-child td { border-bottom: 0; }

.schedule-month {
  width: 38%;
  font-weight: 800;
  color: #111;
}

.schedule-dates { color: #2a2a2a; }
.schedule-holiday { color: #c21807; font-weight: 900; }

@media (max-width: 767px) {
  .schedule-box-table { padding: 16px 14px 8px; }
  .schedule-section-title { font-size: 17px; }
  .schedule-table { font-size: 14px; }
  .schedule-table thead th,
  .schedule-table tbody td { padding: 9px 10px; }
  .schedule-month { width: 42%; }
}

/* ===== Town page intro polish ===== */

.schedule-page .schedule-card {
  background: linear-gradient(180deg, rgba(37,61,121,0.035), #fff 70%);
}

.schedule-page .schedule-title { margin-bottom: 18px; }
.schedule-page .schedule-text { margin-top: 25px; }

.schedule-page .schedule-text p {
  margin: 0 0 6px;
  line-height: 1.30;
  font-size: 18px;
}

.schedule-page .schedule-text p:last-child {
  margin-bottom: 0;
  font-size: 16px;
  color: rgba(0,0,0,0.62);
  font-weight: 600;
  padding-top: 10px;
}

/* ===== Montpelier Bulk ===== */

.schedule-page.montpelier-bulk .schedule-map-link { display: block; cursor: zoom-in; }

.schedule-page.montpelier-bulk .schedule-table-yellow tbody td { background: rgba(241,196,15,0.08); }
.schedule-page.montpelier-bulk .schedule-table-blue tbody td { background: rgba(52,152,219,0.07); }
.schedule-page.montpelier-bulk .schedule-table-red tbody td { background: rgba(231,76,60,0.06); }
.schedule-page.montpelier-bulk .schedule-table-green tbody td { background: rgba(46,204,113,0.07); }

.schedule-page.montpelier-bulk .schedule-table-yellow tbody tr,
.schedule-page.montpelier-bulk .schedule-table-blue tbody tr,
.schedule-page.montpelier-bulk .schedule-table-red tbody tr,
.schedule-page.montpelier-bulk .schedule-table-green tbody tr {
  border-color: rgba(0,0,0,0.08);
}

.schedule-page.montpelier-bulk .schedule-grid-four .schedule-box-table { height: 100%; }

.schedule-page.montpelier-bulk .schedule-table-yellow thead th {
  background: linear-gradient(180deg, rgba(245,217,112,0.55), rgba(245,217,112,0.28));
}

.schedule-page.montpelier-bulk .schedule-table-green thead th {
  background: linear-gradient(180deg, rgba(123,191,144,0.40), rgba(123,191,144,0.18));
}

.schedule-page.montpelier-bulk .schedule-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-page.montpelier-bulk .schedule-section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(37,61,121,.35);
}

.montpelier-bulk .schedule-table th:nth-child(2),
.montpelier-bulk .schedule-table td:nth-child(2) { padding-left: 28px; }

/* Montpelier Bulk: grid fixes */

.schedule-page.montpelier-bulk .schedule-row {
  display: flex;
  flex-wrap: wrap;
}

.schedule-page.montpelier-bulk .schedule-row > [class*="col-"] {
  display: flex;
}

.schedule-page.montpelier-bulk .schedule-box-table {
  width: 100%;
  height: 100%;
}

.schedule-page.montpelier-bulk .schedule-grid-tables .schedule-row {
  margin-left: -6px;
  margin-right: -6px;
}

.schedule-page.montpelier-bulk .schedule-grid-tables .schedule-row > [class*="col-"] {
  padding: 6px;
}

.schedule-page.montpelier-bulk .schedule-section-title {
  display: block;
}

.schedule-page.montpelier-bulk .schedule-section-title::before { content: none; }

.schedule-page.montpelier-bulk .schedule-table th,
.schedule-page.montpelier-bulk .schedule-table td {
  padding: 12px;
}

.schedule-page.montpelier-bulk .schedule-table th:nth-child(1),
.schedule-page.montpelier-bulk .schedule-table td:nth-child(1) { width: 34%; }

.schedule-page.montpelier-bulk .schedule-table th:nth-child(2),
.schedule-page.montpelier-bulk .schedule-table td:nth-child(2) { width: 66%; }

.schedule-page.montpelier-bulk .schedule-table thead th:nth-child(2) {
  white-space: nowrap;
  text-align: right;
}

.schedule-page.montpelier-bulk .schedule-dates {
  white-space: nowrap;
  text-align: right;
}

@media (min-width: 768px) and (max-width: 991px) {
  .montpelier-bulk .schedule-row > div.col-sm-6:nth-child(2n+1) { clear: left; }
}

/* ===== Montpelier Recycling ===== */

.schedule-page.montpelier-recycling .schedule-row {
  display: flex;
  flex-wrap: wrap;
}

.schedule-page.montpelier-recycling .schedule-row > [class*="col-"] {
  display: flex;
}

.schedule-page.montpelier-recycling .schedule-box-table { width: 100%; }

.schedule-page.montpelier-recycling .schedule-table-yellow thead th {
  background: linear-gradient(180deg, rgba(241,196,15,0.22), rgba(241,196,15,0.10));
}

.schedule-page.montpelier-recycling .schedule-table-green thead th {
  background: linear-gradient(180deg, rgba(46,204,113,0.18), rgba(46,204,113,0.08));
}

.schedule-page.montpelier-recycling .schedule-table th:last-child,
.schedule-page.montpelier-recycling .schedule-table td.schedule-dates {
  text-align: right;
  padding-right: 18px;
}

.schedule-page.montpelier-recycling .schedule-table th:first-child,
.schedule-page.montpelier-recycling .schedule-table td.schedule-month { width: 38%; }

.schedule-page.montpelier-recycling .schedule-map-link { display: block; }

.schedule-page.montpelier-recycling .schedule-grid-tables .schedule-box-table .schedule-section-title { margin: 0 0 12px; }

.schedule-page.montpelier-recycling .schedule-table th,
.schedule-page.montpelier-recycling .schedule-table td { padding: 18px; }

.schedule-page.montpelier-recycling .schedule-table .schedule-dates { text-align: right; }

.schedule-page.montpelier-recycling .schedule-table-yellow thead th { background: rgba(255,204,0,0.16); }
.schedule-page.montpelier-recycling .schedule-table-yellow tbody td { background: rgba(255,204,0,0.05); }

.schedule-page.montpelier-recycling .schedule-table-blue thead th { background: rgba(37,61,121,0.12); }
.schedule-page.montpelier-recycling .schedule-table-blue tbody td { background: rgba(37,61,121,0.04); }

.schedule-page.montpelier-recycling .schedule-table-green thead th { background: rgba(46,204,113,0.14); }
.schedule-page.montpelier-recycling .schedule-table-green tbody td { background: rgba(46,204,113,0.05); }

.schedule-page.montpelier-recycling .schedule-table-red thead th { background: rgba(192,57,43,0.12); }
.schedule-page.montpelier-recycling .schedule-table-red tbody td { background: rgba(192,57,43,0.04); }

.schedule-page.montpelier-recycling .schedule-map-note {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(0,0,0,0.62);
  font-weight: 600;
}

.schedule-page.montpelier-recycling .schedule-grid-tables .schedule-row {
  margin: -6px;
}

.schedule-page.montpelier-recycling .schedule-grid-tables .schedule-row > [class*="col-"] {
  padding: 6px;
  display: flex;
}

.schedule-page.montpelier-recycling .schedule-table th,
.schedule-page.montpelier-recycling .schedule-table td { padding: 12px; }

.schedule-page.montpelier-recycling .schedule-table th:nth-child(1),
.schedule-page.montpelier-recycling .schedule-table td:nth-child(1) { width: 34%; }

.schedule-page.montpelier-recycling .schedule-table th:nth-child(2),
.schedule-page.montpelier-recycling .schedule-table td:nth-child(2) { width: 66%; }

.schedule-page.montpelier-recycling .schedule-dates { white-space: nowrap; }

/* ===== Stryker Tables: Final 3-Breakpoint Fix ===== */


.stryker-recycling-bulk .schedule-table {
  table-layout: fixed;
  width: 100%;
}

/* 1. MONTH COLUMN */
.stryker-recycling-bulk .schedule-table th:nth-child(1),
.stryker-recycling-bulk .schedule-table td.schedule-month {
  text-align: left !important;
}

/* 2. DESKTOP VIEW (992px+) */
@media (min-width: 992px) {
  .stryker-recycling-bulk .schedule-table th:nth-child(1),
  .stryker-recycling-bulk .schedule-table td.schedule-month {
    width: 42%;
    padding-left: 56px; 
  }
  .stryker-recycling-bulk .schedule-table-blue th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-blue td.schedule-dates {
    text-align: center;
  }
  .stryker-recycling-bulk .schedule-table-red th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-red td.schedule-dates {
    text-align: right;
    padding-right: 60px;
  }
}

/* 3. TABLET & MOBILE VIEW (991px and below) */
@media (max-width: 991px) {
  .stryker-recycling-bulk .schedule-table th:nth-child(1),
  .stryker-recycling-bulk .schedule-table td.schedule-month {
    width: 35%;           
    padding-left: 20px;    
  }

  .stryker-recycling-bulk .schedule-table-blue th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-blue td.schedule-dates {
    text-align: center !important;
  }

  .stryker-recycling-bulk .schedule-table-red th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-red td.schedule-dates {
    text-align: right !important;
    padding-right: 25% !important; 
  }
}

/* 4. SMALL PHONES (480px and below) */
@media (max-width: 480px) {
  .stryker-recycling-bulk .schedule-table th:nth-child(1),
  .stryker-recycling-bulk .schedule-table td.schedule-month {
    padding-left: 10px;
    width: 40%;
  }

  /* BULK TABLE: centered */
  .stryker-recycling-bulk .schedule-table-blue th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-blue td.schedule-dates {
    text-align: center !important;
    padding-right: 0 !important;
  }

  /* RECYCLING TABLE: match BULK at small phones (centered + no special inset) */
  .stryker-recycling-bulk .schedule-table-red th:nth-child(2),
  .stryker-recycling-bulk .schedule-table-red td.schedule-dates {
    text-align: center !important;
    padding-right: 0 !important;
  }
}

/* ===== Archbold Bulk: add breathing room between Month and Pickup Dates ===== */
.schedule-page.archbold-bulk .schedule-table{
  table-layout: fixed;
  width: 100%;
}

/* Slightly widen Month column so the centered dates sit further right */
.schedule-page.archbold-bulk .schedule-table th:first-child,
.schedule-page.archbold-bulk .schedule-table td.schedule-month{
  width: 48%;
  padding-right: 34px;   /* increases the gap between the two columns */
}

/* Keep Pickup Dates centered, but give it a little inset so it doesn't feel tight */
.schedule-page.archbold-bulk .schedule-table th:last-child,
.schedule-page.archbold-bulk .schedule-table td.schedule-dates{
  width: 52%;
  text-align: center;
  padding-left: 18px;
  padding-right: 18px;
}

/* ===== Montpelier Bulk: 4-across (LG) tighten columns + wrap header + center dates ===== */
@media (min-width: 992px) and (max-width: 1199px){

  /* undo the big left push on column 2 in this range */
  .schedule-page.montpelier-bulk .schedule-table th:nth-child(2),
  .schedule-page.montpelier-bulk .schedule-table td:nth-child(2){
    padding-left: 12px;
  }

  /* slightly tighter cell padding so the tables feel less “empty” */
  .schedule-page.montpelier-bulk .schedule-table th,
  .schedule-page.montpelier-bulk .schedule-table td{
    padding: 10px;
  }

  /* make the columns feel closer together */
  .schedule-page.montpelier-bulk .schedule-table th:nth-child(1),
  .schedule-page.montpelier-bulk .schedule-table td:nth-child(1){
    width: 52%;
  }

  .schedule-page.montpelier-bulk .schedule-table th:nth-child(2),
  .schedule-page.montpelier-bulk .schedule-table td:nth-child(2){
    width: 48%;
  }

  /* force “Pickup Dates” to behave like your 2-line version + center it */
  .schedule-page.montpelier-bulk .schedule-table thead th:nth-child(2){
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  /* center the actual dates in this range (bulk has single dates so it looks clean) */
  .schedule-page.montpelier-bulk .schedule-table td.schedule-dates{
    text-align: center;
  }
}

/* ===== Montpelier Bulk: center Pickup Dates across all breakpoints ===== */
.montpelier-bulk .schedule-table thead th:nth-child(2),
.montpelier-bulk .schedule-table tbody td.schedule-dates{
  text-align: center !important;
}
/* ===== Montpelier Bulk: tighten Month vs Pickup Dates gap on tablet/landscape ===== */
@media (min-width: 481px) and (max-width: 767px){

  /* Move the Month header + Month values inward (to the right) */
  body.montpelier-bulk .schedule-table thead th:first-child,
  body.montpelier-bulk .schedule-table tbody td.schedule-month{
    padding-left: 82px !important;  /* bump this up/down to taste */
  }

}

/* ===== Table header gradients for Blue + Red sections ===== */
.schedule-page .schedule-table-blue thead th{
  background: linear-gradient(180deg, rgba(37,61,121,0.18), rgba(37,61,121,0.06));
  color: rgba(37,61,121,0.92);
  border-bottom: 1px solid rgba(37,61,121,0.18);
}

.schedule-page .schedule-table-red thead th{
  background: linear-gradient(180deg, rgba(192,57,43,0.16), rgba(192,57,43,0.05));
  color: rgba(37,61,121,0.92); /* keeps header text consistent with the other tables */
  border-bottom: 1px solid rgba(192,57,43,0.18);
}
/* ===== Unify header divider line across all schedule tables ===== */
.schedule-page .schedule-table thead th{
  border-bottom: 1px solid rgba(0,0,0,0.12) !important;
}

/* ===== Edon / Blakeslee Recycling: center Pickup Dates column ===== */
.edon-blakeslee-recycling .schedule-table thead th:nth-child(2),
.edon-blakeslee-recycling .schedule-table tbody td.schedule-dates{
  text-align: center !important;
}