.an-countdown-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.an-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  min-width: 76px;
  backdrop-filter: blur(6px);
}

.an-cd-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy-mid);
  line-height: 1;
}

.an-cd-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-top: 0.2rem;
}

.an-cd-sep {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.an-cd-target-label {
  width: 100%;
  max-width: 730px;
  font-size: 1.1rem;
  color: var(--burgundy-mid);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.an-page-header {
  background: linear-gradient(180deg, #ffdae1 0%, #ffebee 25%, #ffdcdc 100%);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
  text-align: left;
}

.an-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

@keyframes brushDraw {
  from {
    transform: scaleX(0) rotate(-1.2deg);
    opacity: 0;
  }
  to {
    transform: scaleX(1) rotate(-1.2deg);
    opacity: 1;
  }
}

.an-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(70px);
  padding: 45px;
  border-radius: var(--radius-md);
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-1);
  overflow: hidden;
}

.an-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.an-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.an-overview-item {
  display: flex;
  gap: 20px;
  background: var(--off-white);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.an-overview-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-light);
}

.an-overview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--rose-pale);
  color: var(--reddish-purple);
  border-radius: 50%;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.an-overview-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-bottom: 8px;
  font-weight: 700;
}

.an-overview-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.an-theme-text {
  font-weight: 600;
  color: var(--text) !important;
}

.an-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--burgundy-mid);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.an-map-link:hover {
  color: var(--reddish-purple);
}

@media(max-width: 768px) {
  .an-overview-item {
    padding: 20px;
    gap: 16px;
  }
  .an-overview-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.an-section-title {
  font-family: 'PLAYFAIR DISPLAY';
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--reddish-purple);
}

.an-section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.6rem;
}

.an-section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.an-research-tabs {
  margin-top: 20px;
}

.an-tabs-nav {
  display: flex;
  gap: 12px;
  list-style: none;
  border-bottom: 2px solid var(--grey-1);
  margin-bottom: 25px;
  padding-bottom: 2px;
}

.an-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--grey-3);
  padding: 10px 24px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.an-tab-btn i {
  color: var(--grey-3);
  transition: color 0.2s ease;
}

.an-tab-btn:hover {
  color: var(--burgundy-light);
}

.an-tab-btn.an-active {
  color: var(--burgundy);
}

.an-tab-btn.an-active i {
  color: var(--rose-deep);
}

.an-tab-btn.an-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.an-tab-content {
  display: none;
}

.an-tab-content.an-active {
  display: block;
  animation: anFadeIn 0.35s ease;
}

@keyframes anFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid var(--grey-2);
}

th {
  background: var(--rose-pale);
  color: var(--burgundy);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--grey-2);
}

td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--grey-1);
  vertical-align: top;
  color: var(--text-mid);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--rose-blush);
}

.an-overview-table {
  border: none; 
  border-radius: 0; 
  overflow: visible; 
  margin-bottom: 0;
}

.an-overview-table tr {
  background: transparent !important;
}

.an-time-col {
  width: 18%;
}

/* Speaker & Chairperson Photo Column Styles */
.an-photo-col {
  width: 80px;
  text-align: center;
  vertical-align: top;
}

.an-speaker-photo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rose-pale, #f8ecee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 3px auto;
  border: 1px solid var(--grey-2, #e0e0e0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.an-speaker-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-speaker-photo-wrap i {
  font-size: 1.4rem;
  color: var(--burgundy-light, #8a2b43);
}

.an-session-title-primary {
  color: var(--burgundy);
}

.an-session-title-secondary {
  color: var(--reddish-purple);
}

.an-session-title-secondary.green {
  color: #1b6245 !important;
}

.an-session-details-box.green {
  border-left: 3px solid #689584 !important;
}

.an-session-details-box {
  margin-top: 15px; 
  padding-left: 15px; 
  border-left: 3px solid var(--rose);
}

.an-sub-lecture-title {
  font-weight: 600; 
  color: var(--text);
}

.an-sub-lecture-title-spacing {
  font-weight: 600; 
  color: var(--text); 
  margin-top: 12px;
}

.an-speaker-info {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 6px;
  font-style: italic;
}

.an-speaker-info-margin {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 6px;
  font-style: italic;
  margin-bottom: 15px;
}

.an-break-text {
  color: var(--text-light);
  font-style: italic;
}

.an-break-text i {
  margin-right: 5px;
}

#schedule, .an-firsts-section .an-card {
  opacity: 0;
  transform: translateY(50px); 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.an-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

@media(max-width: 768px) {
  .an-card {
    padding: 28px 20px;
  }

  .an-tab-btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  .an-tab-content table, 
  .an-tab-content tr, 
  .an-tab-content th, 
  .an-tab-content td {
    display: block;
    width: 100%;
  }

  .an-tab-content th {
    display: none;
  }

  .an-tab-content td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--grey-1);
    text-align: left;
  }

  .an-photo-col {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 10px !important;
  }

  .an-speaker-photo-wrap {
    margin: 0;
  }

  .an-tab-content td:first-child {
    font-weight: bold;
    background: var(--rose-blush);
    color: var(--burgundy);
    padding-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .an-event-card {
    grid-template-columns: 70px 1fr;
  }

  .an-ec-day {
    font-size: 1.6rem;
  }

  .an-ec-body {
    padding: 1.25rem;
  }

  .an-form-row {
    grid-template-columns: 1fr;
  }

  .an-rsvp-form {
    padding: 1.5rem;
  }

  .an-countdown-row {
    gap: 0.3rem;
  }

  .an-cd-block {
    min-width: 58px;
    padding: 0.6rem 0.5rem;
  }

  .an-cd-num {
    font-size: 1.5rem;
  }
}


