/* Tablets */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    .gallery-container img {
        width: 45%;
        height: auto;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    .gallery-container {
        gap: 10px;
    }

    .gallery-container img {
        width: 100%;
        height: auto;
    }
}






/* MOBILE LANDSCAPE FIX */
@media (max-width: 900px) and (orientation: landscape) {
    footer {
        padding: 10px 12px; 
        width: 100%; 
        box-sizing: border-box; 
        text-align: center;
        white-space: normal; /* allow wrapping */
    }

    footer p {
        font-size: 11px;
        line-height: 1.3;
        white-space: normal; /* prevent text going off-screen */
        overflow-wrap: break-word;
    }
}









/* ======================================================
   HARD OVERRIDE — EVENT PAGE MOBILE VERTICAL ONLY
   ====================================================== */
@media screen and (max-width:768px) and (orientation:portrait) {

  body.event-page aside.sidebar,
  body.event-page .sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.event-page .main {
    margin-left: 0 !important;
    width: 100% !important;
  }

  body.event-page .event-topbar {
    display: flex !important;
  }
}



