body {
    font-family: Arial, sans-serif;
}
  
  .three-blocks-container {
    display: flex;
    gap: 10px; /* Space between the boxes */
    justify-content: center; /* Center boxes horizontally within the container */
    flex-wrap: wrap;
    padding: 0; /* Remove any padding if present */
  }
  
  .three-block-widget {
    flex: 1 1 calc(33.333% - 10px); /* Adjusted for spacing */
    box-sizing: border-box;
    max-width: 300px; /* Set max-width to match image width */
    border: 1px solid #ddd; /* Border around the whole box */
    border-radius: 5px; /* Rounded corners */
    position: relative; /* Position relative for absolute positioning of the bottom line */
    background-color: #fff; /* Ensure background color is set */
  }
  
  .block-item {
    display: block;
    text-decoration: none;
    color: inherit; /* Inherit color from parent element */
  }
  
  .image-wrapper {
    position: relative;
    overflow: hidden;
  }
  
  .main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 300px; /* Set max-width to match image size */
    max-height: 168px; /* Set max-height to match image size */
  }
  
  .block-content {
    padding: 10px; /* Padding for the content area */
    background-color: #fff; /* Background color for the content area */
    position: relative; /* Position relative to align bottom line */
    z-index: 1; /* Ensure content is above the bottom line */
  }
  
  .text-container {
    padding: 10px; /* Padding inside the container */
    background-color: #f9f9f9; /* Light background color for better contrast */
  }
  
  .block-title {
    font-size: 1.4em; /* Adjusted font size for smaller box */
    margin-bottom: 5px; /* Reduced margin */
    color: #282E78; /* Blue color */
    font-weight: bold; /* Bold text */
  }
  
  .block-text {
    font-size: 0.9em; /* Adjusted font size for smaller box */
    color: #000; /* Black color */
  }
  
  .three-block-widget::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px; /* Thickness of the line */
    background-color: #000; /* Color of the line */
    z-index: 0; /* Ensure the line is below the content */
  }
  

/* Styling for the events widget */
.events-widget {
    width: calc(100% - 10px); /* 5px padding on each side */
    margin: 0 5px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
}


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

.event-row {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.event-date {
    background-color: #003366;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    margin-right: 20px;
    text-align: center;
    min-width: 80px;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 10px;
}

.event-time {
    font-size: 1rem;
    color: #666;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
}


.event-description {
    font-size: 1rem;
    color: #555;
    margin: 0 0 5px;
}

.event-time i,
.event-organizer i {
    margin-right: 8px;
    color: #666; /* A soft gray color for the icons */
}

.event-organizer {
    font-size: 1rem;
    color: #003366;
    font-weight: bold;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .event-row {
        flex-direction: column;
        text-align: center;
    }
    .event-date {
        margin-bottom: 15px;
    }
}


.events-widget {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.events-incidents-row {
    display: flex; /* Align columns in a row */
    justify-content: space-between;
}

.events-column, .incidents-column {
    flex: 1; /* Ensure both columns take up equal space */
    margin-right: 20px; /* Space between columns */
}

.incidents-column {
    margin-right: 0; /* Remove margin on the last column */
}

.incident-link {
    text-decoration: none;
    color: inherit;
}

.incident-row {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff; /* White background for the text area */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.incident-row:hover {
    background-color: #f1f1f1; /* Slightly gray on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.incident-icon {
    background-color: #003366; /* Dark blue background for the icon */
    color: #ffffff; /* White icon color */
    border-radius: 50%;
    padding: 15px;
    margin-right: 20px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.incident-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 5px;
}

.incident-date {
    font-size: 1rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
}

.incident-date i {
    margin-right: 8px;
    color: #666; /* A soft gray color for the icons */
}

@media (max-width: 768px) {
    .events-incidents-row {
        flex-direction: column;
        align-items: center;
    }
    .events-column, .incidents-column {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%; /* Make columns full width on smaller screens */
    }
    .incidents-column {
        margin-bottom: 0; /* Remove bottom margin on the last column */
    }
}

/* Swiper Container */
.swiper-container {
    width: 90%;
    max-width: 1200px;
    height: 450px;
    margin: 40px auto;
    position: relative;
    padding: 0; /* <-- Remove extra padding if present */
    border-radius: 20px;
    overflow: hidden; /* <--- Very important */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #000; /* Optional: make a fallback background */
}


/* Slides */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* <--- This prevents image overflow */
    height: 100%;
}
/* Image Styling */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide img:hover {
    transition: transform 0.3s ease;
    transform: scale(1.05);
}


/* Caption with glassmorphism */
.swiper-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* Optional: smoother transitions */
.swiper-wrapper {
    transition-timing-function: ease-in-out;
}



        
        .rules-container {
            max-width: 800px;
            margin: 0 auto;
            font-family: Arial, sans-serif;
            color: #111;
        }
        
        .rules-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 10px;
            background-color: #f4f4f4;
            border-radius: 5px;
            margin-top: 10px;
            font-weight: bold;
            font-size: 18px;
        }
        
        .rules-header i {
            margin-right: 10px;
        }
        
        .rules-content {
            display: none;
            padding: 10px;
            background-color: #ffffff;
            border-left: 3px solid #007bff;
            margin-bottom: 10px;
        }
        
        .rules-content ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .rules-content li {
            margin-bottom: 10px;
        }
        
        .rules-content strong {
            font-size: 16px;
            font-weight: bold;
        }
        
        .last-edited {
            font-size: 14px;
            color: #555;
        }
        

/* YouTube Playlist Section */
.playlist-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.playlist-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.playlist-heading {
    font-size: 1.8rem;
    color: #282E78;
    font-weight: bold;
    margin-bottom: 20px;
}

.playlist-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.playlist-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.event-incident-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.events-heading {
    text-align: center;
    font-size: 1.8rem;
    color: #282E78;
    font-weight: bold;
    margin-bottom: 20px;
}
