/* ═══════════════════════════════════════════════════════════════
   Maharashtra Higher Education Summit 2026 — agenda.css
   agenda.html. Loaded after style.css + responsive.css.
   ═══════════════════════════════════════════════════════════════ */

/* ───────── PAGE HEADER ───────── */
/* same photo + dark scrim + grain band as the blog listing (.blog-hero) */
.agenda-hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
  padding: 88px 0 92px;
  background: var(--ink) url("../images/9.JPG") center / cover no-repeat;
}

.agenda-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(241, 90, 36, .16), transparent 70%),
    linear-gradient(180deg, rgba(18, 15, 13, .90) 0%, rgba(18, 15, 13, .78) 45%, rgba(18, 15, 13, .92) 100%);
}

/* z-index 2 puts the grain above the scrim, not under it */
.agenda-hero .grain {
  z-index: 2;
  opacity: .34;
  mix-blend-mode: overlay;
}

.agenda-hero .container {
  position: relative;
  z-index: 3;
}

.agenda-hero .section-head {
  margin-bottom: 0;
}

.agenda-hero .section-title {
  color: #fff;
}

.agenda-hero .section-desc {
  max-width: 640px;
  margin: 12px auto 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  text-wrap: balance;
}

/* ───────── DAY TABS ───────── */
.agenda {
  padding: 64px 0 96px;
}

.agenda-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

/* compact pills, centred */
.agenda-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

/* label only ("Day 1" / "Day 2"); the date and theme sit in the heading under the tabs */
.agenda-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 34px;
  border: 1px solid rgba(241, 90, 36, .3);
  border-radius: var(--radius-pill);
  background: #fff;
  text-align: center;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.agenda-tab:hover {
  border-color: var(--primary);
}

.at-day {
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--dark);
}

/* open day uses the Express Interest button's orange (.btn-3d-express) */
.agenda-tab.active {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(241, 90, 36, .34);
}

.agenda-tab.active .at-day {
  color: #fff;
}

.agenda-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
  font-family: var(--f-sub);
  font-size: 13px;
  color: var(--muted);
}

.agenda-note i {
  color: var(--primary);
}

/* visible day heading at the top of each tab, styled like "Two Days | Built for Impact" on index.html */
.ag-day-head {
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ag-day-title {
  margin: 0 0 6px;
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--dark);
}

.ag-day-sep {
  margin: 0 14px;
  font-weight: 300;
  color: rgba(34, 34, 34, .3);
}

.ag-day-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--f-sub);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
}

.ag-day-date i {
  color: var(--primary);
}

/* ───────── TIMELINE ───────── */
/* time column | card; a rail runs down the gap with a dot per item.
   Rail and dot centres both sit at time column + half the gap (180 + 14 = 194px). */
.agenda-list {
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.agenda-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 193px;
  width: 2px;
  background: linear-gradient(180deg, rgba(241, 90, 36, .35), rgba(241, 90, 36, .12));
}

.ag-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 18px;
}

.ag-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 187px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fff;
}

.ag-time {
  padding-top: 19px;
  font-family: var(--f-num);
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  color: var(--dark);
}

.ag-card {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 6px 18px rgba(34, 34, 34, .05);
}

.ag-type {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
}

.ag-title {
  margin: 0 0 8px;
  font-family: 'Jost', 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  color: var(--dark);
}

.ag-desc {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

/* breaks: a quiet line, smaller grey dot */
.ag-break::before {
  top: 20px;
  left: 189px;
  width: 10px;
  height: 10px;
  border-width: 2px;
  border-color: #CFC6BB;
}

.ag-break .ag-time {
  padding-top: 14px;
  font-weight: 500;
  color: var(--muted);
}

.ag-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-family: var(--f-sub);
  font-size: 15px;
  color: var(--muted);
}

.ag-body i {
  width: 18px;
  text-align: center;
  color: var(--primary);
}

/* opening and valedictory: warm tinted card with the running order inside */
.ag-ceremony .ag-card {
  border-color: rgba(241, 90, 36, .22);
  background: linear-gradient(135deg, #FFF3EA 0%, #FFFAF4 100%);
}

.ag-ceremony .ag-title {
  font-size: 22px;
}

.ag-segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.ag-segments li {
  position: relative;
  padding-left: 18px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.ag-segments li::before {
  content: "";
  position: absolute;
  top: .6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.ag-segments strong {
  display: block;
  font-weight: 600;
  color: var(--dark);
}

/* segments that carry a description take the full width */
.ag-segments .ag-wide {
  grid-column: 1 / -1;
}

/* evening: dark rows, as in the printed programme */
.ag-evening .ag-body {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
}

.ag-evening .ag-body i {
  color: var(--gold);
}

.ag-evening em {
  font-style: normal;
  color: rgba(255, 255, 255, .7);
}

.ag-evening .ag-time {
  padding-top: 15px;
}

/* ───────── CTA ───────── */
.agenda-cta {
  margin-top: 56px;
  text-align: center;
}

.agenda-cta p {
  margin-bottom: 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  color: var(--text);
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 991.98px) {
  /* narrower time column: rail and dots move to 130 + 11 = 141px */
  .ag-item { grid-template-columns: 130px minmax(0, 1fr); gap: 22px; }
  .agenda-list::before { left: 140px; }
  .ag-item::before { left: 134px; }
  .ag-break::before { left: 136px; }
  .ag-segments { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .agenda-hero { padding: 56px 0 60px; }
  .agenda { padding: 40px 0 72px; }
  .agenda-tabs { gap: 10px; }
  .agenda-tab { padding: 9px 26px; }
  .at-day { font-size: 15px; }
  .ag-day-head { margin-bottom: 24px; padding-bottom: 14px; }
  .ag-day-title { font-size: 21px; }
  .ag-day-sep { margin: 0 8px; }
  .ag-day-date { font-size: 14px; }

  /* time sits above its card; the rail moves to the left edge */
  .ag-item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .agenda-list::before { left: 6px; top: 6px; }
  .ag-item::before { top: 2px; left: 0; }
  .ag-break::before { top: 4px; left: 2px; }
  .ag-time,
  .ag-break .ag-time,
  .ag-evening .ag-time { padding-top: 0; text-align: left; }
  .ag-body { padding: 0 0 6px; }
  .ag-evening .ag-body { padding: 12px 16px; }
  .ag-card { padding: 18px; }
  .ag-title { font-size: 18px; }
  .ag-ceremony .ag-title { font-size: 19px; }
  .ag-desc { font-size: 15px; }
}

/* print the whole programme, not just the open tab */
@media print {
  .agenda-tabs,
  .agenda-cta { display: none; }
  .agenda .tab-pane { display: block !important; opacity: 1 !important; }
}
