/* Ministry of Numerology - SEO Enhancement Styles */
/* ================================================ */

/* Breadcrumb Navigation for SEO */
.breadcrumb-nav {
    padding: 10px 0;
    margin: 10px 0 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav li:not(:last-child)::after {
    content: "›";
    color: #6c757d;
    margin: 0 8px;
    font-weight: bold;
}

.breadcrumb-nav a {
    color: #6B6BE6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #5a5ac6;
    text-decoration: underline;
}

.breadcrumb-nav .current {
    color: #6c757d;
    font-weight: 500;
}

/* Related Articles Section */
.related-articles {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.related-articles h3 {
    color: #6B6BE6;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 2px solid #6B6BE6;
    padding-bottom: 8px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.related-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: #6B6BE6;
    box-shadow: 0 2px 8px rgba(107, 107, 230, 0.15);
    transform: translateY(-2px);
}

.related-item a {
    text-decoration: none;
    color: inherit;
}

.related-item h4 {
    color: #6B6BE6;
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.related-item p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    float: right;
    width: 300px;
    margin-left: 20px;
}

.table-of-contents h3 {
    color: #6B6BE6;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    border-bottom: 1px solid #6B6BE6;
    padding-bottom: 8px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin: 8px 0;
}

.table-of-contents a {
    color: #495057;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.table-of-contents a:hover {
    color: #6B6BE6;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .table-of-contents {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
}

/* Internal Link Styling */
.internal-link {
    color: #6B6BE6;
    text-decoration: none;
    border-bottom: 1px dotted #6B6BE6;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: #5a5ac6;
    border-bottom: 1px solid #5a5ac6;
    text-decoration: none;
}

/* Citation and Reference Styling */
.citation {
    font-size: 0.85em;
    vertical-align: super;
    color: #6B6BE6;
}

.references {
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
    margin-top: 30px;
}

.references li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.references a {
    color: #6B6BE6;
    text-decoration: none;
}

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

/* Featured Content Boxes */
.featured-content {
    background: linear-gradient(135deg, #6B6BE6 0%, #5a5ac6 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(107, 107, 230, 0.3);
}

.featured-content h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 1.3em;
}

.featured-content p {
    margin: 0;
    line-height: 1.6;
}

.featured-content a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.featured-content a:hover {
    color: #f8f9fa;
}

/* FAQ Schema-Ready Styling */
.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin: 15px 0;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    color: #495057;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    line-height: 1.6;
}

/* Call-to-Action Buttons */
.cta-button {
    display: inline-block;
    background: #6B6BE6;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #5a5ac6;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 107, 230, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #6B6BE6;
    border: 2px solid #6B6BE6;
}

.cta-button.secondary:hover {
    background: #6B6BE6;
    color: white;
}

/* Social Sharing Buttons */
.social-share {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.social-share h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1.1em;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.social-button:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.social-button.facebook { background: #3b5998; }
.social-button.twitter { background: #1da1f2; }
.social-button.pinterest { background: #bd081c; }
.social-button.email { background: #6c757d; }

/* Author Bio Box */
.author-bio {
    background: #f8f9fa;
    border-left: 4px solid #6B6BE6;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 6px 6px 0;
}

.author-bio img {
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 20px 15px 0;
    border: 3px solid #6B6BE6;
}

.author-bio h4 {
    margin: 0 0 10px 0;
    color: #6B6BE6;
    font-size: 1.2em;
}

.author-bio p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}

@media (max-width: 768px) {
    .author-bio img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
    
    .author-bio {
        text-align: center;
    }
}

/* Skip to Content (Accessibility) */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-content:focus {
    position: fixed;
    top: 0;
    left: 6px;
    width: auto;
    height: auto;
    padding: 8px 16px;
    background: #6B6BE6;
    color: white;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
}

/* Print Styles */
@media print {
    .angel-calculator,
    .social-share,
    .cta-button,
    nav,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .references {
        page-break-inside: avoid;
    }
}
