/* ========================================
   BLOG CSS - ORGANIZED BY HTML STRUCTURE
   ======================================== */

/* ========================================
   BLOG INDEX PAGE STRUCTURE
   ======================================== */

/* 1. BLOGS HERO SECTION */
.blogs-hero {
    background: linear-gradient(135deg, #166534 0%, #c9a037 100%);
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blogs-hero .container {
    /* Container styles */
}

.blogs-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing) * 1.5);
}

.blogs-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 160, 55, 0.2);
    color: #f7fafc;
    padding: 5px 15px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(201, 160, 55, 0.3);
    backdrop-filter: blur(10px);
}

.blogs-hero .hero-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0px;
}

.blogs-hero p.hero-subtitle {
    font-size: 16px;
    margin: 0px;
}

.blogs-hero .hero-stats {
    gap: var(--spacing);
    padding: var(--spacing) var(--spacing);
    border-radius: var(--radius);
    max-width: 450px;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 0px auto;
}

.blogs-hero .hero-stats .stat {
    width: 33.33%;
    text-align: center;
}

.blogs-hero .hero-stats .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #f7fafc;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #c9a037 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blogs-hero .hero-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.blogs-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(201, 160, 55, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(11, 91, 54, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(201, 160, 55, 0.05) 0%, transparent 50%);
}

/* 2. BLOGS CONTENT SECTION */
.blogs-content {
    padding: 80px 0;
    background: #f8fafc;
}

.blogs-content .container {
    /* Container styles */
}

/* 3. FEATURED SECTION */
.featured-section {
    margin: 0px;
    background: transparent;
    padding: 0px;
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="featured-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23featured-pattern)"/></svg>);
    pointer-events: none;
}

.featured-section .title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-section .title-container .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.featured-section .title-container .section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.featured-section .blog-link {
    text-decoration: none;
}

.featured-section .featured-blog {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(201, 160, 55, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-section .featured-blog .featured-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.featured-section .featured-blog .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-section .featured-blog .featured-image .featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 91, 54, 0.9) 0%, rgba(201, 160, 55, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.featured-section .featured-blog .featured-image .featured-category {
    background: #c9a037;
    color: white;
    padding: calc(var(--spacing) * 0.5) var(--spacing);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing);
}

.featured-section .featured-blog .featured-image .read-time {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

.featured-section .featured-blog .featured-content {
    padding: calc(var(--spacing) * 2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing);
}

.featured-section .featured-blog .featured-content .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info .author-details {
    display: flex;
    flex-direction: column;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info .author-details .author-name {
    font-size: 14px;
    font-weight: 500;
    color: #0b5b36;
}

.featured-section .featured-blog .featured-content .blog-meta .author-info .author-details .publish-date {
    font-size: 12px;
    font-weight: 600;
    color: #aaaaaa;
}

.featured-section .featured-blog .featured-content .blog-meta .reading-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.featured-section .featured-blog .featured-content .featured-title {
    font-size: var(--text-size);
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: var(--line-height);
    min-height: 48px;
}

.featured-section .featured-blog .featured-content .featured-excerpt {
    color: #64748b;
    margin-bottom: 0px;
}

.featured-section .featured-blog .featured-content .featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-section .featured-blog .featured-content .featured-tags .tag {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.featured-section .featured-blog .featured-content .featured-tags .tag.primary {
    background: #c9a037;
    color: white;
}

/* 4. LATEST SECTION */
.latest-section {
    padding: 70px 0;
}

.latest-section .container {
    /* Container styles */
}

.latest-section .title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.latest-section .blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: var(--spacing);
}

.latest-section .blogs-grid .blog-link {
    text-decoration: none;
}

.latest-section .blogs-grid .blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(201, 160, 55, 0.08);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.latest-section .blogs-grid .blog-card .blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.latest-section .blogs-grid .blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.latest-section .blogs-grid .blog-card .blog-image .blog-category {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #c9a037;
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing);
}

.latest-section .blogs-grid .blog-card .blog-image .read-time {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

.latest-section .blogs-grid .blog-card .blog-content {
    padding: calc(var(--spacing) * 2);
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-avatar.small {
    width: 30px;
    height: 30px;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-details {
    display: flex;
    flex-direction: column;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-details .author-name {
    font-size: 14px;
    font-weight: 500;
    color: #0b5b36;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-meta .author-info .author-details .publish-date {
    font-size: 12px;
    font-weight: 600;
    color: #aaaaaa;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-title {
    font-size: var(--text-size);
    font-weight: 600;
    color: #000000;
    margin: 0rem;
    line-height: var(--line-height);
    min-height: 48px;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-excerpt {
    color: #000000;
    line-height: var(--line-height);
    font-size: 14px;
    margin: 0rem;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-footer .blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-footer .blog-tags .tag {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.latest-section .blogs-grid .blog-card .blog-content .blog-footer .blog-stats {
    font-size: 0.8rem;
    color: #64748b;
}

.latest-section .pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

/* 5. CTA SECTION */
.cta-section {
    text-align: center;
    margin: 0px !important;
}


.cta-section .cta-card .cta-content .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.cta-section .cta-card .cta-content .newsletter-form .form-group {
    gap: var(--spacing);
    max-width: 400px;
    margin: 0px auto var(--spacing) auto;
}

.cta-section .cta-card .cta-content .newsletter-form .form-group input::placeholder {
    color: #fff;
}

.cta-section .cta-card .cta-content .newsletter-form p.form-note {
    margin: 0px auto;
    max-width: 300px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-section .cta-card .cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>);
    pointer-events: none;
}

/* 6. CATEGORIES SECTION */
.categories-section {
    padding: 70px 0px;
}

.categories-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--spacing);
}

.categories-section .categories-grid .category-card {
    background: white;
    border-radius: var(--radius);
    padding: var(--spacing);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(201, 160, 55, 0.08);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.categories-section .categories-grid .category-card .category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.categories-section .categories-grid .category-card h3 {
    font-size: var(--text-size);
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: var(--line-height);
}

.categories-section .categories-grid .category-card p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: var(--line-height);
}

.categories-section .categories-grid .category-card .article-count {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
}

/* ========================================
   BLOG SHOW PAGE STRUCTURE
   ======================================== */

/* 7. BLOG SINGLE */
.blog-single {
    background: #f8fafc;
}

/* 8. BLOG HERO (SHOW PAGE) */
.blog-hero {
    background: linear-gradient(135deg, #166534 0%, #c9a037 100%);
    padding: 100px 0 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-hero-pattern)"/></svg>);
    pointer-events: none;
}

.blog-hero .container {
    /* Container styles */
}

.blog-hero .blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero .blog-hero-content .blog-title {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero .blog-hero-content .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-hero .blog-hero-content .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.blog-hero .blog-hero-content .breadcrumb a:hover {
    color: white;
}

.blog-hero .blog-hero-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.blog-hero .blog-hero-content .breadcrumb .current {
    color: white;
    font-weight: 500;
}

.blog-hero .blog-hero-content .blog-excerpt {
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
    margin: 2rem 0px;
    font-size: 1.1rem;
}

.blog-hero .blog-hero-content .blog-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-hero .blog-hero-content .blog-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-hero .blog-hero-content .blog-tags .tag.primary {
    background: #c9a037;
}

.blog-hero .blog-hero-content .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-hero .blog-hero-content .blog-meta .author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-hero .blog-hero-content .blog-meta .author-info .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.blog-hero .blog-hero-content .blog-meta .author-info .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero .blog-hero-content .blog-meta .author-info .author-details {
    display: flex;
    flex-direction: column;
}

.blog-hero .blog-hero-content .blog-meta .author-info .author-details .author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.blog-hero .blog-hero-content .blog-meta .author-info .author-details .publish-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.blog-hero .blog-hero-content .blog-meta .blog-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 9. BLOG CONTENT SECTION (SHOW PAGE) */
.blog-content-section {
    padding: 80px 0;
}

.blog-content-section .container {
    /* Container styles */
}

.blog-content-section .blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.blog-content-section .blog-layout .blog-main {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-content-section .blog-layout .blog-main .blog-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-content-section .blog-layout .blog-main .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content-section .blog-layout .blog-main .blog-content {
    padding: 3rem;
}

.blog-content-section .blog-layout .blog-main .blog-content h1,
.blog-content-section .blog-layout .blog-main .blog-content h2,
.blog-content-section .blog-layout .blog-main .blog-content h3,
.blog-content-section .blog-layout .blog-main .blog-content h4,
.blog-content-section .blog-layout .blog-main .blog-content h5,
.blog-content-section .blog-layout .blog-main .blog-content h6 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content-section .blog-layout .blog-main .blog-content h1 {
    font-size: 2rem;
}

.blog-content-section .blog-layout .blog-main .blog-content h2 {
    font-size: 1.75rem;
}

.blog-content-section .blog-layout .blog-main .blog-content h3 {
    font-size: 1.5rem;
}

.blog-content-section .blog-layout .blog-main .blog-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-content-section .blog-layout .blog-main .blog-content ul,
.blog-content-section .blog-layout .blog-main .blog-content ol {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content-section .blog-layout .blog-main .blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content-section .blog-layout .blog-main .blog-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #c9a037;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.blog-content-section .blog-layout .blog-main .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.blog-content-section .blog-layout .blog-main .blog-content a {
    color: #c9a037;
    text-decoration: underline;
}

.blog-content-section .blog-layout .blog-main .blog-content a:hover {
    color: #166534;
}

.blog-content-section .blog-layout .blog-main .share-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.blog-content-section .blog-layout .blog-main .share-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons .share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons .share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons .share-btn.facebook {
    background: #1877f2;
    color: white;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons .share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.blog-content-section .blog-layout .blog-main .share-section .share-buttons .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 10. BLOG SIDEBAR */
.blog-content-section .blog-layout .blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post:last-child {
    border-bottom: none;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-content h4 a {
    color: inherit;
    text-decoration: none;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-content h4 a:hover {
    color: #c9a037;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-content .post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s ease;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list .category-link:last-child {
    border-bottom: none;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list .category-link:hover {
    color: #c9a037;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list .category-link .category-name {
    font-size: 0.9rem;
}

.blog-content-section .blog-layout .blog-sidebar .sidebar-widget .categories-list .category-link .category-count {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* 11. RELATED POSTS SECTION */
.related-posts {
    padding: 80px 0;
    background: white;
}

.related-posts .container {
    /* Container styles */
}

.related-posts .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.related-posts .section-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.related-posts .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-posts .related-grid .related-post {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-posts .related-grid .related-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-posts .related-grid .related-post .post-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.related-posts .related-grid .related-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-posts .related-grid .related-post:hover .post-image img {
    transform: scale(1.05);
}

.related-posts .related-grid .related-post .post-image .post-category {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #c9a037;
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.related-posts .related-grid .related-post .post-content {
    padding: 1.5rem;
}

.related-posts .related-grid .related-post .post-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.related-posts .related-grid .related-post .post-content h3 a {
    color: inherit;
    text-decoration: none;
}

.related-posts .related-grid .related-post .post-content h3 a:hover {
    color: #c9a037;
}

.related-posts .related-grid .related-post .post-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.related-posts .related-grid .related-post .post-content .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .blog-content-section .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-section .featured-blog {
        grid-template-columns: 1fr;
    }

    .latest-section .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .blog-hero .blog-hero-content .blog-title {
        font-size: 2.5rem;
    }

    .categories-section .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .blogs-hero {
        padding: 60px 0 40px 0;
    }

    .blogs-hero .hero-title {
        font-size: 2.5rem;
    }

    .blogs-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .blogs-content {
        padding: 60px 0;
    }

    .featured-section .title-container .section-title,
    .latest-section .title-container .section-title,
    .categories-section .title-container .section-title {
        font-size: 2rem;
    }

    .featured-section {
        margin-bottom: 3rem;
    }

    .featured-section .featured-blog .featured-content {
        padding: 1.5rem;
    }

    .blog-hero {
        padding: 60px 0 40px 0;
    }

    .blog-hero .blog-hero-content .blog-title {
        font-size: 2rem;
    }

    .blog-hero .blog-hero-content .blog-excerpt {
        font-size: 1.1rem;
    }

    .blog-hero .blog-hero-content .blog-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-content-section .blog-layout .blog-main .blog-content {
        padding: 2rem;
    }

    .blog-content-section .blog-layout .blog-main .share-section .share-buttons {
        flex-direction: column;
    }

    .related-posts .related-grid {
        grid-template-columns: 1fr;
    }

    .latest-section .blogs-grid {
        grid-template-columns: 1fr;
    }

    .categories-section .categories-grid {
        grid-template-columns: 1fr;
    }

    .cta-section .cta-card .cta-content .newsletter-form .form-group {
        flex-direction: column;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .blogs-hero .hero-title {
        font-size: 2rem;
    }

    .featured-section .title-container .section-title,
    .latest-section .title-container .section-title,
    .categories-section .title-container .section-title {
        font-size: 1.75rem;
    }

    .blog-hero .blog-hero-content .blog-title {
        font-size: 1.8rem;
    }

    .blog-content-section .blog-layout .blog-main .blog-content {
        padding: 1.5rem;
    }

    .blog-hero .blog-hero-content .blog-meta .blog-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .featured-section .featured-blog .featured-content {
        padding: 1rem;
    }

    .latest-section .blogs-grid .blog-card .blog-content {
        padding: 1rem;
    }

    .related-posts .related-grid .related-post .post-content {
        padding: 1rem;
    }

    .blog-content-section .blog-layout .blog-sidebar .sidebar-widget {
        padding: 1.5rem;
    }

    .blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-content-section .blog-layout .blog-sidebar .sidebar-widget .popular-posts .popular-post .post-image {
        width: 100%;
        height: 150px;
    }
}
