/**
 * Page-specific: index.html events/modal responsive styles.
 * Extracted from inline <style> without declaration changes.
 */

    /* Mobile Responsive Styles */
    @media (max-width: 991px) {
      /* Today's Event Section Mobile */
      #next-event {
        padding: 20px !important;
        margin-bottom: 30px !important;
      }
      
      #next-event h3 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
      }
      
      #next-event p {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
      }
      
      /* Today's Event Label Mobile */
      #next-event > div:first-child {
        padding: 8px 15px !important;
      }
      
      #next-event > div:first-child span {
        font-size: 0.9rem !important;
      }
      
      /* Weekly Calendar Mobile */
      .mobile-event-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .mobile-event-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
      }
      
      /* Event cards with events */
      .mobile-event-card[style*="border-left: 4px solid #E50C7E"] {
        background: rgba(255, 255, 255, 0.2) !important;
        opacity: 1 !important;
      }
      
      /* Event cards without events */
      .mobile-event-card[style*="opacity: 0.6"] {
        background: rgba(255, 255, 255, 0.05) !important;
      }
    }
    
    /* Tablet Responsive Styles */
    @media (min-width: 768px) and (max-width: 991px) {
      #next-event h3 {
        font-size: 2rem !important;
      }
      
      #next-event p {
        font-size: 1.1rem !important;
      }
      
      .mobile-event-card {
        padding: 25px !important;
      }
      
      .mobile-event-card h4 {
        font-size: 1.2rem !important;
      }
      
      .mobile-event-card p {
        font-size: 1rem !important;
      }
    }
    
    /* Small Mobile Devices */
    @media (max-width: 575px) {
      #next-event {
        padding: 15px !important;
        border-radius: 15px !important;
      }
      
      #next-event h3 {
        font-size: 1.5rem !important;
      }
      
      #next-event p {
        font-size: 0.9rem !important;
      }
      
      .mobile-event-card {
        padding: 15px !important;
        margin-bottom: 10px !important;
      }
      
      .mobile-event-card h4 {
        font-size: 1rem !important;
      }
      
      .mobile-event-card p {
        font-size: 0.8rem !important;
      }
      
      .mobile-event-card span {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
      }
    }
    
    /* Landscape Mobile */
    @media (max-width: 767px) and (orientation: landscape) {
      #next-event {
        padding: 15px !important;
      }
      
      .mobile-event-card {
        padding: 12px !important;
        margin-bottom: 8px !important;
      }
    }
    
    /* Responsive padding for weekly calendar container */
    @media (max-width: 991px) {
      .weekly-calendar-container {
        padding: 20px !important;
      }
    }
    
    /* Fix for Today's Event label positioning */
    @media (max-width: 767px) {
      .today-event-label {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 0 auto 20px auto !important;
        border-radius: 20px !important;
        text-align: center !important;
        display: block !important;
        width: fit-content !important;
        max-width: 90% !important;
        padding: 12px 25px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        transform: translateY(-5px) !important;
        animation: pulse-glow 2s ease-in-out infinite alternate !important;
      }
      
      .today-event-label span {
        font-size: 1rem !important;
        letter-spacing: 1.5px !important;
      }
      
          @keyframes pulse-glow {
      0% {
        box-shadow: 0 4px 15px rgba(229, 12, 126, 0.4) !important;
      }
      100% {
        box-shadow: 0 6px 25px rgba(229, 12, 126, 0.6) !important;
      }
    }
    
    /* Modal Responsive Styles */
    @media (max-width: 767px) {
      /* Modal Dialog */
      .modal-dialog.modal-lg {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
      }
      
      /* Modal Content */
      .modal-content {
        border-radius: 15px !important;
        border: none !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
      }
      
      /* Modal Body */
      .modal-body {
        padding: 20px 15px !important;
      }
      
      /* Event Title */
      #modal-event-title {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
      }
      
      /* Event Time */
      #modal-event-time {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
      }
      
      /* Event Image */
      #modal-event-image {
        border-radius: 10px !important;
        border: 2px solid #FBD8C7 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
        max-height: none !important;
        object-fit: contain !important;
      }
      
      /* Event Description */
      #modal-event-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-top: 15px !important;
        padding: 0 5px !important;
      }
      
      /* Close Button */
      .modal-content .close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 1050 !important;
        background: rgba(255,255,255,0.9) !important;
        border-radius: 50% !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
      }
      
      .modal-content .close i {
        font-size: 1.2rem !important;
        color: #E50C7E !important;
      }
      
      /* Default Video Content */
      #default-video-content video {
        border-radius: 10px !important;
        max-height: 300px !important;
        object-fit: cover !important;
      }
    }
    
    /* Tablet Responsive Styles */
    @media (min-width: 768px) and (max-width: 991px) {
      .modal-dialog.modal-lg {
        margin: 20px !important;
        max-width: calc(100% - 40px) !important;
      }
      
      #modal-event-title {
        font-size: 1.8rem !important;
      }
      
      #modal-event-time {
        font-size: 1.1rem !important;
      }
      
      #modal-event-description {
        font-size: 1rem !important;
      }
      
      #modal-event-image {
        max-height: none !important;
      }
    }
    
    /* Small Mobile Devices */
    @media (max-width: 575px) {
      .modal-dialog.modal-lg {
        margin: 5px !important;
        max-width: calc(100% - 10px) !important;
      }
      
      .modal-body {
        padding: 15px 10px !important;
      }
      
      #modal-event-title {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
      }
      
      #modal-event-time {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
      }
      
      #modal-event-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
      }
      
      #modal-event-image {
        max-height: none !important;
      }
      
      .modal-content .close {
        width: 30px !important;
        height: 30px !important;
        top: 8px !important;
        right: 8px !important;
      }
      
      .modal-content .close i {
        font-size: 1rem !important;
      }
    }
    
    /* Landscape Mobile */
    @media (max-width: 767px) and (orientation: landscape) {
      .modal-dialog.modal-lg {
        margin: 5px !important;
        max-width: calc(100% - 10px) !important;
      }
      
      .modal-body {
        padding: 10px !important;
      }
      
      #modal-event-image {
        max-height: none !important;
      }
      
      #modal-event-title {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
      }
      
      #modal-event-time {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
      }
      
      #modal-event-description {
        font-size: 0.8rem !important;
        margin-top: 8px !important;
      }
    }
    
    /* Facebook Post Button Hover Effect */
    #facebook-post-section a:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 6px 20px rgba(229, 12, 126, 0.4) !important;
    }
    }
    
    /* Desktop positioning fix */
    @media (min-width: 768px) {
      #next-event {
        padding-right: 0 !important;
      }
      
      .today-event-label {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 10 !important;
        pointer-events: none !important;
      }
      
      #next-event .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      
      #next-event .col-lg-4,
      #next-event .col-lg-8,
      #next-event .col-md-5,
      #next-event .col-md-7 {
        padding-left: 15px !important;
        padding-right: 15px !important;
      }
    }
    
    /* Today's Event Highlighting */
    .today-row {
      background: linear-gradient(135deg, rgba(251, 216, 199, 0.3) 0%, rgba(229, 12, 126, 0.2) 100%) !important;
      border: 2px solid #FBD8C7 !important;
      box-shadow: 0 0 20px rgba(251, 216, 199, 0.4) !important;
      position: relative !important;
    }
    
    .today-row::before {
      content: "TODAY! 🎉";
      position: absolute;
      top: -12px;
      right: 20px;
      background: linear-gradient(135deg, #FBD8C7 0%, #E50C7E 100%);
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 700;
      font-family: 'SoinSansNeueH', sans-serif;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.3);
      z-index: 10;
    }
    
    /* Hide today-row::before on desktop to prevent layout issues */
    @media (min-width: 768px) {
      .today-row::before {
        display: none !important;
      }
    }
    
    .today-mobile-card {
      background: linear-gradient(135deg, rgba(251, 216, 199, 0.4) 0%, rgba(229, 12, 126, 0.3) 100%) !important;
      border: 3px solid #FBD8C7 !important;
      box-shadow: 0 0 25px rgba(251, 216, 199, 0.5) !important;
      position: relative !important;
      opacity: 1 !important;
    }
    
    .today-mobile-card::before {
      content: "TODAY! 🎉";
      position: absolute;
      top: -14px;
      left: -10px;
      background: linear-gradient(135deg, #FBD8C7 0%, #E50C7E 100%);
      color: white;
      padding: 4px 12px;
      border-radius: 15px;
      font-size: 0.7rem;
      font-weight: 700;
      font-family: 'SoinSansNeueH', sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      z-index: 10;
    }

  