/* ========================================
   Book of Shadows Online - Pages CSS
   For About and How-To Guide pages
   Add to your Joomla template CSS
   ======================================== */

/* Base Styles for Both Pages */
.bos-about-page,
.bos-howto-page {
    line-height: 1.7;
    margin: 0 auto;
    padding: 20px;
    color: #2c3e50;
    background: #fdfbf7;
}

.bos-about-page h1,
.bos-howto-page h1 {
    font-size: 2.5em;
    color: #4a148c;
    margin-bottom: 0.5em;
    border-bottom: 3px solid #7b1fa2;
    padding-bottom: 0.3em;
}

.bos-about-page h2,
.bos-howto-page h2 {
    font-size: 1.8em;
    color: #6a1b9a;
    margin-top: 2em;
    margin-bottom: 0.7em;
    padding-top: 0.5em;
    border-top: 2px solid #e1bee7;
}

.bos-about-page h3,
.bos-howto-page h3 {
    font-size: 1.3em;
    color: #8e24aa;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.bos-about-page h4,
.bos-howto-page h4 {
    font-size: 1.1em;
    color: #9c27b0;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

/* Intro Section */
.intro {
    font-size: 1.1em;
    padding: 1em;
    background: #f5f0e8;
    border-left: 4px solid #7b1fa2;
    margin: 1.5em 0;
}

.bos-about-page .intro {
    font-size: 1.2em;
    font-style: italic;
    color: #5d4037;
}

/* Feature Sections */
.feature-section {
    margin: 2em 0;
    padding: 1.5em;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Image Placeholders */
.image-placeholder {
    background: #e8eaf6;
    border: 2px dashed #7b1fa2;
    padding: 3em 1em;
    text-align: center;
    color: #6a1b9a;
    font-style: italic;
    margin: 1.5em 0;
    border-radius: 4px;
}

.bos-howto-page .image-placeholder {
    padding: 2.5em 1em;
    font-size: 0.95em;
}

/* Highlight Spans */
.highlight {
    background: #e1bee7;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-weight: 500;
}

.bos-about-page .highlight {
    background: #fff9c4;
}

/* Community Box */
.community-box {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8eaf6 100%);
    padding: 1.5em;
    margin: 2em 0;
    border-radius: 8px;
    border: 1px solid #7b1fa2;
}

.vision-box {
    margin-top: 3em;
}

/* Lists */
.bos-about-page ul,
.bos-about-page ol,
.bos-howto-page ul,
.bos-howto-page ol {
    margin: 1em 0;
    padding-left: 2em;
}

.bos-about-page li,
.bos-howto-page li {
    margin: 0.5em 0;
}

/* Table of Contents */
.toc {
    background: #f5f0e8;
    padding: 1.5em;
    border-radius: 8px;
    margin: 2em 0;
}

.toc h2 {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin: 0.3em 0;
}

.toc a {
    color: #6a1b9a;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* Section Container */
.section {
    margin: 2em 0;
    padding: 1.5em;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Step Boxes */
.step-box {
    background: #f9fbe7;
    border-left: 4px solid #7b1fa2;
    padding: 1em;
    margin: 1em 0;
}

.step-number {
    display: inline-block;
    background: #7b1fa2;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    margin-right: 0.5em;
}

/* Tip Box */
.tip-box {
    background: #fff9c4;
    border: 1px solid #f9a825;
    border-radius: 4px;
    padding: 1em;
    margin: 1em 0;
}

.tip-box::before {
    content: "Tip: ";
    font-weight: bold;
    color: #f57f17;
}

/* Warning Box */
.warning-box {
    background: #ffebee;
    border: 1px solid #c62828;
    border-radius: 4px;
    padding: 1em;
    margin: 1em 0;
}

.warning-box::before {
    content: "Important: ";
    font-weight: bold;
    color: #c62828;
}

/* Tables */
.organization-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.organization-table th,
.organization-table td {
    padding: 0.75em;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.organization-table th {
    background: #f5f0e8;
    font-weight: bold;
    color: #6a1b9a;
}

/* Code Elements */
code {
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8eaf6 100%);
    margin-top: 3em;
}

.conclusion-box h2 {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* Closing Quote */
.closing-quote {
    text-align: center;
    margin-top: 1.5em;
    font-style: italic;
    color: #6a1b9a;
}

.bos-about-page .closing-quote {
    font-size: 1.1em;
    margin-top: 2em;
}

/* Footer */
.bos-footer {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 2px solid #7b1fa2;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

.footer-blessing {
    font-size: 0.9em;
    margin-top: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bos-about-page,
    .bos-howto-page {
        padding: 15px;
    }
    
    .bos-about-page h1,
    .bos-howto-page h1 {
        font-size: 2em;
    }
    
    .bos-about-page h2,
    .bos-howto-page h2 {
        font-size: 1.5em;
    }
    
    .bos-about-page h3,
    .bos-howto-page h3 {
        font-size: 1.2em;
    }
    
    .intro {
        font-size: 1em;
        padding: 0.8em;
    }
    
    .feature-section,
    .section {
        padding: 1em;
    }
    
    .image-placeholder {
        padding: 2em 0.5em;
        font-size: 0.9em;
    }
    
    .organization-table {
        font-size: 0.9em;
    }
    
    .organization-table th,
    .organization-table td {
        padding: 0.5em;
    }
}
