/* Events Grid Layout */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 75px;
}

.event-item {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.event-item p{
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
}

.event-item h2{
    font-family: Open Sans;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 31.9px !important;
}

.price{
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-grid {
    display: flex;
    flex-wrap: wrap;
}

.event-image {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
}

.event-date, .event-thumbnail {
    flex: 0 0 50%;
}

.event-date{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.event-color-1 .event-date{
    background-color: #CF202A;
}
.event-color-2 .event-date{
    background-color: #292663;
}

.event-date-day{
    color: #ffffff;
    font-family: Bebas Neue;
    font-weight: 400;
    font-size: 96px;
    line-height: 100px;
    text-align: center;
    text-transform: uppercase;
}

.event-date-month{
    color: #ffffff;    
    font-family: Bebas Neue;
    font-weight: 400;
    font-size: 48px;
    line-height: 48px;
    text-align: center;
    text-transform: uppercase;
}

.event-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.5rem;
}

.event-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.event-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.event-excerpt {
    margin: 1rem 0;
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

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

.event-location {
    display: flex;
    justify-content: space-between;
}

/* Responsive styles */
@media (min-width: 768px) {
    .event-grid {
        flex-wrap: nowrap;
    }
    
    .event-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .event-content {
        flex: 0 0 60%;
        max-width: 60%;
        padding: 2rem;
    }
    
    .event-thumbnail,
    .event-thumbnail-placeholder {
        height: 100%;
        min-height: 200px;
        object-fit: cover;
    }
}

/* For small screens, stack the layout */
@media (max-width: 767px) {
    .event-thumbnail,
    .event-thumbnail-placeholder {
        height: 200px;
    }
}

/* Single Event Template */
.single-events-template{
    margin: 80px auto;
}

.single-events-template .title-line-large{
    color: #292663;
    font-weight: 700;
}

.events-body-content{
    display: flex;
    justify-content: space-between;
}

.events-body-content-left,.events-body-content-right{
    flex: 0 0 40%;
}

.events-body-content-left .published-date{
   font-family: Open Sans;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
    color: #000000;
}

.events-body-content-right img{
    width: 100%;
    height: 100%;
}

.single-events-template .post-header {
    display: flex;
    gap: 20px;
}

.single-events-template .event-date {
    background: #CF202A;
    height: 115px;
    width: 115px;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.single-events-template .event-date-day {
    font-size: 64px;
    line-height: 64px;
}
    
.single-events-template .event-date-month {
    font-size: 36px;
    line-height: 36px;
}

.post-header-right h2{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 40px;
    line-height: 49px;
    letter-spacing: 0px;
    color: #292663;
}

.post-header.post-header-left {
    display: flex;
    justify-content: space-between;
}

.single-events-template .location{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 32px;
    line-height: 43px;
    letter-spacing: 0px;
}

.share-icon{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
    cursor: pointer;
}

.share-icon img{
    height: 25px;
    width: 25px;
}


.map-description {
	position: relative;
	margin-top: 60px;
	padding-bottom: 75px;
}

.map-description .map {
	width: 47.5%;
	height: 475px;
    box-shadow: none;
}

.map-description .map img{
    width: 100%;
    height: 100%;
}

.map-description .map-content {
	width: 47.5%;
	padding-top: 9%;
}

@media (max-width: 768px) {
    .map-description .map-content {
        width: 100%;
        padding-top: 9%;
    }
    .map-description .map {
        width: 100%;
        height: 475px;
    }
}

.map-description .map-content h2 {
	color: #292663;
}

.map-description .map-box h5 {
	font-family: "Bebas Neue",serif;
	font-size: 1.5rem;
	line-height: 1em;
	font-weight: 400;
	color: #292663;
	margin: 0 0 5px;
}

.map-description .map-box p {
	font-size: 1rem;
	line-height: 1.556em;
	margin: 0 0 5px;
}

.featured-news-section .news-section{
    padding-bottom: 50px;
}

.featured-news-section{
    border: 1px solid #F7F7F7;
}

.hero-content-inner{
    background: #000000;
    padding: 20px 40px;
}
.proud-member{
    padding: 75px 0;
}
.member-logos{
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .member-logos{
        flex-wrap: wrap;
    }
}

.newsletter-section{
    padding: 0;
}

.newsletter-section .left-side , .newsletter-section .right-side{
    padding: 75px 100px;
}

.newsletter-section .right-side, .newsletter-section .right-side h2, .newsletter-section .right-side p{
    color: #ffffff;
}

.events-calendar{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.events-calendar .event-location{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.events-calendar .event-location p{
    margin-bottom: 10px !important;
    color: #000000;
    font-weight: 700;
    font-size: 22px;
}

.events-calendar .event-items{
    display: flex;
    gap: 20px;
}

.events-calendar .event-items .event-date{
    flex: 0 0 12%;
    width: 100%;
    height: auto;
    background-color: #CF202A;
}

.events-calendar .event-items .event-date .event-date-day{
    font-family: Bebas Neue;
    font-weight: 400;
    font-style: Regular;
    font-size: 36px;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
}

.events-calendar .event-items .event-date .event-date-month{
    font-family: Bebas Neue;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    text-transform: uppercase;
}

.events-calendar .event-items .event-details h3{
    font-weight: 700;
    font-size: 22px;
    line-height: 31.9px;
    margin-bottom: 10px !important;
}

.newsletter-section .left-side,.newsletter-section .right-side{
    width: 50%;
}

.left-side{
    background-color: #F7F7F7;
}

.left-side h2{
    color: #292663 !important;
    margin-bottom: 50px !important;
}

.left-side a{
    font-weight: 700;
}

.left-side .btn,  .custom-html-section .btn{
    margin-top: 50px;
}

@media (max-width: 768px) {
    .newsletter-section .left-side,.newsletter-section .right-side{
        width: 100%;
    }

    .newsletter-section .left-side , .newsletter-section .right-side{
        padding: 75px 50px;
    }
}

.custom-html-section{
    margin: 75px 0;
}

.share-icons {
    position: relative;
    display: inline-block;
}

.share-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 500;
}

.share-icon img {
    width: 18px;
    height: 18px;
}

.share-icon-inner {
    width: fit-content;
    position: absolute;
    right: 0;
    left: -5%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    gap: 12px;
    z-index: 100;
    margin-top: 5px;
    justify-content: flex-start;
}

.share-icon-inner a {
    display: inline-flex;
    transition: transform 0.2s ease;
    color: #292663;
}

.share-icon-inner a:hover {
    transform: scale(1.1);
}

.share-icon-inner img {
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease;
}

.share-icon-inner a:hover img {
    opacity: 0.8;
}

.news-section .boxes .box .box-image img {
    display: block;
    width: 100%;
    width: 440px;
    height: 250px;
    object-fit: cover;
}