@import url('../theme-base.css');

/* Teaching Specific Styles */

.teaching-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.lesson-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lesson-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--text-color);
    line-height: 1.2;
}

.lesson-reference {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-family: ui-serif, Georgia, serif;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.lesson-date {
    font-style: italic;
    color: var(--accent-color);
    opacity: 0.8;
    font-size: 1rem;
}

.section-title {
    font-family: ui-serif, Georgia, serif;
    font-size: 1.6rem;
    color: var(--accent-color);
    margin: 2.5rem 0 1.5rem 0;
    border-bottom: 1px solid rgba(200, 180, 162, 0.2);
    padding-bottom: 0.25rem;
    text-align: center;
}

/* Scripture Block */
.scripture-block {
    background: var(--btn-bg);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 4px 12px var(--shadow);
    font-style: italic;
    position: relative;
}

.scripture-block::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: serif;
}

.scripture-ref {
    display: block;
    margin-top: 0.75rem;
    font-weight: 600;
    font-style: normal;
    text-align: right;
    color: var(--text-color);
}

/* Interactive Question Card */
.qa-card {
    background: var(--btn-bg);
    border: 1px solid rgba(200, 180, 162, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    width: 100%;
}

.qa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow);
    border-color: var(--accent-color);
}

.qa-question {
    padding: 1.25rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.15rem;
    user-select: none;
    text-align: left;
    width: 100%;
    gap: 1rem;
}

.qa-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.qa-card.open .qa-question::after {
    transform: rotate(45deg);
}

.qa-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    color: var(--text-color);
    line-height: 1.7;
}

.qa-card.open > .qa-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: none;
    opacity: 1;
}

/* Nested QA Cards */
.qa-answer > .qa-card {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(200, 180, 162, 0.03);
    border-style: dashed;
}

.qa-answer > .qa-card .qa-question {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}

.qa-answer > .qa-card .qa-answer {
    padding: 0 1.5rem;
}

.qa-answer > .qa-card.open > .qa-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.qa-answer ul {
    margin: 0.5rem 0;
}

.qa-answer li {
    margin-bottom: 0.5rem;
}

/* Big Button for reveal if needed */
.reveal-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.reveal-btn:hover {
    filter: brightness(1.1);
}

/* Discussion Points */
.discussion-box {
    background: rgba(200, 180, 162, 0.05);
    border: 1px dashed var(--accent-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    width: 100%;
    text-align: left;
}

.discussion-box h3 {
    margin-top: 0;
    color: var(--accent-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .lesson-header h1 {
        font-size: 2.2rem;
    }
    .qa-question {
        padding: 1.1rem 1.25rem;
        font-size: 1.1rem;
    }
}
