body {
            font-family: 'Georgia', serif;
            font-display: swap;
            background-color: #f7eff0;
            margin: 0;
            padding: 0;
            color: #333;
            line-height: 1.6;
        }
        header {
            background-color: #640106; /* Deep Catholic Brown */
            color: #ffffff;
            padding: 20px;
            text-align: center;
            border-bottom: 5px solid #f14951; /* Liturgical Brown */
        }
        .logo-text {
            font-size: 28px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .container {
            max-width: 800px;
            margin: 30px auto;
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        /* SOCIAL SHARING SIDEBAR */
        .social-sidebar {
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            z-index: 100;
        }
        .social-sidebar a {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: 0.3s;
            font-size: 20px;
        }
        .social-sidebar a:hover { width: 55px; }
        .facebook { background: #3b5998; }
        .twitter { background: #000000; }
        .whatsapp { background: #25d366; }
        .pinterest { background: #cb2027; }
        .linkedin { background: #0077b5; }
        .email { background: #640106; }

        /* RESULTS SOCIAL GRID */
        .share-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 20px;
        }
        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .social-sidebar { display: none; }
        }
        h1 {
            color: #640106;
            text-align: center;
        }
        .reading-info {
            font-style: italic;
            text-align: center;
            margin-bottom: 20px;
            color: #666;
        }
    .quiz-question {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
        .question-text {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 10px;
        }
        .options label {
            display: block;
            margin: 8px 0;
            cursor: pointer;
        }
        button {
            display: block;
            width: 100%;
            padding: 15px;
            background-color: #640106;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }
        button:hover {
            background-color: #f50f1b;
        }
        #results {
            margin-top: 20px;
            padding: 20px;
            background: #f2dcdd;
            border-left: 5px solid #640106;
            display: none;
        }
        footer {
            text-align: center;
            padding: 20px;
            font-size: 14px;
            color: #777;
        }
        .info-column-link {
        text-decoration: none;
        color: inherit;
        display: block;
        transition: transform 0.2s ease;
    }

    .info-column-link:hover {
        transform: translateY(-5px);
    }

    .info-column {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: 2px solid #640104; /* Subtle red-brown border */
    }

    .info-column:hover {
        border-color: #640106;
        box-shadow: 0 4px 12px rgba(100, 1, 6, 0.1);
    }

    .column-btn {
        display: inline-block;
        margin-top: 15px;
        padding: 8px 15px;
        background-color: #640106;
        color: white;
        border-radius: 4px;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
    }
    /* New styles for feedback */
    .correct {
        color: #2d5a27 !important;
        font-weight: bold;
        background-color: #e8f5e9;
        border-radius: 4px;
        padding: 2px 5px;
    }
    .incorrect {
        color: #640106 !important;
        text-decoration: line-through;
        background-color: #ffebee;
        border-radius: 4px;
        padding: 2px 5px;
    }
    .feedback-text {
        font-size: 14px;
        margin-top: 8px;
        color: #8B0000 !important;
        display: none; /* Hidden until submission */
        font-style: italic;
    }
    footer { text-align: center; padding: 20px; font-size: 13px; color: #777; 
        
    }
    /* Progress Bar Styles */
        .progress-container {
            width: 100%;
            background-color: #e0e0e0;
            border-radius: 10px;
            margin: 20px 0;
            height: 12px;
            overflow: hidden;
            position: sticky;
            top: 10px;
            z-index: 10;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .progress-bar {
            width: 0%;
            height: 100%;
            background-color: #f14951;
            transition: width 0.4s ease;
        }
        /* Accordion Styling */
.readings-accordion {
    margin-bottom: 30px;
}
.readings-accordion h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
}
details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    background: #f8f9fa;
    outline: none;
    list-style: none; /* Removes default arrow in some browsers */
}
summary::-webkit-details-marker {
    display: none; /* Removes default arrow in Chrome/Safari */
}
summary:after {
    content: "+";
    float: right;
}
details[open] summary:after {
    content: "-";
}
details[open] summary {
    background: #e9ecef;
    border-bottom: 1px solid #ddd;
}
.reading-content {
    padding: 15px;
    line-height: 1.8;
    background: #fff;
}
.quiz-badge{
  background:#f8f4e8;
  border:2px solid #c9a227;
  border-radius:10px;
  padding:15px;
  font-size:16px;
  max-width:420px;
  margin:0 auto;
}

.share-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-buttons a {
    background: #6b4226;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
}

.share-buttons a:hover {
    background: #53321a;
}

.correct { color: green; }
.incorrect { color: red; }

.trivia-ad {
    margin: 30px 0;
    text-align: center;
    min-height: 250px; /* Prevent CLS shift */
}

.explanation {
    margin-top: 8px;
    font-style: italic;
    color: #5a0000; /* Darker deep red */
    background: #FFFFED;
}

/* Trivia page header styling — match main site header */
.trivia-header-title .site-title {
    color: #cc0000; /* Same strong red theme color */
    text-align: center;
    margin: 0;
    font-size: 2.5rem; /* Matches site header size */
    font-weight: bold;
}

.trivia-header-title .site-description {
    color: #cc0000 !important;
    opacity: 1 !important;
    text-align: center;
    margin-top: 5px;
    font-size: 1rem; /* Matches site subtitle font size */
}

.trivia-widget-area {
    margin: 30px 0;
}

.trivia-post-widget {
    
    margin-bottom: 25px;
}

/* === Trivia Footer Widget Area === */

.trivia-footer-widgets {
    margin-top: 50px;
    padding: 40px 20px;
    background-color: #f7eff0; /* soft background */
}

.trivia-footer-inner {
    max-width: 1000px;   /* Boxed width */
    margin: 0 auto;      /* Centered */
}

.trivia-post-widget {
    margin-bottom: 35px; /* spacing between widgets */
}

/* Widget Titles */
.trivia-post-widget .widget-title {
    color: #cc0000;      /* strong Catholic red */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #cc0000; /* clean underline effect */
}

/* Space between list items */
.trivia-post-widget ul li {
    margin-bottom: 10px;
}

/* Paragraph spacing */
.trivia-post-widget p {
    margin-bottom: 12px;
}