/**
 * HTAA Conference Program — Styles
 *
 * Ported from v5 static HTML mockup.
 * Enqueued by /wp-content/mu-plugins/htaa-conference/shortcode.php
 *
 * Changes from v5:
 *   - Extracted from inline <style> to standalone file
 *   - Removed * and body resets (theme provides these)
 *   - Removed [data-cat] attribute selectors (colours applied inline by PHP)
 *   - Removed JS-dependent .card-tag empty styling (tags populated server-side)
 *   - Google Fonts loaded via @import (enqueue alternative available)
 */

/* ═══════ Fonts ═══════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* ═══════ Design Tokens ═══════ */
:root {
  --purple-deep: #2A1B4A;
  --purple: #7B5EA7;
  --purple-light: #EDE6F5;
  --coral: #C97868;
  --coral-light: #F5E3DE;
  --teal: #1A9B8A;
  --teal-dark: #147A6D;
  --teal-light: #E0F4F0;
  --mint: #B8E4E4;
  --blue: #5A8FBA;
  --gold: #C9A84C;
  --gold-light: #F7F0DA;
  --cream: #FAF7F2;
  --cream-dark: #F0E8D8;
  --white: #ffffff;
  --gray-100: #F8F7F5;
  --gray-200: #E8E5E0;
  --gray-400: #8A8680;
  --gray-600: #4A473F;
  --gray-800: #1D1A17;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
}

/* ═══════ Base Typography ═══════ */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ═══════ Hero Section ═══════ */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--mint);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://staging.qhta.com.au/wp-content/uploads/2026/02/HTAA-QHTA-Core-Artwork-Cropped.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(58,38,104,0.85) 0%,
    rgba(58,38,104,0.75) 35%,
    rgba(58,38,104,0.55) 60%,
    rgba(58,38,104,0.35) 80%,
    rgba(58,38,104,0.2) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 3rem;
  width: 100%;
}
.hero-content {
  max-width: 580px;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.15s;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.hero h1 em {
  font-style: italic;
  display: block;
  font-size: 0.82em;
  background: linear-gradient(135deg, var(--gold) 0%, #E0C46A 50%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-top: 0.1em;
}
.hero-meta {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}
.hero-meta strong {
  font-weight: 600;
  color: var(--white);
}
.hero-host {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
}
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions .btn-primary {
  margin-right: 0.5rem;
}

/* Registration buttons on same line */
.hero-actions {
  align-items: flex-start;
}

/* Two-row layout: PDF on top, registration buttons on bottom */
.hero-actions {
  flex-direction: column;
  gap: 1rem;
}

.hero-actions .btn-primary {
  align-self: flex-start;
  margin-right: 0;
}

.registration-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  justify-content: center;
}

.registration-row .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .registration-row {
    gap: 0.25rem;
  }
  .registration-row .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* ═══════ Buttons ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, #D4887A 100%);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(201,120,104,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,120,104,0.45);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}
.btn-disabled {
  opacity: 0.8;
  cursor: not-allowed;
  background: rgba(255,255,255,0.12) !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.9) !important;
  position: relative;
  overflow: hidden;
}
.btn-disabled::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.btn-disabled:hover {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.2) !important;
  transform: none !important;
  box-shadow: none !important;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ═══════ Container ═══════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ═══════ Sponsors Section ═══════ */
.sponsors {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.sponsors-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sponsor-logo img {
  max-height: 80px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.25s ease;
  filter: grayscale(20%);
}

/* Individual logo size adjustments for visual balance */
.sponsor-logo:nth-child(1) img { /* HTAA */
  max-height: 75px;
}
.sponsor-logo:nth-child(2) img { /* QHTA */
  max-height: 75px;
}
.sponsor-logo:nth-child(3) img { /* UQ */
  max-height: 75px;
}
.sponsor-logo:nth-child(4) img { /* UniSQ */
  max-height: 75px;
}
.sponsor-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ═══════ Day Tabs ═══════ */
.tabs-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tabs {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.tab {
  flex: 1;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
  text-align: center;
}
.tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  border-radius: 3px 3px 0 0;
  transition: width 0.3s ease;
}
.tab:hover {
  color: var(--purple);
  background: rgba(235, 230, 245, 0.3);
}
.tab.active {
  color: var(--purple-deep);
}
.tab.active::after {
  width: 60%;
}
.tab small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.15rem;
  opacity: 0.7;
}

/* ═══════ Day Content ═══════ */
.day-content {
  display: none;
  padding: 2rem 0 3rem;
}
.day-content.active {
  display: block;
}

/* ═══════ Event Blocks (Keynotes & Breaks) ═══════ */
.event-block {
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.event-block--keynote {
  background: linear-gradient(135deg, var(--purple-deep) 0%, #4A3578 60%, var(--purple) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.event-block--keynote::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(184,228,228,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.event-block--break {
  background: var(--cream-dark);
  padding: 0.85rem 1.75rem;
  text-align: center;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px dashed rgba(0,0,0,0.1);
}
.event-time {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}
.event-block--keynote .event-time {
  color: var(--gold);
  opacity: 1;
}
.event-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
}
.event-speaker {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.75;
}
.event-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.event-location svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

/* ═══════ Session Blocks (Accordion) ═══════ */
.session-block {
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.session-block:hover {
  box-shadow: var(--shadow-md);
}
.session-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s ease;
}
.session-header:hover {
  background: rgba(248, 247, 245, 0.6);
}
.session-time-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.session-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--purple-deep);
  flex: 1;
}
.session-count {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
}
.session-chevron {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.session-block.open .session-chevron {
  transform: rotate(180deg);
}
.session-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.session-block.open .session-body {
  max-height: 8000px;
}
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
  padding: 0 1.25rem 1.25rem;
}

/* ═══════ Session Cards ═══════ */
/* Category colours (border-left, tag text, tag bg) are applied inline by PHP */
.card {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gray-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.06);
  background: rgba(255, 255, 255, 0.8);
}
.card-option {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.3;
}
.card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-deep);
  line-height: 1.4;
  margin-bottom: 0.4rem;
  padding-right: 1.5rem;
}
.card-presenter {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
}
.card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray-400);
}
.card-location svg {
  width: 11px;
  height: 11px;
}

/* ═══════ Card Details Toggle ═══════ */
.card-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--gray-200);
  background: none !important;
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple) !important;
  transition: color 0.2s ease;
}
.card-details-toggle:hover {
  color: var(--gray-600) !important;
  background: none !important;
}
.card-details-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.card-details-toggle[aria-expanded="true"] svg {
  transform: rotate(45deg);
}
.card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.card-details.open {
  max-height: 600px;
}
.card-details-inner {
  padding-top: 0.65rem;
}
.card-detail-section {
  margin-bottom: 0.6rem;
}
.card-detail-section:last-child {
  margin-bottom: 0;
}
.card-detail-section h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-bottom: 0.25rem;
}
.card-detail-section p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* ═══════ Legend ═══════ */
/* Dots and labels rendered server-side by PHP; no JS dependency */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem 0 1.5rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ═══════ Program Note & Tour Banner ═══════ */
.program-note {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
}
.program-note strong {
  color: #9A7F30;
}
.tour-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tour-banner strong {
  font-weight: 600;
}

/* ═══════ Responsive — Mobile ═══════ */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(58,38,104,0.9) 0%,
      rgba(58,38,104,0.75) 60%,
      rgba(58,38,104,0.5) 100%
    );
  }
}

@media (max-width: 640px) {
  .hero { min-height: 320px; }
  .hero-inner { padding: 2.5rem 1.25rem 2rem; }
  .hero h1 { font-size: 1.75rem; }
  .session-grid { grid-template-columns: 1fr; }
  .session-header { padding: 0.85rem 1rem; gap: 0.75rem; }
  .session-label { font-size: 1rem; }
  .event-block { padding: 1.2rem 1.25rem; }
  .tabs { padding: 0; }
  .tab { padding: 0.85rem 0.75rem; font-size: 0.85rem; }
  .legend { gap: 0.4rem 0.75rem; font-size: 0.72rem; }
  
  /* Sponsors responsive */
  .sponsors { padding: 1.5rem 0; }
  .sponsors-container { 
    gap: 2rem; 
    padding: 0 1rem;
  }
  
  /* Uniform mobile sizing */
  .sponsor-logo img {
    max-height: 55px !important;
  }
}

/* ═══════ Animations ═══════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.event-block,
.session-block {
  animation: fadeInUp 0.4s ease both;
}
.session-block:nth-child(2) { animation-delay: 0.05s; }
.session-block:nth-child(3) { animation-delay: 0.1s; }
.session-block:nth-child(4) { animation-delay: 0.15s; }
.session-block:nth-child(5) { animation-delay: 0.2s; }

/* ═══════ Print Styles ═══════ */
@media print {
  /* Hide site header/footer and non-essential elements */
  header.site-header,
  footer.site-footer,
  footer,
  .site-footer,
  .wp-admin-bar,
  nav,
  .breadcrumb,
  .hero-actions,
  .tabs-wrapper,
  .tour-banner,
  .legend,
  .sponsors {
    display: none !important;
  }
  
  /* Remove any print selection highlights */
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
  }
  
  /* Prevent text selection highlights */
  ::selection {
    background: transparent !important;
  }
  
  ::-moz-selection {
    background: transparent !important;
  }
  
  /* Fix grey backgrounds on print */
  body {
    background: white !important;
  }
  
  /* Keep hero design but make compact for print */
  .hero {
    min-height: 120px;
    padding: 1rem 0;
    page-break-after: avoid;
  }
  
  .hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://staging.qhta.com.au/wp-content/uploads/2026/02/HTAA-QHTA-Core-Artwork-Cropped.png') center/cover no-repeat;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
      rgba(58,38,104,0.85) 0%,
      rgba(58,38,104,0.75) 35%,
      rgba(58,38,104,0.55) 60%,
      rgba(58,38,104,0.35) 80%,
      rgba(58,38,104,0.2) 100%
    );
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  .hero-inner {
    padding: 0.5rem 0 0.5rem 3rem;
    position: relative;
    z-index: 2;
  }
  
  .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 0.4rem;
    backdrop-filter: blur(6px);
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
    color: var(--white);
  }
  
  .hero h1 em {
    font-style: italic;
    display: block;
    font-size: 0.82em;
    background: linear-gradient(135deg, var(--gold) 0%, #E0C46A 50%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  .hero-meta {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
  }
  
  .hero-meta strong {
    color: var(--white);
  }
  
  /* Show all day content for print */
  .day-content {
    display: block !important;
    page-break-before: auto;
  }
  
  .day-content:first-child {
    page-break-before: avoid;
  }
  
  /* Expand all sessions for print but remove big gaps */
  .session-block {
    margin-bottom: 0.25rem;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .session-body {
    max-height: none !important;
    overflow: visible !important;
  }
  
  .session-header {
    padding: 0.25rem 0;
    page-break-after: avoid;
    break-after: avoid;
  }
  
  .session-grid {
    padding: 0;
    margin-top: 0.25rem;
    display: block !important;
  }
  
  /* Convert grid to flexbox for better print support */
  .session-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .card {
    flex: 1 1 23%;
    min-width: 23%;
  }
  
  /* Hide card details (abstract/bio) for print */
  .card-details,
  .card-details-toggle {
    display: none !important;
  }
  
  /* Remove duplicate - handled above with flexbox */
  
  .card {
    page-break-inside: avoid;
    margin-bottom: 0;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
    box-sizing: border-box;
  }
  
  .card h4 {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
  }
  
  .card-presenter {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  
  .card-meta {
    margin-top: 0.2rem;
  }
  
  .card-tag {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
  }
  
  .card-location {
    font-size: 0.6rem;
  }
  
  .card-option {
    font-size: 0.6rem;
  }
  
  /* Redesign purple blocks - compact but eye-catching */
  .event-block--keynote {
    background: linear-gradient(135deg, rgba(123, 94, 167, 0.85), rgba(92, 74, 134, 0.9)) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.2rem;
    border-left: 3px solid rgba(123, 94, 167, 1);
  }
  
  .event-block--keynote .event-time {
    font-size: 0.55rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-bottom: 0.2rem;
    display: inline-block;
  }
  
  .event-block--keynote .event-title {
    font-size: 0.75rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 0.1rem;
  }
  
  .event-block--keynote .event-speaker {
    font-size: 0.65rem;
    margin-top: 0.1rem;
    opacity: 0.9;
    line-height: 1.2;
  }
  
  .event-block--keynote .event-location {
    font-size: 0.55rem;
    margin-top: 0.15rem;
    opacity: 0.8;
  }
  
  .session-time-badge {
    background: rgba(123, 94, 167, 0.8) !important;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .session-label {
    font-size: 0.9rem;
  }
  
  .session-count {
    font-size: 0.7rem;
  }
  
  /* Improve event block spacing */
  .event-block {
    page-break-inside: avoid;
    margin-bottom: 0.25rem;
  }
  
  .event-block--break {
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
  }
  
  /* Remove hover effects and animations for print */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Add day headers for print */
  .day-content::before {
    content: attr(id);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--gray-400);
    display: block;
    page-break-after: avoid;
  }
  
  .day-content[id="day1"]::before {
    content: "Wednesday July 8 - Day 1";
  }
  
  .day-content[id="day2"]::before {
    content: "Thursday July 9 - Day 2";
  }
  
  /* PDF generation specific styles */
  body.pdf-generation {
    font-size: 12px;
    line-height: 1.3;
  }
  
  body.pdf-generation .hero {
    min-height: 100px;
  }
  
  body.pdf-generation .card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  body.pdf-generation .session-block {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  body.pdf-generation .event-block {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  /* Ensure good column distribution */
  body.pdf-generation .session-grid {
    column-count: 4;
    column-gap: 0.5rem;
    column-fill: balance;
  }
  
  body.pdf-generation .card {
    display: inline-block;
    width: 100%;
    margin-bottom: 0.5rem;
    vertical-align: top;
  }
}