﻿/*
Theme Name: Aahwahan Blog
Theme URI: https://events.aahwahan.com/
Author: Aahwahan Foundation
Author URI: https://www.aahwahan.com/
Description: Modern, mobile-responsive blog theme with SEO-friendly URLs, view counter, likes, social sharing, and professional design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aahwahan-blog
Tags: blog, responsive, modern, seo-friendly, events, social-sharing
*/

/* Reset & Base Styles */
* {
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    display: none !important;
}

/* WordPress Admin Bar Adjustments */
#wpadminbar {
    position: fixed !important;
    top: 0 !important;
    z-index: 99999 !important;
}

/* Fix admin bar overlap with top bar */
body.admin-bar .top-bar {
    margin-top: 32px !important;
}

body.admin-bar .site-header {
    top: 32px !important;
}

body.admin-bar .hero-section {
    padding-top: 92px;
}

/* Mobile admin bar adjustment */
@media screen and (max-width: 782px) {
    body.admin-bar .top-bar {
        margin-top: 46px !important;
    }
    
    body.admin-bar .site-header {
        top: 46px !important;
        position: sticky !important;
    }
    
    body.admin-bar .hero-section {
        padding-top: 106px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar #wpadminbar {
        position: fixed !important;
    }
    
    body.admin-bar .site-header {
        top: 46px !important;
    }
}

main,
article {
    flex: 1;
}

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

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #00b4d8 0%, #48cae4 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    margin: 0 !important;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    font-weight: 500;
}

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

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

.top-bar-right .separator {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    margin-left: 10px;
    font-size: 1.1rem;
}

/* Main Header */
.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    margin: 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.logo-img,
.site-logo img,
.custom-logo {
    height: 60px;
    width: auto;
    display: block;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    display: block;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #00b4d8;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    transition: all 0.3s;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle:hover span {
    background: #00b4d8;
}

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

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

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

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 40px 0 30px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-section {
    padding: 20px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.blog-image {
    height: 250px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 14px;
    color: #6c757d;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

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

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.post-main-content {
    min-width: 0;
}

.post-header {
    margin: 0 auto 40px;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.post-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00b4d8, #48cae4);
    border-radius: 2px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #718096;
}

.post-featured-image {
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-featured-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

.post-content {
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.9;
    color: #334155;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.post-content h2 {
    margin: 40px 0 20px;
    color: #1a202c;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 3px solid #00b4d8 !important;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00b4d8;
    border-radius: 2px;
}

.post-content h3 {
    margin: 30px 0 15px;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.post-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #00b4d8, #48cae4);
    border-radius: 2px;
}

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

.post-content p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    float: left;
    margin: 5px 10px 0 0;
    color: #00b4d8;
}

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

.post-content ul li,
.post-content ol li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.post-content ul li::marker {
    color: #00b4d8;
    font-size: 1.2em;
}

.post-content ol li::marker {
    color: #00b4d8;
    font-weight: 600;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #e0f7fa 0%, #f0fdff 100%);
    border-left: 5px solid #00b4d8;
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #2c5282;
    box-shadow: 0 2px 10px rgba(0, 180, 216, 0.1);
}

.post-content blockquote p {
    margin: 0;
}

.post-content a {
    color: #00b4d8;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.post-content a:hover {
    color: #0288a3;
    border-bottom-color: #00b4d8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-content code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Style for strong/bold text that acts as headings (like "1. Introduction") */
.post-content p strong:only-child,
.post-content p b:only-child {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #00b4d8 !important;
}

/* Additional heading styles */
.post-content h1,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #1a202c;
    margin: 25px 0 15px;
    font-weight: 600;
    border-bottom: 2px solid #00b4d8 !important;
    padding-bottom: 10px;
}

.post-content h1 {
    font-size: 2.2rem;
    border-bottom: 3px solid #00b4d8 !important;
    padding-bottom: 12px;
}

/* Override any black or default underlines in content */
.post-content * {
    border-bottom-color: #00b4d8 !important;
}

.post-content hr {
    border: 0;
    border-top: 2px solid #00b4d8 !important;
    margin: 30px 0;
}

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

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Footer */
.site-footer {
    background: #2d3748;
    color: white;
    padding: 40px 0 0 0;
    margin: 0;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.footer-column p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column p a:hover {
    color: #00b4d8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
}

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

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

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    font-weight: 500;
}

.page-numbers:hover,
.page-numbers.current {
    background: linear-gradient(135deg, #00b4d8 0%, #48cae4 100%);
    color: white;
    border-color: #00b4d8;
}

.page-numbers.dots {
    background: transparent;
    border: none;
    pointer-events: none;
}

/* Comments Section */
.comments-area {
    max-width: 900px;
    margin: 0 auto;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-body {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

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

.comment-author .fn {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #64748b;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #00b4d8;
}

.comment-awaiting-moderation {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.comment-content {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply a {
    color: #00b4d8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.reply a:hover {
    color: #0096c7;
}

.children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
}

.no-comments {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

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

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00b4d8;
}

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

.submit-comment {
    background: linear-gradient(135deg, #00b4d8 0%, #48cae4 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    align-self: flex-start;
}

.submit-comment:hover {
    transform: translateY(-2px);
}

.form-submit {
    margin: 0;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00b4d8;
}

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

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.widget ul li a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.widget ul li a:hover {
    color: #00b4d8;
}

.widget select,
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.widget select:focus,
.widget input:focus {
    outline: none;
    border-color: #00b4d8;
}

/* Responsive */
@media (max-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    /* Header adjustments */
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .site-logo {
        order: 1;
    }
    
    .main-nav {
        order: 3;
    }
    
    /* Hide navigation by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 1000;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    /* Show navigation when active */
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-menu a {
        padding: 15px 25px;
        font-size: 0.95rem;
        color: #2d3748;
        display: block;
        width: 100%;
    }
    
    .nav-menu a:hover {
        background: #f7fafc;
        color: #00b4d8;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .container-wide {
        padding: 0 20px;
    }
    
    .post-content {
        padding: 25px;
    }
    
    .post-meta {
        font-size: 12px;
    }
    
    /* Author Box Mobile */
    .author-box {
        flex-direction: column;
        padding: 25px !important;
        gap: 15px !important;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-info > div:first-child {
        flex-direction: column;
        align-items: center;
    }
    
    .author-info h4 {
        font-size: 1.2rem !important;
    }
    
    .author-info p {
        font-size: 0.9rem !important;
    }
    
    .author-info > div:last-child {
        flex-direction: column;
        gap: 8px !important;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 20px 0;
    }
    
    /* Post Engagement Mobile */
    .post-engagement {
        flex-direction: column;
        gap: 15px !important;
        padding: 20px !important;
    }
    
    .engagement-actions {
        width: 100%;
        justify-content: center;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .post-engagement a,
    .post-engagement button {
        font-size: 0.9rem;
        padding: 10px 18px !important;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    .main-nav {
        width: 100%;
        right: -100%;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .site-logo img {
        max-height: 45px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    /* Author Box Small Mobile */
    .author-box {
        padding: 20px !important;
        margin-top: 30px !important;
    }
    
    .author-avatar img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .author-info h4 {
        font-size: 1.1rem !important;
    }
    
    .author-info p {
        font-size: 0.85rem !important;
    }
    
    .author-info span {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
    
    .author-info a {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
    
    /* Footer Small Mobile */
    .footer-grid {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 1rem;
    }
    
    .footer-column p,
    .footer-column ul li a {
        font-size: 0.9rem;
    }
    
    site-footer {
        padding: 30px 0 0 0;
    }
}

/* Engagement Section Enhancements */
.post-engagement {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.like-button-bottom:hover,
.post-engagement a:hover {
    border-color: #00b4d8 !important;
    color: #00b4d8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
}

/* Author Box Enhancements */
.author-box {
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #00b4d8;
    color: white;
}

::-moz-selection {
    background: #00b4d8;
    color: white;
}

/* Content Animation on Load */
.post-content {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b4d8, #48cae4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.6);
}

/* Tag Hover Effect */
.post-content a[href*="tag"],
footer a[href*="tag"] {
    transition: all 0.3s;
}

.post-content a[href*="tag"]:hover,
footer a[href*="tag"]:hover {
    background: #00b4d8 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Sidebar Widget Hover Effect */
.widget {
    transition: all 0.3s;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ========================================
   HOME PAGE / FRONT PAGE STYLES
   ======================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a1128 0%, #001f54 50%, #034078 100%);
    color: white;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0,180,216,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 25px 0;
    color: #ffffff !important;
    opacity: 0.95;
    font-weight: 400;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    justify-content: flex-start;
}

.btn-hero-primary {
    background: linear-gradient(90deg, #00b4d8 0%, #48cae4 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 180, 216, 0.6);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 12px 35px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

.btn-hero-outline:hover {
    background: white;
    color: #034078;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #48cae4;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 5px;
    letter-spacing: 1px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Section Headers */
.section-header-main {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-main.light .section-title-main {
    color: white;
}

.section-title-main {
    font-size: 2.8rem;
    font-weight: 700;
    color: #034078;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.title-underline-main {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #00b4d8 0%, #48cae4 100%);
    margin: 0 auto 15px;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Media Center Section */
.media-center-section {
    background: #f7fafc;
    padding: 100px 0;
}

.about-content-main {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-main {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #2d3748;
    margin-bottom: 25px;
    text-align: justify;
}

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

.releases-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Featured Post (Left) */
.featured-release {
    position: relative;
}

.featured-release-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    height: 100%;
    min-height: 350px;
}

.featured-release-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-release-card:hover img {
    transform: scale(1.08);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,180,216,0.92), rgba(72,202,228,0.92));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-release-card:hover .featured-overlay {
    opacity: 1;
}

.featured-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 50px;
    transition: background 0.3s;
}

.featured-link:hover {
    background: white;
    color: #00b4d8;
}

/* Posts List (Right) */
.releases-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.release-list-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.release-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0,180,216,0.2);
}

.release-list-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 100px;
}

.release-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.release-list-date {
    font-size: 0.85rem;
    color: #00b4d8;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.release-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #034078;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.release-list-title a {
    color: #034078;
    text-decoration: none;
    transition: color 0.3s;
}

.release-list-title a:hover {
    color: #00b4d8;
}

.release-list-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Photos Gallery Section */
.photos-gallery-section {
    background: linear-gradient(135deg, #001f54 0%, #034078 100%);
    padding: 100px 0;
    color: white;
}

.gallery-intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    opacity: 0.95;
    line-height: 1.8;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.photo-item:hover {
    transform: scale(1.08);
    z-index: 10;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-label {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Videos Section */
.videos-section {
    background: #f7fafc;
    padding: 100px 0;
}

.video-intro-text {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    color: #2d3748;
    line-height: 1.9;
}

.video-grid-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.main-video-player {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    width: 100%;
}

.video-player-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 25px;
}

.video-player-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00b4d8, #48cae4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: transform 0.3s;
    padding-left: 6px;
}

.video-player-wrapper:hover .play-button-large {
    transform: translate(-50%, -50%) scale(1.15);
}

.video-controls-bar {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.control-button {
    background: linear-gradient(135deg, #00b4d8, #48cae4);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-button:hover {
    transform: scale(1.12);
}

.control-button.play-large {
    width: 65px;
    height: 65px;
    font-size: 1.7rem;
}

.main-video-title {
    text-align: center;
    color: #034078;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.video-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,180,216,0.3);
}

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

.thumb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(0,180,216,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    padding-left: 3px;
}

.thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: white;
    padding: 12px;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* Print Media Section */
.print-media-section {
    background: white;
    padding: 100px 0;
}

.print-media-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.print-media-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #2d3748;
    margin-bottom: 25px;
    text-align: justify;
}

.print-media-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* Campaigns Section */
.campaigns-showcase-section {
    background: #f7fafc;
    padding: 100px 0;
}

.campaigns-grid-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.campaign-card-large {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.campaign-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.campaign-card-large:hover img {
    transform: scale(1.12);
}

.campaign-overlay-dark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
    padding: 50px;
}

.campaign-title-large {
    color: white;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

/* Final CTA Section */
.cta-final-section {
    background: linear-gradient(135deg, #034078 0%, #001f54 100%);
    padding: 120px 0;
    text-align: center;
    color: white;
}

.cta-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title-large {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.btn-cta-large {
    background: linear-gradient(90deg, #00b4d8 0%, #48cae4 100%);
    color: white;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.7);
}

/* Section Footer Buttons */
.section-footer-main {
    text-align: center;
}

.btn-view-more {
    color: #00b4d8;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-block;
    padding: 14px 40px;
    border: 3px solid #00b4d8;
    border-radius: 50px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn-view-more:hover {
    background: #00b4d8;
    color: white;
    transform: scale(1.05);
}

.btn-view-more.light {
    color: white;
    border-color: white;
}

.btn-view-more.light:hover {
    background: white;
    color: #034078;
}

/* Responsive Design for Home Page */
@media (max-width: 1024px) {
    .hero-content,
    .print-media-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .releases-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-release-card {
        min-height: 300px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .campaigns-grid-dual {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title-main {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .releases-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-release-card {
        min-height: 250px;
    }
    
    .release-list-item {
        grid-template-columns: 100px 1fr;
        padding: 12px;
    }
    
    .release-list-thumb {
        height: 80px;
    }
    
    .release-list-title {
        font-size: 1rem;
    }
    
    .release-list-excerpt {
        font-size: 0.85rem;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .video-thumbnails-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .campaigns-grid-dual {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .campaign-card-large {
        height: 300px;
    }
    
    .cta-title-large {
        font-size: 1.8rem;
    }
    
    .container-wide {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title-main {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .release-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .release-list-thumb {
        height: 150px;
        width: 100%;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title-large {
        font-size: 1.5rem;
    }
}
