/* Legacy page CSS from zhiltd.com (WordPress inline <style> blocks), kept verbatim. */
/* events archive */
/* Hero Section - Keep existing styles */
.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Event Grid Section */
.event-grid-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.event-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-item {
    width: 100%;
    z-index: 9999;
}

.event-card-horizontal {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.event-image-wrapper {
    position: relative;
    flex: 0 0 300px;
    overflow: hidden;
}

.event-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffc107, #ffca28);
    color: #000000;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
    z-index: 2;
}

.event-details {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #ffc107;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666666;
}

.event-date,
.event-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-date i,
.event-location i {
    color: #ffc107;
    font-size: 14px;
}

.event-excerpt {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.read-more-btn:hover {
    color: #000000;
    border-bottom-color: #ffc107;
    gap: 12px;
}

.read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

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

.pagination-wrapper ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper ul li {
    margin: 0;
}

.pagination-wrapper ul li a,
.pagination-wrapper ul li span {
    display: inline-block;
    padding: 10px 16px;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-wrapper ul li a:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000000;
}

.pagination-wrapper ul li span.current {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000000;
}

.nothing-found {
    text-align: center;
    padding: 60px;
    font-size: 18px;
    color: #666666;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 991px) {
    .event-card-horizontal {
        flex-direction: column;
    }
    
    .event-image-wrapper {
        flex: 0 0 250px;
    }
    
    .event-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .event-grid-section {
        padding: 40px 0;
    }
    
    .event-details {
        padding: 20px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .event-meta {
        gap: 15px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .pagination-wrapper ul li a,
    .pagination-wrapper ul li span {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .event-image-wrapper {
        flex: 0 0 200px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 8px;
    }
}
/* single event */
.event-slider-container {
    margin: 40px auto;
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.slick-slider .slick-slide {
    text-align: center;
}

.slider-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 600px;
    border-radius: 10px;
}

.slider-caption {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

.read-for-me-btn {
    background-color: #ffc107;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.read-for-me-btn:hover {
    background-color: #ffca2c;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:before {
    content: '←';
}

.slick-next:before {
    content: '→';
}

.slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}
/* single news article (/blog/news/...) */
.single-news-article {
        padding: 200px 0;
    }
    .entry-header {
        margin-bottom: 30px;
    }
    .entry-title {
        font-size: 36px;
        color: #fff;
        margin-bottom: 10px;
    }
    .entry-meta {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
    }
    .entry-meta > span {
        margin-right: 15px;
    }
    .featured-image {
        margin-bottom: 30px;
    }
    .featured-image img {
        max-width: 100%;
        height: auto;
        max-height: 400px; /* Limit the height of the featured image */
        width: auto; /* Maintain aspect ratio */
        border-radius: 8px;
    }
    .entry-content {
        font-size: 18px;
        line-height: 1.6;
        color: #fff;
    }
    .entry-footer {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .tags-links {
        font-size: 14px;
        color: #666;
    }
    .post-navigation {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .nav-links {
        display: flex;
        justify-content: space-between;
    }
    .nav-previous, .nav-next {
        flex: 0 0 48%;
    }
    .nav-previous a, .nav-next a {
        display: block;
        padding: 10px;
        background-color: #f0f0f0;
        color: #333;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    .nav-previous a:hover, .nav-next a:hover {
        background-color: #e0e0e0;
    }
    .screen-reader-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }