/* Table of Contents Widget */
.toc-widget .table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-widget .table-of-contents li + li {
    margin-top: 0.5rem;
}

.toc-widget .table-of-contents li a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
    border-left: 3px solid transparent;
}

.toc-widget .table-of-contents li a:hover {
    background-color: #334155;
    color: #ffffff;
    border-left-color: #f97316; /* Accent orange */
}

/* Ensure other widget text is readable */
.cta-widget p {
    color: #cbd5e1;
}

.social-share-widget a {
    color: #94a3b8; /* A muted light gray for icons */
    transition: color 0.2s ease-out;
}

.social-share-widget a.facebook:hover { color: #1877F2; }
.social-share-widget a.twitter-x:hover { color: #ffffff; }
.social-share-widget a.instagram:hover { color: #E4405F; }
.social-share-widget a.linkedin:hover { color: #0A66C2; }

.blog-hero-section {
    position: relative;
    color: white;
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.blog-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Enforce consistent H2 styling within blog content */
.entry-content h2 {
    color: #001f3f; /* Or your theme's dark blue variable */
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.entry-content h3 {
    color: #001f3f;
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
}

.entry-content h4 {
    color: #1e293b;
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.entry-content ul,
.entry-content ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.5em; /* Standard indentation */
}

.entry-content ul li,
.entry-content ol li {
    padding-left: 0.5em;
    margin-bottom: 0.6em;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

/* Refined Sidebar Widget Styling - DARK MODE */
.sidebar-column .widget {
    background-color: #1e293b; /* A dark slate blue-gray */
    color: #cbd5e1; /* Light gray text for contrast */
    border: 1px solid #334155; /* A slightly lighter border for depth */
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.sidebar-column .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #475569;
    text-align: center;
}

/* Social Share Widget */
.social-share-widget .flex {
    gap: 1rem;
    justify-content: center;
}

.social-share-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #f3f4f6; /* gray-100 */
    color: #4b5563; /* gray-600 */
    transition: all 0.3s ease;
}

.social-share-widget a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-share-widget .facebook:hover { background-color: #1877F2; color: white; }
.social-share-widget .twitter-x:hover { background-color: #000000; color: white; }
.social-share-widget .instagram:hover { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: white; }
.social-share-widget .linkedin:hover { background-color: #0A66C2; color: white; }

/* --- Specific Widget Styling for Dark Mode --- */
.sidebar-column .cta-widget p {
    color: #cbd5e1;
} 