/*
Theme Name: Feast Light Prince George
Description: A WordPress theme for Feast Light Prince George community
Author: Jenniffer Lee
Author URI: https://feastlightpg.com
Version: 1.0

*/

:root {
    --primary-red: #dc3545;
    --light-red: #f8d7da;
    --dark-red: #c82333;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Cover Template Styles */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
    color: #333;
    text-shadow: none;
}

/*
* Base structure for COVER SECTION ONLY
*/
.cover-section {
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    /* Background image is set dynamically via wp_head - see functions.php */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.cover-container {
    max-width: 100%; 
    width: 100%;
}

/*
* Header - Adjusted spacing
*/
.nav-masthead .nav-link {
    color: white;
    border-bottom: .25rem solid transparent;
    font-weight: 500;
    margin-right: 0.5rem;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: #dc3545;
    color: #dc3545;
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 0;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: var(--primary-red);
}

/* Dropdown Navigation Styles */
.nav-item-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 0.1rem;
}

.nav-item-wrapper:first-child {
    margin-left: 0;
}

.nav-item-wrapper:last-child {
    margin-right: 0;
}

.nav-link:last-child {
    margin-right: 0;
}

.nav-link + .nav-item-wrapper {
    margin-left: 0;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    padding: 10px 0;
    margin-top: 0.1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-item-wrapper:hover .nav-dropdown {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(220, 53, 69, 0.2);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 25px;
}

.has-dropdown::after {
    content: ' ▾';
    font-size: 0.8em;
}

/* Hide the text on mobile */
.header-text {
    display: inline;
}

@media (max-width: 768px) {
    .header-text {
        display: none;
    }
    .nav-masthead {
        margin-top: 1rem;
    }
    
    .cover-header .row {
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .cover-header .col-md-6:first-child {
        flex: 1;
        text-align: left;
    }
    
    .cover-header .col-md-6:last-child {
        position: relative;
        flex: 0 0 auto;
        width: auto;
    }
    
    .cover-header .header-logo {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .cover-header .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        right: 0;
        top: 0;
    }
    
    .cover-header .simple-nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .cover-header .simple-nav.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    .cover-header .simple-nav .nav-link,
    .cover-header .simple-nav-link {
        text-align: center;
        display: block;
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .cover-header .simple-nav .nav-item-wrapper {
        width: 100%;
    }
    
    .cover-header .simple-nav .has-dropdown {
        position: relative;
    }
    
    .cover-header .simple-nav .has-dropdown::after {
        content: ' ▾';
        font-size: 1em;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .cover-header .simple-nav .nav-item-wrapper.open .has-dropdown::after {
        transform: rotate(180deg);
    }
    
    .cover-header .simple-nav .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .cover-header .simple-nav .nav-item-wrapper.open .nav-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .cover-header .simple-nav .dropdown-item {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .cover-header .simple-nav .dropdown-item:last-child {
        border-bottom: none;
    }
}

/* Adjusted header spacing */
.cover-header {
    margin-bottom: 4rem !important;
}

.cover-header .col-md-6:last-child {
    position: relative;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.section-title {
    color: var(--primary-red);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease 0.3s;
}

.section-title.animate:after {
    transform: scaleX(1);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.card.animate {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.testimonial-card {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1);
    border-color: var(--dark-red);
}

.event-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.event-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.form-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.form-control {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    transform: translateY(-2px);
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0;
}

.footer h5 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer .col-md-3 {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer .col-md-3 {
        margin-bottom: 0;
    }
}

.footer a {
    color: var(--light-red);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Collage Styles  */
.image-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    height: 350px;
    max-width: 650px;
    margin: 0 auto;
    perspective: 1000px;
}

.collage-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.collage-item:hover {
    transform: scale(1.08) rotate(2deg);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.collage-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    /* Background image set dynamically via wp_head - see functions.php */
    animation: zoomIn 1s ease 0.2s both;
}

.collage-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    /* Background image set dynamically via wp_head - see functions.php */
    animation: zoomIn 1s ease 0.4s both;
}

.collage-item:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    /* Background image set dynamically via wp_head - see functions.php */
    animation: zoomIn 1s ease 0.6s both;
}

.collage-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    /* Background image set dynamically via wp_head - see functions.php */
    animation: zoomIn 1s ease 0.8s both;
}

.collage-item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    /* Background image set dynamically via wp_head - see functions.php */
    animation: zoomIn 1s ease 1s both;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cover Hero Styles */
.cover-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    line-height: 1.2;
}

.cover-hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.6;
}

.cover-hero .btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.cover-hero .btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* hero layout */
.hero-content {
    padding: 2rem 0;
}

.text-column {
    padding-right: 3rem;
}

.collage-column {
    padding-left: 2rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .cover-hero h1 {
        font-size: 2.8rem;
    }
    .cover-hero .lead {
        font-size: 1.3rem;
    }
    .text-column {
        padding-right: 1rem;
    }
    .collage-column {
        padding-left: 1rem;
        margin-top: 2rem;
    }
    .image-collage {
        height: 280px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .cover-hero h1 {
        font-size: 2.2rem;
    }
    .cover-hero .lead {
        font-size: 1.1rem;
    }
    .image-collage {
        height: 220px;
        gap: 8px;
    }
    .cover-section {
        background-attachment: scroll;
    }
    .text-column,
    .collage-column {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .image-collage {
        height: 180px;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

/* Simple Header for Posts and Pages */
.simple-header {
    background-color: #000;
    border-bottom: 2px solid var(--primary-red);
}

.simple-header .col-md-6:last-child {
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.simple-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.simple-nav .nav-link,
.simple-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.simple-nav .nav-link:hover,
.simple-nav-link:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.simple-nav .nav-item-wrapper {
    position: relative;
    margin-right: 0;
}

.simple-nav .has-dropdown::after {
    content: ' ▾';
    font-size: 0.8em;
}

.simple-nav .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    padding: 10px 0;
    margin-top: 0.1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.simple-nav .nav-item-wrapper:hover .nav-dropdown {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.simple-nav .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    text-align: left;
}

.simple-nav .dropdown-item:hover {
    background: rgba(220, 53, 69, 0.2);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(220, 53, 69, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 20px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary-red);
    border-color: #fff;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Single Post & Page Styles */
.single-post-wrapper,
.single-page-wrapper {
    background-color: #f8f9fa;
    color: #fff;
    min-height: 100vh;
}

.single-post-content,
.single-page-content {
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.post-header,
.page-header {
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 1.5rem;
}

.post-title,
.page-title {
    color: #2C2D2D;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #2C2D2D;
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    color: var(--primary-red);
}

.post-thumbnail img,
.page-thumbnail img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.post-content,
.page-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color:#2C2D2D;
}

.post-content p,
.page-content p {
    margin-bottom: 1.5rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content a,
.page-content a {
    color: var(--primary-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover,
.page-content a:hover {
    color: var(--dark-red);
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li,
.page-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote,
.page-content blockquote {
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.post-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.post-tags {
    color: rgba(255, 255, 255, 0.7);
}

.post-tags a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(220, 53, 69, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary-red);
    color: #fff;
}

.post-category a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-category a:hover {
    color: var(--dark-red);
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
}

.nav-post-link {
    display: block;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-post-link:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.nav-post-link .nav-label {
    display: block;
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-post-link .nav-title {
    display: block;
    color: #fff;
    font-size: 1.1rem;
}

.next-post {
    text-align: right;
}

/* Page Links (pagination for long pages) */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-links-title {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 1rem;
}

.page-links .page-link {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-links .page-link:hover {
    background: var(--primary-red);
}

.no-posts {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    padding: 3rem;
}

/* Responsive adjustments for posts and pages */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .simple-header .row {
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .simple-header .col-md-6:first-child {
        flex: 1;
        text-align: left;
    }
    
    .simple-header .col-md-6:last-child {
        position: relative;
        flex: 0 0 auto;
        width: auto;
    }
    
    .header-logo {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        right: 0;
        top: 0;
    }
    
    .simple-nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .simple-nav.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    .simple-nav .nav-link,
    .simple-nav-link {
        text-align: center;
        display: block;
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .simple-nav .nav-item-wrapper {
        width: 100%;
    }
    
    .simple-nav .has-dropdown {
        position: relative;
    }
    
    .simple-nav .has-dropdown::after {
        content: ' ▾';
        font-size: 1em;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .simple-nav .nav-item-wrapper.open .has-dropdown::after {
        transform: rotate(180deg);
    }
    
    .simple-nav .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .simple-nav .nav-item-wrapper.open .nav-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .simple-nav .dropdown-item {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .simple-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .single-post-content,
    .single-page-content {
        padding: 1.5rem;
    }
    
    .post-title,
    .page-title {
        font-size: 1.8rem;
    }
    
    .post-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .post-content,
    .page-content {
        font-size: 1rem;
    }
}

/* Archive Page Styles */
.archive-post-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-post-item:last-child {
    border-bottom: none;
}

.archive-post-thumbnail {
    overflow: hidden;
    border-radius: 10px;
}

.archive-post-thumbnail img {
    transition: transform 0.3s ease;
}

.archive-post-thumbnail:hover img {
    transform: scale(1.05);
}

.archive-post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.archive-post-title a {
    color: #2C2D2D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-post-title a:hover {
    color: var(--primary-red);
}

.archive-post-excerpt {
    color: #2C2D2D;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.archive-description {
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 1rem;
    margin-top: 1rem;
}

/* Archive Pagination */
.archive-pagination {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-pagination a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.archive-pagination a:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.pagination-numbers .page-numbers {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.pagination-numbers .page-numbers li {
    display: inline-block;
}

.pagination-numbers .page-numbers a,
.pagination-numbers .page-numbers .current {
    color: #fff;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.pagination-numbers .page-numbers .current {
    background: var(--primary-red);
    font-weight: 600;
}

.pagination-numbers .page-numbers a:hover {
    background: rgba(220, 53, 69, 0.5);
}

.no-posts-found {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .archive-pagination .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .archive-post-title {
        font-size: 1.5rem;
    }
}

/* Sidebar Styles */
.post-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-red);
}

.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-post-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.latest-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-post-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-post-link:hover {
    transform: translateX(5px);
}

.latest-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-post-link:hover .latest-post-thumb img {
    transform: scale(1.1);
}

.latest-post-info {
    flex: 1;
}

.latest-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2C2D2D;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.latest-post-link:hover .latest-post-title {
    color: var(--primary-red);
}

.latest-post-date {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.latest-post-date i {
    color: var(--primary-red);
}

.no-posts-sidebar {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 992px) {
    .post-sidebar {
        position: static;
        margin-top: 3rem;
    }
}