/* ==========================================================================
   POGS - Pune Obstetric and Gynecological Society
   Exact Theme Recreation CSS (Verified against live https://www.pogs.in/)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Shadows+Into+Light&display=swap');

:root {
    --porto-primary-color: #0157b4;
    --porto-accent-orange: #ee5a12;
    --porto-heading-color: #1d2127;
    --porto-body-color: #777777;
    --porto-border-color: #e2e2e2;
    --porto-box-bg: #f2f2f2;
    --porto-footer-bg: #0e0e0e;
    --porto-footer-bottom-bg: #060606;
    --porto-container-width: 1170px;
}

/* --------------------------------------------------------------------------
   Global Resets & Typography
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--porto-body-color);
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--porto-primary-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: #004085;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--porto-heading-color);
    margin-top: 0;
}

h1 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 400;
}

h2 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 300;
    margin-bottom: 25px;
}

h3 {
    font-size: 25px;
    line-height: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.container {
    max-width: var(--porto-container-width) !important;
}

.content-inner-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header Top Marquee
   -------------------------------------------------------------------------- */
.header-top {
    background-color: var(--porto-accent-orange);
    color: #ffffff;
    height: 40.8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.header-top marquee {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    color: #ffffff;
    font-weight: 600;
    line-height: 40.8px;
    margin: 0;
    display: block;
    letter-spacing: 0.025em;
}

/* --------------------------------------------------------------------------
   Main Header
   -------------------------------------------------------------------------- */
.header-main {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 100;
}

.header-container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo img {
    height: 145px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: height 0.3s ease;
}

@media (max-width: 991px) {
    .logo img {
        height: 120px;
    }
}

@media (max-width: 575px) {
    .logo img {
        height: 90px;
    }
}

/* Top-Right: Journals & Visitors Counter */
.header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.button1 {
    display: inline-block;
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
    transition: color 0.2s;
}

.button1:hover {
    color: var(--porto-primary-color);
}

.website-visitor-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0d6efd;
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.visitor-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

#strcpv-website-counter {
    text-align: left;
}

#strcpv-website-counter p,
#strcpv-website-counter .counter-badge {
    display: inline-block !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    background: #fff !important;
    color: #0d6efd !important;
    border-radius: 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    border: 2px solid #fff;
    line-height: 1.2;
}

/* Desktop Main Menu */
.header-right-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#main-menu {
    position: relative;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-menu > li {
    position: relative;
    list-style: none;
}

.main-menu > li > a {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--porto-primary-color);
    padding: 11px 13px 9px 13px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-menu > li > a i {
    font-size: 8px;
    margin-left: 3px;
    vertical-align: middle;
}

/* Active & Hover states */
.main-menu > li.active > a,
.main-menu > li:hover > a {
    background-color: var(--porto-primary-color);
    color: #ffffff !important;
}

.main-menu > li.has-sub:hover > a {
    border-radius: 4px 4px 0 0;
}

/* Dropdown Menus */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--porto-primary-color);
    border-radius: 0 4px 4px 4px;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1000;
}

.main-menu > li:hover > .sub-menu {
    display: block;
}

.main-menu .sub-menu li {
    position: relative;
    list-style: none;
}

.main-menu .sub-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 18px;
    color: #777777;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-transform: none;
    border-bottom: 1px solid #f6f6f6;
    transition: all 0.2s ease;
}

.main-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.main-menu .sub-menu li a:hover,
.main-menu .sub-menu li:hover > a {
    background-color: #f4f4f4;
    color: #777777;
}

.main-menu .sub-menu li a i {
    font-size: 9px;
    color: #aaa;
}

/* Sub-Submenu (Flyout) */
.main-menu .sub-menu .sub-sub-menu {
    position: absolute;
    top: -5px;
    left: 100%;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--porto-primary-color);
    border-radius: 4px;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1001;
}

.main-menu .sub-menu li:hover > .sub-sub-menu {
    display: block;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--porto-heading-color);
    cursor: pointer;
    padding: 6px;
    display: none;
}

/* Mobile Offcanvas Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 290px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px 15px;
}

.mobile-nav-drawer.open {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.mobile-drawer-header h5 {
    margin: 0;
    font-weight: 700;
    color: var(--porto-primary-color);
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #f2f2f2;
}

.mobile-menu-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    color: #333333;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-menu-list li.active > a {
    color: var(--porto-primary-color);
}

.mobile-submenu {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    display: none;
    background-color: #fafafa;
}

.mobile-submenu.show {
    display: block;
}

.mobile-submenu li a {
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    padding: 8px 5px;
    color: #666;
}

/* --------------------------------------------------------------------------
   Hero Banner Slider (Full Width)
   -------------------------------------------------------------------------- */
.hero-slider-fullwidth {
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 35px;
    overflow: hidden;
}

.hero-slider-img-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Image Borders
   -------------------------------------------------------------------------- */
.border-grey-box {
    border: 1px solid var(--porto-border-color);
    background-color: #ffffff;
    padding: 0;
    display: block;
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Welcome Section
   -------------------------------------------------------------------------- */
.welcome-section {
    padding-top: 10px;
    padding-bottom: 30px;
}

.welcome-heading {
    font-size: 30px;
    font-weight: 300;
    line-height: 40px;
    color: var(--porto-heading-color);
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 25px;
    text-align: left;
}

.welcome-text strong {
    font-weight: 700;
}

.btn-read-more {
    background-color: var(--porto-primary-color) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1.3333;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-read-more:hover {
    background-color: #00438a !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Office Bearers: President & General Secretary
   -------------------------------------------------------------------------- */
.office-bearers-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.person-heading {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--porto-heading-color);
    margin-bottom: 15px;
    text-align: left;
}

/* --------------------------------------------------------------------------
   Video Section
   -------------------------------------------------------------------------- */
.video-section {
    margin-top: 15px;
    margin-bottom: 35px;
}

.video-section video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--porto-border-color);
}

/* --------------------------------------------------------------------------
   Upcoming Events Section
   -------------------------------------------------------------------------- */
.upcoming-events-section {
    margin-top: 25px;
    margin-bottom: 40px;
}

.section-heading-upcoming {
    font-size: 28px;
    font-weight: 300;
    line-height: 40px;
    color: var(--porto-heading-color);
    margin-bottom: 25px;
    text-align: left;
}

.event-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin-bottom: 25px;
    display: block;
}

.event-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.event-card:hover img {
    transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Our Oath Section (Full Width Background with 6 3D Orange Cards)
   -------------------------------------------------------------------------- */
.our-oath-section {
    position: relative;
    background-color: #2a2f38;
    background-image: url('../assets/images/bg-banner-blue-grey.webp');
    background-repeat: repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 0 65px 0;
    margin-top: 30px;
    margin-bottom: 35px;
}

.oath-title-main {
    color: #ffffff;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.oath-title-sub {
    font-weight: 700;
    font-size: 26px;
    line-height: 34px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 35px;
}

.oath-card-container {
    margin-bottom: 25px;
    display: flex;
}

/* Exact WPBakery 3D Rounded Orange Card Replication matching user screenshot */
.oath-3d-card {
    background-color: #ee5a12 !important;
    border-radius: 8px;
    box-shadow: 0 5px 0 #ffffff;
    border: none;
    padding: 26px 22px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 992px) {
    .oath-card-row1 {
        min-height: 195px;
    }
    .oath-card-row2 {
        min-height: 135px;
    }
}

.oath-3d-card p {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    margin: 0;
}

.oath-3d-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #ffffff;
}

/* --------------------------------------------------------------------------
   Radio Recording Section
   -------------------------------------------------------------------------- */
.radio-recording-section {
    margin-top: 30px;
    margin-bottom: 35px;
}

.radio-box-container {
    background-color: var(--porto-box-bg);
    border: 1px solid #e8e8e8;
    border-radius: 1px;
    padding: 25px 15px;
    text-align: center;
}

.radio-box-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: var(--porto-heading-color);
    margin-bottom: 18px;
}

.btn-radio-recording {
    background-color: #ebebeb;
    border: 1px solid #cccccc;
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.3333;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-radio-recording:hover {
    background-color: #dcdcdc;
    color: #5e5e5e;
    border-color: #bbbbbb;
}

/* --------------------------------------------------------------------------
   "What's in Your Mind? Ask Our Experts" Call To Action Bar
   -------------------------------------------------------------------------- */
.cta-expert-section {
    background-color: var(--porto-accent-orange);
    padding: 30px 0;
}

.cta-expert-heading {
    color: #1d2127;
    font-size: 25px;
    line-height: 32px;
    font-weight: 600;
    margin: 0;
}

.btn-contact-outline {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 0.875rem;
    line-height: 1.3333;
    font-weight: 600;
    padding: 0.45rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.btn-contact-outline:hover {
    background-color: #ffffff !important;
    color: #666666 !important;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.footer-wrapper {
    background-color: var(--porto-footer-bg);
}

.footer-bottom {
    background-color: var(--porto-footer-bottom-bg);
    color: #555555;
    font-size: 12.5px;
    padding: 22px 0;
    border-top: 1px solid #1a1a1a;
}

.footer-copyright {
    display: block;
    line-height: 22px;
}

.footer-copyright a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--porto-primary-color);
}

/* --------------------------------------------------------------------------
   Back to Top Floating Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background-color: #222529;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--porto-primary-color);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Lightbox Modal for Image Zoom
   -------------------------------------------------------------------------- */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.modal-content-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    animation: zoomModal 0.25s ease;
}

@keyframes zoomModal {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .main-menu > li > a {
        padding: 9px 8px;
        font-size: 10.5px;
    }
}

@media (max-width: 991px) {
    .header-right-bottom #main-menu {
        display: none;
    }
    .mobile-toggle {
        display: inline-block;
    }
    .header-top-right {
        justify-content: flex-end;
    }
    .header-top marquee {
        font-size: 14px;
    }
    .welcome-heading {
        font-size: 26px;
        line-height: 34px;
    }
    .cta-expert-heading {
        text-align: center;
        margin-bottom: 15px;
    }
    .cta-expert-btn-col {
        text-align: center;
    }
    .oath-3d-card {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .header-container .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header-left {
        justify-content: center;
        margin-bottom: 15px;
    }
    .header-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .header-top-right {
        justify-content: center;
        margin-bottom: 15px;
    }
    .welcome-heading {
        font-size: 22px;
        line-height: 30px;
        text-align: center;
    }
    .welcome-text {
        text-align: left;
    }
    .welcome-btn-wrap {
        text-align: center;
    }
    .person-heading {
        text-align: center;
        font-size: 24px;
    }
    .border-grey-box {
        margin: 0 auto 20px auto;
    }
    .section-heading-upcoming {
        text-align: center;
        font-size: 24px;
    }
    .oath-title-main {
        font-size: 26px;
    }
    .oath-title-sub {
        font-size: 20px;
    }
    .oath-3d-card {
        min-height: auto;
    }
    .footer-bottom {
        padding-bottom: 70px;
    }
    .footer-copyright {
        text-align: center;
        display: block;
    }
}

/* ==========================================================================
   Subpages Common Styling (Page Top Banner & Elements)
   ========================================================================== */
.page-top {
    background-color: #171717;
    border-bottom: 5px solid #e0e0e0;
    padding: 28px 0 24px;
    position: relative;
    margin-bottom: 35px;
}

.page-top .breadcrumbs-wrap {
    margin-bottom: 8px;
}

.page-top .breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-top .breadcrumb li {
    color: #777777;
}

.page-top .breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
}

.page-top .breadcrumb li a:hover {
    color: var(--porto-accent-orange);
}

.page-top .breadcrumb li i.delimiter {
    font-size: 10px;
    color: #777777;
}

.page-top .page-title-wrap {
    line-height: 1;
}

.page-top .page-title {
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.page-top .page-title:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    border-bottom: 5px solid var(--porto-primary-color);
    bottom: -1px;
}

/* Feature Info Box (About Us & subpages) */
.featured-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 24px 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.featured-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.featured-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--porto-heading-color);
    margin-bottom: 12px;
}

.featured-box p {
    font-size: 14px;
    line-height: 22px;
    color: var(--porto-body-color);
    margin-bottom: 15px;
}

/* Contact Page Form & Details */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 22px;
}

.contact-info-list li i {
    font-size: 20px;
    color: var(--porto-primary-color);
    margin-right: 15px;
    margin-top: 2px;
    min-width: 24px;
}

.form-control:focus {
    border-color: var(--porto-primary-color);
    box-shadow: 0 0 0 0.2rem rgba(1, 87, 180, 0.25);
}

/* Event List Card */
.event-item-card {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    background: #ffffff;
    display: flex;
    gap: 20px;
    align-items: center;
}

.event-date-badge {
    background-color: var(--porto-primary-color);
    color: #ffffff;
    text-align: center;
    padding: 12px 16px;
    border-radius: 4px;
    min-width: 75px;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.event-date-badge .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.event-date-badge .year {
    display: block;
    font-size: 11px;
}


/* ==========================================================================
   WPBakery / Porto Image Grid (Event Gallery)
   ========================================================================== */
.wpb_gallery_slides.wpb_image_grid {
    margin: 25px 0 40px 0;
    width: 100%;
    clear: both;
}

ul.wpb_image_grid_ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

@media (max-width: 1199px) {
    ul.wpb_image_grid_ul {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 767px) {
    ul.wpb_image_grid_ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    ul.wpb_image_grid_ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

ul.wpb_image_grid_ul li.isotope-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

ul.wpb_image_grid_ul li.isotope-item a.event-zoom-link,
ul.wpb_image_grid_ul li.isotope-item a {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    cursor: pointer !important;
}

ul.wpb_image_grid_ul li.isotope-item a:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
}

ul.wpb_image_grid_ul li.isotope-item a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

ul.wpb_image_grid_ul li.isotope-item a:hover img {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   WPBakery / Porto Buttons (Event Gallery & Content CTAs)
   ========================================================================== */
.vc_btn3-container {
    display: block;
    margin-bottom: 22px;
    max-width: 100%;
}

.vc_btn3-container.vc_btn3-center {
    text-align: center;
}

.vc_general.vc_btn3,
.vc_general.vc_btn3.btn {
    display: inline-block;
    font-size: 0.8rem;
    line-height: 1.42857;
    font-weight: 400;
    padding: 0.533rem 0.933rem;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: none;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.vc_general.vc_btn3.vc_btn3-color-danger,
.vc_general.vc_btn3.vc_btn3-color-danger.btn {
    background-color: #ff675b;
    color: #ffffff;
    border-color: transparent;
}

.vc_general.vc_btn3.vc_btn3-color-danger:hover,
.vc_general.vc_btn3.vc_btn3-color-danger:focus,
.vc_general.vc_btn3.vc_btn3-color-danger.btn:hover,
.vc_general.vc_btn3.vc_btn3-color-danger.btn:focus {
    background-color: #ff4b3c;
    color: #f7f7f7;
    border-color: transparent;
}

.vc_general.vc_btn3.vc_btn3-color-grey,
.vc_general.vc_btn3.vc_btn3-color-grey.btn {
    background-color: transparent;
    color: #666666;
    border-color: #cccccc;
}

.vc_general.vc_btn3.vc_btn3-color-grey:hover,
.vc_general.vc_btn3.vc_btn3-color-grey:focus,
.vc_general.vc_btn3.vc_btn3-color-grey.btn:hover,
.vc_general.vc_btn3.vc_btn3-color-grey.btn:focus {
    background-color: #dcdcdc;
    color: #5e5e5e;
    border-color: transparent;
}
