/* Specific styles for axis pages */
.axis-header {
    padding: 40px 0;
    text-align: center;
}

.axis-hero-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    /* Apply the same fix as main page for SVGs */
    mix-blend-mode: multiply;
    display: block;
    /* Ensure it behaves as a block */
}

.axis-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.axis-content-section {
    padding: 60px 0;
    background-color: white;
    min-height: 50vh;
}

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Override container width for programme pages to allow larger SVGs */
.container {
    max-width: 1600px !important;
}

.back-link {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--color-text);
    border-radius: 30px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: var(--color-text);
    color: white;
}

/* Mobile Menu Styles (copied from main) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu-content a {
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    color: var(--color-text);
}

@media (max-width: 900px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}