/*
Theme Name: CDC205966949
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Personal custom WordPress theme
Version: 1.0
License: GPL v2 or later
Text Domain: CDC205966949
*/












a:hover {
	color: #000;
    text-decoration: none;
}


/* style.css */



/* -----------------------------------
   3. Header & Footer
----------------------------------- */

.site-footer {
    padding: 10px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

/* -----------------------------------
   4. Main Content
----------------------------------- */
main {
    max-width: 1240px;
	min-height: 100vh;
    margin: 1.5rem auto;
	padding: 0px 10px;
}

/* CDC205966949/template-parts/content.php */
/* --- Global & Layout Wrapper --- */
.main-content-wrapper {
    display: flex;
    gap: 30px;
}

.blog .content-area {
    flex: 3.27;
}

.single .content-area {
    flex: 2.5;
}

.blog .sidebar-area {
    flex: 1;
}

.single .sidebar-area {
    flex: 2;
}

.single #secondary.post-sidebar {
    position: sticky;
    top: 130px;
}

/* --- Blog Post Grids --- */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.archive .blog-posts,
body.search.search-results .blog-posts,
body.single-post .blog-posts {
    grid-template-columns: repeat(4, 1fr) !important;
}

.featured-categories-section {
    margin: 40px 0;
    width: 100%;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* --- Post Cards & Categories --- */
.post-card {
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
	margin: 10px 0 5px 0;
}

.post-card-description {
	font-size: .875em;
	margin: 0px 0 5px 0;
	color: #555;
}

.post-meta-info {
    font-size: .875em;
}

/* --- Single Posts Share Button Style --- */
/* ================================================
   Share Bar
   ================================================ */
.entry-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.share-icon-btn {
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.share-icon-btn svg {
    width: 36px;
    height: auto;
    fill: currentColor;
    display: block;
}

.share-icon-btn:hover {
	color: #ff5722;
}

.share-more {
    border: 1px dashed #ccc;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    background: transparent;
	border-radius: 4px;
}

/* --- Category Blocks & Mini Posts --- */
.category-block {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    padding: 20px;
}

.category-block-title {
    font-size: 1.15rem;
    font-weight: 500;
}

.category-block-title a {
    color: #1a0dab;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.category-block-title a:hover {
    color: #0a007e;
}

.category-block-title .arrow {
    margin-left: 8px;
    font-size: 0.9rem;
    color: #5f6368;
}

.mini-post-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #d9d9d9;
}

.mini-post-source {
    display: block;
    font-size: 0.75rem;
    color: #3c4043;
    font-weight: 700;
    margin-bottom: 4px;
}

.mini-post-title {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.mini-post-date {
    font-size: 0.75rem;
}

.mini-post-thumb {
    flex-shrink: 0;
}

.mini-post-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f8f9fa;
}

/* --- Sidebar Latest Posts (CLS Fixes) --- */
.wp-block-latest-posts__list li {
    min-height: 64px;
    display: block;
    margin-bottom: 16px;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    border-top: 1px solid #d9d9d9;
    padding-top: 15px;
}

.wp-block-latest-posts__featured-image {
    width: 64px !important;
    height: 64px !important;
    float: right;
    margin-left: 10px;
}

.wp-block-latest-posts__featured-image img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
	border-radius: 12px;
}

.sidebar-area .wp-block-latest-posts__post-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
    line-height: 1.4;
    font-weight: 600;
    box-sizing: border-box;
}

.archive-header,
body.blog h2.section-title,
body.blog h2.wp-block-heading {
	border-left: 8px solid red;
    padding-left: 15px;
}

/* --- Single Post Specifics --- */
.single-post .post-thumbnail img {
    margin: 20px 0;
}

.post-thumbnail-img {
    border-radius: 12px;
}

.author .author-box,
.single-post .author-box {
    background: linear-gradient(135deg, #fcb69f 0%, #ffecd2 100%);
    padding: 60px 60px 40px 60px;
    margin: 1.5em 0;
    border-radius: 24px;
}

.author .author-header,
.single-post .author-header {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 15px;
}

.author .author-avatar img,
.single-post .author-avatar img {
	border-radius: 100px;
}

.author .author-name,
.single-post .author-name {
    font-size: 2em;
    font-weight: 600;
    padding: 0;
}

.author .author-heading,
.single-post .author-heading {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #555;
}

.single-post .author-posts-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    color: #4a46ff;
    transition: color 0.2s ease;
}

.single-post .author-posts-link:hover {
    color: #312cff;
    text-decoration: underline;
}

body.single-post .related-posts-container {
    margin: 45px 0;
}

body.single-post .related-title {
    text-align: center;
}

.post-taxonomies {
    font-size: 14px;
	font-weight: 600;
}

.post-taxonomies a {
    background: #bad9ff;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 2.2;
}

.post-taxonomies a:hover {
    background-color: #95c5ff;
    color: #000000;
}

/* --- Pagination --- */
.navigation.pagination {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.pagination .nav-links {
    display: flex;
}

.pagination .page-numbers {
    padding: 4px 14px;
    border: 1px solid #bfbfbf;
}

.pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* --- Visually Hidden / SEO Elements --- */
.screen-reader-text,
.post-categories,
.page-header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Responsive Breakpoints --- */

@media (max-width: 1024px) {
    .main-content-wrapper {
        flex-direction: column;
    }

	.featured-categories-section {
        margin: 0;
    }
	
    .content-area,
    .sidebar-area {
        flex: none;
        width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-posts,
    .archive .blog-posts,
    body.search.search-results .blog-posts,
    body.single-post .blog-posts {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Horizontal Scrolling Sidebar for Tablet/Mobile */
    .sidebar-area ul.wp-block-latest-posts__list {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .sidebar-area ul.wp-block-latest-posts__list::-webkit-scrollbar {
        display: none;
    }

    .sidebar-area ul.wp-block-latest-posts__list li {
        min-width: 250px;
        scroll-snap-align: start;
        border: 1px solid #dcdcdc;
        padding: 15px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .post-meta-info {
        padding-bottom: 20px;
        border-bottom: 7px solid #e0e0e0;
        margin-left: -10px;
        margin-right: -10px;
    }
	
	.single-post-meta {
        display: flex;
        flex-direction: column;
	}

	.sep {
        display: none;
	}
	
    .blog-posts,
    .archive .blog-posts,
    body.search.search-results .blog-posts,
    body.single-post .blog-posts {
        grid-template-columns: 1fr !important;
    }

    .post-meta-info time {
        margin-left: 10px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-block {
        padding: 16px;
    }

    .pagination .page-numbers {
        padding: 2px 10px;
    }
     
	.author .author-header,
    .single-post .author-header {
        flex-direction: column;
        text-align: center;
		gap: 15px;
    }
     
	.author .author-box,
    .single-post .author-box {
        padding: 40px 20px 20px 20px;
    }
     
	.author .author-box .author-name,
    .single-post .author-box .author-name {
        font-size: 1.5em;
    }
}
/* CDC205966949/template-parts/content.php */

















