        @page {
            size: A4;
            margin: 0.5in;
        }
        
        body {
            font-family: Tahoma, Verdana, Helvetica, sans-serif;
            font-size: 100%;
            line-height: 1.3;
            margin: 0;
            padding: 20px;
            color: black;
        }
        
        p {
            text-align: center;
            font-style: italic;
            margin-bottom: 15px;
            color: #666;
        }
		
a:link, a:active {
text-decoration:none;
color:maroon;
font-weight:bold;
}

a:visited {
text-decoration:none;
color:8b0000;
font-weight:bold;
}

a:hover {
text-decoration:none;
color:#b22222;
font-weight:bold;
}
        
        h1 {
            text-align: center;
            font-size: 1.6em;
            margin-bottom: 20px;
            color: maroon;
            border-bottom: 2px solid #8B4513;
            padding-bottom: 10px;
        }
		
			h3 {
            font-weight: bold;
            font-size: 1em;
            color: black;
        }
        
        .timeline-container {
            display: flex;
            flex-direction: column;
        }
		
/* Historical Context Section */
        
        .context-section {
            background-color: #fff9e6;
            border: 2px solid #8B4513;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            margin-bottom: 1%;
            break-inside: avoid;
        }
        
        .context-header {
            font-weight: bold;
            font-size: 1.2em;
            color: #8B4513;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .context-item {
            margin-bottom: 10px;
        }
        
        .context-title {
            font-weight: bold;
            color: #8B4513;
        }
/* Biography Section */
        
        .bio-section {
            background-color: #fafad2;
            border: 2px solid #b8860b;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            margin-bottom: 1%;
            break-inside: avoid;
        }
        
        .bio-header {
            font-weight: bold;
            font-size: 1.2em;
            color: #8B4513;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .bio-item {
            margin-bottom: 10px;
        }
        
        .bio-title {
            font-weight: bold;
            color: #8B4513;
        }
	
/* Outline Section */
        
        .outline-section {
            border: 2px solid maroon;
            border-radius: 8px;
            padding: 12px;
            background-color: #fafafa;
            break-inside: avoid;
            margin-bottom: 1%;
        }
        
        .outline-header {
            font-weight: bold;
            font-size: 1.2em;
            color: maroon;
			margin-top: 10px;
            margin-bottom: 10px;
            border-bottom: 1px solid maroon;
            padding-bottom: 0.3%;
        }
		
/* Event Section */
        
        .event {
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }
        

        
        .event-title {
            font-weight: bold;
            color: #000;
        }
        
        .event-description {
            margin-top: 2px;
            color: #333;
        }
        
        .scripture-ref {
            margin-top: 0.1%;
            font-style: italic;
            color: black;
            font-size: 0.8em;
        }
/* Theme Section */
        
        .theme-section {
            background-color: #f0f8ff;
            border: 2px solid #4682B4;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            break-inside: avoid;
        }
		
        .theme-header {
            font-weight: bold;
            font-size: 1.2em;
            color: #4682B4;
            margin-bottom: 10px;
            text-align: center;
        }
        
        .theme-list {
            display: flex;
			flex-direction: column;
            gap: 4%;
			margin-bottom: 1%;
        }
        
        .theme-item {
            background-color: white;
            padding: 8px;
            border-radius: 4px;
            border-left: 4px solid #4682B4;
			margin-bottom: 2%;
        }
        
        .theme-name {
            font-weight: bold;
            color: #4682B4;
        }

/* Key verse Section */

        .keyverse-section {
            background-color: #fafafa;
            border: 2px solid maroon;
            font-style: italic;
			font-size: 0.95em;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            break-inside: avoid;
        }
        .keyverse-header {
            font-weight: bold;
            font-size: 1.2em;
            color: maroon;
            margin-bottom: 10px;
            text-align: center;
        }
		
		
/* Summary Section */

        .summary-section {
            background-color: #fafafa;
            border: 2px solid maroon;
            font-style: italic;
			font-size: 0.95em;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            break-inside: avoid;
        }
        .summary-header {
            font-weight: bold;
            font-size: 1.2em;
            color: maroon;
            margin-bottom: 8px;
            border-bottom: 1px solid maroon;
            padding-bottom: 0.3%;
        }

/* Tagline Section */

        .tagline-section {
            background-color: #fafafa;
            border: 2px solid maroon;
            font-style: italic;
			font-size: 0.95em;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            break-inside: avoid;
        }
        .tagline-header {
            font-weight: bold;
            font-size: 1.2em;
            color: maroon;
            margin-bottom: 10px;
            text-align: center;
        }
		
		
/* SYNOPSIS Section */
        
        .synopsis-section {
            border: 2px solid maroon;
            border-radius: 8px;
            padding: 12px;
            background-color: #fafafa;
            break-inside: avoid;
            margin-bottom: 1%;
        }
		
		.synopsis-header {
            font-weight: bold;
            font-size: 1.2em;
			text-align: center;
            color: maroon;
            margin-bottom: 10px;

            padding-bottom: 0.5%;
        }

		.synopsis-sub1 {
            font-weight: bold;
			font-style: italic;
            font-size: 1.1em;
            color: black;
            margin-bottom: 8px;
            padding-bottom: 0.3%;
        }
		
		.synopsis-sub2 {
            font-weight: bold;
            font-size: 1em;
            color: black;
            margin-bottom: 8px;

        }
		
		.synopsis-item {
            font-weight: bold;
            color: #000;
        }
        
        .synopsis-description {
            margin-top: 2px;
            color: #333;
        }
        
        .scripture-ref-synopsis {
            margin-top: 0.1%;
            font-style: italic;
            color: black;
        }
		
		
/* Container for image and caption */
        .image-container {
            width: 40%;
            margin: 15px;
            display: inline-block;
        }

        /* Align left */
        .image-container.align-left {
            float: left;
            margin-right: 20px;
        }

        /* Align right */
        .image-container.align-right {
            float: right;
            margin-left: 20px;
        }

        /* Image styling */
        .image-container img {
            width: 100%;
            height: auto;
            display: block;
            border: 1.5px solid maroon;
            border-radius: 5px;
        }

        /* Caption styling */
        .image-caption {
            text-align: center;
            font-size: 0.9em;
            color: #666;
            font-style: italic;
            margin-top: 8px;
            padding: 5px;
        }

        /* Demo content */
        .demo-text {
            margin-top: 20px;
        }

        /* Clear floats */
        .clearfix::after {
            content: "";
            display: table;
            clear: both;
        }

        /* Code display section */
        .code-section {
            background-color: #f4f4f4;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 15px;
            margin: 30px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            overflow-x: auto;
        }

        .code-section h3 {
            margin-top: 0;
            color: #333;
            font-family: Arial, sans-serif;
        }
		

		
		.copyright-section {
		border: 2px solid maroon;
		border-radius: 8px;
		padding: 12px;
		background-color: #fafafa;
		break-inside: avoid;
		margin-top: 2%;
		margin-bottom: 3%;
		}
        
        @media print {
            body { font-size: 10px; }
            .outline-section { break-inside: avoid; }
            .context-section { break-inside: avoid; }
            .theme-section { break-inside: avoid; }
        }