/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
    background-color: #f8f8f8;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.home header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.single header {
    padding: 20px 0;
}

.header-content {
    margin: 0 auto;
    padding: 0 20px;
}

.home .header-content {
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single .header-content {
    max-width: 680px;
}

.blog-title {
    font-weight: 600;
    color: #333;
}

.home .blog-title {
    font-size: 18px;
}

.single .blog-title {
    font-size: 20px;
}

/* Nav (Home) */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #666;
    font-size: 14px;
}

nav a:hover {
    color: #333;
}

/* Hero (Home) */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 15px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Profile Card (Home) */
.profile-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-card .profile-img {
    width: 80px;
    height: 80px;
    font-size: 32px;
    background: white;
    color: #667eea;
}

.profile-text {
    text-align: left;
}

.profile-text h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.profile-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Profile Section (Single) */
.profile-section {
    max-width: 680px;
    margin: 40px auto 20px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-section .profile-img {
    width: 50px;
    height: 50px;
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.profile-info h2 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.profile-info p {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Common Profile Img Base */
.profile-img {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

/* Container & Layout (Home) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Category Nav (Home) */
.category-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.category-btn {
    padding: 10px 24px;
    border-radius: 25px;
    background-color: white;
    border: 1px solid #e6e6e6;
    color: #666;
    font-size: 14px;
}

.category-btn:hover,
.category-btn.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* Articles Grid (Home) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.article-thumbnail.food {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.article-thumbnail.health {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.article-body {
    padding: 25px;
}

.article-card .article-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.article-card .article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #222;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Sidebar (Home) */
.sidebar {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e6e6e6;
}

.sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.sidebar-content {
    display: grid;
    gap: 20px;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list a {
    color: #666;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-list a:hover {
    color: #667eea;
}

.menu-list .count {
    color: #999;
    font-size: 13px;
}

/* Main Article (Single) */
main {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
}

article {
    background-color: #fff;
    padding: 60px 40px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.article-header {
    margin-bottom: 40px;
}

.single .article-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.update-date {
    margin-left: 15px;
}

.single h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    gap: 15px;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.article-content p {
    margin-bottom: 2em;
}

.article-content h2 {
    font-size: 21px;
    font-weight: 600;
    margin: 2.5em 0 1.5em;
    color: #333;
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 5px solid #667eea;
    border-radius: 0 4px 4px 0;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 2em 0 1em;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

/* Tags */
.tag {
    background-color: #f4f4f4;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
    display: inline-block;
}

.single .tag {
    padding: 6px 12px;
    font-size: 13px;
}

.tag:hover {
    background-color: #e8e8e8;
}

.tag-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

/* Footer */
footer {
    text-align: center;
}

.home footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}

.single footer {
    max-width: 680px;
    margin: 40px auto;
    padding: 20px;
    color: #888;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ccc;
    font-size: 14px;
}

.footer-nav a:hover {
    color: white;
}

/* Specific Article Components */
.highlight-box {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.highlight-box.green {
    background-color: #e8f5e9;
    border-left-color: #4caf50;
}

.highlight-box.yellow {
    background-color: #fff8e1;
    border-left-color: #ffc107;
}

.highlight-box.blue {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.highlight-box.orange {
    background-color: #fff3e0;
    border-left-color: #ff9800;
}

.highlight-box.dark-blue {
    background-color: #f0f7ff;
    border-left-color: #4a90e2;
}

.surprise-box {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.gut-science {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc8 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
}

.gut-science h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2e7d32;
}

.bacteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.bacteria-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.bacteria-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.bacteria-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.bacteria-desc {
    font-size: 13px;
    color: #666;
}

.food-card,
.method-card,
.tips-box,
.recipe-box,
.checklist {
    background-color: #f9f9f9;
    padding: 25px;
    margin: 1.5em 0;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.food-title,
.method-title,
.tips-title,
.recipe-title,
.checklist-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.food-icon,
.method-icon {
    font-size: 28px;
}

.poop-check {
    background-color: #fce4ec;
    padding: 25px;
    border-radius: 8px;
    margin: 2em 0;
    border: 2px solid #f48fb1;
}

.poop-check h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #c2185b;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.check-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.stress-warning {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.self-care-box {
    background-color: #f3e5f5;
    border-left: 4px solid #9c27b0;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.stress-level {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
}

.stress-level h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.stress-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.scale-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
}

.scale-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tired-mama-box {
    background-color: #fce4ec;
    border-left: 4px solid #e91e63;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.tips-item {
    padding: 12px 0;
    border-bottom: 1px solid #e6e6e6;
}

.tips-item:last-child {
    border-bottom: none;
}

.sleep-data {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
    text-align: center;
}

.sleep-data h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.sleep-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.warning-box {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.checklist-item {
    padding: 12px 0;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item .check-icon {
    color: #4caf50;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-text {
        text-align: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .category-nav {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .home .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    nav a {
        font-size: 13px;
        padding: 6px 12px;
        background: #f0f0f0;
        border-radius: 20px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    article {
        padding: 40px 20px;
    }

    .single h1 {
        font-size: 22px;
    }

    .article-content {
        font-size: 14px;
    }

    .bacteria-grid,
    .stress-scale,
    .sleep-stats,
    .effect-grid {
        grid-template-columns: 1fr;
    }

    .sugar-facts {
        grid-template-columns: 1fr;
    }

    .swap-card {
        grid-template-columns: 1fr;
    }

    .swap-arrow {
        transform: rotate(90deg);
    }
}

/* Sugar Article Components */
.reality-box {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
}

.sweet-truth {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #5d1049;
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
}

.sweet-truth h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #5d1049;
}

.sugar-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.fact-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #c2185b;
}

.fact-label {
    font-size: 13px;
    color: #5d1049;
}

.swap-card {
    background-color: #f9f9f9;
    padding: 25px;
    margin: 1.5em 0;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.swap-before,
.swap-after {
    text-align: center;
}

.swap-icon {
    font-size: 24px;
}

.swap-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}

.swap-item {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.swap-arrow {
    font-size: 32px;
    color: #4caf50;
}

.hidden-sugar {
    background-color: #fff8e1;
    padding: 25px;
    border-radius: 8px;
    margin: 2em 0;
    border: 2px solid #ffd54f;
}

.hidden-sugar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #f57c00;
}

.sugar-list {
    display: grid;
    gap: 12px;
}

.sugar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 6px;
}

.sugar-name {
    font-size: 15px;
    color: #333;
}

.sugar-amount {
    font-size: 14px;
    font-weight: 600;
    color: #f57c00;
}

/* Laughter & Gratitude Components */
.effect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.effect-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.effect-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.effect-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.effect-desc {
    font-size: 13px;
    color: #666;
}

.habit-card,
.gratitude-card {
    background-color: #f9f9f9;
    padding: 25px;
    margin: 1.5em 0;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.habit-header,
.gratitude-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.habit-icon,
.gratitude-icon {
    font-size: 28px;
}

.habit-title,
.gratitude-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.habit-benefit,
.gratitude-benefit {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.action-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
}

.action-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e65100;
    text-align: center;
}

.action-list {
    display: grid;
    gap: 15px;
}

.action-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-number {
    background: #e65100;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    border-top: 1px solid #e6e6e6;
    padding-top: 40px;
}

.related-articles .section-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 30px;
}

/* Single Page Layout with Sidebar */
.single .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single .two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.single main {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.single .sidebar {
    margin-top: 0;
}

.single .profile-section {
    margin: 0 0 20px 0;
    padding: 0;
    max-width: 100%;
}

@media (max-width: 768px) {
    .single .two-column {
        grid-template-columns: 1fr;
    }
}

/* Mom Life Reality Components */
.mama-reality {
    background-color: #fce4ec;
    border: 2px solid #f48fb1;
    border-radius: 8px;
    padding: 25px;
    margin: 2em 0;
}

.reality-title {
    font-size: 20px;
    font-weight: 600;
    color: #c2185b;
    margin-bottom: 15px;
    text-align: center;
}

.reality-checks {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.check-row {
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 12px;
    border-radius: 4px;
}

.reality-note {
    font-size: 14px;
    color: #c2185b;
    font-weight: 600;
    text-align: center;
}

.danger-box {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 2em 0;
    border-radius: 4px;
    display: flex;
    gap: 15px;
}

.danger-icon {
    font-size: 30px;
}

.danger-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #d32f2f;
}

.danger-content p {
    margin: 0;
    font-size: 15px;
}

.kaizen-card {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 25px;
    margin: 2em 0;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.before-section,
.after-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.after-section {
    background: #e8f5e9;
}

.ba-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
}

.before-label {
    background: #9e9e9e;
}

.after-label {
    background: #4caf50;
}

.kaizen-point {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    font-size: 15px;
    color: #333;
}

.mama-truth {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 2em 0;
    text-align: center;
}

.mama-truth h3 {
    color: #7b1fa2;
    font-size: 20px;
    margin-bottom: 15px;
}

.husband-help {
    background-color: #e3f2fd;
    padding: 25px;
    border-radius: 8px;
    margin: 2em 0;
}

.husband-help h3 {
    color: #1565c0;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.help-tips {
    display: grid;
    gap: 15px;
}

.tip-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    align-items: flex-start;
}

.tip-number {
    background: #1565c0;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mama-message {
    background-color: #fff3e0;
    border: 2px solid #ffb74d;
    padding: 25px;
    border-radius: 8px;
    margin: 2em 0;
    text-align: center;
}

.mama-message h3 {
    color: #e65100;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.action-plan {
    background: #f1f8e9;
    padding: 25px;
    border-radius: 8px;
    margin: 2em 0;
    border: 1px solid #c5e1a5;
}

.plan-title {
    font-size: 18px;
    font-weight: 600;
    color: #33691e;
    margin-bottom: 15px;
    text-align: center;
}

.plan-list {
    display: grid;
    gap: 10px;
}

.plan-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 12px;
    border-radius: 6px;
}

.plan-icon {
    font-size: 20px;
}

@media (max-width: 768px) {
    .before-after {
        grid-template-columns: 1fr;
    }
}

/* Table of Contents */
.toc-box {
    background-color: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.toc-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.toc-list a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: #667eea;
    text-decoration: underline;
}

.toc-h3 {
    margin-left: 20px;
    font-size: 15px;
}

.toc-h3 a {
    color: #666;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}