/* Social Media Icons Fix */
.sub-header .right-icons ul li a i {
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.sub-header .right-icons ul li a:hover i {
    transform: scale(1.1);
    color: #f5a425;
}

/* Sidebar Categories Fix */
.upcoming-meetings .categories {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-right: 45px;
    min-height: 400px;
    position: relative;
}

.upcoming-meetings .categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upcoming-meetings .categories ul li {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.upcoming-meetings .categories ul li:last-child {
    border-bottom: none;
}

.upcoming-meetings .categories ul li a {
    font-size: 15px;
    color: #1f272b;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.upcoming-meetings .categories ul li a:hover {
    color: #a12c2f;
    padding-left: 10px;
}

/* Responsive Sidebar Fix */
@media (max-width: 991px) {
    .upcoming-meetings .categories {
        margin-right: 0;
        margin-bottom: 30px;
        min-height: auto;
    }
    
    .upcoming-meetings .row {
        flex-direction: column-reverse;
    }
    
    .upcoming-meetings .col-lg-4 {
        order: 2;
    }
    
    .upcoming-meetings .col-lg-8 {
        order: 1;
    }
}

/* Meeting Items Layout Fix */
.meeting-item {
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.meeting-item .down-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Equal Height Columns */
.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Font Awesome Fallback */
.fa, .fab, .fas, .far {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}

.fab {
    font-weight: 400 !important;
}

/* Make muted text clearly visible */
.text-muted,
.small.text-muted {
    color: #333 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Homepage visibility overrides (prevent hidden text) */
.section-heading,
.section-heading p,
.meeting-item .down-content,
.meeting-item .down-content p,
.upcoming-meetings .categories,
.upcoming-meetings .categories ul li a,
.news-content,
.news-content p {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Stylish event cards */
.upcoming-meetings .meeting-item {
    background: linear-gradient(180deg, rgba(31,39,43,0.03), rgba(245,164,37,0.06));
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.upcoming-meetings .meeting-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.upcoming-meetings .meeting-item .thumb {
    position: relative;
}
.upcoming-meetings .meeting-item .thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}
.upcoming-meetings .meeting-item .price span {
    background: linear-gradient(45deg, #f5a425, #ff7a00);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    position: absolute;
    right: 12px;
    top: 12px;
    box-shadow: 0 6px 16px rgba(245,164,37,0.35);
}

/* Location badge overlay */
.upcoming-meetings .location-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(31,39,43,0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.upcoming-meetings .location-badge i {
    color: #f5a425;
}

/* Date styling */
.upcoming-meetings .meeting-item .date h6 {
    display: inline-block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 700;
    color: #1f272b;
}
.upcoming-meetings .meeting-item .date h6 span {
    color: #f5a425;
    font-weight: 900;
}

/* Meeting info polish */
.upcoming-meetings .meeting-item .meeting-info {
    border-top: 1px dashed #e6e6e6;
    margin-top: 10px;
    padding-top: 10px;
}
.upcoming-meetings .meeting-item .meeting-info i {
    color: #f5a425;
    margin-right: 6px;
}

/* Category chips */
.upcoming-meetings .categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.upcoming-meetings .categories li {
    list-style: none;
    margin: 0;
}
.upcoming-meetings .categories .category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eee;
    color: #1f272b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.upcoming-meetings .categories .category-chip:hover {
    background: #1f272b;
    color: #fff;
    border-color: #1f272b;
}
.upcoming-meetings .categories .category-chip i {
    color: #f5a425;
}

/* Button tweak */
.upcoming-meetings .categories .main-button-red a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(245,164,37,0.25);
}

/* Carousel fallback: show items if JS hasn’t initialized yet */
.owl-carousel {
    display: block !important;
}
.owl-carousel .owl-item {
    opacity: 1 !important;
    visibility: visible !important;
}