/* ============================================
   RECOVERY LEARNING PLATFORM - HOMEPAGE
   ============================================ */

/* Hero Section */
.medastra-hero-recovery {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #2C5F4F 0%, #1a3d33 100%);
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.medastra-hero-recovery:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(201, 161, 74, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(74, 155, 127, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 2;
}

.hero-text {
  max-width: 700px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subhead {
  font-size: 24px;
  color: #c9a14a;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Journey Section */
.recovery-journey-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-header p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Week Cards Grid */
.week-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

/* Week Card */
.week-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.week-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Week Header with Color Coding */
.week-card-header {
  padding: 40px 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.week-card-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Week 1: Green */
.week-1 .week-card-header {
  background: linear-gradient(135deg, #4A9B7F 0%, #3d8269 100%);
}

/* Week 2: Teal */
.week-2 .week-card-header {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
}

/* Week 3: Gold */
.week-3 .week-card-header {
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%);
}

.week-number {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.week-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.week-days {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 400;
}

/* Week Card Body */
.week-card-body {
  padding: 30px;
}

.week-focus {
  color: #2C3E50;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.week-focus strong {
  color: #c9a14a;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Day Links */
.day-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.day-link {
  flex: 1;
  min-width: calc(50% - 5px);
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #2C3E50;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.day-link:hover {
  background: #c9a14a;
  border-color: #c9a14a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* View Week Button */
.view-week-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #2C3E50;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-week-btn:hover {
  border-color: #c9a14a;
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.05);
}

/* Complete Protocol Section */
.complete-protocol-section {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eef2 100%);
  border-radius: 12px;
  margin-top: 40px;
}

.complete-protocol-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 15px;
}

.complete-protocol-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.complete-protocol-btn {
  display: inline-block;
  padding: 18px 40px;
  background: #c9a14a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
}

.complete-protocol-btn:hover {
  background: #b08939;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 161, 74, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .medastra-hero-recovery {
    min-height: 400px;
    padding: 60px 0;
  }
  
  .hero-content-wrapper,
  .recovery-journey-section {
    padding: 0 20px;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-subhead {
    font-size: 20px;
  }
  
  .hero-body {
    font-size: 16px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .week-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .week-card-header {
    padding: 30px 20px;
  }
  
  .week-title {
    font-size: 24px;
  }
  
  .week-card-body {
    padding: 20px;
  }
  
  .day-link {
    min-width: 100%;
  }
  
  .complete-protocol-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-subhead {
    font-size: 18px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
}
/* ============================================
   INDIVIDUAL DAY PAGE STYLES
   ============================================ */

/* Page Header / Breadcrumb */
.recovery-page-header {
  background: #f8f9fa;
  padding: 20px 40px;
  border-bottom: 2px solid #e8e8e8;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #c9a14a;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #b08939;
}

.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* Day Module Container */
.medastra-day-module {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - Color coded by week */
.day-header {
  padding: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.day-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Week 1 Days: Green */
.week-1-day .day-header {
  background: linear-gradient(135deg, #4A9B7F 0%, #3d8269 100%);
}

.day-header-content {
  position: relative;
  z-index: 2;
}

.day-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.day-header h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.day-subtitle {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.95;
}

/* ============================================
   PROTOCOL SECTION - GRADIENT ACCENT
   ============================================ */

/* Protocol section - clean/simple */
.protocol-overview {
  padding: 40px;
  border-bottom: none;
  background: #ffffff;
}

.protocol-overview h2 {
  color: #2C3E50;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
  .protocol-overview {
    padding: 30px 20px;
  }
  
  .protocol-overview h2 {
    font-size: 20px;
  }
  
  .time-block,
  .time-block-warning {
    padding: 20px;
    margin-bottom: 20px;
  }
}


/* ============================================
   ENHANCED EXPANDABLE CONTENT - HOVER EFFECTS
   ============================================ */

/* Expandable content with hover */
.expandable-content {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
  transition: all 0.2s ease;
}

.expandable-content:hover {
  background: #fafbfc;
  padding-left: 10px;
  border-left: 3px solid #c9a14a;
}

.expandable-content:last-child {
  border-bottom: none;
}

.expandable-content summary {
  padding: 24px 0 12px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  list-style: none;
  position: relative;
  transition: all 0.2s ease;
  user-select: none;
}

.expandable-content:hover summary {
  color: #c9a14a;
}

.expandable-content summary::-webkit-details-marker {
  display: none;
}

.expandable-content summary:before {
  content: "▼";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.expandable-content[open] summary:before {
  transform: rotate(180deg);
}

/* Reduce top margin on first element after summary */
.expandable-content[open] summary {
  margin-bottom: 8px;
}

.expandable-content p:first-of-type {
  margin-top: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .expandable-content summary {
    font-size: 16px;
    padding: 24px 0 12px 25px;
  }
  
  .content-inner {
    padding: 0 0 30px 25px;
  }
}
/* ============================================
   TIME BLOCKS - CARD STYLE WITH HOVER
   ============================================ */

/* Time block - simple list */
.time-block {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.time-block:hover {
  box-shadow: none;
  transform: none;
}

.time-block:last-child {
  margin-bottom: 0;
}

.time-block h3 {
  color: #c9a14a;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-block ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.time-block li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

.time-block li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 24px;
  line-height: 1.3;
  font-weight: bold;
}

/* Time block warning - same card style but red */
.time-block-warning {
  margin-bottom: 25px;
  padding: 25px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.time-block-warning:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.time-block-warning:last-child {
  margin-bottom: 0;
}

.time-block-warning h3 {
  color: #d9534f;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-block-warning ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.time-block-warning li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

.time-block-warning li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-size: 24px;
  line-height: 1.3;
  font-weight: bold;
}
/* Remove default bullets from time-block lists */
.time-block ul,
ul.time-block {
  list-style: none !important;
}
/* ============================================
   HERO USING COVER BLOCK - FULL WIDTH
   ============================================ */

.medastra-hero-recovery-large.wp-block-cover {
  min-height: 650px !important;
  padding: 80px 60px !important;
  align-items: center !important;
}

/* Overlay color adjustment */
.medastra-hero-recovery-large .wp-block-cover__background {
  background: linear-gradient(135deg, rgba(44, 95, 79, 0.85) 0%, rgba(26, 61, 51, 0.75) 100%) !important;
  opacity: 1 !important;
}


.medastra-hero-recovery-large h1 {
  font-size: 64px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1px;
  max-width: 750px;
}

/* Hero Divider - CENTERED */
.medastra-hero-recovery-large .hero-divider {
  width: 80px !important;
  height: 3px !important;
  background: #c9a14a !important;
  margin: 0 auto 30px auto !important;
  max-width: 80px !important;
}
/* Center all hero content */
.medastra-hero-recovery-large .wp-block-cover__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center; /* ADD THIS LINE */
}

/* But keep text left-aligned */
.medastra-hero-recovery-large h1,
.medastra-hero-recovery-large .hero-subhead-large,
.medastra-hero-recovery-large .hero-body-large {
  text-align: left;
}

.medastra-hero-recovery-large .hero-subhead-large {
  font-size: 28px;
  color: #c9a14a;
  font-weight: 500;
  margin-bottom: 25px;
  line-height: 1.3;
  max-width: 750px;
}

.medastra-hero-recovery-large .hero-body-large {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 650px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .medastra-hero-recovery-large.wp-block-cover {
    min-height: 550px !important;
    padding: 60px 40px !important;
  }
  
  .medastra-hero-recovery-large h1 {
    font-size: 48px;
  }
  
  .medastra-hero-recovery-large .hero-subhead-large {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .medastra-hero-recovery-large.wp-block-cover {
    min-height: 500px !important;
    padding: 50px 30px !important;
  }
  
  .medastra-hero-recovery-large h1 {
    font-size: 38px;
  }
  
  .medastra-hero-recovery-large .hero-subhead-large {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .medastra-hero-recovery-large.wp-block-cover {
    min-height: 450px !important;
    padding: 40px 20px !important;
  }
  
  .medastra-hero-recovery-large h1 {
    font-size: 32px;
  }
  
  .medastra-hero-recovery-large .hero-subhead-large {
    font-size: 20px;
  }
}
/* ============================================
   WORDPRESS BUTTON BLOCK OVERRIDES
   ============================================ */

/* Remove button wrapper constraints */
.day-links .wp-block-buttons {
  display: contents;
}

.day-links .wp-block-button {
  flex: 1;
  min-width: calc(50% - 5px);
  margin: 0;
}

.day-links .wp-block-button .wp-block-button__link {
  width: 100%;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #2C3E50;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.day-links .wp-block-button .wp-block-button__link:hover {
  background: #c9a14a;
  border-color: #c9a14a;
  color: #ffffff;
  transform: translateY(-2px);
}

.view-week-btn.wp-block-button {
  width: 100%;
  margin: 0;
}

.view-week-btn .wp-block-button__link {
  display: block;
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  color: #2C3E50;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.view-week-btn .wp-block-button__link:hover {
  border-color: #c9a14a;
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.05);
}

.complete-protocol-btn.wp-block-button {
  margin: 0;
}

.complete-protocol-btn .wp-block-button__link {
  padding: 18px 40px;
  background: #c9a14a;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
  transition: all 0.3s ease;
}

.complete-protocol-btn .wp-block-button__link:hover {
  background: #b08939;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 161, 74, 0.4);
}

/* Week card color variants */
.week-preop .week-card-header {
  background: linear-gradient(45deg, #26446a 0%, #3A7F8F 100%);
}

.week-2-4 .week-card-header {
  background: linear-gradient(135deg, #3A7F8F 0%, #c9a14a 100%);
}

/* Fix Group block constraints */
.week-card > .wp-block-group {
  max-width: none !important;
}

/* Section header standalone styling */
.wp-block-group > .wp-block-heading.has-text-align-center {
  font-size: 36px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wp-block-group > .wp-block-heading.has-text-align-center + .wp-block-paragraph.has-text-align-center {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
/* ============================================
   WEEK CARDS - PROPER CONTAINMENT
   ============================================ */

/* Override WordPress constrained layout on week cards */
.week-card {
  width: 700px !important;
  max-width: 700px !important;
  margin: 40px auto !important;
}

.week-card > * {
  max-width: none !important;
}

/* Week Cards Wrapper - Side by Side on Desktop */
.week-cards-wrapper {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 40px;
}

@media (min-width: 1200px) {
  .week-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .week-cards-wrapper .week-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
  .week-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 30px;
  }
  
  .week-cards-wrapper .week-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  
  /* Make the third card span both columns */
  .week-cards-wrapper .week-card:last-child {
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto !important;
  }
}

/* Mobile - Stacked */
@media (max-width: 767px) {
  .week-cards-wrapper {
    padding: 0 20px;
  }
  
  .week-cards-wrapper .week-card,
  .week-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto !important;
  }
}

/* For cards NOT in a wrapper (fallback) */
.week-card:not(.week-cards-wrapper .week-card) {
  margin-top: 40px;
}

.week-card:first-of-type:not(.week-cards-wrapper .week-card) {
  margin-top: 60px;
}


/* ============================================
   FOCUS TEXT SIZE FIX
   ============================================ */

/* Make the focus description text smaller */
.week-focus {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* The paragraph after FOCUS label should be even smaller/normal */
.week-card-body > p:not(.week-focus) {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #2C3E50 !important;
}

/* Ensure the FOCUS label stays small and gold */
.week-focus strong {
  font-size: 13px !important;
}
/* ============================================
   WORDPRESS BUTTON BLOCK OVERRIDES - FIXED
   ============================================ */

/* Remove ALL styling from button wrappers */
.day-links .wp-block-button,
.view-week-btn.wp-block-button,
.complete-protocol-btn.wp-block-button {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Remove button wrapper constraints */
.day-links .wp-block-buttons {
  display: contents;
}

.day-links .wp-block-button {
  flex: 1;
  min-width: calc(50% - 5px);
}

/* Style ONLY the inner link element for day links */
.day-links .wp-block-button .wp-block-button__link {
  width: 100%;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #2C3E50;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
  display: block;
  box-sizing: border-box;
}

.day-links .wp-block-button .wp-block-button__link:hover {
  background: #c9a14a;
  border-color: #c9a14a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* View week button styling */
.view-week-btn.wp-block-button {
  width: 100%;
}

.view-week-btn .wp-block-button__link {
  display: block;
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  text-align: center;
  color: #2C3E50;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box;
}

.view-week-btn .wp-block-button__link:hover {
  border-color: #c9a14a;
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.05);
}

/* Complete protocol button styling */
.complete-protocol-btn.wp-block-button {
  margin: 0;
}

.complete-protocol-btn .wp-block-button__link {
  padding: 18px 40px;
  background: #c9a14a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  outline: none !important;
}

.complete-protocol-btn .wp-block-button__link:hover {
  background: #b08939;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 161, 74, 0.4);
}

/* Remove focus outlines */
.wp-block-button .wp-block-button__link:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* ============================================
   DAY ACTION BUTTON STYLE - UPDATED
   ============================================ */

/* Day action buttons - distinct light gold background */
.wp-block-button.day-action-btn {
  width: 100% !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.wp-block-button.day-action-btn .wp-block-button__link {
  display: block !important;
  width: 100% !important;
  padding: 16px 20px !important;
  background: #faf7f0 !important;
  border: 1px solid #e8dcc4 !important;
  border-radius: 8px !important;
  text-align: center !important;
  color: #2C3E50 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wp-block-button.day-action-btn .wp-block-button__link:hover {
  background: #f5ecd9 !important;
  border-color: #c9a14a !important;
  color: #2C3E50 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(201, 161, 74, 0.15) !important;
}
/* ============================================
   PRE-OP PAGE STYLES
   ============================================ */

/* Pre-Op Hero */
.medastra-hero-preop.wp-block-cover {
  min-height: 500px !important;
  padding: 80px 60px !important;
  align-items: center !important;
}

.medastra-hero-preop .wp-block-cover__background {
background: linear-gradient(45deg, rgba(38, 68, 106, 0.9) 0%, rgba(58, 127, 143, 0.85) 100%) !important;
  opacity: 1 !important;
}

.medastra-hero-preop h1 {
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.medastra-hero-preop .hero-subhead {
  font-size: 24px;
  color: #c9a14a;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
}

.medastra-hero-preop .hero-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

/* Pre-Op Overview Section */
.preop-overview-section {
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 0 40px;
  text-align: center;
}

.preop-overview-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 20px;
}

.preop-overview-section p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ============================================
   MILESTONE SECTIONS - HEADER FULL CARD WIDTH
   ============================================ */

/* Milestone container - stays at 900px with card styling */
.milestone-section {
  max-width: 900px;
  margin: 0 auto 60px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Milestone Header - FULL CARD WIDTH (no side padding) */
.milestone-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(45deg, #26446a 0%, #3A7F8F 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.milestone-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Header content */
.milestone-header-content {
  position: relative;
  z-index: 2;
}

.milestone-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.milestone-header h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

.milestone-timing {
  font-size: 16px;
  opacity: 0.95;
  margin-top: 8px;
}

/* Milestone Body */
.milestone-body {
  padding: 40px;
}

.milestone-intro {
  font-size: 18px;
  color: #2C3E50;
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .milestone-header {
    padding: 30px 20px;
  }
  
  .milestone-header h2 {
    font-size: 26px;
  }
  
  .milestone-body {
    padding: 30px 20px;
  }
}
/* ============================================
   PRE-OP DAY PAGES
   ============================================ */

/* Pre-Op Day Module Container */
.preop-day-module {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - Pre-Op Purple/Blue */
.preop-day-module .day-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(45deg, #26446a 0%, #3A7F8F 100%);
  position: relative;
  overflow: hidden;
}

.preop-day-module .day-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Breadcrumb for Pre-Op pages */
.preop-breadcrumb {
  background: #f8f9fa;
  padding: 20px 40px;
  border-bottom: 2px solid #e8e8e8;
}

.preop-breadcrumb .breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
  color: #666;
}

.preop-breadcrumb .breadcrumb a {
  color: #5A7FA7;
  text-decoration: none;
  transition: color 0.2s;
}

.preop-breadcrumb .breadcrumb a:hover {
  color: #4a6a8f;
}

.preop-breadcrumb .breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .preop-breadcrumb {
    padding: 15px 20px;
  }
  
  .preop-day-module {
    margin: 20px;
    border-radius: 6px;
  }
  
  .preop-day-module .day-header {
    padding: 30px 20px;
  }
  
  .preop-day-module .day-header h1 {
    font-size: 28px;
  }
  
  .preop-day-module .protocol-overview,
  .preop-day-module .education-section {
    padding: 30px 20px;
  }
}
/* Protocol Section within Milestone */
.milestone-protocols h3 {
  color: #c9a14a;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Checklist Style for Pre-Op */
.preop-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.preop-checklist li {
  padding: 15px 0 15px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
  border-bottom: 1px solid #f0f0f0;
}

.preop-checklist li:last-child {
  border-bottom: none;
}

.preop-checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 20px;
  font-weight: bold;
}

/* Education Sections (same expandable style) */
.milestone-body .expandable-content {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.milestone-body .expandable-content:last-child {
  border-bottom: none;
}

.milestone-body .expandable-content summary {
  padding: 24px 0 24px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
  user-select: none;
}

.milestone-body .expandable-content summary::-webkit-details-marker {
  display: none;
}

.milestone-body .expandable-content summary:before {
  content: "▼";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.milestone-body .expandable-content[open] summary:before {
  transform: rotate(180deg);
}

.milestone-body .expandable-content summary:hover {
  color: #c9a14a;
}

.milestone-body .content-inner {
  padding: 0 0 30px 30px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.8;
}

/* Page Navigation */
.preop-page-navigation {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 40px;
  text-align: center;
}

.preop-next-btn.wp-block-button .wp-block-button__link {
  padding: 20px 50px !important;
  background: #5A7FA7 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 4px 15px rgba(90, 127, 167, 0.3) !important;
  transition: all 0.3s ease !important;
}

.preop-next-btn.wp-block-button .wp-block-button__link:hover {
  background: #4a6a8f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(90, 127, 167, 0.4) !important;
}

.preop-next-btn .wp-block-button__link::after {
  content: " →";
  margin-left: 10px;
  font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .medastra-hero-preop.wp-block-cover {
    min-height: 400px !important;
    padding: 50px 30px !important;
  }
  
  .medastra-hero-preop h1 {
    font-size: 36px;
  }
  
  .medastra-hero-preop .hero-subhead {
    font-size: 20px;
  }
  
  .preop-overview-section,
  .milestone-section,
  .preop-page-navigation {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  
  .milestone-header {
    padding: 30px 20px;
  }
  
  .milestone-header h2 {
    font-size: 26px;
  }
  
  .milestone-body {
    padding: 30px 20px;
  }
}

/* ============================================
   ARROW STYLE UPDATE - SIMPLER ARROWS
   ============================================ */

/* Update view week button arrow */
.view-week-btn .wp-block-button__link::after {
  content: " →";
  margin-left: 8px;
  font-size: 18px;
}

/* Remove the old arrow text if it exists in the content */
.view-week-btn .wp-block-button__link {
  /* ... existing styles stay the same ... */
}

/* Complete protocol button arrow (if needed) */
.complete-protocol-btn .wp-block-button__link::after {
  content: " →";
  margin-left: 8px;
  font-size: 18px;
}
/* ============================================
   PRE-OP DAY PAGES - UPDATED
   ============================================ */

/* Pre-Op Day Module Container */
.preop-day-module {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - Pre-Op Purple/Blue - FULL CARD WIDTH */
.preop-day-module .day-header {
  padding: 40px;
  color: #ffffff;
 background: linear-gradient(45deg, #26446a 0%, #3A7F8F 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.preop-day-module .day-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Breadcrumb - Streamlined, no card */
.preop-breadcrumb {
  background: transparent;
  padding: 20px 0;
  border-bottom: none;
  max-width: 900px;
  margin: 0 auto;
}

.preop-breadcrumb .breadcrumb {
  font-size: 14px;
  color: #666;
  padding: 0 20px;
}

.preop-breadcrumb .breadcrumb a {
  color: #5A7FA7;
  text-decoration: none;
  transition: color 0.2s;
}

.preop-breadcrumb .breadcrumb a:hover {
  color: #4a6a8f;
}

.preop-breadcrumb .breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* ============================================
   NAVIGATION BUTTONS - PRE-OP STYLE
   ============================================ */

/* Navigation container */
.page-navigation {
  max-width: 900px;
  margin: 60px auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 40px;
}

/* Remove wrapper constraints */
.page-navigation .wp-block-buttons {
  display: contents;
}

/* Remove all pseudo-elements from wrappers */
.page-navigation .wp-block-buttons::before,
.page-navigation .wp-block-buttons::after,
.page-navigation .wp-block-button::before,
.page-navigation .wp-block-button::after {
  content: none !important;
  display: none !important;
}

/* Button wrapper styling */
.page-navigation .nav-button.wp-block-button {
  flex: 1;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Button link styling */
.page-navigation .nav-button .wp-block-button__link {
  display: block !important;
  width: 100% !important;
  padding: 18px 24px !important;
  background: #ffffff !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  color: #2C3E50 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  box-shadow: none !important;
  outline: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  position: relative !important;
}

/* Hover state */
.page-navigation .nav-button .wp-block-button__link:hover {
  border-color: #5A7FA7 !important;
  background: rgba(90, 127, 167, 0.05) !important;
  transform: translateY(-2px) !important;
  color: #2C3E50 !important;
}

/* Add arrows ONLY to the button link */
.page-navigation .wp-block-button.nav-button.prev .wp-block-button__link::before {
  content: "← ";
}

.page-navigation .wp-block-button.nav-button.next .wp-block-button__link::after {
  content: " →";
}

/* Mobile */
@media (max-width: 768px) {
  .page-navigation {
    flex-direction: column;
    padding: 0 20px;
  }
}
/* Force day header to full card width */
.preop-day-module .day-header.wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.preop-day-module .day-header .day-header-content {
  padding: 0 40px;
  max-width: 100%;
}
/* ============================================
   WEEK 1 - UPDATED TO TEAL COLOR
   ============================================ */

/* Week 1 Hero */
.medastra-hero-week1.wp-block-cover {
  min-height: 500px !important;
  padding: 80px 60px !important;
  align-items: center !important;
}

.medastra-hero-week1 .wp-block-cover__background {
  background: linear-gradient(135deg, rgba(58, 127, 143, 0.9) 0%, rgba(45, 102, 115, 0.85) 100%) !important;
  opacity: 1 !important;
}

.medastra-hero-week1 h1 {
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.medastra-hero-week1 .hero-subhead {
  font-size: 24px;
  color: #c9a14a;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
}

.medastra-hero-week1 .hero-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

/* Week 1 Overview Section */
.week1-overview-section {
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 0 40px;
  text-align: center;
}

.week1-overview-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 20px;
}

.week1-overview-section p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Week 1 Milestone Sections - Teal */
.week1-milestone-section {
  max-width: 900px;
  margin: 0 auto 60px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.week1-milestone-section .milestone-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(315deg, #26446a 0%, #3A7F8F 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.week1-milestone-section .milestone-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Week 1 Next Button */
.week1-next-btn.wp-block-button .wp-block-button__link {
  padding: 20px 50px !important;
  background: #3A7F8F !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 4px 15px rgba(58, 127, 143, 0.3) !important;
  transition: all 0.3s ease !important;
}

.week1-next-btn.wp-block-button .wp-block-button__link:hover {
  background: #2d6673 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(58, 127, 143, 0.4) !important;
}

.week1-next-btn .wp-block-button__link::after {
  content: " →";
  margin-left: 10px;
  font-size: 20px;
}
/* ============================================
   WEEK 1 - DAY PAGES
   ============================================ */

/* Week 1 Day Module Container */
.week1-day-module {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - Week 1 Teal */
.week1-day-module .day-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.week1-day-module .day-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.week1-day-module .day-header .day-header-content {
  padding: 0 40px;
  max-width: 100%;
}

/* Force Week 1 day header to full card width */
.week1-day-module .day-header.wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Week 1 Breadcrumb */
.week1-breadcrumb {
  background: transparent;
  padding: 20px 0;
  border-bottom: none;
  max-width: 900px;
  margin: 0 auto;
}

.week1-breadcrumb .breadcrumb {
  font-size: 14px;
  color: #666;
  padding: 0 20px;
}

.week1-breadcrumb .breadcrumb a {
  color: #3A7F8F;
  text-decoration: none;
  transition: color 0.2s;
}

.week1-breadcrumb .breadcrumb a:hover {
  color: #2d6673;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .medastra-hero-week1.wp-block-cover {
    min-height: 400px !important;
    padding: 50px 30px !important;
  }
  
  .medastra-hero-week1 h1 {
    font-size: 36px;
  }
  
  .medastra-hero-week1 .hero-subhead {
    font-size: 20px;
  }
  
  .week1-overview-section {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  
  .week1-overview-section h2 {
    font-size: 28px;
  }
  
  .week1-milestone-section {
    margin-bottom: 40px;
  }
  
  .week1-milestone-section .milestone-header {
    padding: 30px 20px;
  }
  
  .week1-milestone-section .milestone-header h2 {
    font-size: 26px;
  }
  
  .week1-milestone-section .milestone-body {
    padding: 30px 20px;
  }
  
  .week1-day-module {
    margin: 20px;
    border-radius: 6px;
  }
  
  .week1-day-module .day-header {
    padding: 30px 20px;
  }
  
  .week1-day-module .day-header .day-header-content {
    padding: 0 20px;
  }
  
  .week1-day-module .day-header h1 {
    font-size: 28px;
  }
  
  .week1-day-module .protocol-overview,
  .week1-day-module .education-section {
    padding: 30px 20px;
  }
  
  .week1-breadcrumb {
    padding: 15px 0;
  }
  
  .week1-breadcrumb .breadcrumb {
    padding: 0 20px;
    font-size: 13px;
  }
}

/* ============================================
   WEEK 2-4 - OVERVIEW PAGE (HUB)
   ============================================ */

/* Week 2-4 Hero */
.medastra-hero-week24.wp-block-cover {
  min-height: 500px !important;
  padding: 80px 60px !important;
  align-items: center !important;
}

.medastra-hero-week24 .wp-block-cover__background {
  background: linear-gradient(135deg, rgba(58, 127, 143, 0.9) 0%, rgba(201, 161, 74, 0.85) 100%) !important;
  opacity: 1 !important;
}

.medastra-hero-week24 h1 {
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.medastra-hero-week24 .hero-subhead {
  font-size: 24px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
  opacity: 0.95;
}

.medastra-hero-week24 .hero-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

/* Week 2-4 Overview Section */
.week24-overview-section {
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 0 40px;
  text-align: center;
}

.week24-overview-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 20px;
}

.week24-overview-section p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Week 2-4 Milestone Sections - Teal to Gold Gradient */
.week24-milestone-section {
  max-width: 900px;
  margin: 0 auto 60px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.week24-milestone-section .milestone-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #3A7F8F 0%, #c9a14a 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.week24-milestone-section .milestone-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Week 2-4 Next Button */
.week24-next-btn.wp-block-button .wp-block-button__link {
  padding: 20px 50px !important;
  background: linear-gradient(135deg, #3A7F8F 0%, #c9a14a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 4px 15px rgba(58, 127, 143, 0.3) !important;
  transition: all 0.3s ease !important;
}

.week24-next-btn.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(58, 127, 143, 0.4) !important;
}

.week24-next-btn .wp-block-button__link::after {
  content: " →";
  margin-left: 10px;
  font-size: 20px;
}

/* ============================================
   WEEK 2-4 - DAY PAGES
   ============================================ */

/* Week 2-4 Day Module Container */
.week24-day-module {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - Week 2-4 Gradient */
.week24-day-module .day-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #3A7F8F 0%, #c9a14a 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.week24-day-module .day-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.week24-day-module .day-header .day-header-content {
  padding: 0 40px;
  max-width: 100%;
}

/* Week 2-4 Breadcrumb */
.week24-breadcrumb {
  background: transparent;
  padding: 20px 0;
  border-bottom: none;
  max-width: 900px;
  margin: 0 auto;
}

.week24-breadcrumb .breadcrumb {
  font-size: 14px;
  color: #666;
  padding: 0 20px;
}

.week24-breadcrumb .breadcrumb a {
  color: #3A7F8F;
  text-decoration: none;
  transition: color 0.2s;
}

.week24-breadcrumb .breadcrumb a:hover {
  color: #2d6673;
}

/* ============================================
   COMPLETE PROTOCOL PAGE
   ============================================ */

/* Complete Protocol Hero */
.medastra-hero-complete.wp-block-cover {
  min-height: 400px !important;
  padding: 60px 60px !important;
  align-items: center !important;
}

.medastra-hero-complete .wp-block-cover__background {
  background: linear-gradient(135deg, rgba(44, 95, 79, 0.85) 0%, rgba(26, 61, 51, 0.75) 100%) !important;
  opacity: 1 !important;
}

.medastra-hero-complete h1 {
  font-size: 48px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.medastra-hero-complete .hero-subhead {
  font-size: 20px;
  color: #c9a14a;
  font-weight: 500;
  line-height: 1.4;
}

/* Complete Protocol Content Area */
.complete-protocol-content {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 40px;
}

.complete-protocol-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #2C3E50;
  margin: 60px 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #c9a14a;
}

.complete-protocol-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #c9a14a;
  margin: 40px 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.complete-protocol-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  margin: 25px 0 15px 0;
}

.complete-protocol-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.complete-protocol-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Phase Dividers */
.protocol-phase-divider {
  max-width: 1000px;
  margin: 80px auto 40px;
  padding: 30px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eef2 100%);
  border-left: 5px solid #c9a14a;
  border-radius: 8px;
}

.protocol-phase-divider h2 {
  margin: 0 0 10px 0;
  border: none;
  padding: 0;
}

.protocol-phase-divider p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

/* Print Styles for Complete Protocol */
@media print {
  .complete-protocol-content {
    max-width: 100%;
    padding: 0;
  }
  
  .medastra-hero-complete {
    min-height: 200px !important;
    padding: 30px !important;
  }
  
  .complete-protocol-content h2 {
    page-break-before: always;
    margin-top: 0;
  }
}

/* ============================================
   MOBILE RESPONSIVE - ALL PAGES
   ============================================ */

@media (max-width: 768px) {
  /* Week Heroes */
  .medastra-hero-week1.wp-block-cover,
  .medastra-hero-week24.wp-block-cover,
  .medastra-hero-complete.wp-block-cover {
    min-height: 400px !important;
    padding: 50px 30px !important;
  }
  
  .medastra-hero-week1 h1,
  .medastra-hero-week24 h1 {
    font-size: 36px;
  }
  
  .medastra-hero-complete h1 {
    font-size: 32px;
  }
  
  .medastra-hero-week1 .hero-subhead,
  .medastra-hero-week24 .hero-subhead,
  .medastra-hero-complete .hero-subhead {
    font-size: 20px;
  }
  
  /* Overview Sections */
  .week1-overview-section,
  .week24-overview-section {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  
  .week1-overview-section h2,
  .week24-overview-section h2 {
    font-size: 28px;
  }
  
  /* Milestone Sections */
  .week1-milestone-section,
  .week24-milestone-section {
    margin-bottom: 40px;
  }
  
  .week1-milestone-section .milestone-header,
  .week24-milestone-section .milestone-header {
    padding: 30px 20px;
  }
  
  .week1-milestone-section .milestone-header h2,
  .week24-milestone-section .milestone-header h2 {
    font-size: 26px;
  }
  
  .week1-milestone-section .milestone-body,
  .week24-milestone-section .milestone-body {
    padding: 30px 20px;
  }
  
  /* Day Modules */
  .week1-day-module,
  .week24-day-module {
    margin: 20px;
    border-radius: 6px;
  }
  
  .week1-day-module .day-header,
  .week24-day-module .day-header {
    padding: 30px 20px;
  }
  
  .week1-day-module .day-header .day-header-content,
  .week24-day-module .day-header .day-header-content {
    padding: 0 20px;
  }
  
  .week1-day-module .day-header h1,
  .week24-day-module .day-header h1 {
    font-size: 28px;
  }
  
  .week1-day-module .protocol-overview,
  .week1-day-module .education-section,
  .week24-day-module .protocol-overview,
  .week24-day-module .education-section {
    padding: 30px 20px;
  }
  
  /* Breadcrumbs */
  .week1-breadcrumb,
  .week24-breadcrumb {
    padding: 15px 0;
  }
  
  .week1-breadcrumb .breadcrumb,
  .week24-breadcrumb .breadcrumb {
    padding: 0 20px;
    font-size: 13px;
  }
  
  /* Complete Protocol */
  .complete-protocol-content {
    padding: 0 20px;
  }
  
  .complete-protocol-content h2 {
    font-size: 28px;
    margin-top: 40px;
  }
  
  .complete-protocol-content h3 {
    font-size: 20px;
  }
  
  .protocol-phase-divider {
    padding: 20px;
    margin: 60px auto 30px;
  }
}
/* ============================================
   INFO SUMMARY SECTIONS (NON-CHECKLIST)
   ============================================ */

/* General Info Summary Box */
.info-summary {
  background: linear-gradient(135deg, #faf7f0 0%, #f5f0e6 100%);
  border-left: 5px solid #c9a14a;
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-summary h3 {
  font-size: 20px;
  font-weight: 600;
  color: #c9a14a;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-summary p {
  font-size: 16px;
  line-height: 1.8;
  color: #2C3E50;
  margin-bottom: 15px;
}

.info-summary p:last-child {
  margin-bottom: 0;
}

.info-summary strong {
  color: #2C3E50;
  font-weight: 600;
}

.info-summary em {
  color: #666;
  font-style: italic;
}

/* Supplement-Specific Info Box */
.supplement-info {
  background: #f0f9f4;
  border-left: 5px solid #4A9B7F;
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.supplement-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #4A9B7F;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplement-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #2C3E50;
  margin-bottom: 15px;
}

.supplement-info p:last-child {
  margin-bottom: 0;
}

/* Supplement Item Styling */
.supplement-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(74, 155, 127, 0.2);
}

.supplement-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.supplement-name {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 8px;
  display: block;
}

.supplement-purpose {
  font-size: 15px;
  color: #666;
  margin-bottom: 10px;
  font-style: italic;
}

.supplement-dosage {
  font-size: 15px;
  color: #2C3E50;
  line-height: 1.6;
}

.supplement-dosage strong {
  color: #4A9B7F;
  font-weight: 600;
}

/* Important Note Box */
.important-note {
  background: #fff8e8;
  border-left: 5px solid #c9a14a;
  padding: 25px;
  margin: 30px 0;
  border-radius: 8px;
}

.important-note h4 {
  font-size: 16px;
  font-weight: 600;
  color: #c9a14a;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.important-note p {
  font-size: 15px;
  line-height: 1.7;
  color: #2C3E50;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .info-summary,
  .supplement-info,
  .important-note {
    padding: 20px;
    margin: 20px 0;
  }
  
  .info-summary h3,
  .supplement-info h3 {
    font-size: 18px;
  }
  
  .supplement-name {
    font-size: 16px;
  }
}
/* ============================================
   DAY OVERVIEW SECTION
   ============================================ */

/* Overview section - goes before daily actions */
.day-overview {
  padding: 40px;
  margin-bottom: 0;
  background: #fafbfc;
  border-bottom: 2px solid #f0f0f0;
}

.day-overview h2 {
  color: #2C3E50;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-overview p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 15px;
}

.day-overview p:last-child {
  margin-bottom: 0;
}

.day-overview strong {
  color: #2C3E50;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .day-overview {
    padding: 30px 20px;
  }
  
  .day-overview h2 {
    font-size: 20px;
  }
}
/* Update alert box text sizing to match lists */
.alert-box p {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

.alert-box strong {
  display: block;
  margin-bottom: 8px;
  color: #2C3E50;
  font-size: 16px;
  font-weight: 600;
}

.alert-box ul,
.alert-box ol {
  margin: 10px 0 0 0;
  padding-left: 25px;
  font-size: 16px;
}

.alert-box li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================
   MULTI-COLUMN LIST - FIXED
   ============================================ */

/* Two-column list - class on the list itself */
ul.list-columns {
  column-count: 2;
  column-gap: 40px;
}

ul.list-columns li {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* OR if class is on parent container */
.list-columns ul {
  column-count: 2;
  column-gap: 40px;
}

.list-columns li {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Three-column version */
ul.list-columns-3 {
  column-count: 3;
  column-gap: 30px;
}

ul.list-columns-3 li {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Mobile - back to single column */
@media (max-width: 768px) {
  ul.list-columns,
  ul.list-columns-3,
  .list-columns ul,
  .list-columns-3 ul {
    column-count: 1;
  }
}
/* Reduce spacing between education section heading and content */
.expandable-content summary {
  padding: 24px 0 12px 30px; /* Changed bottom padding from 24px to 12px */
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
  user-select: none;
}

.content-inner {
  padding: 0 0 30px 30px; /* Top padding already 0, this is fine */
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.8;
}

/* Mobile */
@media (max-width: 768px) {
  .expandable-content summary {
    font-size: 16px;
    padding: 24px 0 12px 25px; /* Match the reduced spacing */
  }
  
  .content-inner {
    padding: 0 0 30px 25px;
  }
}
/* Reduce spacing between summary and content when opened */
.expandable-content summary {
  padding: 24px 0 12px 30px; /* Keep 24px top, reduce bottom to 12px */
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
  user-select: none;
}

/* Reduce top margin on first element after summary */
.expandable-content[open] summary {
  margin-bottom: 8px; /* Add small margin when open */
}

.expandable-content p:first-of-type {
  margin-top: 0; /* Remove default top margin on first paragraph */
}

/* Mobile */
@media (max-width: 768px) {
  .expandable-content summary {
    font-size: 16px;
    padding: 24px 0 12px 25px;
  }
}
/* ============================================
   IMAGES & VIDEOS - DAILY PAGES
   ============================================ */

/* Single image in content */
.protocol-overview img,
.education-section img,
.day-overview img,
.content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 20px 0;
}

/* Image with caption */
.wp-block-image figcaption {
  font-size: 14px;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Full-width instructional images */
.instruction-image {
  margin: 30px 0;
}

.instruction-image img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Before/After image pairs */
.image-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.image-comparison figure {
  margin: 0;
}

.image-comparison img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-comparison figcaption {
  font-size: 14px;
  color: #2C3E50;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

/* Image gallery (3 columns) */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.image-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Video embeds (YouTube, Vimeo, etc.) */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Video with caption */
.video-container {
  margin: 30px 0;
}

.video-container figcaption {
  font-size: 14px;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}

/* Alert box with image */
.alert-box img {
  margin: 15px 0 10px 0;
  border-radius: 6px;
}

/* Step-by-step instructional images */
.step-image {
  margin: 20px 0;
  text-align: center;
}

.step-image img {
  max-width: 500px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #c9a14a;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .image-comparison {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .instruction-image img {
    max-width: 100%;
  }
  
  .step-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}
/* Force Week 1 day header to full card width */
.week1-day-module .day-header.wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.week1-day-module .day-header .day-header-content {
  padding: 0 40px;
  max-width: 100%;
}

/* Same fix for Week 2-4 */
.week24-day-module .day-header.wp-block-group {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.week24-day-module .day-header .day-header-content {
  padding: 0 40px;
  max-width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .week1-day-module .day-header .day-header-content,
  .week24-day-module .day-header .day-header-content {
    padding: 0 20px;
  }
}
/* Force emergency alert header to full card width */
.emergency-alert-header.wp-block-group,
.emergency-alert-header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* If header has inner content wrapper */
.emergency-alert-header > * {
  padding: 20px 30px;
  position: relative;
  z-index: 2;
}

/* Mobile */
@media (max-width: 768px) {
  .emergency-alert-header > * {
    padding: 15px 20px;
  }
}
/* ============================================
   EMERGENCY ALERT BOX - REDESIGNED
   ============================================ */

/* Emergency alert - styled like milestone sections */
.emergency-alert {
  max-width: 900px;
  margin: 0 auto 60px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.emergency-alert-header {
  padding: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #d9534f 0%, #b93a3a 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.emergency-alert-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.emergency-alert-header h3,
.emergency-alert-header h4 {
  position: relative;
  z-index: 2;
  color: #ffffff;
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.emergency-alert-body {
  padding: 40px;
}

.emergency-alert-body > p:first-child {
  font-size: 18px;
  color: #2C3E50;
  line-height: 1.7;
  margin-bottom: 25px;
  font-weight: 500;
}

.emergency-alert-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.emergency-alert-body li {
  padding: 15px 0 15px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
  border-bottom: 1px solid #f0f0f0;
}

.emergency-alert-body li:last-child {
  border-bottom: none;
}

.emergency-alert-body li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-size: 20px;
  font-weight: bold;
}

/* Warning variant (yellow/gold) */
.warning-alert .emergency-alert-header {
  background: linear-gradient(135deg, #f0ad4e 0%, #d99636 100%);
}

.warning-alert .emergency-alert-body li:before {
  color: #f0ad4e;
}

/* Success/Info variant (green) */
.success-alert .emergency-alert-header {
  background: linear-gradient(135deg, #4A9B7F 0%, #3d8269 100%);
}

.success-alert .emergency-alert-body li:before {
  color: #4A9B7F;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .emergency-alert {
    margin-bottom: 40px;
  }
  
  .emergency-alert-header {
    padding: 30px 20px;
  }
  
  .emergency-alert-header h3,
  .emergency-alert-header h4 {
    font-size: 26px;
  }
  
  .emergency-alert-body {
    padding: 30px 20px;
  }
}
/* Bulleted list in day-overview - gold bullets */
.day-overview ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.day-overview li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.day-overview li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}
/* ============================================
   NUMBERED LIST WITH GOLD NUMBERS
   ============================================ */

/* General numbered list - gold numbers */
ol.gold-numbers {
  counter-reset: gold-counter;
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

ol.gold-numbers li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #2C3E50;
}

ol.gold-numbers li:before {
  counter-increment: gold-counter;
  content: counter(gold-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list specifically in day-overview */
.day-overview ol {
  counter-reset: overview-counter;
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.day-overview ol li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.day-overview ol li:before {
  counter-increment: overview-counter;
  content: counter(overview-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list in protocol sections */
.protocol-overview ol,
.time-block ol {
  counter-reset: protocol-counter;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.protocol-overview ol li,
.time-block ol li {
  padding: 10px 0 10px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

.protocol-overview ol li:before,
.time-block ol li:before {
  counter-increment: protocol-counter;
  content: counter(protocol-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list in education sections */
.education-section ol,
.content-inner ol {
  counter-reset: education-counter;
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.education-section ol li,
.content-inner ol li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}

.education-section ol li:before,
.content-inner ol li:before {
  counter-increment: education-counter;
  content: counter(education-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
/* ============================================
   NUMBERED LIST WITH GOLD NUMBERS - INDENTED
   ============================================ */

/* General numbered list - gold numbers */
ol.gold-numbers {
  counter-reset: gold-counter;
  list-style: none;
  padding-left: 0;
  margin: 20px 0 20px 20px; /* Added 20px left margin for indent */
}

ol.gold-numbers li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #2C3E50;
}

ol.gold-numbers li:before {
  counter-increment: gold-counter;
  content: counter(gold-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list specifically in day-overview */
.day-overview ol {
  counter-reset: overview-counter;
  list-style: none;
  padding-left: 0;
  margin: 20px 0 20px 20px; /* Added 20px left margin for indent */
}

.day-overview ol li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.day-overview ol li:before {
  counter-increment: overview-counter;
  content: counter(overview-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list in protocol sections */
.protocol-overview ol,
.time-block ol {
  counter-reset: protocol-counter;
  list-style: none;
  padding-left: 0;
  margin: 0 0 0 20px; /* Added 20px left margin for indent */
}

.protocol-overview ol li,
.time-block ol li {
  padding: 10px 0 10px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

.protocol-overview ol li:before,
.time-block ol li:before {
  counter-increment: protocol-counter;
  content: counter(protocol-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Numbered list in education sections */
.education-section ol,
.content-inner ol {
  counter-reset: education-counter;
  list-style: none;
  padding-left: 0;
  margin: 15px 0 15px 20px; /* Added 20px left margin for indent */
}

.education-section ol li,
.content-inner ol li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}

.education-section ol li:before,
.content-inner ol li:before {
  counter-increment: education-counter;
  content: counter(education-counter) ".";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
/* ============================================
   EDUCATION SECTION TEXT SIZE - CONSISTENT (UPDATED)
   ============================================ */

/* Override all education section text to be 16px */
.expandable-content .content-inner,
.education-section .content-inner,
.milestone-body .content-inner {
  padding: 0 0 30px 30px;
  color: #4a4a4a !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.expandable-content .content-inner p,
.education-section .content-inner p,
.milestone-body .content-inner p,
.expandable-content p,
.expandable-content div p {
  margin-bottom: 20px;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #4a4a4a !important;
}

.expandable-content .content-inner h4,
.education-section .content-inner h4,
.milestone-body .content-inner h4 {
  color: #2C3E50;
  font-size: 17px !important;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
}

.expandable-content .content-inner ul,
.expandable-content .content-inner ol,
.education-section .content-inner ul,
.education-section .content-inner ol,
.milestone-body .content-inner ul,
.milestone-body .content-inner ol {
  margin: 15px 0 15px 20px;
  padding-left: 0;
}

.expandable-content .content-inner li,
.education-section .content-inner li,
.milestone-body .content-inner li,
.expandable-content li,
.expandable-content ul li,
.expandable-content ol li {
  margin-bottom: 10px;
  line-height: 1.7 !important;
  font-size: 16px !important;
  color: #4a4a4a !important;
}

.expandable-content .content-inner strong,
.education-section .content-inner strong,
.milestone-body .content-inner strong {
  color: #2C3E50;
  font-weight: 600;
}

/* Expandable content summary stays at 18px for emphasis */
.expandable-content summary {
  padding: 24px 0 12px 30px;
  cursor: pointer;
  font-size: 18px !important;
  font-weight: 600;
  color: #2C3E50;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
  user-select: none;
}

/* Mobile */
@media (max-width: 768px) {
  .expandable-content summary {
    font-size: 16px !important;
    padding: 24px 0 12px 25px;
  }
  
  .expandable-content .content-inner,
  .education-section .content-inner,
  .milestone-body .content-inner {
    padding: 0 0 30px 25px;
  }
}
/* ============================================
   TABLES - GOLD HEADERS
   ============================================ */

/* Basic table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Gold header row */
thead {
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%);
  color: #ffffff;
}

thead th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #b08939;
}

/* Table body */
tbody tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background-color 0.2s ease;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background-color: #fafbfc;
}

tbody td {
  padding: 15px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

/* Striped rows variant */
table.striped tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

table.striped tbody tr:nth-child(even):hover {
  background-color: #f0f2f4;
}

/* Compact table variant */
table.compact thead th {
  padding: 12px 15px;
  font-size: 14px;
}

table.compact tbody td {
  padding: 10px 15px;
  font-size: 15px;
}

/* Bordered table variant */
table.bordered {
  border: 2px solid #e8e8e8;
}

table.bordered thead th,
table.bordered tbody td {
  border-right: 1px solid #e8e8e8;
}

table.bordered thead th:last-child,
table.bordered tbody td:last-child {
  border-right: none;
}

/* Center-aligned cells */
table td.center,
table th.center {
  text-align: center;
}

/* Right-aligned cells */
table td.right,
table th.right {
  text-align: right;
}

/* Strong text in cells */
tbody td strong {
  color: #2C3E50;
  font-weight: 600;
}

/* Links in tables */
tbody td a {
  color: #c9a14a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

tbody td a:hover {
  color: #b08939;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Stack table on mobile */
  table.responsive {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table.responsive thead {
    display: none;
  }
  
  table.responsive tbody,
  table.responsive tr,
  table.responsive td {
    display: block;
    width: 100%;
  }
  
  table.responsive tr {
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
  }
  
  table.responsive td {
    text-align: right;
    padding: 12px 15px;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
  }
  
  table.responsive td:last-child {
    border-bottom: none;
  }
  
  table.responsive td:before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    color: #c9a14a;
    letter-spacing: 0.5px;
  }
  
  /* For non-responsive tables, just allow horizontal scroll */
  table:not(.responsive) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  thead th,
  tbody td {
    padding: 12px 15px;
    font-size: 14px;
  }
}
/* ============================================
   EDUCATIONAL PILLARS - STACKED HORIZONTAL (COMPLETE)
   ============================================ */

/* Container */
.educational-pillars {
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
}

/* Individual pillar - full width, horizontal layout */
.pillar {
  display: flex;
  gap: 25px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-left: 5px solid #c9a14a;
}

.pillar:last-child {
  margin-bottom: 0;
}

/* Icon on the left */
.pillar-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%);
  border-radius: 50%;
  font-size: 32px;
  color: #ffffff;
}

/* Content area - flexible width */
.pillar-content-wrapper {
  flex: 1;
}

/* Pillar heading */
.pillar-content-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Content */
.pillar-content {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.pillar-content p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

.pillar-content p:last-child {
  margin-bottom: 0;
}

/* Lists in pillars */
.pillar-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.pillar-content li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.pillar-content li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}

/* Timeline table - now has full width */
.pillar-content .timeline-table {
  width: 100%;
  margin: 15px 0 0 0;
  border-collapse: collapse;
}

.pillar-content .timeline-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.pillar-content .timeline-table tbody tr:last-child {
  border-bottom: none;
}

.pillar-content .timeline-table td {
  padding: 12px 15px 12px 0;
  font-size: 16px;
  line-height: 1.6;
  border: none;
  background: transparent;
}

.pillar-content .timeline-table td:first-child {
  font-weight: 600;
  color: #2C3E50;
  width: 60%;
}

.pillar-content .timeline-table td:last-child {
  color: #c9a14a;
  font-weight: 600;
  width: 40%;
  text-align: right;
}

.pillar-content .timeline-table tbody tr:hover {
  background: transparent;
}

/* ============================================
   COLOR VARIANTS
   ============================================ */

/* When Can I pillar - Teal */
.pillar.when-can-i {
  border-left-color: #3A7F8F;
}

.pillar.when-can-i .pillar-icon {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
}

/* What to Expect pillar - Purple */
.pillar.what-to-expect {
  border-left-color: #5A7FA7;
}

.pillar.what-to-expect .pillar-icon {
  background: linear-gradient(135deg, #5A7FA7 0%, #3d5573 100%);
}

/* Why This Matters pillar - Gold */
.pillar.why-this-matters {
  border-left-color: #c9a14a;
}

.pillar.why-this-matters .pillar-icon {
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .pillar {
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
  }
  
  .pillar-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin: 0 auto;
  }
  
  .pillar-content-wrapper h3 {
    text-align: center;
    font-size: 18px;
  }
  
  .pillar-content .timeline-table td:first-child {
    width: 50%;
  }
  
  .pillar-content .timeline-table td:last-child {
    width: 50%;
  }
}
/* Protocol section header with icon */
.protocol-overview h2::before {
  content: "📋";
  margin-right: 12px;
  font-size: 24px;
  vertical-align: middle;
}


/* Stylized section divider */
.section-divider {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9a14a, transparent);
  margin: 0 auto;
}
/* ============================================
   EDUCATION SECTION HEADER - NO CARD
   ============================================ */

/* Education section - clean, no background */
.education-section {
  padding: 40px 0 40px 0;
  margin: 0;
  background: transparent;
}

/* Education section header */
.education-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

/* Optional: Add icon before heading */
.education-section h2::before {
  content: "📚 ";
  margin-right: 10px;
  font-size: 24px;
}

/* Optional: Add gradient accent line under heading */
.education-section h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #c9a14a, transparent);
}

/* Mobile */
@media (max-width: 768px) {
  .education-section {
    padding: 30px 0;
  }
  
  .education-section h2 {
    font-size: 20px;
  }
}

.education-section > h2:first-child::before {
  content: "📚";
  margin-right: 12px;
  font-size: 24px;
  vertical-align: middle;
}

/* Expandable items below header */
.education-section .expandable-content {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
  transition: all 0.2s ease;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.education-section .expandable-content:hover {
  background: #fafbfc;
  padding-left: 10px;
  border-left: 3px solid #c9a14a;
}

.education-section .expandable-content:last-child {
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .education-section {
    margin: 40px 0 30px 0;
  }
  
  .education-section > h2:first-child {
    padding: 18px 25px;
    font-size: 18px;
  }
}
.education-section-content.wp-block-group {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Maintain padding on the actual content area */
.education-section-content {
  padding: 20px 40px 30px;
}
/* ============================================
   WHEN CAN I - TIMELINE COMPONENT
   ============================================ */

.timeline-component {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Header bar */
.timeline-component-header {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.timeline-component-header h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-icon {
  font-size: 24px;
}

/* Timeline body */
.timeline-component-body {
  padding: 0;
}

/* Timeline rows */
.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-row:hover {
  background: #fafbfc;
}

/* Activity name */
.timeline-activity {
  font-size: 16px;
  color: #2C3E50;
  font-weight: 500;
  flex: 1;
  padding-right: 20px;
}

/* Timing badge */
.timeline-when {
  font-size: 14px;
  font-weight: 600;
  color: #3A7F8F;
  background: rgba(58, 127, 143, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Alternate timing colors for variety */
.timeline-row.soon .timeline-when {
  color: #4A9B7F;
  background: rgba(74, 155, 127, 0.1);
}

.timeline-row.later .timeline-when {
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-component-header {
    padding: 18px 20px;
  }
  
  .timeline-component-header h3 {
    font-size: 16px;
  }
  
  .timeline-row {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .timeline-activity {
    padding-right: 0;
  }
}
/* ============================================
   WHEN CAN I - EXPANDABLE TIMELINE COMPONENT
   ============================================ */

.timeline-component {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Header/Summary - the clickable part */
.timeline-component summary {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.timeline-component summary::-webkit-details-marker {
  display: none;
}

.timeline-component summary:hover {
  background: linear-gradient(135deg, #2d6673 0%, #245259 100%);
}

.timeline-component summary h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.timeline-component .timeline-icon {
  font-size: 24px;
  margin: 0;
}

/* Arrow indicator */
.timeline-component summary::after {
  content: "▼";
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.timeline-component[open] summary::after {
  transform: rotate(180deg);
}

/* Timeline body - the expandable content */
.timeline-component-body {
  padding: 0;
}

/* Timeline rows */
.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-row:hover {
  background: #fafbfc;
}

/* Activity name */
.timeline-activity {
  font-size: 16px;
  color: #2C3E50;
  font-weight: 500;
  flex: 1;
  padding-right: 20px;
  margin: 0;
}

/* Timing badge */
.timeline-when {
  font-size: 14px;
  font-weight: 600;
  color: #3A7F8F;
  background: rgba(58, 127, 143, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  margin: 0;
}

/* Color variants for timing */
.timeline-row.soon .timeline-when {
  color: #4A9B7F;
  background: rgba(74, 155, 127, 0.1);
}

.timeline-row.later .timeline-when {
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-component summary {
    padding: 18px 20px;
  }
  
  .timeline-component summary h3 {
    font-size: 16px;
  }
  
  .timeline-row {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .timeline-activity {
    padding-right: 0;
  }
}
/* ============================================
   QUICK REFERENCE PANEL - CONTAINER
   ============================================ */

.quick-reference-panel {
  max-width: 900px;
  margin: 40px auto;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Adjust spacing for expandables inside the panel */
.quick-reference-panel .timeline-component,
.quick-reference-panel .info-expandable {
  margin: 0 0 15px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.quick-reference-panel .timeline-component:last-child,
.quick-reference-panel .info-expandable:last-child {
  margin-bottom: 0;
}

/* Optional: Panel header */
.quick-reference-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e8e8e8;
}

.quick-reference-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}
/* ============================================
   EXPANDABLE INFO COMPONENTS
   (What to Expect, Why This Matters)
   ============================================ */

/* Shared base styles */
.info-expandable {
  max-width: 900px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.info-expandable summary {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.info-expandable summary::-webkit-details-marker {
  display: none;
}

.info-expandable summary h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.info-expandable .info-icon {
  font-size: 24px;
  margin: 0;
}

/* Arrow indicator */
.info-expandable summary::after {
  content: "▼";
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.info-expandable[open] summary::after {
  transform: rotate(180deg);
}

/* Content body */
.info-expandable-body {
  padding: 0px 30px 30px;
}

.info-expandable-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 15px;
}

.info-expandable-body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   WHAT TO EXPECT - Purple/Blue Theme
   ============================================ */

.what-to-expect-expandable summary {
  background: linear-gradient(135deg, #5A7FA7 0%, #3d5573 100%);
}

.what-to-expect-expandable summary:hover {
  background: linear-gradient(135deg, #4a6a8f 0%, #2d4560 100%);
}

/* ============================================
   WHY THIS MATTERS - Gold Theme
   ============================================ */

.why-this-matters-expandable summary {
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%);
}

.why-this-matters-expandable summary:hover {
  background: linear-gradient(135deg, #b8923f 0%, #9a762e 100%);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .info-expandable summary {
    padding: 18px 20px;
  }
  
  .info-expandable summary h3 {
    font-size: 16px;
  }
  
  .info-expandable-body {
    padding: 20px;
  }
}
/* ============================================
   QUICK REFERENCE PANEL - CARD CONTAINER
   ============================================ */

.quick-reference-panel {
  max-width: 100%;
  margin: 40px 0;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Panel header */
.quick-reference-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e8e8e8;
}

.quick-reference-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Expandables fill the card width */
.quick-reference-panel .timeline-component,
.quick-reference-panel .info-expandable {
  margin: 0 0 15px 0;
  max-width: 100%;
}

.quick-reference-panel .timeline-component:last-child,
.quick-reference-panel .info-expandable:last-child {
  margin-bottom: 0;
}
/* ============================================
   EXPANDABLE COMPONENTS - OUTLINED STYLE
   ============================================ */

/* Shared base styles */
.quick-reference-panel .timeline-component,
.quick-reference-panel .info-expandable {
  margin: 0 0 15px 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  border: 2px solid;
  transition: all 0.2s ease;
}

.quick-reference-panel .timeline-component:last-child,
.quick-reference-panel .info-expandable:last-child {
  margin-bottom: 0;
}
/* Constrain expandables to match header width */
.quick-reference-panel .timeline-component,
.quick-reference-panel .info-expandable {
  margin: 0 0 10px 0;
  max-width: 650px;
}

.quick-reference-panel .timeline-component:last-child,
.quick-reference-panel .info-expandable:last-child {
  margin-bottom: 0;
}
/* Summary - outlined style */
.quick-reference-panel .timeline-component summary,
.quick-reference-panel .info-expandable summary {
  padding: 20px 30px 15px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
  background: transparent;
}

.quick-reference-panel .timeline-component summary::-webkit-details-marker,
.quick-reference-panel .info-expandable summary::-webkit-details-marker {
  display: none;
}

/* Arrow BEFORE the emoji */
.quick-reference-panel .timeline-component summary::before,
.quick-reference-panel .info-expandable summary::before {
  content: "▶";
  font-size: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.quick-reference-panel .timeline-component[open] summary::before,
.quick-reference-panel .info-expandable[open] summary::before {
  transform: rotate(90deg);
}

/* Remove the after arrow */
.quick-reference-panel .timeline-component summary::after,
.quick-reference-panel .info-expandable summary::after {
  display: none;
}

/* ============================================
   WHEN CAN I - TEAL OUTLINE
   ============================================ */

.quick-reference-panel .timeline-component {
  border-color: #3A7F8F;
}

.quick-reference-panel .timeline-component summary {
  color: #3A7F8F;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-reference-panel .timeline-component summary::before {
  color: #3A7F8F;
}

.quick-reference-panel .timeline-component summary:hover {
  background: rgba(58, 127, 143, 0.05);
}

/* ============================================
   WHAT TO EXPECT - PURPLE/BLUE OUTLINE
   ============================================ */

.quick-reference-panel .what-to-expect-expandable {
  border-color: #5A7FA7;
}

.quick-reference-panel .what-to-expect-expandable summary {
  color: #5A7FA7;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-reference-panel .what-to-expect-expandable summary::before {
  color: #5A7FA7;
}

.quick-reference-panel .what-to-expect-expandable summary:hover {
  background: rgba(90, 127, 167, 0.05);
}

/* ============================================
   WHY THIS MATTERS - GOLD OUTLINE
   ============================================ */

.quick-reference-panel .why-this-matters-expandable {
  border-color: #c9a14a;
}

.quick-reference-panel .why-this-matters-expandable summary {
  color: #c9a14a;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-reference-panel .why-this-matters-expandable summary::before {
  color: #c9a14a;
}

.quick-reference-panel .why-this-matters-expandable summary:hover {
  background: rgba(201, 161, 74, 0.05);
}

/* ============================================
   CONTENT BODY STYLES
   ============================================ */

/* Timeline body */
.quick-reference-panel .timeline-component-body {
  padding: 0;
  border-top: 1px solid #f0f0f0;
}

/* Timeline rows */
.quick-reference-panel .timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.quick-reference-panel .timeline-row:last-child {
  border-bottom: none;
}

.quick-reference-panel .timeline-row:hover {
  background: #fafbfc;
}

/* Activity name */
.quick-reference-panel .timeline-activity {
  font-size: 16px;
  color: #2C3E50;
  font-weight: 500;
  flex: 1;
  padding-right: 20px;
  margin: 0;
}

/* Timing badge */
.quick-reference-panel .timeline-when {
  font-size: 14px;
  font-weight: 600;
  color: #3A7F8F;
  background: rgba(58, 127, 143, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  margin: 0;
}

/* Color variants for timing */
.quick-reference-panel .timeline-row.soon .timeline-when {
  color: #4A9B7F;
  background: rgba(74, 155, 127, 0.1);
}

.quick-reference-panel .timeline-row.later .timeline-when {
  color: #c9a14a;
  background: rgba(201, 161, 74, 0.1);
}

/* Info expandable body */
.quick-reference-panel .info-expandable-body {
  padding: 0px 30px 25px !important;
  border-top: none !important;
  margin-top: 0 !important;
}

/* Shift list 30px right so bullets align with "Why This Matters" */
.quick-reference-panel .time-block ul {
  margin: 15px 0 15px 30px !important;
  padding-left: 0 !important;
}

/* "Day of surgery" aligns with bullets at 30px */
.quick-reference-panel .time-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 15px;
  padding-left: 30px;
}

.quick-reference-panel .info-expandable-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 15px;
}

.quick-reference-panel .info-expandable-body p:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.quick-reference-panel .info-expandable-body p:last-child {
  margin-bottom: 0;
}
/* Force any wrapper divs inside to have no top spacing */
.quick-reference-panel .info-expandable-body > div:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .quick-reference-panel {
    padding: 20px;
    margin: 30px auto;
  }
  
  .quick-reference-panel .timeline-component summary,
  .quick-reference-panel .info-expandable summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  
  .quick-reference-panel .timeline-row {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .quick-reference-panel .timeline-activity {
    padding-right: 0;
  }
  
  .quick-reference-panel .info-expandable-body {
    padding: 0px 20px 20px;
  }
}
/* ============================================
   RECOVERY TRACKER - WITH PHASE COLORS
   ============================================ */

/* Base tracker - default gradient */
div#recoveryTracker.recovery-tracker {
  background: linear-gradient(135deg, #4a6b7c 0%, #5a8ca0 100%) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin: 40px auto !important;
  max-width: 1400px !important;
  width: calc(100% - 80px) !important;
  color: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transition: background 0.3s ease !important;
}

/* Phase-specific colors - FROM PAGE HEADERS */
div#recoveryTracker.recovery-tracker.pre-surgery {
  background: linear-gradient(45deg, #26446a 0%, #3A7F8F 100%) !important;
}

div#recoveryTracker.recovery-tracker.week-1 {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%) !important;
}

div#recoveryTracker.recovery-tracker.week-2-4 {
  background: linear-gradient(135deg, #3A7F8F 0%, #c9a14a 100%) !important;
}

div#recoveryTracker.recovery-tracker.post-recovery {
  background: linear-gradient(135deg, #c9a14a 0%, #b08939 100%) !important;
}

/* Top section */
.tracker-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.tracker-info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  flex: 1;
}

.tracker-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.tracker-text {
  flex: 1;
  min-width: 0;
}

.tracker-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* Surgery date and surgeon row */
.tracker-details-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tracker-details-row p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  white-space: nowrap;
}

.tracker-details-row .surgeon-name {
  font-weight: 500;
}

/* Actions section */
.tracker-actions {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.tracker-edit {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #4a6b7c;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tracker-edit:hover {
  background: white;
  transform: translateY(-1px);
}

/* Progress section */
.tracker-progress {
  margin-bottom: 20px;
}

/* Progress header with phase badge */
.progress-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.tracker-phase {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.progress-track {
  background: rgba(255, 255, 255, 0.2);
  height: 8px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 12px;
}

.progress-fill {
  background: linear-gradient(90deg, #c9a14a 0%, #f0d98f 100%);
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
}

.progress-marker.current-marker {
  background: #c9a14a;
  box-shadow: 0 0 0 4px rgba(201, 161, 74, 0.3);
}

.progress-marker.surgery-marker {
  background: rgba(255, 255, 255, 0.5);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Emergency contact section */
.tracker-emergency {
  padding: 16px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0;
}

.tracker-emergency p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: center;
}

.tracker-emergency a {
  color: #f0d98f;
  text-decoration: none;
  font-weight: 600;
}

.tracker-emergency a:hover {
  text-decoration: underline;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  div#recoveryTracker.recovery-tracker {
    padding: 18px 20px !important;
    width: calc(100% - 40px) !important;
    margin: 30px auto !important;
  }
  
  .tracker-top {
    flex-direction: column;
  }
  
  .tracker-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .tracker-details-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .tracker-details-row p {
    white-space: normal;
  }
}
.tracker-text .procedure-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 5px 0 8px 0;
  font-weight: 500;
  font-style: italic;
}

/* Hide in print */
@media print {
  .recovery-tracker {
    display: none !important;
  }
}
/* ============================================
   WELCOME MODAL - ENHANCED STYLING
   ============================================ */

.welcome-modal-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.welcome-modal {
  max-width: 520px !important;
  padding: 50px !important;
}

.welcome-modal .welcome-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.welcome-modal h2 {
  font-size: 28px !important;
  margin-bottom: 20px !important;
  color: #2C3E50;
}

.welcome-modal p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 15px;
}

.welcome-modal .welcome-subtext {
  font-size: 14px;
  color: #999;
  font-style: italic;
  margin-bottom: 25px;
}

.welcome-modal .welcome-skip {
  margin-top: 20px;
  margin-bottom: 0;
}

.welcome-modal .welcome-skip a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.welcome-modal .welcome-skip a:hover {
  color: #666;
}

/* Mobile */
@media (max-width: 768px) {
  .welcome-modal {
    padding: 35px 25px !important;
  }
  
  .welcome-modal .welcome-icon {
    font-size: 40px;
  }
  
  .welcome-modal h2 {
    font-size: 24px !important;
  }
}
/* ============================================
   SURGERY MODAL STYLES
   ============================================ */

/* Modal Overlay */
.surgery-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.surgery-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */
.surgery-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.surgery-modal-overlay.active .surgery-modal {
  transform: translateY(0);
}

.surgery-modal h2 {
  color: #2C3E50;
  font-size: 24px;
  margin: 0 0 15px 0;
}

.surgery-modal p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

.surgery-modal input[type="date"] {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.surgery-modal input[type="date"]:focus {
  outline: none;
  border-color: #3A7F8F;
}

.surgery-modal-btn {
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.surgery-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 127, 143, 0.3);
}

.surgery-modal-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================
   WELCOME MODAL - ENHANCED STYLING
   ============================================ */

.welcome-modal-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.welcome-modal {
  max-width: 520px !important;
  padding: 50px !important;
}

.welcome-modal .welcome-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.welcome-modal h2 {
  font-size: 28px !important;
  margin-bottom: 20px !important;
  color: #2C3E50;
}

.welcome-modal p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 15px;
}

.welcome-modal .welcome-subtext {
  font-size: 14px;
  color: #999;
  font-style: italic;
  margin-bottom: 25px;
}

.welcome-modal .welcome-skip {
  margin-top: 20px;
  margin-bottom: 0;
}

.welcome-modal .welcome-skip a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.welcome-modal .welcome-skip a:hover {
  color: #666;
}

/* Mobile */
@media (max-width: 768px) {
  .welcome-modal {
    padding: 35px 25px !important;
  }
  
  .welcome-modal .welcome-icon {
    font-size: 40px;
  }
  
  .welcome-modal h2 {
    font-size: 24px !important;
  }
}
/* Progress Bar Container */
.tracker-progress {
  width: 100%;
  margin-top: 20px;
}

.tracker-progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: visible;
}

.tracker-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  transition: width 0.5s ease;
  width: 0%;
}

.tracker-progress-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: left 0.5s ease;
  left: 0%;
}

.tracker-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.tracker-progress-label.active {
  opacity: 1;
  font-weight: 700;
}
/* Current position marker (moves) */
.progress-marker.current-marker {
  background: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.5);
  z-index: 3;
}

/* Surgery day marker (fixed) */
.progress-marker.surgery-marker {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 2px;
  height: 24px;
  border-radius: 0;
  z-index: 2;
}
/* Alert box list styling - remove double bullets */
.alert-box ul,
.alert-box.warning ul {
  list-style: none !important;
  margin: 15px 0 0 0 !important;
  padding-left: 0 !important;
}

.alert-box li,
.alert-box.warning li {
  padding: 10px 0 10px 28px !important;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
  margin-bottom: 8px;
}

.alert-box li:before,
.alert-box.warning li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-size: 24px;
  line-height: 1.3;
  font-weight: bold;
}
/* Alert box - light red background */
.alert-box,
.alert-box.warning {
  background: #fff5f5 !important;
  border: 2px solid #fecaca !important;
  border-left: 5px solid #d9534f !important;
  padding: 25px !important;
  margin: 25px 0 !important;
  border-radius: 8px !important;
}

.alert-box p,
.alert-box.warning p {
  color: #2C3E50;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
/* Alert box heading - red like time-block-warning */
.alert-box h3,
.alert-box.warning h3 {
  color: #d9534f;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* ============================================
   BREADCRUMB WITH ACTION BUTTONS - FIXED
   ============================================ */
/* Target the inner group that contains breadcrumb + buttons */
.week24-breadcrumb .breadcrumb-container,
.week1-breadcrumb .breadcrumb-container,
.preop-breadcrumb .breadcrumb-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

/* Make sure the breadcrumb paragraph doesn't take full width */
.breadcrumb-container .breadcrumb {
  margin: 0 !important;
  flex: 1 !important;
  min-width: 200px !important;
}

/* Buttons container */
.breadcrumb-actions {
  display: flex !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
}

/* Remove default WordPress button block styling */
.breadcrumb-actions .wp-block-button {
  margin: 0 !important;
}

.breadcrumb-actions .wp-block-button__link {
  background: transparent !important;
  border: 1px solid #e0e0e0 !important;
  color: #4a4a4a !important;
  padding: 8px 12px !important;
  font-size: 18px !important;
  border-radius: 6px !important;
  min-width: auto !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.breadcrumb-actions .wp-block-button__link:hover {
  background: #f8f9fa !important;
  border-color: #3A7F8F !important;
  color: #3A7F8F !important;
}

/* Hide buttons when printing */
@media print {
  .breadcrumb-actions {
    display: none !important;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .week24-breadcrumb .breadcrumb-container,
  .week1-breadcrumb .breadcrumb-container,
  .preop-breadcrumb .breadcrumb-container {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .breadcrumb-actions {
    align-self: flex-end !important;
  }
}
/* ============================================
   PRINT STYLES - UPDATED
   ============================================ */
@media print {
  /* Hide navigation, headers, footers */
  .preop-breadcrumb,
  .week1-breadcrumb,
  .week24-breadcrumb,
  .page-navigation,
  .recovery-tracker,
  .quick-reference-panel,
  header,
  footer,
  nav,
  .tracker-edit,
  .print-page-btn {
    display: none !important;
  }
  
  /* Force all expandable sections open */
  details,
  details.expandable-content,
  details.timeline-component,
  details.info-expandable {
    display: block !important;
  }
  
  /* Show summary as heading, remove arrow */
  details summary {
    display: block !important;
    list-style: none !important;
    cursor: default !important;
    page-break-after: avoid;
  }
  
  details summary::before,
  details summary::after {
    display: none !important;
  }
  
  /* Show all content */
  .content-inner,
  .info-expandable-body,
  .timeline-component-body,
  .expandable-content > *:not(summary) {
    display: block !important;
  }
  
  /* Two-column layout for main content */
  .education-section {
    column-count: 2;
    column-gap: 40px;
  }
  
  .education-section .expandable-content {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 20px;
  }
  
  /* Keep these single column */
  .day-header,
  .day-overview,
  .protocol-overview {
    column-count: 1 !important;
  }
  
  /* Clean page breaks */
  .day-overview,
  .protocol-overview {
    page-break-inside: avoid;
    page-break-after: avoid;
  }
  
  h2, h3 {
    page-break-after: avoid;
  }
  
  /* Remove backgrounds and shadows for print */
  .day-header,
  .milestone-header {
    background: #f8f9fa !important;
    color: #2C3E50 !important;
    box-shadow: none !important;
    border: 1px solid #e8e8e8 !important;
  }
  
  .day-label,
  .day-subtitle {
    color: #666 !important;
  }
  
  h1, h2, h3 {
    color: #2C3E50 !important;
  }
  
  .info-expandable,
  .timeline-component {
    border: 1px solid #e8e8e8 !important;
    box-shadow: none !important;
  }
  
  /* Ensure good contrast */
  body {
    background: white !important;
  }
  
  /* Remove colored borders in print */
  .info-expandable.what-to-expect-expandable,
  .info-expandable.why-this-matters-expandable,
  .timeline-component {
    border-color: #e8e8e8 !important;
  }
  
  /* Adjust spacing for print */
  .education-section {
    margin-top: 30px;
  }
  
  .expandable-content summary {
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 10px;
  }
}
/* ============================================
   PASSWORD FORM - CSS ONLY STYLING
   Styles WordPress's native password form
   ============================================ */

/* Center the password form on page */
.post-password-form {
  max-width: 500px !important;
  margin: 100px auto !important;
  padding: 50px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
  text-align: center !important;
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Add heading above form */
.post-password-form::before {
  content: "Welcome to Your Recovery Journey";
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* Hide ALL paragraph text by default */
.post-password-form p {
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Show custom message ONLY on the first paragraph */
.post-password-form p:first-of-type::after {
  content: "Please enter the password given to you by your surgeon to begin your journey.";
  display: block;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Style the password label */
.post-password-form label {
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #2C3E50 !important;
  margin-bottom: 15px !important;
  text-align: left !important;
  visibility: visible !important;
}

/* Style the password input */
.post-password-form input[type="password"] {
  width: 100% !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
  margin-bottom: 20px !important;
  display: block !important;
  visibility: visible !important;
}

.post-password-form input[type="password"]:focus {
  outline: none;
  border-color: #3A7F8F;
}

/* Style the submit button */
.post-password-form input[type="submit"] {
  width: 100% !important;
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 15px 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: block !important;
  visibility: visible !important;
}

.post-password-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 127, 143, 0.3);
}

/* Add branded heading */
body.post-password-required .site-main::before {
  content: "medAstra Digital Recovery";
  display: block;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #2C3E50;
  margin-top: 60px;
  margin-bottom: 10px;
}

body.post-password-required .site-main::after {
  content: "Your personalized recovery companion";
  display: block;
  text-align: center;
  font-size: 18px;
  color: #c9a14a;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Add background gradient to page */
body.post-password-required {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eef2 100%);
  min-height: 100vh;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .post-password-form {
    margin: 60px 20px !important;
    padding: 40px 30px !important;
  }
  
  .post-password-form::before {
    font-size: 24px;
  }
  
  body.post-password-required .site-main::before {
    font-size: 24px;
    margin-top: 40px;
  }
  
  body.post-password-required .site-main::after {
    font-size: 16px;
  }
}
/* ============================================
   WELCOME/ONBOARDING PAGE
   ============================================ */

.welcome-onboarding-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 40px;
}

/* Welcome Hero - Image Cover Block */
.medastra-hero-welcome.wp-block-cover {
  min-height: 430px !important;
  padding: 60px 40px !important;
  align-items: center !important;
  margin-bottom: 60px !important;
}

.medastra-hero-welcome .wp-block-cover__background {
  background: linear-gradient(135deg, rgba(58, 127, 143, 0.9) 0%, rgba(45, 102, 115, 0.85) 100%) !important;
  opacity: 1 !important;
}

.medastra-hero-welcome .wp-block-cover__inner-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.medastra-hero-welcome .welcome-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.medastra-hero-welcome h1 {
  font-size: 42px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.medastra-hero-welcome .welcome-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

/* Content */
.welcome-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.welcome-intro {
  text-align: center;
  margin-bottom: 40px;
}

.welcome-intro p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Platform Features Box */
.platform-features-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 50px;
}

.platform-features-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-features-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-features-box li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.platform-features-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c9a14a;
  font-size: 18px;
  font-weight: bold;
}

/* Surgery Date Section */
.surgery-date-section {
  border-top: 2px solid #f0f0f0;
  padding-top: 40px;
}

.surgery-date-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 15px 0;
}

.surgery-date-section > p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Date Input - Centered */
.date-input-group {
  margin: 30px auto;
  max-width: 400px;
  text-align: center;
}

.date-input-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 10px;
  text-align: center;
}

.date-input-group input[type="date"] {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  text-align: center;
}

.date-input-group input[type="date"]:focus {
  outline: none;
  border-color: #3A7F8F;
}

/* Consent Section - Centered with max-width */
.consent-section {
  margin: 30px auto;
  padding: 20px 25px;
  background: #fff8e8;
  border: 1px solid #f0e5c8;
  border-radius: 8px;
  max-width: 550px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.consent-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0 0;
  cursor: pointer;
  accent-color: #c9a14a;
}

.consent-text {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
}

.consent-label:hover .consent-text {
  color: #2C3E50;
}

/* Submit Button - Centered with max-width */
button.onboarding-submit-btn {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: 25px auto 0;
  background: linear-gradient(135deg, #3A7F8F 0%, #2d6673 100%);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(58, 127, 143, 0.3);
}

button.onboarding-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 127, 143, 0.4);
}

button.onboarding-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Skip Option */
.skip-option {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
}

.skip-option a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.skip-option a:hover {
  color: #666;
}

/* Footer */
.welcome-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e8e8e8;
}

.welcome-footer p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .welcome-onboarding-page {
    padding: 0 20px;
    margin: 40px auto;
  }
  
  .medastra-hero-welcome.wp-block-cover {
    min-height: 380px !important;
    padding: 50px 30px !important;
  }
  
  .medastra-hero-welcome .welcome-icon {
    font-size: 56px;
  }
  
  .medastra-hero-welcome h1 {
    font-size: 32px;
  }
  
  .medastra-hero-welcome .welcome-subtitle {
    font-size: 18px;
  }
  
  .welcome-content {
    padding: 35px 25px;
  }
  
  .platform-features-box {
    padding: 25px 20px;
  }
  
  .date-input-group,
  button.onboarding-submit-btn {
    max-width: 100%;
  }
  
  .consent-section {
    padding: 15px;
    max-width: 100%;
  }
  
  .consent-text {
    font-size: 13px;
  }
}
/* ============================================
   ONBOARDING CHECK - HIDE FLASH
   ============================================ */

/* Hide platform content while checking onboarding status */
body.checking-onboarding .entry-content,
body.checking-onboarding #recoveryTracker {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Show content smoothly when onboarding is complete */
body.onboarding-complete .entry-content,
body.onboarding-complete #recoveryTracker {
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

/* Optional: Show a subtle loading indicator */
body.checking-onboarding::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3A7F8F;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Feature Highlighting Styles */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.feature-spotlight {
  position: relative;
  z-index: 1001 !important;
  box-shadow: 0 0 40px rgba(201, 161, 74, 0.6) !important;
  border: 3px solid #c9a14a !important;
  border-radius: 16px !important;
  animation: pulse-spotlight 2s infinite;
}

@keyframes pulse-spotlight {
  0%, 100% { 
    box-shadow: 0 0 40px rgba(201, 161, 74, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 60px rgba(201, 161, 74, 0.9);
    transform: scale(1.02);
  }
}

.onboarding-tooltip {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  max-width: 320px;
  z-index: 1002;
  animation: tooltipIn 0.4s ease;
}

@keyframes tooltipIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

.tooltip-arrow.top {
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #ffffff;
}

.tooltip-arrow.bottom {
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: #ffffff;
}

/* Button hover effects */
.onboarding-tooltip .onboarding-action:hover {
  background: #b08939 !important;
  transform: translateY(-1px);
}

.onboarding-tooltip .onboarding-dismiss:hover {
  background: #f8f9fa !important;
  border-color: #c9a14a !important;
  color: #2C3E50 !important;
}
/* ============================================
   SURVEY BANNER STYLES
   ============================================ */

.survey-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.survey-banner.visible {
  transform: translateY(0);
}

/* Collapsed State */
.survey-banner-collapsed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 20px;
}

.survey-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.survey-banner-text strong {
  font-size: 16px;
  font-weight: 600;
}

.survey-banner-time {
  font-size: 13px;
  opacity: 0.9;
}

.survey-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.survey-expand-btn {
  background: white;
  color: #0891b2;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.survey-expand-btn:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
}

.survey-dismiss-btn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.survey-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Expanded State */
.survey-banner-expanded {
  padding: 24px 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.survey-banner.expanded {
  max-height: 80vh;
  overflow-y: auto;
}

.survey-close-expanded {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.survey-close-expanded:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.survey-banner-expanded h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.survey-question {
  margin-bottom: 24px;
}

.survey-question label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: white;
}

/* Rating Buttons */
.survey-rating {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rating-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.rating-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.rating-btn.selected {
  background: white;
  color: #0891b2;
  border-color: white;
}

.rating-label {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  white-space: nowrap;
}

.rating-btn.selected .rating-label {
  opacity: 1;
}

/* Binary Buttons */
.survey-binary {
  display: flex;
  gap: 12px;
}

.binary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.binary-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.binary-btn.selected {
  background: white;
  color: #0891b2;
  border-color: white;
}

/* Submit Button */
.survey-submit-btn {
  width: 100%;
  background: white;
  color: #0891b2;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.survey-submit-btn:hover:not(:disabled) {
  background: #f0f9ff;
  transform: translateY(-2px);
}

.survey-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.survey-privacy {
  margin: 12px 0 0 0;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}

/* Thank You State */
.survey-thank-you {
  text-align: center;
  padding: 20px 0;
}

.survey-thank-you h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
}

.survey-thank-you p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .survey-banner-collapsed {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  
  .survey-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .survey-expand-btn {
    flex: 1;
  }
  
  .rating-btn {
    min-width: 50px;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .rating-label {
    font-size: 9px;
  }
  
  .binary-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Print - Hide Survey */
@media print {
  .survey-banner {
    display: none !important;
  }
}