.heresies-hero { background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%); padding: 120px 0 80px; position: relative; overflow: hidden; }
.heresies-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.heresies-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; padding: 0 20px; }
.heresies-hero-label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #d4a574; margin-bottom: 20px; border: 1px solid rgba(212, 165, 116, 0.3); padding: 8px 16px; border-radius: 4px; }
.heresies-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.heresies-hero h1 span { display: block; color: #d4a574; font-size: 0.5em; font-style: italic; margin-top: 10px; }
.heresies-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; line-height: 1.7; }

.intro-section { background: #f8f6f3; padding: 80px 0; }
.intro-content { max-width: 800px; margin: 0 auto; text-align: center; padding: 0 20px; }
.intro-content blockquote { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #2c1810; border-left: 3px solid #d4a574; padding-left: 30px; margin: 40px 0; text-align: left; font-style: italic; line-height: 1.6; }
.intro-content p { font-size: 1.1rem; line-height: 1.8; color: #444; margin-bottom: 20px; }

.heresies-timeline { background: #fff; padding: 80px 0; }
.timeline-header { text-align: center; margin-bottom: 60px; }
.timeline-header h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #2c1810; margin-bottom: 15px; }
.timeline-header p { color: #666; font-size: 1.1rem; }

.timeline-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.timeline-container::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, #d4a574, #2c1810, #d4a574); transform: translateX(-50%); }

.timeline-item { position: relative; margin-bottom: 60px; display: flex; align-items: center; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: 60px; margin-left: 0; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 60px; margin-right: 0; }
.timeline-content { flex: 0 0 45%; background: #fff; border: 1px solid #e8e4df; border-radius: 8px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: relative; }
.timeline-content::before { content: ''; position: absolute; width: 20px; height: 20px; background: #d4a574; border: 4px solid #fff; border-radius: 50%; top: 30px; }
.timeline-item:nth-child(odd) .timeline-content::before { right: -70px; }
.timeline-item:nth-child(even) .timeline-content::before { left: -70px; }
.timeline-year { display: inline-block; background: #2c1810; color: #d4a574; font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 3px; margin-bottom: 12px; }
.timeline-content h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #2c1810; margin-bottom: 10px; }
.timeline-content p { color: #555; font-size: 0.95rem; line-height: 1.6; }

.heresies-cards { background: #f8f6f3; padding: 80px 0; }
.cards-grid { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.heresy-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(44, 24, 16, 0.08); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.heresy-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(44, 24, 16, 0.12); }
.card-header { padding: 25px 25px 20px; position: relative; }
.card-header.nayler { background: linear-gradient(135deg, #8b0000 0%, #5c0000 100%); }
.card-header.wilkinson { background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); }
.card-header.keith { background: linear-gradient(135deg, #276749 0%, #1a4533 100%); }
.card-header.hicks { background: linear-gradient(135deg, #744210 0%, #553c15 100%); }
.card-header.wilbur { background: linear-gradient(135deg, #1a365d 0%, #0d1b2a 100%); }
.card-header.later { background: linear-gradient(135deg, #553c9a 0%, #382b6b 100%); }
.card-header-icon { font-size: 2.5rem; margin-bottom: 10px; }
.card-header h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.4rem; margin: 0; }
.card-header .card-date { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; }
.card-body { padding: 25px; flex: 1; }
.card-section { margin-bottom: 20px; }
.card-section h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #d4a574; margin-bottom: 8px; font-weight: 600; }
.card-section p { color: #444; font-size: 0.95rem; line-height: 1.7; margin: 0; }
.card-section ul { margin: 0; padding-left: 18px; color: #444; font-size: 0.95rem; line-height: 1.7; }
.card-section li { margin-bottom: 6px; }
.card-highlight { background: #f8f6f3; border-left: 3px solid #d4a574; padding: 15px 20px; margin: 15px 0; font-style: italic; color: #5c4033; font-size: 0.9rem; line-height: 1.6; }
.card-footer { padding: 20px 25px; border-top: 1px solid #e8e4df; background: #faf9f7; }
.card-sources { font-size: 0.8rem; color: #777; }
.card-sources strong { color: #2c1810; }

.orthodoxy-section { background: #2c1810; padding: 80px 0; color: #fff; }
.orthodoxy-content { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.orthodoxy-content h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
.orthodoxy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.orthodoxy-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(212, 165, 116, 0.2); border-radius: 8px; padding: 30px; }
.orthodoxy-item h3 { color: #d4a574; font-size: 1.1rem; margin-bottom: 15px; font-weight: 600; }
.orthodoxy-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.7; margin: 0; }

.conclusion-section { background: #fff; padding: 80px 0; }
.conclusion-content { max-width: 800px; margin: 0 auto; padding: 0 20px; text-align: center; }
.conclusion-content h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #2c1810; margin-bottom: 30px; }
.conclusion-content p { color: #444; font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; text-align: left; }

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .timeline-container::before { left: 20px; }
  .timeline-item { flex-direction: column !important; align-items: flex-start; }
  .timeline-content { margin: 0 0 0 50px !important; width: calc(100% - 50px); }
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before { left: -40px !important; right: auto !important; }
}
