/*
Theme Name: MiniMalistV1.0
Theme URI: https://yourwebsite.com
Author: SA Samim
Author URI: https://yourwebsite.com
Description: A modern, clean, and SEO-friendly blog theme with minimalist design. Perfect for tech blogs, personal blogs, and content-focused websites.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimalist
Domain Path: /languages
Tags: blog, minimalist, custom-header, custom-menu, custom-logo, featured-images, sticky-post, threaded-comments, translation-ready, two-columns, right-sidebar

This theme is 100% customizable via WordPress Customizer.
*/

/* ==========================================================================
   1. CSS VARIABLES & BASE STYLES
   ========================================================================== */
   @import url("assets/css/tool-system.css");
:root {
    --primary-color: #111111;
    --secondary-color: #555555;
    --border-color: #e5e5e5;
    --bg-color: #ffffff;
    --accent-color: #0055ff;
    --font-main: 'Anek Bangla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Tiro Bangla', Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
    --header-height: 70px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--primary-color);
    background-color: var(--bg-color);
    line-height: 1.65;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

input, button, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

h1, h2, h3, h4, .post-title, .hero-title, .sticky-title,
.single-post-title, .archive-title, .widget-title {
    font-family: var(--font-heading);
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* ==========================================================================
   2. LAYOUT & GRID SYSTEM
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5px;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-top: 48px;
    margin-bottom: 64px;
}

@media (min-width: 992px) {
    .main-layout {
        grid-template-columns: 2fr 1fr;
    }
    .main-layout.full-width {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   3. HEADER & NAVIGATION (STICKY & SIDEBAR)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.menu-toggle {
    background: transparent;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 102;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 101;
    padding: 100px 48px 48px 48px;
    border-left: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-nav a {
    font-size: 22px;
    font-weight: 500;
    color: var(--secondary-color);
    display: block;
}

.sidebar-nav a:hover,
.sidebar-nav li.current-menu-item a,
.sidebar-nav li.current_page_item a {
    color: var(--primary-color);
    padding-left: 8px;
}

@media (max-width: 768px) {
    .sidebar-menu {
        right: -80%;
        width: 80%;
        padding: 100px 32px 32px 32px;
    }
}

/* ==========================================================================
   4. SEARCH AREA
   ========================================================================== */
.search-section {
    padding: 32px 0 16px 0;
}

.search-box-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background-color: var(--bg-color);
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.search-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--secondary-color);
    max-width: 650px;
    margin: 0 auto 32px auto;
}

.hero-cta {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.hero-cta:hover {
    background-color: #333333;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 56px 0;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/* ==========================================================================
   6. MAIN CONTENT - COMMON ELEMENTS, STICKY & LATEST POSTS
   ========================================================================== */
.section-title {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Sticky Section UI */
.sticky-section {
    margin-bottom: 48px;
}

.sticky-card {
    border: 2px solid var(--primary-color);
    padding: 32px;
    background-color: var(--bg-color);
    position: relative;
}

.sticky-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 2px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Post Card UI */
.post-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    background-color: var(--bg-color);
    transition: var(--transition-smooth);
}

.post-card:hover {
    border-color: var(--primary-color);
}

.post-header {
    margin-bottom: 16px;
}

.post-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-thumbnail-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f5f5f5;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .post-thumbnail,
.sticky-card:hover .post-thumbnail {
    transform: scale(1.015);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-author {
    font-weight: 600;
    color: var(--primary-color);
}

.post-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.post-readmore {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 2px;
}

.post-readmore::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.post-readmore:hover::after {
    width: 40px;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 24px;
    }
    .post-card, .sticky-card {
        padding: 20px;
    }
}

/* ==========================================================================
   7. PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
}

.page-numbers:hover,
.page-numbers.current {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-numbers.current {
    background-color: #fafafa;
}

.page-numbers.prev,
.page-numbers.next {
    border-radius: 20px;
    padding: 0 16px;
}

/* ==========================================================================
   8. SIDEBAR AREA (WIDGETS)
   ========================================================================== */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* Widget Styles */
.widget {
    margin-bottom: 56px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget ul li {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li a {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.widget ul li a:hover {
    color: var(--accent-color);
}

/* Popular Posts Widget */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.popular-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.popular-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-thumb-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

.popular-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popular-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.popular-title a:hover {
    color: var(--accent-color);
}

/* Force categories to 2-column grid */
.widget_categories ul,
.categories-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    list-style: none !important;
}

.widget_categories ul li,
.categories-list li {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    list-style: none !important;
}

.widget_categories ul li a,
.categories-list li a {
    display: block !important;
    padding: 10px 12px !important;
    border: 1px solid #e5e5e5 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #111111 !important;
    transition: all 0.3s ease !important;
}

.widget_categories ul li a:hover,
.categories-list li a:hover {
    border-color: #111111 !important;
    background-color: #fafafa !important;
}
/* ==========================================================================
   9. SINGLE POST PAGE
   ========================================================================== */
.article-wrapper {
    border: 1px solid var(--border-color);
    padding: 15px;
    background-color: var(--bg-color);
}

.single-post-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.meta-author {
    font-weight: 700;
    color: var(--primary-color);
}

.meta-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.article-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 16px;
    color: #222222;
    line-height: 1.6;
    word-spacing:-0.3px;
}

.article-content p {
    margin-bottom: 28px;
    text-align: justify;
    font-weight: 400;
}

.article-content p a {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding: 0 2px;
    background-image: linear-gradient(var(--accent-color), var(--accent-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.article-content p a:hover {
    color: #ffffff;
    background-size: 100% 100%;
    background-color: var(--accent-color);
}

.article-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 48px 0 24px 0;
    color: var(--primary-color);
    position: relative;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 36px 0 18px 0;
    color: var(--primary-color);
}

.article-content blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--primary-color);
    background-color: #fafafa;
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    color: #333333;
    line-height: 1.6;
}

.article-content ul {
    list-style: none;
    margin-bottom: 28px;
}

.article-content ul li {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222222;
    position: relative;
    padding-left: 24px;
}

.article-content ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.article-content .wp-block-image,
.article-content .wp-block-gallery {
    margin: 32px 0;
}

.article-content .wp-block-image img,
.article-content .wp-block-gallery img {
    border: 1px solid var(--border-color);
}
/* আপনার style.css এর .article-content সেকশনে যোগ করুন */

.article-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.article-content table thead {
    background: var(--primary-color);
    color: #fff;
}

.article-content table th,
.article-content table td {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
    white-space: normal; /* টেক্সট র‍্যাপ করার জন্য */
}

.article-content table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 768px) {
    .article-content table {
        font-size: 13px;
    }
    
    .article-content table th,
    .article-content table td {
        padding: 6px 10px;
        min-width: 80px;
    }
}

/* Table of Contents */
.toc-box {
    border: 1px solid var(--primary-color);
    padding: 24px;
    margin-bottom: 40px;
    background-color: #ffffff;
    max-width: 500px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toc-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toc-toggle-icon {
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.toc-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.toc-list {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 0;
    transition: padding 0.35s ease;
}

.toc-box.active .toc-content-wrapper {
    grid-template-rows: 1fr;
}

.toc-box.active .toc-list {
    padding-top: 20px;
}

.toc-box.active .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-item a {
    font-size: 16px;
    color: var(--secondary-color);
    display: inline-block;
}

.toc-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Facebook CTA Box */
.fb-cta-box {
    border: 1px dashed var(--primary-color);
    padding: 20px 24px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
}

.fb-cta-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.fb-cta-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.fb-cta-btn:hover {
    background-color: var(--accent-color);
}

@media (max-width: 576px) {
    .fb-cta-box {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Author Bio Box */
.author-bio-box {
    border: 1px solid var(--border-color);
    padding: 32px;
    margin-top: 56px;
    display: flex;
    gap: 24px;
    align-items: center;
    background-color: #ffffff;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.author-info-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author-box-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.author-box-desc {
    font-size: 15px;
    color: var(--secondary-color);
    text-align: justify;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .author-bio-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 40px;
    padding: 24px 0;
    gap: 24px;
}

@media (min-width: 576px) {
    .post-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .nav-box.next {
        text-align: right;
        border-left: 1px solid var(--border-color);
        padding-left: 24px;
    }
    .nav-box.prev {
        padding-right: 24px;
    }
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.nav-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.nav-post-title a:hover {
    color: var(--accent-color);
}

/* Related Articles */
.related-articles {
    margin-top: 56px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 576px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: var(--transition-smooth);
}

.related-card:hover {
    border-color: var(--primary-color);
}

.related-thumb-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 16px;
}

.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.related-title a:hover {
    color: var(--accent-color);
}

/* Comments Section */
.comments-section {
    margin-top: 56px;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.comment-item {
    border: 1px solid var(--border-color);
    padding: 24px;
    background-color: var(--bg-color);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
}

.comment-date {
    color: var(--secondary-color);
    font-size: 13px;
}

.comment-text {
    font-size: 15px;
    color: #333333;
    text-align: justify;
}

.comment-form-wrapper {
    border: 1px solid var(--primary-color);
    padding: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-submit-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background-color: #333333;
}

/* ==========================================================================
   10. AUTHOR PAGE
   ========================================================================== */
.author-profile-card {
    border: 1px solid var(--primary-color);
    padding: 48px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 48px;
}

.profile-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.profile-designation {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 17px;
    color: var(--secondary-color);
    max-width: 650px;
    margin: 0 auto 24px auto;
    line-height: 1.7;
}

.profile-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    border-color: var(--primary-color);
    background-color: #fafafa;
}

@media (max-width: 768px) {
    .author-profile-card {
        padding: 32px 24px;
    }
    .profile-details h1 {
        font-size: 28px;
    }
}

/* Archive Post Card */
.posts-archive-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.archive-post-card {
    border: 1px solid var(--border-color);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    transition: var(--transition-smooth);
}

.archive-post-card:hover {
    border-color: var(--primary-color);
}

@media (min-width: 576px) {
    .archive-post-card {
        grid-template-columns: 1fr 2fr;
    }
}

.archive-thumb-link {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f5f5f5;
    border: 1px solid var(--border-color);
}

.archive-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-meta {
    font-size: 13px;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.archive-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.archive-title a:hover {
    color: var(--accent-color);
}

.archive-excerpt {
    font-size: 15px;
    color: #444444;
    text-align: justify;
}

@media (max-width: 576px) {
    .archive-post-card {
        padding: 20px;
    }
    .archive-title {
        font-size: 19px;
    }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    text-align: center;
    background-color: var(--bg-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 12px;
    color: var(--secondary-color);
}

/* ==========================================================================
   12. RESPONSIVE & UTILITY
   ========================================================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

@media (max-width: 576px) {
    .alignleft,
    .alignright {
        float: none;
        margin: 0 auto 16px auto;
    }
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 24px;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--secondary-color);
    margin-top: 8px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border: 1px solid var(--border-color);
}
/* ==========================================================================
   SOCIAL SHARE BUTTONS
   ========================================================================== */
.social-share-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-share-btn.facebook:hover {
    background: #0d65d9 !important;
}

.social-share-btn.twitter:hover {
    background: #1a1a1a !important;
}

.social-share-btn.linkedin:hover {
    background: #0853a3 !important;
}

.social-share-btn.whatsapp:hover {
    background: #1ebe5c !important;
}

.social-share-btn.copy-link:hover {
    background: #333333 !important;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
    font-size: 14px;
    color: var(--secondary-color);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumbs .current {
    color: var(--primary-color);
    font-weight: 600;
}
/* ==========================================================================
   SITEMAP PAGE STYLES
   ========================================================================== */
.sitemap-content .sitemap-section {
    margin-bottom: 16px;
}

.sitemap-content ul li a:hover {
    color: var(--accent-color) !important;
    padding-left: 4px;
}

.sitemap-content ul li a:hover span:first-child {
    color: var(--accent-color) !important;
}

.sitemap-content .sitemap-section .categories-grid,
.sitemap-content .sitemap-section .authors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .sitemap-content .sitemap-section .categories-grid,
    .sitemap-content .sitemap-section .authors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .sitemap-content .sitemap-section .categories-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   IMAGE CAPTION FIX - DIRECT STYLE.CSS
   ============================================================ */

/* পোস্ট কন্টেন্টের সব ইমেজ ফিগার */
.article-content figure,
.article-content .wp-block-image {
    margin: 30px 0;
    max-width: 100%;
    display: block;
    clear: both;
}

/* ইমেজ নিজে */
.article-content figure img,
.article-content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto !important;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

/* ক্যাপশন স্টাইল */
.article-content figure figcaption,
.article-content .wp-element-caption,
.article-content .wp-caption-text {
    display: block !important;
    margin-top: 12px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #555555 !important;
    text-align: center !important;
    font-style: italic !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    border-left: 3px solid #111111 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Align Left */
.article-content figure.alignleft,
.article-content .wp-block-image.alignleft {
    float: left;
    margin: 8px 24px 16px 0;
    max-width: 50%;
}

/* Align Right */
.article-content figure.alignright,
.article-content .wp-block-image.alignright {
    float: right;
    margin: 8px 0 16px 24px;
    max-width: 50%;
}

/* Align Center */
.article-content figure.aligncenter,
.article-content .wp-block-image.aligncenter {
    text-align: center;
    margin: 30px auto;
}

/* মোবাইল রেস্পন্সিভ */
@media (max-width: 768px) {
    .article-content figure.alignleft,
    .article-content figure.alignright,
    .article-content .wp-block-image.alignleft,
    .article-content .wp-block-image.alignright {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }
    
    .article-content figure figcaption,
    .article-content .wp-element-caption,
    .article-content .wp-caption-text {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
}

/* ============================================================
   LEGACY CAPTION (পুরাতন WordPress ক্যাপশন)
   ============================================================ */
.article-content .wp-caption {
    max-width: 100%;
    margin: 30px 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
}

.article-content .wp-caption img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    border-radius: 6px 6px 0 0;
}

.article-content .wp-caption .wp-caption-text {
    margin: 0 !important;
    padding: 10px 16px !important;
    background: #f8f9fa !important;
    font-size: 14px !important;
    color: #555555 !important;
    text-align: center !important;
    font-style: italic !important;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 6px 6px;
}