/* === T11.11.11 Analysis  Custom Fixes === */

/* 1. Hide Jetpack "Customize buttons" admin link on frontend */
.sd-content .customize-buttons,
.sharedaddy .sd-content .customize-buttons a,
a.sharing-anchor {
	    display: none !important;
}

/* 2. Hide Top Menu bar entirely (no menu assigned, bar not needed) */
#top-navigation,
.top-navigation-bar {
    display: none !important;
}

/* 3. Slight improvement: add subtle border-bottom to header */
.site-header {
	    border-bottom: 1px solid #e8e8e8;
}

/* 4. Improve link color from default black */
a {
	    color: #1a4a7a;
}
a:hover {
	    color: #0d2d4f;
}
}
}
}
}
}

/* === 5. Disclaimer Box — auto-show on single posts === */
.single-post .post-page-content::after {
    content: "Disclaimer: This content is for informational and educational purposes only. It does not constitute financial advice. Always conduct your own research before making any investment decisions.";
    display: block;
    margin-top: 40px;
    padding: 16px 20px;
    background: #f8f8f6;
    border-left: 4px solid #1a4a7a;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

/* === 6. Subscribe CTA box — show at end of single posts === */
.single-post .post-subscribe-cta {
    display: block;
    margin: 32px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f0f4fb 0%, #e8eef8 100%);
    border: 1px solid #d0daea;
    border-radius: 4px;
    text-align: center;
}
.single-post .post-subscribe-cta h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #1a2f5a;
}
.single-post .post-subscribe-cta p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #555;
}
.single-post .post-subscribe-cta .subscribe-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #1a4a7a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.single-post .post-subscribe-cta .subscribe-btn:hover {
    background: #0d2d4f;
    color: #fff !important;
}

/* === 7. Reading progress bar on single posts === */
.single-post #reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #1a4a7a;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* === 8. Sidebar enhancements === */
.widget-title {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 2px solid #1a4a7a;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.widget ul li {
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}


/* === Fix post-page-content overflow so ::after disclaimer shows === */
.single-post .post-page-content {
    overflow: visible !important;
}

/* === Disclaimer via graceful-media-single::after (backup) === */
.single-post .graceful-media-single::after {
    content: "Disclaimer: This content is for informational and educational purposes only. It does not constitute financial advice. Always conduct your own research before making any investment decisions.";
    display: block;
    margin-top: 32px;
    padding: 14px 20px;
    background: #f8f8f6;
    border-left: 4px solid #1a4a7a;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    clear: both;
}

/* === ITEMS 13–15: Accent Color / Sticky Header / Dark Mode === */

/* 13a. Navigation hover & active state */
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: #1a4a7a;
    text-decoration: underline;
}

/* 13b. Category & Tag labels */
.cat-links a, .tags-links a {
    color: #1a4a7a;
    border: 1px solid #c2d4e8;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}
.cat-links a:hover, .tags-links a:hover {
    background: #1a4a7a;
    color: #fff;
}

/* 13c. Blockquotes */
blockquote {
    border-left: 4px solid #1a4a7a;
    padding-left: 20px;
    color: #555;
    font-style: italic;
    margin-left: 0;
}

/* 13d. Table headers */
table thead th {
    background-color: #1a4a7a;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
}
table tbody tr:nth-child(even) { background: #f4f7fb; }

/* 13e. Input focus ring */
input:focus, textarea:focus, select:focus {
    outline: 2px solid #1a4a7a;
    outline-offset: 1px;
}

/* 14. Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.admin-bar .site-header { top: 32px; }

/* 15. Dark Mode — auto-detect from OS */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #141414;
        color: #ddd;
    }
    .site-header {
        background-color: #0e0e0e !important;
        border-bottom-color: #2a2a2a;
    }
    .site-title a { color: #ddd !important; }
    .site-description { color: #aaa !important; }
    .main-navigation a { color: #ccc; }
    .main-navigation a:hover { color: #7ab0e0; }
    a { color: #7ab0e0 !important; }
    a:hover { color: #b0d4f4 !important; }
    .graceful-media-content, .post-page-content, article, .entry-content {
        background-color: #141414;
        color: #ddd;
    }
    .widget, .widget-area, .sidebar { background: #141414; color: #ddd; }
    .widget-title { color: #7ab0e0 !important; border-bottom-color: #7ab0e0 !important; }
    .site-footer, .footer-widget-area {
        background-color: #0e0e0e !important;
        color: #aaa;
    }
    blockquote { border-left-color: #7ab0e0; color: #bbb; }
    table thead th { background-color: #1a2f4a; }
    table tbody tr:nth-child(even) { background: #1e1e1e; }
    input, textarea, select {
        background-color: #222;
        color: #ddd;
        border-color: #444;
    }
    .single-post .graceful-media-single::after,
    .single-post .post-page-content::after {
        background: #1e1e1e !important;
        color: #999 !important;
        border-left-color: #7ab0e0 !important;
    }
}

/* === ITEM 11: Homepage Redesign Fixes === */

/* Hide auto-generated page title on homepage (we use our own H1 in the block) */
.home .entry-title,
.home .page-title,
.home .graceful-media-page-header .entry-title {
    display: none !important;
}

/* Hero block background tint on homepage */
.home .wp-block-group.has-base-2-background-color {
    background-color: #f6f8fb !important;
    border-radius: 8px;
}

/* Latest Posts block on homepage — cleaner styling */
.home .wp-block-latest-posts {
    list-style: none;
    padding: 0;
}
.home .wp-block-latest-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
}
.home .wp-block-latest-posts li:last-child { border-bottom: none; }
.home .wp-block-latest-posts__post-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1a4a7a;
}
.home .wp-block-latest-posts__post-date {
    color: #999;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* About columns on homepage */
.home .wp-block-columns .wp-block-column h3 {
    border-bottom: 2px solid #1a4a7a;
    padding-bottom: 8px;
    margin-bottom: 14px;
}


/* === Hide duplicate Recent Posts widget on homepage only === */
.home .recent-posts-widget-with-thumbnails,
.home #recent-posts-widget-with-thumbnails-2 {
    display: none !important;
}

/* === Social links styling (footer + sidebar) === */
.t11-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.t11-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}
.t11-social-links a:hover { opacity: 0.8; }
.t11-social-links .social-yt {
    background: #ff0000;
    color: #fff !important;
}
.t11-social-links .social-fb {
    background: #1877f2;
    color: #fff !important;
}


/* === Dark Mode Fix: Force Light Mode Only === */
/* Phone/system dark mode won't affect this site */
html {
	  color-scheme: only light;
}

/* Extra safety: ensure body & content areas stay light */
@media (prefers-color-scheme: dark) {
	html, body {
		    background-color: #ffffff !important;
		    color: #222222 !important;
	}
	  .site-header, .site-footer, .site-main,
	  .entry-content, .hentry, .post-content,
	.widget, .sidebar {
		    background-color: #ffffff !important;
		    color: #222222 !important;
	}
	h1, h2, h3, h4, h5, h6 {
		    color: #111111 !important;
	}
	p, li, td, th, blockquote {
		    color: #333333 !important;
	}
	table {
		    background-color: #ffffff !important;
	}
	tr {
		    background-color: transparent !important;
	}
}
	}
	}
	}
	}
	}
	}
}
}