/* ============================================
   UNITY LIVING CENTER - WORDPRESS STYLE CSS
   Modern, Professional, Responsive Design
   ============================================ */

/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
:root {
    /* Brand Colors */
    --primary-color: #2c5aa0;
    --primary-dark: #1e3a70;
    --primary-light: #4a7bc8;
    --secondary-color: #d4af37;
    --accent-color: #f4a942;
    
    /* Neutral Colors */
    --dark: #1a1a1a;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 30px;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', serif;
    
    /* Effects */
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION - WORDPRESS STYLE
   ============================================ */
.wp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.wp-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION - WORDPRESS STYLE
   ============================================ */
.wp-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    margin-top: 90px;
    overflow: hidden;
}

.wp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.03)" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--secondary-color);
    font-size: 20px;
}

.wp-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.wp-hero .hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   BUTTONS - WORDPRESS STYLE
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-accent:hover {
    background: #a31829;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SECTIONS - WORDPRESS STYLE
   ============================================ */
.wp-section {
    padding: var(--section-padding);
}

.wp-section.bg-light {
    background: var(--light-bg);
}

.wp-section.bg-dark {
    background: #000000;
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.bg-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   CARDS - WORDPRESS STYLE
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.wp-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.wp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.wp-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-content {
    padding: var(--card-padding);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

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

/* ============================================
   FEATURES - WORDPRESS STYLE
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION - WORDPRESS STYLE
   ============================================ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="100" r="150" fill="rgba(255,255,255,0.03)"/><circle cx="1000" cy="500" r="200" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ============================================
   FOOTER - WORDPRESS STYLE
   ============================================ */
.wp-footer {
    background: #000000;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */
@media (max-width: 968px) {
    .community-grid {
        grid-template-columns: 1fr !important;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-card {
        padding: 20px;
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .wp-hero h1 {
        font-size: 36px;
    }
    
    .wp-hero .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .card-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

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

.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.py-5 { padding: 50px 0; }
.py-8 { padding: 80px 0; }

/* ============================================
   STATS SECTION - HORIZONTAL BLACK STRIP
   ============================================ */
.stats-section {
    padding: 50px 0;
    background: #000000;
    color: #ffffff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000000;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 8px;
    font-family: 'Inter', serif;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-card {
        min-width: 100%;
    }
    
    .stat-number {
        font-size: 40px;
    }
}

/* ============================================
   STATS SHOWCASE - PROMINENT BLACK SECTION
   ============================================ */
.stats-showcase {
    background: #000000;
    padding: 80px 0;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    opacity: 0.8;
}

.stats-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000000;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Stats Showcase */
@media (max-width: 968px) {
    .stats-showcase {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .stats-content {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .stats-showcase {
        padding: 50px 0;
    }
    
    .stats-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .stat-item {
        min-width: 100%;
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 52px;
    }
    
    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 44px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* Update icon styling - remove circle, white icons only */
.stats-showcase .stat-icon-wrapper {
    width: auto;
    height: auto;
    margin: 0 auto 25px;
    background: none !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ffffff !important;
    box-shadow: none !important;
}

.stats-showcase .stat-item:hover .stat-icon-wrapper {
    transform: scale(1.15);
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .stats-showcase .stat-icon-wrapper {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .stats-showcase .stat-icon-wrapper {
        font-size: 38px;
    }
}

/* ============================================
   404 ERROR PAGE STYLES
   ============================================ */
.error-404-section {
    padding: 80px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
}

.error-content h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 16px;
}

.error-content > p {
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.helpful-links {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.helpful-links h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 20px;
}

.helpful-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.helpful-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.helpful-links li a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.search-box h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 16px;
}

/* ============================================
   SEARCH RESULTS PAGE STYLES
   ============================================ */
.search-results-section {
    padding: 60px 0;
}

.results-count {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-results-grid {
    display: grid;
    gap: 30px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-result-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.result-thumbnail {
    height: 150px;
    overflow: hidden;
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-content {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-title a {
    color: var(--dark);
}

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

.result-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.result-excerpt {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-light);
}

.no-results h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 12px;
}

.no-results > p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.search-again {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-again h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 16px;
}

/* ============================================
   SINGLE POST PAGE STYLES
   ============================================ */
.single-post-section {
    padding: 60px 0;
}

.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

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

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-medium);
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    color: var(--text-medium);
    margin-right: 10px;
}

.post-tags a {
    color: var(--primary-color);
    margin-right: 8px;
}

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

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.author-label {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.nav-previous,
.nav-next {
    min-width: 0;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.nav-label {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 6px;
}

.nav-link:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.nav-title {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link:hover .nav-title {
    color: var(--white);
}

.post-meta-header {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
}

.post-meta-header span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ARCHIVE PAGE STYLES
   ============================================ */
.archive-section {
    padding: 60px 0;
}

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

.archive-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

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

.card-thumbnail-placeholder {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--text-light);
}

.card-content {
    padding: 24px;
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-title a {
    color: var(--dark);
}

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

.card-excerpt {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-light);
}

.no-posts h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 12px;
}

.no-posts p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

/* ============================================
   PAGINATION STYLES
   ============================================ */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.pagination-wrapper .prev,
.pagination-wrapper .next {
    padding: 0 20px;
}

/* ============================================
   SEARCH FORM STYLES
   ============================================ */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search-form .search-field {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.search-form .search-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.search-form .search-submit {
    padding: 14px 28px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form .search-submit:hover {
    background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR NEW TEMPLATES
   ============================================ */
@media (max-width: 768px) {
    .search-result-card {
        grid-template-columns: 1fr;
    }

    .result-thumbnail {
        height: 180px;
    }

    .result-content {
        padding: 20px;
    }

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

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .helpful-links ul {
        flex-direction: column;
        align-items: center;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}
