﻿
footer {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 40px 0px;
    background: #23232f;
    /* margin-top: 40px; */
}

#main {
    margin-top: 8rem;
}

.site-main {
    max-width: 864px;
}
/* Add to your site's relevant CSS file */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #444;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Your existing inline styles for #main and .site-main:
       #main { margin-top: 8rem; }
       .site-main { max-width: 864px; }
       These are good for structure. We'll enhance .site-main. */

.site-main { /* Applies to the main content box */
    background-color: #ffffff;
    padding: 2.5rem 3.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 10px;
}

#main { /* Adjust if your header is fixed or based on _Layout.cshtml */
    padding-top: 3rem; /* Or keep margin-top: 8rem; from your inline style if preferred */
}
/* Add to your site's relevant CSS file */
.meta-info {
    font-size: 0.95em;
    color: #525252;
    background-color: #f1f3f5; /* Light grey background */
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem !important; /* Ensure spacing */
    border-left: 4px solid #adb5bd; /* Accent border */
}

    .meta-info strong {
        color: #343a40;
    }

    .meta-info a {
        font-weight: bold;
        color: #0056b3; /* Slightly different link color for emphasis if needed */
    }

        .meta-info a:hover {
            color: #003d80;
        }
/* Add to your site's relevant CSS file */
.wp-block-yoast-seo-table-of-contents {
    background-color: #eaf2f8; /* Light, calming blue */
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 2.5rem 0 3rem 0; /* Good spacing before and after */
    border: 1px solid #d4e6f1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
}

    /* Style the "Table of contents" H2 inside the Yoast block */
    .wp-block-yoast-seo-table-of-contents h2 {
        font-size: 1.5em !important; /* Using !important if plugin styles are too strong */
        color: #1a5276 !important; /* Darker blue for TOC title */
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 1px solid #b8d4e8 !important; /* Separator for TOC title */
        font-weight: 600 !important;
    }

    .wp-block-yoast-seo-table-of-contents ul {
        list-style: none; /* Clean look, numbers/hierarchy are in the link text usually */
        padding-left: 0;
        margin-bottom: 0; /* Remove bottom margin from the main ul */
    }

        .wp-block-yoast-seo-table-of-contents ul li {
            margin-bottom: 0.7em;
            line-height: 1.5; /* Good line height for TOC items */
        }

            .wp-block-yoast-seo-table-of-contents ul li:last-child {
                margin-bottom: 0;
            }

            .wp-block-yoast-seo-table-of-contents ul li a {
                text-decoration: none;
                color: #1f618d; /* TOC link color */
                font-weight: 500;
                display: block; /* Make the whole area clickable */
                padding: 0.25rem 0; /* Small padding for links */
                transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out; /* Smooth hover */
            }

                .wp-block-yoast-seo-table-of-contents ul li a:hover {
                    color: #154360; /* Darker on hover */
                    /* background-color: #ddeaf6; */ /* Optional: slight background hover for links */
                    /* border-radius: 4px; */
                }

        /* Styling for nested lists (sub-sections in TOC) */
        .wp-block-yoast-seo-table-of-contents ul ul {
            padding-left: 1.5em; /* Indent sub-items clearly */
            margin-top: 0.5em;
            border-left: 2px solid #c5ddec; /* Visual cue for nesting */
            margin-left: 0.25rem; /* Align with the parent item's text */
        }

            .wp-block-yoast-seo-table-of-contents ul ul li a {
                font-size: 0.95em; /* Slightly smaller text for sub-items */
                font-weight: 400; /* Regular weight for sub-items */
            }
/* Add to your site's relevant CSS file */
/* General UL and OL styling within .entry-content (excluding the TOC handled above) */
.entry-content ol,
.entry-content ul:not(.wp-block-yoast-seo-table-of-contents ul) { /* Exclude TOC ULs */
    padding-left: 2em;
    margin-bottom: 1.3em;
}

    .entry-content ol li,
    .entry-content ul:not(.wp-block-yoast-seo-table-of-contents ul) li {
        margin-bottom: 0.6em;
        color: #566573;
    }

.entry-content ul:not(.wp-block-yoast-seo-table-of-contents ul) {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content a {
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
}

    .entry-content a:hover {
        text-decoration: underline;
        color: #1a5276
        /* Add to your site's relevant CSS file */
    }
@media (max-width: 768px)

{
    .site-main

{
    padding: 2rem 1.5rem;
}

.entry-content h2.wp-block-heading, .entry-content h2 {
    font-size: 1.5rem;
}

.entry-content h3.wp-block-heading, .entry-content h3 {
    font-size: 1.25rem;
}

.wp-block-yoast-seo-table-of-contents {
    padding: 1rem 1.5rem;
}

    .wp-block-yoast-seo-table-of-contents h2 {
        font-size: 1.3em !important;
    }

}

@media (max-width: 480px) {
    .site-main {
        padding: 1.5rem 1rem;
        /* Consider removing border-radius if it looks odd at full width */
        /* border-radius: 0; */
    }

    #main {
        padding-top: 1rem; /* Reduce top padding for smaller screens */
        margin-top: 6rem; /* Or adjust your original margin-top */
    }

    .wp-block-yoast-seo-table-of-contents ul ul {
        padding-left: 1em; /* Reduce indent for sub-items on small screens */
    }
}

}

