* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.8;
  color: #2C3E50;
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  padding: 15px 7px 20px 2px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 41px 0px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.header {
  text-align: center;
  border-bottom: 4px double #8B7355;
  padding-bottom: 25px;
  margin-bottom: 35px;
  background: linear-gradient(to right, #F8F9FA, #FFF);
  padding: 30px;
  border-radius: 8px;
}

.header h1 {
  color: #8B7355;
  font-size: 26px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.header .subtitle {
  color: #5A4A3A;
  font-size: 18px;
  margin: 10px 0;
  font-style: italic;
}

.header p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
}

.ornament {
  text-align: center;
  font-size: 24px;
  color: #8B7355;
  margin: 20px 0;
}

.cue-card {
  margin-bottom: 35px;
  border: 2px solid #D4AF37;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #FFFFFF, #FEFEFE);
}

.cue-card-header {
  background: linear-gradient(135deg, #8B7355 0%, #6D5A47 100%);
  color: white;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.cue-card-header .number {
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cue-card-content {
  padding: 4px 3px 30px 1px;
}

.cue-before {
  background: linear-gradient(to right, #E8F5E9, #F1F8F4);
  border-left: 5px solid #4CAF50;
  padding: 20px 4px 20px 11px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
  font-size: 17px;
}

.cue-before h4 {
  color: #2E7D32;
  margin-bottom: 15px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cue-before p {
  text-align: justify;
  margin-bottom: 12px;
  color: #1B5E20;
  line-height: 1.4;
}

.cue-after {
  background: linear-gradient(to right, #FFF3E0, #FEF8F1);
  border-left: 5px solid #FF9800;
  padding: 20px 3px 20px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.cue-after h4 {
  color: #E65100;
  margin-bottom: 15px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.cue-after p {
  text-align: justify;
  margin-bottom: 8px;
  color: #BF360C;
  line-height: 1.3;
}

.emphasis {
  font-weight: bold;
  color: #8B7355;
}

.instruction {
  font-style: italic;
  color: #999;
  font-size: 14px;
  margin-top: 10px;
}

.special-note {
  background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
  border: 2px dashed #F9A825;
  padding: 20px 20px 20px 4px;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(249, 168, 37, 0.2);
  font-size: ;
  line-height: 0;
}

.special-note h4 {
  color: #F57F17;
  margin-bottom: 9px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.special-note ul {
  margin-left: 20px;
  color: #F57F17;
}

.special-note li {
  line-height: 1.3;
  font-size: 15px;
  margin-bottom: 0;
}

.divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
  margin: 40px 0;
}

.honorable {
  font-weight: bold;
  color: #5A4A3A;
}

.pause {
  background: #E3F2FD;
  padding: 10px 15px;
  border-radius: 5px;
  margin: 10px 0;
  border-left: 4px solid #2196F3;
  font-style: italic;
  color: #1565C0;
  line-height: 1.4;
}

@media print {
  body {
    background: white;
    padding: 0;
  }
  
  .container {
    box-shadow: none;
    padding: 20px;
  }
  
  .cue-card {
    page-break-inside: avoid;
  }
}
