/* STRICTLY ISOLATED MOBILE RULES - COMPLETELY IGNORES DESKTOP AND TV PAGES */
@media only screen and (max-width: 767px) {
  /* Block mobile changes from bleeding into TV page IDs 325 and 326 */
  body:not(.page-id-325):not(.page-id-326):not([class*="tv"]) {
    
    /* Balanced 2-Column Grid Layout for Mobile Event Cards */
    .content-card-grid, 
    .partner-row {
      display: grid !important;
      grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
      gap: 12px !important;
      width: 100% !important;
      padding: 0 10px !important;
      box-sizing: border-box !important;
    }

    /* Natural Proportions for Poster/Graphics */
/*     .art-card, .split img, .festival-page img { */
    .festival-page img {
      width: 100% !important;
      height: auto !important;
/*       aspect-ratio: auto !important; */
      object-fit: contain !important;
    }
    /* Center Mobile Components */
    #festival-preview, .about-section-wrapper {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
    }
  }
}