/* Container & Global */
.GKU-oxford-chester {
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Jost", sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* 1. HERO */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Changed from height to min-height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 150px;
    /* Space for the overlapping info-strip */
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* Badge */
.badge-black {
    background: #978d1d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 8px;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: clamp(14px, 4vw, 20px);
    /* Responsive font size */
    gap: 15px;
    margin-top: 16rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* Logos Row */
.logo-partnership-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    /* Wrap logos on small screens */
}

.uni-logo-box img {
    width: 100%;
    max-width: 225px;
    height: auto;
}

.uni-logo-box p {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    color: #000;
}

.center-glow-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-strip-section {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 10;
    display: flex;
    justify-content: space-evenly;
}

/* Hide glow lines on very small screens to save space */
@media (max-width: 600px) {


    .logo-partnership-row {
        flex-direction: column;
    }
}

.glow-line-left,
.glow-line-right {
    width: 80px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(245, 179, 53, 0), rgba(245, 179, 53, 1));
}

.glow-line-right {
    transform: rotate(180deg);
}

.glow-dot {
    width: 20px;
    height: 20px;
    background: #ffc107;
    border-radius: 50%;
    filter: blur(2px);
}

.main-title {
    font-size: clamp(32px, 8vw, 54px);
    /* Responsive font size */
    font-weight: 700;
    margin-top: 30px;
    line-height: 1.1;
}

.sub-title {
    font-size: clamp(16px, 3vw, 20px);
    color: #555;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.5;
}

/* 2. INFO STRIP (Beige Box) */
.info-strip-section {
    position: relative;
    width: 90%;
}

.beige-card {
    background: #fdf8e6;
    border: 1px solid #ccc;
    border-radius: 15px;
    display: flex;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.strip-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.strip-icon {
    width: 50px;
    height: 50px;
}

.strip-text strong {
    display: block;
    font-size: 16px;
}

.strip-text span {
    color: #777;
    font-size: 14px;
}

.strip-divider {
    width: 1px;
    background: #ddd;
    height: 60px;
    margin: 0 20px;
}

/* 3. CONTENT GRID (Gallery & Text) */
.content-grid {
    width: 85%;
    display: flex;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    /* This forces both columns to equal height */
    gap: 20px;
    margin-top: 60px;
    padding-bottom: 40px;
}

.main-event-banner {
    width: 100%;
    height: 90%;
    border-radius: 15px;
    margin-bottom: 30px;
}

.description-text {
    position: relative;
    width: 85%;
}

.description-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
    text-align: justify;
}

.italic-p {
    font-style: italic;
    color: #666 !important;
    font-size: 16px !important;
    margin-top: 15px;
    flex-shrink: 0;
}



.text-line-divider {
    width: 100%;
    height: 1px;
    background: #cac1c1;
    margin-bottom: 15px;
}

/* Gallery Stack */
.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-stack .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.gallery-stack img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.full-row img {
    height: auto;
    min-height: 250px;
}

.uni-link {
    font-weight: bold;
}

/* --- MOBILE RESPONSIVENESS --- */

/* --- MOBILE RESPONSIVENESS UPDATED --- */

@media (max-width: 992px) {

    /* Stack the main layout columns */
    .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .content-left,
    .content-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Target all main images to be 90% width */
    .main-event-banner,
    .gallery-stack img,
    .full-row img {
        width: 90% !important;
        margin: 1rem;
        height: auto;
    }

    /* Force the two-image row to stack vertically */
    .gallery-stack .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .beige-card {
        flex-direction: column;
        gap: 20px;
    }

    .strip-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .hero-container {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .badge-black {
        margin: 12rem 2rem 0rem 2rem;
        padding: 8px 15px;
    }

    /* Ensure text alignment looks good on mobile */
    .description-text p {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}