/*
Theme Name: Klaimueang
Theme URI: http://klaimueang.com
Author: Antigravity
Author URI: http://klaimueang.com
Description: A premium travel blog theme with customizable grid layouts, colors, and fonts.
Version: 1.1.28
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klaimueang
*/

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Color Palette (Natural Forest Theme) */
    --primary: #2d5a27;         /* Deep Forest Green */
    --primary-light: #447c3c;   /* Leaf Green */
    --primary-dark: #1b3817;    /* Dark Moss */
    --secondary: #d29d66;       /* Warm Wood / Sand */
    --accent: #8ca886;          /* Sage Green */
    --bg-main: #f7f9f6;         /* Warm Soft Off-White */
    --bg-white: #ffffff;
    --text-dark: #222f25;       /* Charcoal Green */
    --text-muted: #5e6b60;      /* Muted Sage */
    --border-color: #e2e8e3;
    
    /* Typography */
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Sarabun', sans-serif;
    
    /* Layout & Styling */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 20px rgba(45, 90, 39, 0.06);
    --shadow-lg: 0 20px 40px rgba(45, 90, 39, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.mt-5 {
    margin-top: 3rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(247, 249, 246, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 12px 0;
    background-color: rgba(247, 249, 246, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    transition: var(--transition);
}

.logo:hover .logo-svg {
    transform: rotate(15deg) scale(1.05);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    transition: var(--transition);
}

.logo:hover .logo-text-group {
    transform: translateY(-2px);
}

.logo-title {
    font-family: 'Sriracha', cursive;
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: -4px;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.logo-divider {
    color: var(--secondary);
    margin: 0 1px;
    font-weight: bold;
}

.footer-logo .logo-title {
    color: var(--bg-white) !important;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.5) !important;
}


.nav-menu ul {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.search-btn:hover {
    color: var(--primary);
    background-color: rgba(45, 90, 39, 0.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* ==========================================
   SEARCH OVERLAY
   ========================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 56, 23, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.close-search {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.close-search:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.search-box {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    font-family: var(--font-body);
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(210, 157, 102, 0.3);
}

.search-submit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    color: var(--secondary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-blog {
    height: 80vh;
    min-height: 550px;
    background-attachment: scroll; /* Smoother scrolling on mid-tier hardware */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(210, 157, 102, 0.25);
    color: var(--secondary);
    border: 1px solid rgba(210, 157, 102, 0.4);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 5.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(132% + 1.3px);
    height: 80px;
}

.hero-wave .shape-fill {
    fill: var(--bg-main);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   SECTION COMMON HEADER
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 15px auto 0;
    border-radius: var(--radius-full);
}

.title-underline.left {
    margin: 15px 0 0;
}

/* ==========================================
   MAIN BLOG LAYOUT (2 COLUMNS)
   ========================================== */
.blog-container-section {
    padding: 80px 0;
    background-color: var(--bg-main);
}

.blog-grid-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 48px;
    align-items: start;
}

.blog-grid-layout > * {
    min-width: 0;
    width: 100%;
}

.blog-grid-layout.no-sidebar {
    grid-template-columns: 1fr;
}

.blog-grid-layout.no-sidebar .single-post-content {
    max-width: 850px;
    margin: 0 auto;
}

.blog-section-header {
    margin-bottom: 32px;
}

/* Blog Category Filter Bar */
.blog-category-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 16px 24px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--secondary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.filter-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label i {
    color: var(--secondary);
    font-size: 1.25rem;
}

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

.filter-btn {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: var(--bg-white);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.2);
}

.filter-btn.active {
    background-color: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(210, 157, 102, 0.4);
    transform: translateY(-2px);
}

/* Category Filter animation classes */
.blog-grid-card {
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-grid-card.filtered-out {
    display: none !important;
}

.blog-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-section-title i {
    color: var(--bg-main);
    background: linear-gradient(135deg, var(--secondary), #b5824c);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(210, 157, 102, 0.35);
    font-size: 1.4rem;
}

.blog-title-line {
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    margin-top: 20px;
    position: relative;
    border-radius: var(--radius-full);
}

.blog-title-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

/* 2.1 Main Column: Blog Posts */
/* 2.1 Main Column: Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-grid-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 39, 0.1);
}

.grid-card-img {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.grid-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-grid-card:hover .grid-card-img img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 5;
}

.grid-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.grid-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 10px 0;
    color: var(--primary-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.grid-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-card-read {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.grid-card-read:hover {
    color: var(--secondary);
    gap: 10px;
}

/* 2.2 Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-num, .page-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-main);
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-num {
    width: 44px;
    height: 44px;
}

.page-next {
    padding: 0 18px;
    height: 44px;
    gap: 8px;
}

.page-num:hover, .page-next:hover,
.page-num.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.2);
}

/* ==========================================
   SIDEBAR WIDGETS
   ========================================== */
.blog-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

/* Widget: Search */
.widget-search-form {
    display: flex;
    position: relative;
}

.widget-search-form input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.widget-search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(45, 90, 39, 0.1);
}

.widget-search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.widget-search-form button:hover {
    color: var(--primary);
}

/* Widget: About Author */
.widget-about-info {
    text-align: center;
}

.widget-avatar-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--accent);
}

.widget-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-about-info h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.widget-about-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.widget-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.widget-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.widget-social a:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Widget: Categories */
.widget-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-categories ul li {
    margin-bottom: 12px;
}

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

.widget-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.widget-categories a i {
    color: var(--accent);
    margin-right: 8px;
}

.widget-categories a:hover {
    color: var(--primary);
}

.cat-count {
    background-color: var(--bg-main);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    transition: var(--transition);
}

.widget-categories a:hover .cat-count {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Sidebar Nested Subcategories */
.widget-categories .category-parent {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.widget-categories .category-parent i {
    color: var(--primary);
    margin-right: 8px;
}

.widget-categories ul.subcategories {
    margin-left: 16px;
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--border-color);
}

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

.widget-categories ul.subcategories li:last-child {
    margin-bottom: 0;
}

.widget-categories ul.subcategories a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.widget-categories ul.subcategories a:hover {
    color: var(--primary);
}

.widget-categories ul.subcategories a:hover .cat-count {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Widget: Popular/Recent Posts */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.recent-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-text h4 {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-text h4 a:hover {
    color: var(--primary);
}

.recent-post-text .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Widget: Tags Cloud */
.tags-cloud-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background-color: var(--bg-main);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag-item:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.05);
}

/* ==========================================
   PHOTO GALLERY SECTION
   ========================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 56, 23, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    color: var(--bg-white);
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ==========================================
   LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 18, 9, 0.95);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.close-lightbox:hover {
    color: var(--secondary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: var(--bg-white);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    border-radius: 5px;
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

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

.about-img-box {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
    min-width: 0;
    width: 100%;
}

.about-img-box img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 8px solid rgba(210, 157, 102, 0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-experience {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-content-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.social-connect {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-connect h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-connect .social-link {
    width: auto;
    padding: 0 20px;
    border-radius: var(--radius-full);
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    color: var(--bg-white);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.social-link.facebook:hover { background-color: #3b5998; }
.social-link.instagram:hover { background-color: #e1306c; }
.social-link.youtube:hover { background-color: #ff0000; }
.social-link.tiktok:hover { background-color: #010101; }
.social-link.email:hover { background-color: var(--primary); }

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background-color: #1a241c; /* Very dark forest green */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-info-col .logo {
    margin-bottom: 20px;
}

.footer-info-col .logo-text {
    color: var(--bg-white);
}

.footer-info-col .logo-icon {
    color: var(--secondary);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links-col h3,
.footer-contact-col h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h3::after,
.footer-contact-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-links-col a {
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact-col p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact-col i {
    color: var(--secondary);
}

.footer-newsletter {
    margin-top: 30px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--bg-white);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   SINGLE POST PAGE STYLES
   ========================================== */
.post-header-section {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: left;
}

.post-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
}

.post-header-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.post-breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.post-breadcrumbs a:hover {
    color: var(--secondary);
}

.post-breadcrumbs i {
    font-size: 0.75rem;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

.post-detail-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.post-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.post-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Post Body Content */
.single-post-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 30px;
}

.single-post-content h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    position: relative;
}

.single-post-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.content-image-box {
    margin: 40px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image-box img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.img-caption {
    display: block;
    background-color: var(--bg-main);
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-left: 4px solid var(--primary);
}

.post-quote {
    background-color: rgba(45, 90, 39, 0.04);
    border-left: 5px solid var(--primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.7;
}

.post-quote cite {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
}

/* Share Box */
.post-share-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    margin: 40px 0;
}

.share-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

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

.share-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    border-radius: var(--radius-sm);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.share-btn.fb { background-color: #3b5998; }
.share-btn.tw { background-color: #1da1f2; }
.share-btn.copy-link { background-color: #5e6b60; }

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.post-detail-tags {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 8px;
}

/* Author Info Box */
.post-author-detail-box {
    display: flex;
    gap: 24px;
    background-color: var(--bg-main);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 48px;
    border: 1px solid var(--border-color);
}

.author-detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.author-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-detail-info h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.author-detail-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Related Posts */
.related-posts-section {
    margin-bottom: 48px;
}

.related-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

.related-card {
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-img {
    display: block;
    height: 160px;
    overflow: hidden;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover .related-img img {
    transform: scale(1.05);
}

.related-card h4 {
    padding: 16px 20px 8px;
    font-size: 1rem;
    font-weight: 500;
}

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

.related-card .date {
    display: block;
    padding: 0 20px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Comments Section */
.comments-container {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.comments-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

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

.comment-item {
    display: flex;
    gap: 16px;
}

.comment-item.comment-reply {
    margin-left: 64px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comment-body {
    background-color: var(--bg-main);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    flex-grow: 1;
    border: 1px solid var(--border-color);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-body p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.comment-reply-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-reply-btn:hover {
    color: var(--secondary);
}

/* Comment Form */
.comment-form-box {
    background-color: var(--bg-main);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comment-form-box h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(45, 90, 39, 0.1);
}

.comment-form button {
    align-self: flex-start;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .blog-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .widget-search {
        grid-column: span 2;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-box {
        padding-right: 0;
        padding-bottom: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }
    
    /* Mobile Menu Toggle logic */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        padding: 100px 40px 40px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    /* Blog post grid on small screen */
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .blog-posts-grid .grid-card-img {
        padding-top: 100%; /* Square crop on mobile */
    }
    
    /* Fix About Section Image Overflow */
    .about-img-box {
        padding: 0 !important;
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .about-img-box::before {
        display: none;
    }
    .about-experience {
        left: 10px;
        bottom: 10px;
        padding: 16px;
        box-sizing: border-box;
        max-width: calc(100% - 20px);
    }
    .about-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .about-content-box {
        padding: 0 15px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* 2 Columns for Video and Gallery */
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .video-card .grid-card-body {
        padding: 12px !important;
    }
    .video-card .grid-card-title {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }
    .video-card .post-meta {
        font-size: 0.75rem !important;
        flex-direction: column;
        gap: 4px !important;
    }
    .video-card .btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .gallery-overlay i {
        font-size: 1.2rem;
    }
    .gallery-overlay span {
        font-size: 0.8rem;
    }
    
    .blog-posts-grid .grid-card-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .blog-posts-grid .post-meta {
        font-size: 0.7rem;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .blog-posts-grid .grid-card-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .grid-card-body {
        padding: 12px;
    }
    
    .grid-card-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .grid-card-excerpt, .grid-card-read {
        display: none !important;
    }
    
    .post-meta {
        font-size: 0.75rem;
        margin-bottom: 0;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .post-category {
        font-size: 0.7rem;
        padding: 3px 10px;
        top: 10px;
        left: 10px;
    }
    
    .blog-sidebar-content {
        grid-template-columns: 1fr;
    }
    
    .widget-search {
        grid-column: span 1;
    }
    
    /* Hero adjustments */
    .hero-section {
        height: auto;
        padding: 140px 0 100px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info-col {
        grid-column: span 1;
    }
    
    .btn-contact {
        display: none; /* Hide on mobile to save space */
    }
    
    /* Single post elements on small screen */
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-item.comment-reply {
        margin-left: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-detail-title {
        font-size: 1.6rem;
    }
    
    .single-post-content {
        padding: 16px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    .single-post-content iframe,
    .single-post-content embed,
    .single-post-content object,
    .single-post-content figure,
    .single-post-content img,
    .single-post-content iframe,
    .single-post-content video {
        max-width: 100% !important;
        height: auto;
    }
    
    .single-post-content pre,
    .single-post-content table {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
    
    .single-post-content h2 {
        font-size: 1.4rem;
        margin: 24px 0 16px;
    }
    
    .single-post-content h3 {
        font-size: 1.2rem;
    }
    
    .single-post-content p, 
    .single-post-content li {
        font-size: 1rem;
    }
    
    .post-author-detail-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================
   VDO REVIEWS SECTION
   ========================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.video-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    min-width: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 39, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.video-info h3 a:hover {
    color: var(--primary);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.video-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: auto;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-meta i {
    color: var(--secondary);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e1ad01;
    color: #1b3817;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Custom Logo */
.custom-logo-link img { max-height: 50px; width: auto; display: block; }
.site-logo { display: flex; align-items: center; }


/* ==========================================
   FRONT PAGE SECTIONS
   ========================================== */

/* About Snippet */
.fp-about-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-main);
}
.fp-about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}
.fp-btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--primary);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.fp-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45,90,39,0.3);
}

/* Latest Posts */
.fp-posts-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.fp-posts-grid {
    margin-bottom: 40px;
}
.fp-action-container {
    text-align: center;
    margin-top: 40px;
}
.fp-btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.fp-btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-white);
}

/* Featured Videos */
.fp-videos-section {
    padding: 80px 0;
    background: var(--bg-main);
}
.fp-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}
.fp-vdo-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.fp-vdo-card:hover {
    transform: translateY(-5px);
}
.fp-vdo-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.fp-vdo-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fp-vdo-placeholder {
    padding: 40px;
    text-align: center;
    background: #eee;
}
.fp-vdo-info {
    padding: 20px;
}
.fp-vdo-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Gallery Section */
.fp-gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .fp-videos-grid {
        grid-template-columns: 1fr;
    }
}

.fp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

@media (max-width: 768px) {
    .fp-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Front Page Layout with Sidebar */
.fp-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: start;
}
.fp-layout-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.fp-layout-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .fp-layout-wrapper {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .fp-layout-sidebar {
        display: none;
    }
}

/* Section overrides when inside fp-layout-main */
.fp-layout-main .fp-about-section,
.fp-layout-main .fp-posts-section,
.fp-layout-main .fp-videos-section,
.fp-layout-main .fp-gallery-section {
    padding: 0;
    background: transparent !important;
}
