/*
Theme Name: Literary Author
Description: A clean, book-focused WordPress theme inspired by Ann Patchett's website
Version: 1.2
Author: Anuj Name
Text Domain: literary-author
*/

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

:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: var(--primary-color);;
    --light-color: #f9f9f9;
    --border-color: #e0e0e0;
    /* --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Source Sans Pro', sans-serif; */
       /* Updated fonts */
    --font-serif: "Georgia", serif;
    --font-sans: "Georgia", serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--primary-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    padding: 0px 40px;
	display: grid;
    justify-content: center;
    justify-items: center;	
/*     border-bottom: 1px solid var(--border-color); */
/*     position: sticky; */
    top: 0;
    background: white;
    z-index: 1000;
}

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

/*.site-header {
    padding: 0px 0px 0px 0px;
    border-bottom: 1px solid var(--border-color);
     position: sticky; 
    top: 0px;
    background: white;
    max-width: 1200px;
    z-index: 1000;
    gap: 0px;
}*/

/* ============================================
   HEADER IMAGE STYLES
   ============================================ */

/* Header Banner Container */
.header-banner {
    position: relative;
    max-width: 1200px;
    margin: 0;
    padding: 0px 20px;
    overflow: hidden;
	
    background: white; /* Fallback color */
}

/* Header Banner Image */
.header-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 1200px;
}

/* Header Banner Content (Site Title & Tagline) */
.header-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    z-index: 2;
}

/* Site Title */
.site-title {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.site-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* Site Description */
.site-description {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: #f0f0f0;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    line-height: 1.4;
}

/* Fallback when no header image */
.header-banner-fallback {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.header-banner-fallback .header-banner-content {
    position: static;
    transform: none;
    padding: 0;
}

.header-banner-fallback .site-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.header-banner-fallback .site-description {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Header Image Overlay */
.header-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Banner Link */
.banner-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-link:hover .header-banner-image {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

/* Responsive Header Image */
@media (max-width: 1200px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-description {
        font-size: 1.2rem;
    }
   
}

@media (max-width: 992px) {
    .header-banner {
        height: 300px !important;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-description {
        font-size: 1.1rem;
    }
    
    .header-banner-fallback {
        height: 250px;
    }
    
    .header-banner-fallback .site-title {
        font-size: 2rem;
    }
    
    .header-banner-fallback .site-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-banner {
        height: 200px !important;
    }
    
    .site-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .site-description {
        font-size: 1rem;
    }
    
    .header-banner-content {
        padding: 20px;
    }
    
    .header-banner-fallback {
        height: 200px;
    }
    
    .header-banner-fallback .site-title {
        font-size: 1.8rem;
    }
    
    .header-banner-fallback .site-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .header-banner {
        height: 200px !important;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .site-description {
        font-size: 0.9rem;
    }
    
    .header-banner-fallback {
        height: 180px;
    }
    
    .header-banner-fallback .site-title {
        font-size: 1.6rem;
    }
}

/* Animation for header image */
@keyframes fadeInHeader {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-banner-image {
    animation: fadeInHeader 0.8s ease-out;
}

/* Customizer Preview */
.customize-partial-edit-shortcut-header_image button {
    top: 20px;
    left: 20px;
}

/* 
* heed to insert header css
*
* */
/* ============================================
   SECOND LINE: MEGA MENU CONTAINER
   ============================================ */
   .mega-menu .mega-sub-menu {
  width: 500px;        /* set your desired width */
  max-width: 100%;      /* optional safety */
}
.mega-menu-wrapper {    
    max-width: 500px;
    width:auto;
    background: white;
    margin: 0;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
    align-items: center;
    max-width: 1200px;
    background-color: white !important;
}

.mega-menu-container {
    margin: 0 auto;
    padding: 0;
    background-color: white !important;
}

.site-branding .site-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
}

.site-branding .site-title a {
    text-decoration: none;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}


/* Updated Hero Section */
.book-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.book-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.placeholder-hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(340deg, #8D8D94 0%, #1f2937 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.author-image {
    flex: 0 0 300px;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.placeholder-image {
    width: 300px;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.2;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
	 border-radius: 8px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}


/* Updated Books Section */
/* .featured-books {
    padding: 80px 0;
    background: var(--light-color);
}

.book-cover {
    position: relative;
    overflow: hidden;
}

.book-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    width: 100%;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.book-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}
 
.book-cover {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

.book-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.book-year {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.section-footer {
    text-align: center;
} */

/* Book Archive & Category Styles */
.books-archive {
    background: #ffffff;
    color: #000000;
    font-family: var(--font-serif);
}

.books-archive-header {
    background: #f8f8f8;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e0e0e0;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #000;
    text-align: center;
}
.books-archive-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.category-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

/* Category Filter */
.category-filter {
    margin-top: 40px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li a {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-list li a:hover,
.category-list li a.active {
    background: #000;
    color: #fff;
}

.book-count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 5px;
}

/* Books Grid */
.books-grid {
    padding: 60px 20px;
}

.books-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.book-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.book-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.book-card-image {
    overflow: hidden;
    background: #f5f5f5;
}

.book-cover {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-cover-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
}

.placeholder-text {
    color: #999;
    font-style: italic;
}

.book-card-content {
    padding: 25px;
}

.book-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #000;
    line-height: 1.3;
}

.book-card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.book-card-author {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
}

.book-card-year {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.book-card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.book-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #333;
    font-size: 0.8rem;
    border-radius: 3px;
}

/* Pagination */
.books-pagination {
    margin-top: 60px;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    display: inline;
}

.page-numbers li a,
.page-numbers li span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers li a:hover,
.page-numbers li span.current {
    background: #000;
    color: #fff;
}

.no-books-found {
    text-align: center;
    padding: 60px 0;
}

.no-books-found .button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border: 2px solid #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-books-found .button:hover {
    background: #fff;
    color: #000;
}

/* Single Book Layout */
.single-book-layout {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.book-main-content {
    flex: 1;
    padding: 60px 40px;
    border-right: 1px solid #e0e0e0;
}

.book-sidebar {
    width: 400px;
    max-width: 100%;
    padding: 60px 30px;
    background: #f8f8f8;
}

/* Single Book Header */
.single-book-header {
    display: grid;
    grid-template-columns: ifr 1fr;
    gap: 50px;
    margin-bottom: 60px;
   
}

@media (max-width: 900px) {
    .single-book-header {
        grid-template-columns: 1fr;
    }
}

.book-cover-large {
    max-width: 50%;
}

.book-featured-image {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.book-header-content {
    flex: 1;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
	padding-bottom: 30px !important;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #000;
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
}

.book-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: #000;
    line-height: 1.2;
}

.book-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    margin: 0 0 30px;
    font-style: italic;
}

.book-meta-info {
    margin: 30px 0;
}

.meta-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.meta-row strong {
    min-width: 100px;
    color: #333;
}

.book-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.category-link {
    display: inline-block;
    padding: 6px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #333;
}

/* Book Content */
.book-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.book-content {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 60px;
}

.book-content p {
    margin-bottom: 1.8em;
}

/* Purchase Section Styles - Button-like Hyperlinks */
.purchase-section {
/*     margin: 60px 0;
    padding: 40px;
    background: #ffffff; */
    position: relative;
}

.purchase-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
/*     margin: 0 0 30px; */
    color: #000000;
	text-align: center;
/*     text-transform: uppercase;
    letter-spacing: 2px; */
    font-family: var(--font-serif);
/*     padding-bottom: 15px; */
    /* border-bottom: 2px solid #000000; */
}

/* Hyperlink Button Container */
.purchase-links-hyperlink {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: left;
    gap: 5px;
    margin: 10;
    padding: 10;
}

/* Each hyperlink item */
.purchase-hyperlink-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* The button-like hyperlink */
.purchase-hyperlink {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: #000000;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    /* border-bottom: 2px solid #000000; */
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.purchase-hyperlink:hover {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.purchase-hyperlink:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Separator between links */
.purchase-separator {
    color: #000000;
    font-weight: 700;
    padding: 0 5px;
    user-select: none;
}

.purchase-separator::before {
    content: "|";
}

/* Special styling for signed edition */
.purchase-hyperlink.signed-edition {
    font-weight: 800;
    position: relative;
}

.purchase-hyperlink.signed-edition::before {
    content: '★';
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Alternative: Underline animation */
.purchase-hyperlink.underline-animated {
    border-bottom: 2px solid transparent;
    position: relative;
}

.purchase-hyperlink.underline-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.purchase-hyperlink.underline-animated:hover::after {
    width: 100%;
}

.purchase-hyperlink.underline-animated:hover {
    background: transparent;
    color: #000000;
    border: 2px solid transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Alternative 2: Simple border on hover */
.purchase-hyperlink.border-on-hover:hover {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .purchase-links-hyperlink {
        justify-content: center;
        gap: 10px;
    }
    
    .purchase-hyperlink {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .purchase-section {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .purchase-section h3 {
        text-align: center;
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .purchase-links-hyperlink {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .purchase-hyperlink {
        width: 100%;
        max-width: 300px;
        padding: 15px 20px;
        border-bottom: 2px solid #000000;
    }
    
    .purchase-separator {
        display: none;
    }
    
    .purchase-hyperlink:hover {
        transform: translateX(5px);
    }
}

/* For tablets - 2 columns */
@media (max-width: 640px) and (min-width: 481px) {
    .purchase-links-hyperlink {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .purchase-hyperlink {
        flex: 0 0 calc(50% - 15px);
        max-width: 250px;
    }
    
    .purchase-separator {
        display: none;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .purchase-hyperlink {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .purchase-section h3 {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
}

/* Loading animation */
@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-hyperlink-item {
    animation: buttonFadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.purchase-hyperlink-item:nth-child(1) { animation-delay: 0.1s; }
.purchase-hyperlink-item:nth-child(2) { animation-delay: 0.2s; }
.purchase-hyperlink-item:nth-child(3) { animation-delay: 0.3s; }
.purchase-hyperlink-item:nth-child(4) { animation-delay: 0.4s; }
.purchase-hyperlink-item:nth-child(5) { animation-delay: 0.5s; }
.purchase-hyperlink-item:nth-child(6) { animation-delay: 0.6s; }


/* Purchase Section */
/* .purchase-section {
    margin: 60px 0;
    padding: 40px;
    background: #f5f5f5;
    border-left: 4px solid #000;
}

.purchase-section h3 {
    font-size: 1.5rem;
    margin: 0 0 30px;
    color: #000;
}

.purchase-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.purchase-button {
    display: inline-block;
    padding: 15px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.purchase-button:hover {
    background: #fff;
    color: #000;
} */

/* Book Navigation */
.book-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous span,
.nav-next span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-previous a,
.nav-next a {
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

.nav-all {
    text-align: center;
}

.nav-all a {
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-all a:hover {
    background: #333;
}

/* Sidebar Styles */
.sidebar-section {
    margin-bottom: 50px;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
    color: #000;
}

/* Related Books */
.related-books-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-book {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.related-book:last-child {
    border-bottom: none;
}

.related-book-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.related-book-image {
    flex: 0 0 80px;
}

.related-book-cover {
    width: 100%;
    height: auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.related-book-info {
    flex: 1;
}

.related-book-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #000;
    line-height: 1.3;
}

.related-book-author {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.related-book-year {
    font-size: 0.9rem;
    color: #888;
}

/* Category Sidebar List */
.category-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar-list li {
    margin-bottom: 15px;
}

.category-sidebar-list li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.category-sidebar-list li a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.category-count {
    font-size: 0.9rem;
    color: #999;
}

.category-sidebar-list li a:hover .category-count {
    color: #ccc;
}

/* View All Button */
.view-all-button {
    display: block;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-book-layout {
        flex-direction: column;
    }
    
    .book-main-content,
    .book-sidebar {
        width: 100%;
        padding: 40px 20px;
    }
    
    .book-main-content {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .books-grid-inner {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .archive-title {
        font-size: 2.2rem;
    }
    
    .category-list {
        gap: 10px;
    }
    
    .category-list li a {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .books-grid {
        padding: 40px 15px;
    }
    
    .books-grid-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .book-content {
        font-size: 1.1rem;
    }
    
    .purchase-links-grid {
        grid-template-columns: 1fr;
    }
    
    .book-navigation {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .nav-previous,
    .nav-next {
        width: 100%;
    }
}


/* About Excerpt */
.about-excerpt {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Inner Pages */
.inner-page {
    padding: 0px;
    min-height: 60vh;
}

.page-header {
    margin-bottom: 0px;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
	padding-top: 15px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--secondary-color);
	margin-bottom: 30px;
}

.page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* When no sidebar → fullscreen centered */
.full-width {
    grid-template-columns: 1fr;
    max-width: 800px;   /* adjust width you want */
    margin: 0 auto;     /* center align */
}

.content-main {
    line-height: 1.7;
}

.content-main p {
    margin-bottom: 20px;
}

.content-main h2, .content-main h3 {
    font-family: var(--font-serif);
    margin: 30px 0 15px;
}

.content-main h2 {
    font-size: 1.8rem;
}

.content-main h3 {
    font-size: 1.4rem;
}

.page-sidebar {
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 400;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
	text-align:center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.line {
	border-left: 1px solid grey;
}

.footer-widget h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #ccc;
}



/* Blog/Archive Styles */
.post-grid {
    display: grid;
    gap: 40px;
}

.post-card {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.post-card:last-child {
    border-bottom: none;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 10px;
}

.post-title a {
    text-decoration: none;
    color: var(--primary-color);
}

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

.post-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-social {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    /* .featured-books, */
    .latest-news,
    .about-excerpt {
        padding: 50px 0;
    }
    
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
	
	.line {
		border-left: 0px;
		border-top: 1px solid grey;
		padding-top: 30px;
	}
}

/* Quick Sections Grid */
.quick-sections {
    padding: 80px 0;
    background: white;
}

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

.section-card {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-card p {
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.section-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-link:hover {
    text-decoration: underline;
}

/* Updated Books Section */
/* .featured-books {
    padding: 80px 0;
    background: var(--light-color);
}

.book-cover {
    position: relative;
    overflow: hidden;
}

.book-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    width: 100%;
} */

/* Events Section */
.events-section {
    padding: 0px 0px;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    padding: 30px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.event-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
}

.event-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-location {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.event-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.event-btn:hover {
    background: #333333;
    color: white;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: var(--light-color);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    line-height: 1.3;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-link-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.info-link-item h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-link-item p {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.5;
}

.info-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.placeholder-info-image {
    width: 100%;
    max-height: 400px;
    background: linear-gradient(45deg, #495057, #6c757d);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image img,
    .placeholder-hero-image {
        height: 300px;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-text h2 {
        font-size: 1.8rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .book-hero {
        padding: 60px 0;
    }
    
    .quick-sections,
    /* .featured-books, */
    .events-section,
    .info-section {
        padding: 50px 0;
    }
    
    .section-card {
        padding: 30px 20px;
    }
    
    .event-card {
        padding: 25px 20px;
    }
}

/* Styles for actual images */
.section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/*  additional css for frontpage------ */
/* Detailed Layout Styles */
.detailed-layout {
    font-family: var(--font-serif);
    line-height: 1.6;
    color: #1a1a1a;
}

/* Modern Hero Section */
.hero-section-modern {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section-modern::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,50 Q25,40 50,50 T100,50" stroke="%238B4513" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
    opacity: 0.1;
}

.hero-modern-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-modern-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-modern-description {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons-modern {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.btn-modern-primary {
    background: var(--primary-color);;
    color: white;
}

.btn-modern-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 125, 124, 0.3);
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-color);;
    border: 2px solid var(--primary-color);;
}

.btn-modern-outline:hover {
    background: var(--primary-color);;
    color: white;
    transform: translateY(-2px);
}

/* Meet the Author Section */

.meet-author-section {
    padding: 0px !important;
    background: white;
	padding-top: 0px !important;
    padding-bottom: 0px !important;
	
}

.meet-author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
/* 	padding: 50px 0px; */
}

.meet-author-content {
    padding-right: 40px;
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.meet-author-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 600px;
}

.coffee-book-image {
    position: relative;
    width: 300px;
    height: 300px;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.coffee-cup {
    position: absolute;
    top: 60px;
    left: 80px;
    width: 80px;
    height: 100px;
    background: var(--primary-color);;
    border-radius: 0 0 40px 40px;
}

.coffee-cup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10px;
    width: 60px;
    height: 30px;
    background: var(--primary-color);;
    border-radius: 40px 40px 0 0;
}

.book-stack {
    position: absolute;
    top: 120px;
    right: 70px;
    width: 120px;
    height: 160px;
    background: #2c3e50;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.book-stack::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 100px;
    height: 10px;
    background: #34495e;
    border-radius: 5px 5px 0 0;
}

.pencil {
    position: absolute;
    bottom: 80px;
    left: 50px;
    width: 120px;
    height: 8px;
    background: #e74c3c;
    transform: rotate(45deg);
}

.pencil::before {
    content: '';
    position: absolute;
    right: -15px;
    top: -2px;
    width: 20px;
    height: 12px;
    background: #2c3e50;
    border-radius: 2px;
}

/* About the Author Section (Dark) */
.about-author-dark-2 {
    padding: 100px 20px;
    background: linear-gradient(340deg, #8D8D94 0%, #1f2937 100%); 
    color: white;
}

.about-author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-author-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 700px;
}

/* .typewriter-image {
    position: relative;
    width: 320px;
    height: 240px;
    background: #34495e;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.typewriter-body {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 60px;
    background: #2c3e50;
    border-radius: 10px;
}

.typewriter-keys {
    position: absolute;
    bottom: 30px;
    left: 60px;
    right: 60px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 5px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 3px;
    padding: 5px;
}

.typewriter-keys::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: #2c3e50;
    border-radius: 3px;
} */

.paper-roll {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: white;
    border-radius: 15px;
}

.section-title-light {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.section-description-light {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-modern-light {
    background: white;
    color: #1a1a1a;
}

.btn-modern-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Latest Section */
.latest-section {
    padding: 100px 0;
    background: white;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 15px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.latest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.latest-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.feedback-image {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.events-image {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.gallery-image {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.releases-image {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.latest-card-content {
    padding: 25px;
}

.card-category {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    color: var(--primary-color);;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    color: var(--primary-color);;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #7a3a11;
}

/* Tour Dates Section */
.tour-dates-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}


/* Responsive Design */
@media (max-width: 992px) {
    .meet-author-grid,
    .about-author-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .meet-author-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-modern-title {
        font-size: 3.2rem;
    }
    
    .section-title-modern,
    .section-title-light {
        font-size: 2.4rem;
    }
	 .meet-author-image,
    .about-author-image {
        height: 300px !important;;
    }
}

@media (max-width: 768px) {
    .hero-section-modern {
        padding: 80px 0;
    }
    
    .meet-author-section,
    .about-author-dark-2,
    .latest-section,
    .tour-dates-section {
        padding: 80px 0;
    }
    
    .hero-modern-title {
        font-size: 2.8rem;
    }
    
    .hero-modern-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 200px;
        justify-content: center;
    }
    
    .meet-author-image,
    .about-author-image {
        height: 300px !important;;
    }
    
    .coffee-book-image,
    .typewriter-image {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-modern-title {
        font-size: 2.2rem;
    }
    
    .section-title-modern,
    .section-title-light {
        font-size: 1.8rem;
    }
    
	 .meet-author-image,
    .about-author-image {
        height: 200px !important;
		gap: 50px;
    }
}


/* Latest Section - Two Column Layout */
.latest-section-two-col {
    padding: 100px 0;
    background: white;
}

.latest-grid-two-col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.latest-col-heading {
    position: sticky;
    top: 120px;
}

.latest-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-top: 20px;
}

.latest-col-images {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.image-item {
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.latest-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .latest-image {
    transform: scale(1.05);
}

.image-label {
    position: relative;
    z-index: 2;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.image-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.image-category {
    display: inline-block;
    padding: 6px 15px;
    background: #f8f9fa;
    color: var(--primary-color);;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Optional: Add subtle patterns to images */
.latest-image:nth-child(1)::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="20" cy="20" r="8" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="12" fill="%23ffffff" opacity="0.1"/></svg>');
}

.latest-image:nth-child(2)::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect x="30" y="30" width="40" height="40" fill="%23ffffff" opacity="0.1" rx="8"/></svg>');
}

.latest-image:nth-child(3)::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><polygon points="50,20 80,80 20,80" fill="%23ffffff" opacity="0.1"/></svg>');
}

.latest-image:nth-child(4)::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M20,50 Q50,20 80,50" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.1"/></svg>');
}

/* Responsive Design for Two Column Layout */
@media (max-width: 992px) {
    .latest-grid-two-col {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .latest-col-heading {
        position: static;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .image-row {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .latest-section-two-col {
        padding: 80px 0;
    }
    
    .image-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .latest-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .image-title {
        font-size: 1.1rem;
    }
    
    .image-wrapper {
        aspect-ratio: 16/9;
    }
}

/* Admin Managed Latest Updates Section */
.latest-section-admin {
    padding: 100px 0;
    background: white;
    position: relative;
}

.latest-grid-admin {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.latest-col-heading-admin {
    position: sticky;
    top: 120px;
}

.latest-description-admin {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 30px;
}

.admin-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admin-link:hover {
    background: var(--primary-color);;
    color: white;
    border-color: var(--primary-color);;
    transform: translateY(-2px);
}

.admin-link svg {
    width: 14px;
    height: 14px;
}

.latest-col-images-admin {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.image-row-admin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.image-item-admin {
    transition: transform 0.3s ease;
    position: relative;
}

.image-item-admin:hover {
    transform: translateY(-5px);
}

.image-wrapper-admin {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.latest-image-admin {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper-admin:hover .latest-image-admin {
    transform: scale(1.05);
}

.latest-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-label-admin {
    position: relative;
    z-index: 2;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.image-title-admin {
    font-size: 0.70rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.image-title-admin a {
    text-decoration: none;
    color: inherit;
}

.image-title-admin a:hover {
    color: var(--primary-color);;
}

.image-category-admin {
    display: inline-block;
    padding: 6px 15px;
    background: #f8f9fa;
    color: var(--primary-color);;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edit-update-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 6px;
    display: none;
    z-index: 10;
}

.image-item-admin:hover .edit-update-link {
    display: block;
}

.edit-update-link svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.edit-update-link:hover svg {
    color: var(--primary-color);;
}

.no-updates-message {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.no-updates-message p {
    margin-bottom: 20px;
    color: #666;
}

.no-updates-message a {
    color: var(--primary-color);;
    font-weight: 600;
    text-decoration: none;
}

.no-updates-message a:hover {
    text-decoration: underline;
}

.demo-updates {
    opacity: 0.6;
}

.demo-updates p {
    margin-bottom: 20px;
    font-style: italic;
}

.no-updates {
    text-align: center;
    padding: 60px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .latest-grid-admin {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .latest-col-heading-admin {
        position: static;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .admin-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .image-row-admin {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .latest-section-admin {
        padding: 80px 0;
    }
    
    .image-row-admin {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .latest-description-admin {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .image-title-admin {
        font-size: 1.1rem;
    }
    
    .image-wrapper-admin {
        aspect-ratio: 16/9;
    }
    
    .admin-link {
        width: 100%;
        justify-content: center;
    }
}



/* Admin Managed Hero Section */
.hero-modern-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image-content {
    position: relative;
}

.hero-side-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-admin-controls {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.hero-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-admin-link:hover {
    background: var(--primary-color);;
    color: white;
    transform: translateY(-2px);
}

.hero-admin-link svg {
    width: 14px;
    height: 14px;
}

.hero-image-edit {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 6px;
    display: none;
    z-index: 10;
    text-decoration: none;
}

.hero-image-content:hover .hero-image-edit {
    display: block;
}

.hero-image-edit svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.hero-image-edit:hover svg {
    color: var(--primary-color);;
}

/* Pattern overlay for hero section */
.hero-section-modern::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,50 Q25,40 50,50 T100,50" stroke="%238B4513" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

/* Responsive adjustments for hero with image */
@media (max-width: 992px) {
    .hero-modern-with-image {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-side-image {
        height: 300px;
        order: -1;
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .hero-buttons-modern {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-side-image {
        height: 250px;
    }
    
    .hero-modern-with-image {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-side-image {
        height: 200px;
    }
}

/* Ensure buttons align properly based on text alignment */
.hero-modern-content[style*="text-align: left"] .hero-buttons-modern {
    justify-content: flex-start;
}

.hero-modern-content[style*="text-align: right"] .hero-buttons-modern {
    justify-content: flex-end;
}

.hero-modern-content[style*="text-align: center"] .hero-buttons-modern {
    justify-content: center;
}



/* Admin Managed Meet Author Section */
.meet-author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
	padding: 50px;
}

.meet-author-grid.image-left {
    direction: ltr;
}

.meet-author-grid.image-right {
    direction: ltr;
}

.meet-author-grid.image-right > * {
    direction: ltr;
}

.meet-author-content {
    padding: 20px;
}

.meet-author-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Coffee Book Illustration */
.coffee-book-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.coffee-cup {
    position: absolute;
    top: 60px;
    left: 80px;
    width: 80px;
    height: 100px;
    background: var(--primary-color);;
    border-radius: 0 0 40px 40px;
}

.coffee-cup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10px;
    width: 60px;
    height: 30px;
    background: var(--primary-color);;
    border-radius: 40px 40px 0 0;
}

.book-stack {
    position: absolute;
    top: 120px;
    right: 70px;
    width: 120px;
    height: 160px;
    background: #2c3e50;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.book-stack::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 100px;
    height: 10px;
    background: #34495e;
    border-radius: 5px 5px 0 0;
}

.pencil {
    position: absolute;
    bottom: 80px;
    left: 50px;
    width: 120px;
    height: 8px;
    background: #e74c3c;
    transform: rotate(45deg);
}

.pencil::before {
    content: '';
    position: absolute;
    right: -15px;
    top: -2px;
    width: 20px;
    height: 12px;
    background: #2c3e50;
    border-radius: 2px;
}

.notebook {
    position: absolute;
    bottom: 100px;
    right: 50px;
    width: 80px;
    height: 100px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.notebook::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid #eee;
}

/* Author Images */
.author-photo-image,
.custom-author-image {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Admin Controls */
.meet-author-admin-controls {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-link-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-link-small:hover {
    background: var(--primary-color);;
    color: white;
}

.admin-link-small svg {
    width: 12px;
    height: 12px;
}

.image-edit-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 6px;
    display: none;
    z-index: 10;
    text-decoration: none;
}

.meet-author-image:hover .image-edit-link {
    display: block;
}

.image-edit-link svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.image-edit-link:hover svg {
    color: var(--primary-color);;
}

/* Responsive Design */
@media (max-width: 992px) {
    .meet-author-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .meet-author-grid.image-left,
    .meet-author-grid.image-right {
        direction: ltr;
    }
    
    .meet-author-content {
        text-align: center;
        padding: 0;
    }
    
    .meet-author-admin-controls {
        justify-content: center;
    }
    
    .coffee-book-illustration,
    .author-photo-image,
    .custom-author-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .meet-author-section {
        padding: 0px !important;
    }
    
    .coffee-book-illustration,
    .author-photo-image,
    .custom-author-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .meet-author-section {
        padding: 0px  !important;
    }
    
    .meet-author-grid {
        gap: 10px;
    }
	
    
    .coffee-book-illustration {
        transform: scale(0.8);
    }
}



/* Admin Managed About Author Section */
.about-author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-author-grid.image-left {
    direction: ltr;
}

.about-author-grid.image-right {
    direction: rtl;
}

.about-author-grid.image-right > * {
    direction: ltr;
}

.about-author-content {
    padding: 20px;
}

.about-author-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Typewriter Illustration */
.typewriter-illustration {
    position: relative;
    width: 320px;
    height: 240px;
    background: #34495e;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.typewriter-body {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 60px;
    background: #2c3e50;
    border-radius: 10px;
}

.typewriter-keys {
    position: absolute;
    bottom: 30px;
    left: 60px;
    right: 60px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 5px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 3px;
    padding: 5px;
}

.typewriter-keys::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: #2c3e50;
    border-radius: 3px;
}

.paper-roll {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.typewriter-details {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Book Stack Illustration */
.book-stack-illustration {
    position: relative;
    width: 300px;
    height: 240px;
}

.book-1 {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 140px;
    height: 180px;
    background: var(--primary-color);;
    border-radius: 5px;
    transform: rotate(-5deg);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

.book-2 {
    position: absolute;
    top: 30px;
    left: 80px;
    width: 140px;
    height: 180px;
    background: #2c3e50;
    border-radius: 5px;
    transform: rotate(2deg);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

.book-3 {
    position: absolute;
    top: 40px;
    left: 120px;
    width: 140px;
    height: 180px;
    background: #34495e;
    border-radius: 5px;
    transform: rotate(8deg);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

.book-4 {
    position: absolute;
    top: 50px;
    left: 160px;
    width: 140px;
    height: 180px;
    background: #4a6278;
    border-radius: 5px;
    transform: rotate(12deg);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

/* Author Images */
.about-author-photo,
.about-custom-image {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Admin Controls */
.about-author-admin-controls {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-link-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-link-light:hover {
    background: white;
    color: #1a1a1a;
    border-color: white;
}

.admin-link-light svg {
    width: 12px;
    height: 12px;
}

.image-edit-link-light {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 6px;
    display: none;
    z-index: 10;
    text-decoration: none;
}

.about-author-image:hover .image-edit-link-light {
    display: block;
}

.image-edit-link-light svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.image-edit-link-light:hover svg {
    color: var(--primary-color);;
}

/* Button Light Style */
.btn-modern-light {
    background: white;
    color: #1a1a1a;
    border: 2px solid white;
}

.btn-modern-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-author-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-author-grid.image-left,
    .about-author-grid.image-right {
        direction: ltr;
    }
    
    .about-author-content {
        text-align: center;
        padding: 0;
    }
    
    .about-author-admin-controls {
        justify-content: center;
    }
    
    .typewriter-illustration,
    .book-stack-illustration,
    .about-author-photo,
    .about-custom-image {
        width: 280px;
        height: 200px;
        margin: 0 auto;
    }
    
    .typewriter-illustration {
        width: 280px;
        height: 200px;
    }
    
    .book-stack-illustration {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .about-author-dark-2 {
        padding: 80px 0 !important;
    }
    
    .typewriter-illustration,
    .book-stack-illustration,
    .about-author-photo,
    .about-custom-image {
        width: 240px;
        height: 180px;
    }
    
    .book-stack-illustration {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .about-author-dark-2 {
        padding: 60px 0 !important;
    }
    
    .about-author-grid {
        gap: 40px;
    }
    
    .typewriter-illustration {
        transform: scale(0.8);
    }
    
    .book-stack-illustration {
        transform: scale(0.7);
    }
    
    .about-author-admin-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-link-light {
        width: 200px;
        justify-content: center;
    }
}



/* Admin Managed Tour Dates Section */
.tour-dates-admin-header-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tour-dates-admin-header-controls .admin-link {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.tour-dates-admin-header-controls .admin-link svg {
    width: 14px;
    height: 14px;
}

.tour-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tour-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.tour-card-image {
    margin: -30px -30px 25px -30px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-date {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tour-venue {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    line-height: 1.3;
}

.tour-location {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
}

.tour-city {
    font-size: 0.95rem;
    color: #888;
}

.tour-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tour-time, .tour-type {
    padding: 6px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tour-time {
    color: #3498db;
}

.tour-type {
    color: #e74c3c;
}

.tour-button {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.tour-card-admin-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tour-edit-link {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 6px;
    display: none;
    text-decoration: none;
    z-index: 10;
}

.tour-card:hover .tour-edit-link {
    display: block;
}

.tour-edit-link svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.tour-edit-link:hover svg {
    color: var(--primary-color);;
}

.tour-featured-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-color);;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-empty-state {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #ddd;
    margin-bottom: 50px;
}

.tour-empty-state p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.tour-demo-cards {
    opacity: 0.7;
}

.tour-demo-cards p {
    font-style: italic;
    margin-bottom: 30px;
}

.demo-card {
    opacity: 0.6;
    pointer-events: none;
}

.tour-empty-actions {
    margin-top: 40px;
}

.tour-dates-footer {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tour-dates-admin-header-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .tour-dates-admin-header-controls .admin-link {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tour-dates-section {
        padding: 80px 0 !important;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tour-card {
        padding: 25px;
    }
    
    .tour-card-image {
        margin: -25px -25px 20px -25px;
    }
    
    .tour-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .tour-dates-section {
        padding: 60px 0 !important;
    }
    
    .tour-card {
        padding: 20px;
    }
    
    .tour-card-image {
        margin: -20px -20px 15px -20px;
    }
    
    .tour-image {
        height: 150px;
    }
    
    .tour-date {
        font-size: 1.2rem;
    }
    
    .tour-venue {
        font-size: 1.2rem;
    }
    
    .tour-info {
        flex-direction: column;
        gap: 10px;
    }
}



/* Tour Dates Archive */
.tour-dates-archive {
    font-family: var(--font-serif);
    line-height: 1.6;
    color: #1a1a1a;
}

/* Archive Hero */
.tour-archive-hero {
    padding: 80px 0 60px;
    background: linear-gradient(340deg, #8D8D94 0%, #1f2937 100%);
    color: white;
}

.tour-archive-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tour-archive-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.tour-archive-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tour-archive-filters {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.tour-filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tour-filter-select:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.tour-filter-select option {
    background: #1a1a1a;
    color: white;
}

/* Archive Grid Section */
.tour-archive-grid-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.tour-archive-results {
    max-width: 1200px;
    margin: 0 auto 30px;
}

.results-count {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn.active {
    background: var(--primary-color);;
    border-color: var(--primary-color);;
    color: white;
}

.view-toggle-btn:hover:not(.active) {
    border-color: var(--primary-color);;
    color: var(--primary-color);;
}

.view-toggle-btn svg {
    width: 18px;
    height: 18px;
}

/* Archive Grid */
.tour-archive-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.archive-tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.archive-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.archive-tour-card.past-event {
    opacity: 0.8;
}

.archive-tour-card.past-event:hover {
    opacity: 1;
}

.tour-date-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    margin-bottom: 15px;
}

.tour-status {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-status.upcoming {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.tour-status.past {
    background: rgba(189, 195, 199, 0.1);
    color: #7f8c8d;
}

.tour-card-image {
    height: 200px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-venue a {
    text-decoration: none;
    color: inherit;
}

.tour-venue a:hover {
    color: var(--primary-color);;
}

.tour-excerpt {
    margin: 15px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.tour-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.tour-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #666;
}

.tour-info svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.tour-actions {
    margin-top: auto;
    vertical-align: bottom ;
}

/* List View */
.tour-archive-list {
    max-width: 1200px;
    margin: 0 auto;
}

.tour-list-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-collapse: collapse;
}

.tour-list-table thead {
    background: var(--primary-color);;
    color: white;
}

.tour-list-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-list-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.tour-list-table tbody tr:hover {
    background: #f9f9f9;
}

.tour-list-table td {
    padding: 20px;
}

.list-date {
    text-align: center;
    min-width: 80px;
}

.list-date-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);;
}

.list-date-month {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.list-event strong {
    display: block;
    margin-bottom: 5px;
}

.list-event a {
    text-decoration: none;
    color: #1a1a1a;
}

.list-event a:hover {
    color: var(--primary-color);;
}

.list-time {
    font-size: 0.9rem;
    color: #666;
}

.list-location {
    min-width: 150px;
}

.list-city {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.list-type {
    min-width: 100px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.upcoming {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.status-badge.past {
    background: rgba(189, 195, 199, 0.1);
    color: #7f8c8d;
}

.list-actions {
    min-width: 150px;
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Pagination */
.tour-archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    border-radius: 8px;
    background: white;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers a:hover {
    background: var(--primary-color);;
    color: white;
}

.page-numbers .current {
    background: var(--primary-color);;
    color: white;
}

.page-numbers .dots {
    background: transparent;
}

/* Empty State */
.tour-archive-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.empty-state-icon {
    margin-bottom: 30px;
}

.empty-state-icon svg {
    width: 80px;
    height: 80px;
}

.tour-archive-empty h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.tour-archive-empty p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tour-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .tour-archive-title {
        font-size: 2.8rem;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .tour-list-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .tour-archive-hero {
        padding: 60px 0 40px;
    }
    
    .tour-archive-title {
        font-size: 2.2rem;
    }
    
    .tour-archive-subtitle {
        font-size: 1.1rem;
    }
    
    .tour-archive-filters {
        padding: 20px;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .view-toggle {
        flex-direction: column;
    }
    
    .view-toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .list-actions {
        flex-direction: column;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .tour-archive-title {
        font-size: 1.8rem;
    }
    
    .tour-archive-hero {
        padding: 40px 0 30px;
    }
    
    .tour-archive-grid-section {
        padding: 40px 0;
    }
    
    .tour-card-content {
        padding: 20px;
    }
    
    .tour-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .empty-state-actions {
        flex-direction: column;
    }
    
    .empty-state-actions .btn-modern {
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}


/*--------------- Bolgs ---------------------------------*/
/* Blog Archive */
.blog-archive {
    font-family: var(--font-serif);
    line-height: 1.6;
    color: #1a1a1a;
}

/* Blog Header */
.blog-archive-header {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #eee;
}

.blog-header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.blog-archive-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.blog-archive-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    /* margin-top: 40px; */
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
  
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.author {
     font-family: var(--font-serif);
}

.author.active {
     background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.dropdown-filter {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown-filter:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-filter:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);;
}

.category-count {
    font-size: 0.8rem;
    color: #999;
    margin-left: 5px;
}

/* Blog Search */
.blog-search {
    display: flex;
    /* flex: 0 0 300px; */
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);;
}

.search-btn {
    position: absolute;
    right: 105px;
    /* top: 50%;
    transform: translateY(-50%); */
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 15px;
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-posts-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-container {
    display: grid;
    /* grid-template-columns: 3fr 1fr; */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* View Toggle */
.blog-view-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.view-toggle-label {
    font-weight: 600;
    color: #666;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn.active {
    background: var(--primary-color);;
    border-color: var(--primary-color);;
    color: white;
}

.view-toggle-btn:hover:not(.active) {
    border-color: var(--primary-color);;
    color: var(--primary-color);;
}

.view-toggle-btn svg {
    width: 18px;
    height: 18px;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.featured-post-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-image {
    transform: scale(1.05);
}

.featured-image-placeholder {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-categories {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.category-badge {
    padding: 6px 15px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge:hover {
    background: var(--primary-color);;
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.post-date {
    font-weight: 600;
}

.post-author a {
    color: var(--primary-color);;
    text-decoration: none;
}

.post-author a:hover {
    text-decoration: underline;
}

.post-comments {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-comments svg {
    width: 16px;
    height: 16px;
}

.featured-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-post-title a {
    text-decoration: none;
    color: inherit;
}

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

.post-excerpt {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    background: #7a3a11;
    transform: translateY(-2px);
}

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ddd 50%, transparent 100%);
    margin: 50px 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.post-card-image {
    height: 200px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-image {
    transform: scale(1.05);
}

.post-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary-color);;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.post-category:hover {
    text-decoration: underline;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

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

.post-meta-small {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.85rem;
}

.post-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-read-time svg {
    width: 14px;
    height: 14px;
}

.post-excerpt-small {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.post-read-more {
    color: var(--primary-color);;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
}

.post-read-more:hover {
    text-decoration: underline;
}

/* List View */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.list-item-image {
    border-radius: 10px;
    overflow: hidden;
    height: 120px;
}

.list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-content {
    display: flex;
    flex-direction: column;
}

.list-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.list-category {
    padding: 4px 12px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-date {
    font-size: 0.85rem;
    color: #666;
}

.list-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.list-title a {
    text-decoration: none;
    color: inherit;
}

.list-title a:hover {
    color: var(--primary-color);;
}

.list-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.list-item-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.85rem;
}

.list-author a {
    color: var(--primary-color);;
    text-decoration: none;
}

.list-author a:hover {
    text-decoration: underline;
}

.list-comments,
.list-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.list-comments svg,
.list-read-time svg {
    width: 14px;
    height: 14px;
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 5px;
    border-radius: 8px;
    background: white;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-list a:hover {
    color: var(--primary-color);;
    padding-left: 10px;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
}

.recent-posts a:hover {
    color: var(--primary-color);;
}

.recent-date {
    font-size: 0.85rem;
    color: #999;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    grid-column: 1 / -1;
}

.no-posts-icon {
    margin-bottom: 30px;
}

.no-posts-icon svg {
    width: 80px;
    height: 80px;
}

.no-posts-found h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.no-posts-found p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-posts-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Single Post */
/* .single-post {
    padding: 60px 0;
    background: #f8f9fa;
} */

.single-post-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.single-post-content {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.post-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    color: #1a1a1a;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.author-info img {
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-name a {
    color: var(--primary-color);;
    text-decoration: none;
}

.author-name a:hover {
    text-decoration: underline;
}

.post-meta-stats {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.reading-time,
.comments-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reading-time svg,
.comments-count svg {
    width: 16px;
    height: 16px;
}

.post-featured-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.9rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2em 0 1em;
    color: #1a1a1a;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.75em;
    color: #1a1a1a;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);;
    padding-left: 30px;
    margin: 2em 0;
    font-style: italic;
    color: #666;
    font-size: 1.2rem;
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.post-tags {
    margin-bottom: 40px;
}

.post-tags h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #666;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list a {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: var(--primary-color);;
    color: white;
}

.post-share {
    margin-bottom: 40px;
}

.post-share h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-bio {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.author-avatar img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.author-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.author-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-link {
    color: var(--primary-color);;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-link:hover {
    text-decoration: underline;
}

/* Single Sidebar */
.single-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-post:hover {
    background: #eee;
}

.related-post-image {
    border-radius: 8px;
    overflow: hidden;
    height: 80px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-post-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-post-content h4 a:hover {
    color: var(--primary-color);;
}

.related-date {
    font-size: 0.8rem;
    color: #999;
}

/* Comments Section */
.post-comments-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-posts-container,
    .single-post-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar,
    .single-sidebar {
        position: static;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-search {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .blog-archive-title,
    .post-title {
        font-size: 2.5rem;
    }
    
    .featured-post-title {
        font-size: 2rem;
    }
    
    .single-post-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .blog-archive-header {
        padding: 60px 0 30px;
    }
    
    .blog-archive-title {
        font-size: 2rem;
    }
    
    .blog-archive-description {
        font-size: 1.1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-list-item {
        grid-template-columns: 1fr;
    }
    
    .list-item-image {
        height: 200px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .author-bio {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-avatar {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-archive-title {
        font-size: 1.8rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .featured-post {
        padding: 25px;
    }
    
    .single-post-content {
        padding: 25px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}



/* Two Column Blog Layout */
.blog-posts-two-col {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Featured Post Two Column */
.featured-post-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.featured-post-image-col {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.featured-image-col {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-post-two-col:hover .featured-image-col {
    transform: scale(1.05);
}

.featured-image-placeholder-col {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-categories-col {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge-col {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-badge-col:hover {
    background: var(--primary-color);;
    color: white;
    border-color: var(--primary-color);;
}

.featured-post-content-col {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta-col {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: #666;
    font-size: 0.95rem;
}

.post-date-col {
    font-weight: 700;
    color: var(--primary-color);;
    background: rgba(139, 69, 19, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
}

.post-author-col a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

.post-author-col a:hover {
    color: var(--primary-color);;
}

.post-read-time-col {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.post-read-time-col svg {
    width: 16px;
    height: 16px;
}

.featured-post-title-col {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #1a1a1a;
}

.featured-post-title-col a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.featured-post-title-col a:hover {
    color: var(--primary-color);;
}

.post-excerpt-col {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.post-actions-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.read-more-btn-col {
    padding: 14px 35px;
    background: var(--primary-color);;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.read-more-btn-col:hover {
    background: #7a3a11;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.post-comments-col {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 600;
}

.post-comments-col svg {
    width: 18px;
    height: 18px;
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(340deg, #8D8D94 0%, #1f2937 100%);
    margin: 60px auto;
    width: 80%;
    opacity: 0.5;
}

/* Blog Posts Rows */
.blog-posts-rows {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post-row {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    padding: 40px;
    position: relative;
}

.blog-post-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.post-row-image-col {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
}

.post-row-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-row:hover .post-row-image {
    transform: scale(1.08);
}

.post-row-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.post-edit-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    display: none;
    z-index: 10;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-post-row:hover .post-edit-link {
    display: block;
}

.post-edit-link svg {
    width: 14px;
    height: 14px;
    color: #666;
}

.post-edit-link:hover svg {
    color: var(--primary-color);;
}

.post-row-content-col {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.post-row-category {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.post-row-category:hover {
    background: var(--primary-color);;
    color: white;
    transform: translateY(-2px);
}

.post-row-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a1a1a;
}

.post-row-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.post-row-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

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

.post-row-author a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

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

.post-row-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.post-row-read-time svg {
    width: 14px;
    height: 14px;
}

.post-row-excerpt {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
}

.post-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.post-row-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.post-row-read-more:hover {
    background: #7a3a11;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.25);
}

.post-row-read-more svg {
    width: 16px;
    height: 16px;
}

.post-row-stats {
    display: flex;
    gap: 25px;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-row-likes,
.post-row-comments,
.post-row-views {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-row-likes svg,
.post-row-comments svg,
.post-row-views svg {
    width: 14px;
    height: 14px;
}

/* Pagination */
.blog-pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 5px;
    border-radius: 10px;
    background: white;
    color: #666;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary-color);;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.page-numbers .dots {
    background: transparent;
    box-shadow: none;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 100px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.no-posts-icon {
    margin-bottom: 40px;
}

.no-posts-icon svg {
    width: 100px;
    height: 100px;
}

.no-posts-found h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.no-posts-found p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-posts-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.no-posts-actions .btn-modern {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
}

/* Responsive Design for Two Column Layout */
@media (max-width: 1200px) {
    .featured-post-two-col,
    .blog-post-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .post-row-image-col {
        height: 350px;
    }
    
    .featured-post-image-col {
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .blog-archive-title {
        font-size: 2.8rem;
    }
    
    .featured-post-title-col {
        font-size: 2.2rem;
    }
    
    .post-row-title {
        font-size: 1.8rem;
    }
    
    .blog-post-row {
        padding: 30px;
    }
    
    .post-row-actions {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .post-row-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .blog-archive-header {
        padding: 60px 0 30px;
    }
    
    .blog-archive-title {
        font-size: 2.2rem;
    }
    
    .blog-archive-description {
        font-size: 1.1rem;
    }
    
    .blog-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .blog-search {
        width: 100%;
    }
    
    .featured-post-two-col {
        margin-bottom: 40px;
    }
    
    .featured-post-title-col {
        font-size: 1.8rem;
    }
    
    .post-meta-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-actions-col {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .blog-post-row {
        padding: 25px;
    }
    
    .post-row-image-col {
        height: 250px;
    }
    
    .post-row-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-archive-title {
        font-size: 1.8rem;
    }
    
    .featured-post-two-col,
    .blog-post-row {
        padding: 20px;
    }
    
    .featured-post-content-col {
        padding: 30px 20px;
    }
    
    .featured-post-title-col {
        font-size: 1.6rem;
    }
    
    .post-row-title {
        font-size: 1.5rem;
    }
    
    .post-row-excerpt {
        font-size: 1rem;
    }
    
    .post-row-read-more {
        width: 100%;
        justify-content: center;
    }
    
    .no-posts-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .no-posts-actions .btn-modern {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

.bgcolor {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin: 0;
    padding: 20px;
	clear:both;
}

.featured-book-actions {
    padding: 10px 0px 0px 0px;
}

/* 
.jp-relatedposts { 
    display: none !important; 
} */
