/* McAllen Next Brand Colors (from Brand Bible) */
:root {
    --mcallen-deep-blue: #1E3A8A;   /* Primary - headers, CTAs, navigation */
    --mcallen-sky-blue: #2563EB;    /* Accent 1 - links, hover states */
    --mcallen-green: #16A34A;       /* Accent 2 - status badges, tags */
    --mcallen-charcoal: #111827;    /* Neutral - body text */
    --mcallen-soft-white: #FFFFFF;  /* Background */
    --mcallen-light-slate: #F3F4F6; /* Secondary BG - cards, sections */

    /* Semantic theme variables (light mode defaults) */
    --theme-bg-primary: #ffffff;
    --theme-bg-secondary: #F3F4F6;
    --theme-bg-card: #ffffff;
    --theme-text-primary: #111827;
    --theme-text-secondary: #696969;
    --theme-text-muted: #888888;
    --theme-border: #eef2f5;
    --theme-border-light: #f0f0f0;
    --theme-shadow: rgba(0, 0, 0, 0.08);
    --theme-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
    --theme-preloader-bg: #ffffff;
    --theme-input-bg: #ffffff;
    --theme-input-border: #ced4da;
}

.post-embed-container iframe,
.post-embed-container .fb_iframe_widget,
.post-embed-container .fb_iframe_widget span {
    margin: 0px auto !important;
    display: block;
}
/* Override template theme colors */
.theme-bg {
    background-color: var(--mcallen-deep-blue) !important;
}

.theme-cl {
    color: var(--mcallen-deep-blue) !important;
}

a:hover .theme-cl,
a:focus .theme-cl {
    color: var(--mcallen-sky-blue) !important;
}

/* Typography - Brand Bible specifies Jost font family */
body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--mcallen-charcoal);
}

/* Navigation adjustments */
.nav-brand img.logo {
    max-height: 45px;
    width: auto;
}

/* Footer widget styling */
.footer_widget .widget_title {
    color: var(--mcallen-charcoal);
    font-weight: 600;
}

.footer-menu li a {
    color: #696969;
}

.footer-menu li a:hover {
    color: var(--mcallen-deep-blue);
}

/* Mobile Sticky Header - Override template to enable on mobile */
.header.header-fixed {
    box-shadow: 0 5px 30px rgba(0, 22, 84, 0.1);
    -webkit-box-shadow: 0 5px 30px rgba(0, 22, 84, 0.1);
    background: #ffffff;
    position: fixed !important;
    z-index: 999;
    width: 100%;
    top: 0;
    -webkit-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
}

/* Dark mode support for sticky header */
[data-theme="dark"] .header.header-fixed {
    background: var(--theme-bg-primary);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* Legacy Bootstrap Styles - Keep for Identity Pages */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================
   Home Page - Posts/Index.cshtml Redesign
   ============================================ */

/* Gray background section */
.gray-simple {
    background: var(--mcallen-light-slate);
}

/* Font weight utility */
.ft-medium {
    font-weight: 500;
}

/* ============================================
   Compact Goodup cards for sidebar
   ============================================ */
.Goodup-grid-wrap {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.Goodup-grid-wrap.compact .Goodup-grid-thumb img {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.Goodup-grid-wrap.compact .Goodup-caption {
    padding: 0.5rem !important;
}

.Goodup-grid-wrap.compact h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

.Goodup-grid-wrap.compact h4 a {
    color: var(--mcallen-charcoal);
    text-decoration: none;
}

.Goodup-grid-wrap.compact h4 a:hover {
    color: var(--mcallen-deep-blue);
}

.Goodup-grid-upper {
    position: relative;
}

.Goodup-pos {
    position: absolute;
    z-index: 1;
}

.Goodup-pos.ab-left {
    top: 8px;
    left: 8px;
}

.Goodup-grid-wrap.compact .Goodup-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.Goodup-middle-caption {
    margin-top: 0.25rem;
}

.Goodup-location {
    font-size: 0.8rem;
}

/* ============================================
   Blog card style for posts
   ============================================ */
.gup_blg_grid_box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
    background: #fff;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gup_blg_grid_thumb {
    overflow: hidden;
}

.gup_blg_grid_thumb img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.gup_blg_grid_box:hover .gup_blg_grid_thumb img {
    transform: scale(1.05);
}

.gup_blg_grid_caption {
    padding: 1rem;
    flex: 1;
}

.gup_blg_grid_caption .blg_tag {
    margin-bottom: 0.5rem;
}

.gup_blg_grid_caption .blg_tag span {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
}

.gup_blg_grid_caption .blg_title h4 {
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.gup_blg_grid_caption .blg_title h4 a {
    color: var(--mcallen-charcoal);
    text-decoration: none;
}

.gup_blg_grid_caption .blg_title h4 a:hover {
    color: var(--mcallen-deep-blue);
}

.gup_blg_grid_caption .blg_desc p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog card footer */
.crs_grid_foot {
    margin-top: auto;
}

.crs_grid_foot .br-top {
    border-top: 1px solid #eee;
}

.crs_tutor_thumb img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.circle {
    border-radius: 50%;
}

/* ============================================
   Tab styling
   ============================================ */
.nav-tabs.small-tab {
    border-bottom: 2px solid #eee;
}

.nav-tabs.small-tab .nav-link {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 5px 5px 0 0;
    border: none;
    color: #666;
    background: transparent;
    margin-bottom: -2px;
}

.nav-tabs.small-tab .nav-link:hover {
    color: var(--mcallen-deep-blue);
    border: none;
}

.nav-tabs.small-tab .nav-link.active {
    background: var(--mcallen-deep-blue);
    color: #fff;
    border: none;
}

/* ============================================
   Sidebar widgets container
   ============================================ */
.sidebar-widgets {
    position: sticky;
    top: 20px;
}

@media (max-width: 991.98px) {
    .sidebar-widgets {
        position: static;
        margin-top: 2rem;
    }
}

/* ============================================
   Event List Card Styles (vrt-list-wrap)
   ============================================ */

/* Fixed thumbnail dimensions for horizontal event cards */
.vrt-list-thumb {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 200px;
}

.vrt-list-thumb .vrt-list-thumb-figure {
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
}

.vrt-list-thumb .vrt-list-thumb-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vrt-list-wrap:hover .vrt-list-thumb-figure img {
    transform: scale(1.05);
}

/* Grouping container for visual separation */
.grouping-listings-single {
    margin-bottom: 1rem;
}

.grouping-listings-single:last-child {
    margin-bottom: 0;
}

/* Event date badge */
.event-date-badge {
    background: rgba(22, 163, 74, 0.1);
    color: var(--mcallen-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Event-specific feature tags */
.vrt-list-features ul li a {
    background: var(--mcallen-light-slate);
    color: var(--mcallen-charcoal);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    text-decoration: none;
}

.vrt-list-features ul li a:hover {
    background: rgba(30, 58, 138, 0.1);
    color: var(--mcallen-deep-blue);
}

/* Event description in list cards */
.vrt-list-desc {
    margin-top: 0.5rem;
}

.vrt-list-desc p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive adjustments for event cards */
@media (max-width: 767.98px) {
    .vrt-list-wrap-head {
        flex-direction: column;
    }

    .vrt-list-thumb {
        flex: 0 0 auto;
        max-width: 100%;
        min-width: auto;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .vrt-list-thumb .vrt-list-thumb-figure {
        height: 200px;
    }
}

/* Sidebar list hover effects */
.sidebar-event-item:hover {
    background-color: var(--mcallen-light-slate);
}

.sidebar-event-item {
    transition: background-color 0.2s ease;
}

/* Sidebar thumbnail containment */
.sidebar-thumb {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Place Group Card Container
   ============================================ */
.place-group-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.place-group-header {
    background: var(--mcallen-light-slate);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.place-group-header h5 {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

.place-group-header h5 a {
    color: var(--mcallen-charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.place-group-header h5 a:hover {
    color: var(--mcallen-deep-blue);
}

.place-group-header .place-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.place-group-header .view-all-link {
    font-size: 0.8rem;
    color: var(--mcallen-sky-blue);
    text-decoration: none;
    white-space: nowrap;
}

.place-group-header .view-all-link:hover {
    text-decoration: underline;
}

.place-group-body {
    padding: 0;
}

/* ============================================
   Post Accordion (Integrated Look)
   ============================================ */
.post-accordion {
    border: none;
}

.post-accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.post-accordion-item:last-child {
    border-bottom: none;
}

.post-accordion-header {
    padding: 0.75rem 1rem;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.post-accordion-header:hover {
    background: var(--mcallen-light-slate);
}

.post-accordion-header .post-meta-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-accordion-header .post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.post-accordion-header .post-info {
    flex: 1;
    min-width: 0;
}

.post-accordion-header .post-user {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    color: var(--mcallen-charcoal);
}

.post-accordion-header .post-time {
    font-size: 0.8rem;
    color: #888;
}

.post-accordion-header .post-time i {
    margin-right: 4px;
}

.post-accordion-header .collapse-indicator {
    color: #aaa;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.post-accordion-header[aria-expanded="true"] .collapse-indicator {
    transform: rotate(180deg);
}

.post-accordion-body {
    padding: 0 1rem 1rem 1rem;
}

/* ============================================
   Post Image Containment
   ============================================ */
.post-image-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background: var(--mcallen-light-slate);
}

.post-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.post-image-container.cover img {
    object-fit: cover;
    height: 280px;
}

/* For embedded Facebook/Instagram posts */
.post-embed-container {
    margin-bottom: 0.75rem;
}

.post-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mcallen-charcoal);
    word-wrap: break-word;
}

/* Single post card within group (non-accordion) */
.single-post-wrapper {
    padding: 1rem;
}

.single-post-wrapper .post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.single-post-wrapper .post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.single-post-wrapper .post-user {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    color: var(--mcallen-charcoal);
}

.single-post-wrapper .post-time {
    font-size: 0.8rem;
    color: #888;
}

/* ============================================
   Compact Sidebar List Items
   ============================================ */
.sidebar-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.sidebar-list-item:last-child {
    border-bottom: none;
}

.sidebar-list-item:hover {
    background-color: var(--mcallen-light-slate);
    text-decoration: none;
    color: inherit;
}

.sidebar-list-thumb {
    width: 70px;
    height: 70px;
    min-width: 70px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--mcallen-light-slate);
}

.sidebar-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-list-content {
    flex: 1;
    min-width: 0;
}

.sidebar-list-title {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mcallen-charcoal);
}

.sidebar-list-item:hover .sidebar-list-title {
    color: var(--mcallen-deep-blue);
}

.sidebar-list-meta {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-list-meta i {
    font-size: 0.7rem;
}

.sidebar-list-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 4px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--mcallen-green);
}

/* Place sidebar card specific */
.sidebar-place-item .place-stats {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Sidebar card wrapper */
.sidebar-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 1rem;
}

.sidebar-card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar-card-body {
    padding: 0;
}

/* ============================================
   Place Banner Header
   ============================================ */
.place-banner {
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--mcallen-deep-blue);
}

.place-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.place-banner-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0 1rem 0;
}

.place-banner-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.place-banner-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.place-banner-info h1 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.place-banner-info .place-address {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.place-banner-info .place-address i {
    margin-right: 0.25rem;
}

/* Place Navigation Pills */
.place-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.place-nav-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.place-nav-item:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
}

.place-nav-item.active {
    background: #fff;
    color: var(--mcallen-deep-blue);
}

.place-nav-item.active:hover {
    background: #fff;
    color: var(--mcallen-deep-blue);
}

.place-nav-item i {
    margin-right: 0.35rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .place-banner {
        min-height: 180px;
    }

    .place-banner-avatar {
        width: 50px;
        height: 50px;
    }

    .place-banner-info h1 {
        font-size: 1.25rem;
    }

    .place-banner-info .place-address {
        font-size: 0.8rem;
    }

    .place-nav-item {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   Event Detail Card Styles
   ============================================ */
.event-detail-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.event-detail-header {
    padding: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.event-detail-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: var(--mcallen-charcoal);
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.event-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-detail-meta .meta-item i {
    color: var(--mcallen-deep-blue);
}

.event-detail-body {
    padding: 1.25rem;
}

.event-detail-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    background: var(--mcallen-light-slate);
}

.event-detail-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.event-detail-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mcallen-charcoal);
}

.event-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

/* Location Info Card */
.location-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.location-info-card .card-header {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.location-info-card .card-body {
    padding: 1rem;
}

.location-info-card address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
/* ============================================
   Global Search Bar Styles
   ============================================ */

/* Search toggle button */
.search-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: inherit;
    font-size: 1.2rem;
    transition: transform 0.2s ease, color 0.2s ease;
/*    display: flex;*/
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    transform: scale(1.1);
    color: var(--mcallen-sky-blue);
}

.search-toggle:focus {
    outline: 2px solid var(--mcallen-sky-blue);
    outline-offset: 2px;
}

/* Collapsible search bar container */
.search-bar-collapse {
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    position: relative;
    z-index: 998;
}

.search-bar-collapse.show {
    max-height: 120px;
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-bar-inner {
    max-width: 100%;
}

.search-bar-form .input-group {
    background: var(--theme-bg-secondary);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-bar-form .input-group-text {
    color: var(--mcallen-sky-blue);
    font-size: 1.5rem;
    padding-left: 0;
}

.search-bar-form .form-control {
    background: transparent;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.search-bar-form .form-control::placeholder {
    color: var(--theme-text-muted);
}

.search-bar-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.btn-close-search {
    background: transparent;
    border: none;
    color: var(--theme-text-secondary);
    font-size: 1.3rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-close-search:hover {
    color: var(--mcallen-deep-blue);
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .search-bar-form .input-group {
        padding: 0.4rem 0.75rem;
    }
    
    .search-bar-form .form-control {
        font-size: 1rem;
    }
    
    .search-bar-collapse.show {
        max-height: 100px;
    }
}

/* Ensure search icon is visible in mobile nav */
.mobile_nav .search-toggle {
    margin-right: 0.5rem;
}

/* Desktop nav spacing */
.nav-menu-social .search-toggle {
    padding: 0.5rem;
}
/* Additional styles for sticky header compatibility */
.header.header-fixed ~ .search-bar-collapse {
    position: fixed;
    top: 70px; /* Adjust based on your header height */
    left: 0;
    right: 0;
    z-index: 997;
}

@media (max-width: 991.98px) {
    .header.header-fixed ~ .search-bar-collapse {
        top: 60px; /* Mobile header height */
    }
}

/* ============================================
   Everyday in McAllen - Day Cards
   ============================================ */
.day-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.day-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 140px;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.day-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.day-card:hover::before {
    transform: scaleX(1);
}

.day-card.featured {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.day-card.weekend-special {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.day-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.day-card:hover .day-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.day-card-icon.monday { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.day-card-icon.tuesday { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: #fff; }
.day-card-icon.wednesday { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: #fff; }
.day-card-icon.thursday { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: #fff; }
.day-card-icon.friday { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: #fff; }
.day-card-icon.saturday { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); color: #fff; }
.day-card-icon.sunday { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); color: #333; }
.day-card-icon.weekends { background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%); color: #333; }

.day-card-body {
    flex: 1;
}

.day-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.day-card-desc {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.day-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-weight: 500;
}

.day-card-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.day-card:hover .day-card-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .day-card {
        min-height: 120px;
        padding: 1.25rem;
    }
    
    .day-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .day-card-title {
        font-size: 1.1rem;
    }
    
    .day-card-desc {
        font-size: 0.8rem;
    }
}

/* ============================================
   Weekends in McAllen - Landing Page
   ============================================ */

/* Weekend Hero Section */
.weekend-hero {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.weekend-hero h1,
.weekend-hero p,
.weekend-hero .lead {
    color: #2d3748;
}

.weekend-hero-wave {
    height: 30px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.weekend-day-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.weekend-day-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.weekend-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.weekend-day-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.weekend-day-card:hover::before {
    opacity: 1;
}

.weekend-day-card.featured-weekend {
    border: 3px solid #ffeaa7;
    box-shadow: 0 6px 24px rgba(253, 203, 110, 0.3);
}

.weekend-star-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3748;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 1;
}

.weekend-day-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    z-index: 1;
    position: relative;
}

.friday-card .weekend-day-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.saturday-card .weekend-day-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: #fff;
}

.sunday-card .weekend-day-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2d3748;
}

.weekend-day-card:hover .weekend-day-icon {
    transform: rotate(8deg) scale(1.1);
}

.weekend-day-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #2d3748;
    z-index: 1;
    position: relative;
}

.weekend-day-tagline {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.weekend-day-desc {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    z-index: 1;
    position: relative;
}

.weekend-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
    border-radius: 25px;
    font-weight: 600;
}

.weekend-card-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    z-index: 1;
    position: relative;
}

.explore-link {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.weekend-day-card:hover .explore-link {
    transform: translateX(8px);
    color: #764ba2;
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0;
}

/* Feature Highlights */
.feature-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateX(4px);
}

.feature-highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-highlight-content h5 {
    font-weight: 700;
    color: #2d3748;
}

/* Responsive */
@media (max-width: 768px) {
    .weekend-day-card {
        padding: 1.5rem;
    }
    
    .weekend-day-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .weekend-day-title {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* =============================================
   Square utility classes (fixed-dimension circles)
   ============================================= */
.square--50 {
    width: 50px;
    height: 50px;
    min-width: 50px;
    flex-shrink: 0;
}

.square--70 {
    width: 70px;
    height: 70px;
    min-width: 70px;
    flex-shrink: 0;
}

.square--90 {
    width: 90px;
    height: 90px;
    min-width: 90px;
    flex-shrink: 0;
}


