.entry-header{
  text-align: center;
}

select.form-control {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

.sinct-form{
  padding: 50px;
  border: 1px solid #cecece;
  border-radius: 10px;
}

/* Fix bank fields width issue */
#bank_fields {
    width: 100%;
    clear: both;
}

/* Ensure bootstrap row spacing behaves correctly */
#bank_fields .row {
    margin-left: -15px;
    margin-right: -15px;
}

#bank_fields {
    transition: all 0.3s ease;
}


.payment-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-top: 30px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.form-control {
    height: 42px !important;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40,167,69,0.15);
}

label {
    font-weight: 500;
    margin-bottom: 6px;
}

.required {
    color: red;
}

.mt-15 {
    margin-top: 15px;
}

/* Team Css*/

.sinct-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 cards per row */
    gap: 30px;
    padding: 20px 0;
}

.sinct-team-card {
    background: #F2F3F5;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 20px 20px 10px 20px;
}

.sinct-team-card:hover {
    transform: translateY(-5px);
}

.member-image img {
    width: 400px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #333;
}

.member-info .position {
    color: #ff0000;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
	margin: 10px 0;
}

/* Responsive: 1 column on mobile */
@media only screen and (max-width: 900px){
	.sinct-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 cards per row */
    gap: 30px;
    padding: 20px 0;
}
	.member-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
	
}

@media (max-width: 768px) {
    .sinct-team-grid {
        grid-template-columns: 1fr;
    }
	
	.member-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
}



/* Gallery css*/
/* 1:1 Square Grid */
.sinct-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
	
}

.gallery-item{
	background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.gallery-item h4{
	text-align: center;
}


.gallery-item .image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0px 0px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

.sinct-gallery-container{
	width: 100% !important;
}


 .sinct-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100% !important; 
	height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

/* White frame around content */
.sinct-modal-content {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    max-width: 90vw;
    position: relative;
}

#sinctLightboxImg {
    display: block;
    max-height: 75vh;
    max-width: 100% !important;
} 

/* Bottom Toolbar Styling */
.sinct-modal-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px 5px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.sinct-nav-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    margin-right: 8px;
    color: #333;
}

.sinct-nav-btn:hover { background: #e0e0e0; }

.sinct-close-alt {
    cursor: pointer;
    font-size: 24px;
    color: #999;
    font-weight: bold;
}

.sinct-close-alt:hover { color: #333; }


#sinctLightbox.sinct-modal {
    max-width: none !important; /* Overrides the content-size variable */
    margin-left: 0 !important;   /* Overrides the auto !important in your theme */
    margin-right: 0 !important;  /* Overrides the auto !important in your theme */
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;    /* Uses 100% of the viewport width */
    height: 100vh !important;   /* Uses 100% of the viewport height */
    position: fixed !important;
}


/*  Event Csss  */


/* ==========================================================================
   EVENT GRID SYSTEM
   ========================================================================== */
.event-display-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    max-width: none !important; /* Forces breakout of WP constraints */
}

.event-display-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.event-display-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Image Wrapper with 4:3 Aspect Ratio */
.event-img-box {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.event-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-img-box:hover img {
    transform: scale(1.05);
}

/* Content Area */
.event-display-info {
    padding: 20px 20px 10px 20px;
    text-align: center;
}

.event-display-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
}

.event-display-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Status Text (Empty Upcoming) */
.no-events-text {
    font-style: italic;
    color: #666;
    padding: 30px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    text-align: center;
    border-radius: 8px;
    grid-column: 1 / -1; /* Spans full width of grid */
}

/* ==========================================================================
   EVENT LIGHTBOX (POPUP) STYLES
   ========================================================================== */
.event-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.event-modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.event-modal-container img {
    max-width: 100%;
    max-height: 75vh; /* Responsive height */
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

/* Bar at the bottom of Lightbox */
.event-modal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px 5px 10px;
    color: #333;
    font-family: sans-serif;
}

#eventCounter-upcoming, 
#eventCounter-previous {
    font-size: 14px;
    font-weight: 600;
    color: #777;
}

.event-modal-close {
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    color: #333;
    transition: color 0.2s;
}

.event-modal-close:hover {
    color: #ff0000;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
    .event-display-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .event-display-grid { 
        grid-template-columns: 1fr; 
    }
    
    .event-modal-container {
        width: 95%;
    }
}

/* Read More Button Styling */
.read-more-btn {
    background: #193654;
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
	letter-spacing: 0.015em;
    margin-top: 10px;
}

.read-more-btn:hover {
    background: #0E1C2A;
}

/* Modal Box Specifics */
.member-popup-box {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

.member-popup-box h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.member-full-desc {
    margin-top: 15px;
    line-height: 1.6;
}

/* Close button positioning */
.member-popup-box .sinct-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}

.member-popup-box .sinct-close:hover {
    color: #333;
}

/* Container for the split layout */
.member-popup-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.member-popup-image img {
    width: 100%;
    /* Forced 1:1 Square Ratio */
    aspect-ratio: 1 / 1; 
    height: auto;
    border-radius: 8px;
    display: block;
    /* This ensures the image isn't stretched */
    object-fit: cover; 
    /* Centers the image within the square if it's cropped */
    object-position: center; 
}

/* Optional: Ensure the container doesn't get too tall on large screens */
.member-popup-image {
    flex: 0 0 40%;
    max-width: 300px; /* Limits the square size on desktop */
}

/* Right Side - Content */
.member-popup-info {
    flex: 1; /* Takes remaining space */
    text-align: left;
}

.member-popup-info h3 {
    margin-top: 0;
	margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Mobile Responsive - Stack vertically */
@media (max-width: 768px) {
    .member-popup-flex {
        flex-direction: column;
    }
    .member-popup-image {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Sponsr css */


.sinct-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 column grid per image_e0cde8.jpg */
    gap: 20px;
    padding: 20px 0;
}

.sponsor-card {
    border: 1px solid #e0e0e0; /* Grey border as per image_e0cde8.jpg */
    padding: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    aspect-ratio: 3 / 2; /* Maintains consistent card size */
}

.sponsor-card:hover {
    border-color: #999;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures logos are not stretched */
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .sinct-sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*  Shortcde overview css  */

.sinct-overview-wrapper .overview-section {
    margin-bottom: 60px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.sinct-overview-wrapper .section-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sinct-overview-wrapper .overview-section:last-child {
    border-bottom: none;
}




.conf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
}

.conf-modal-content {
    background: #fff;
    width: 82%;
    margin: 4% auto;
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.conf-close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
}

.conf-profile-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.conf-profile-card {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.conf-profile-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.conf-profile-card h3 {
    margin: 10px 0 5px;
}

.conf-profile-card p {
    margin: 3px 0;
    color: #555;
}

.conf-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #ddd;
}

.conf-tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.conf-tab-btn.active {
    border-color: #2271b1;
    color: #2271b1;
    font-weight: 600;
}

.conf-tab-content {
    display: none;
    margin-top: 20px;
}

.conf-tab-content.active {
    display: block;
}

.conf-detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 10px;
}

.conf-detail-row strong {
    color: #222;
}