.class-break {
    background: #ffe8c8;
    padding: 12px 18px;
    text-align: center;
    font-weight: 600;
}

.class-hero {
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.class-hero h1 {
    font-size: 3.6rem;
    margin-bottom: 10px;
}

.class-hero .intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.class-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.class-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.class-section ul {
    padding-left: 20px;
}


.pricing-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.price-card {
    flex: 1;
    min-width: 260px;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.related-links ul {
    padding-left: 20px;
}

.related-links a {
    color: #c0392b;
    font-weight: 600;
}




/* ============================
   CLASS PAGE HERO (STATIC IMAGE)
============================ */

.hero {
    position: relative;
    min-height: 60vh;
    padding: 100px 20px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* desktop effect */
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px; /* keep this — prevents text touching edges on mobile */
}

.hero-tag {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 1.2;
	text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.level-submenu {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
	margin-bottom: 1.2rem; 
	max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.level-submenu a {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.level-submenu a.active {
    background: #fff;
    color: #000;
}

.hero .btn {
    margin: 0.4rem 0.3rem;
}

.hero .hero-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
}


/* Disable fixed background on tablets + phones */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Mobile typography + spacing */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.05rem;
    }
}

/* ============================
   CLASS PAGE TWO-COLUMN LAYOUT
============================ */

.class-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* Left column grows */
.class-about {
    flex: 1;
}


/* VIDEO CARD MATCHING BOX STYLE */
.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #ddd;
}

.video-wrapper iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
	max-width: 100%;
}


/* REMOVE HOVER FROM DETAILS BOX */
.class-details-box:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Subtle label heading */
.details-label {
	font-size: 1.1rem;
	font-weight: 700;
	color: #c62839;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Allow right column to shrink if needed */
.class-details-container {
    flex: 0 1 400px;
}


/* Stack on smaller screens */
@media (max-width: 900px) {
    .class-layout {
        flex-direction: column;
    }

    .class-details-container {
        flex: none;
        width: 100%;
		max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .class-details-container {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
}

/* ============================
   CLASS PAGE LAYOUT REFINEMENTS
============================ */

/* Align columns */
.class-about,
.class-details-container {
    padding-top: 0;
}

/* Section label (About This Class) */
.class-about h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c62839;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section lead (main statement) */
.section-lead {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 20px;
    color: #111;
    line-height: 1.3;
}

/* “What You’ll Learn” label */
.learn-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 30px 0 10px;
    color: #111;
}

/* Tick list */
ul.tick-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px;
}

ul.tick-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 1rem;
}

ul.tick-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #2e7d32;
    font-weight: 700;
}



/* ============================
   FREQUENTLY ASKED QUESTIONS
============================ */
.class-faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.class-faq-container h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111;
    line-height: 1.3;
    text-align: left; /* keep it clean */
}

.class-faq-box {
    margin-bottom: 20px;
}


/* FAQ accordion */
.class-faq-box summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    list-style: none;
}

.class-faq-box summary::-webkit-details-marker {
    display: none;
}

/* Add a custom arrow */
.class-faq-box summary::after {
    content: "+";
    float: right;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.class-faq-box[open] summary::after {
    content: "–";
    opacity: 1;
}

/* Spacing for the answer */
.class-faq-box p {
    margin: 10px 0 0;
}




.venue-class-container {
    display: grid;
    gap: 30px;
    margin: 60px auto;
    max-width: 800px;
    padding: 0 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


/* ============================
   CLASS PRICE CONTAINER
============================ */
.class-box-container {
    display: grid;
    gap: 24px;
}


.price-tag {
    font-size: 2.4rem;
    font-weight: 800;
    color: #c62839;
    margin: 0 0 12px;
    line-height: 1;
	text-align: center;
}


.class-price-box h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 12px;
    color: #111;
    line-height: 1.3;
    text-align: center;
}


.class-price-box {
    padding: 20px;
}


.class-price-box .tick-list li {
    margin-bottom: 8px;
}



/* ============================
   CLASS PAGE SCHEDULE TABLE
============================ */
.schedule-wrapper {
    margin-bottom: 40px;
}


#ClassSchedule {
    width: 100%;
    min-width: 500px;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
}

.schedule-label {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #444;
    text-align: center;
    padding: 0 20px;

}

.schedule-intro {
    margin-top: 6px;
    margin-bottom: 16px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;

}

#ClassSchedule th,
#ClassSchedule td {
    padding: 10px 12px;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    text-align: center;
}

#ClassSchedule th {
    background: #e63946;
    color: #fff;
    font-weight: 600;
}

/* REMOVE alternating row colours (they override cycle tinting) */
#ClassSchedule tr:nth-child(even) {
    background: none;
}

/* REMOVE hover override (optional) */
#ClassSchedule tr:hover {
    background: #f7f7f7;
}

/* Strong cycle separation */
#ClassSchedule tbody tr {
    border-top: 8px solid #d0d0d0;
}

#ClassSchedule tbody tr:first-child {
    border-top: none;
}

/* Clear cycle tinting */
#ClassSchedule tbody tr:nth-of-type(1) {
    background: #ffffff;
}

#ClassSchedule tbody tr:nth-of-type(2) {
    background: #f5f5f5;
}

#ClassSchedule tbody tr:nth-of-type(3) {
    background: #ededed;
}

.past-week {
    color: #999;
    opacity: 0.6;
}

.skip-notice {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px auto 25px;
    max-width: 700px;
    font-size: 15px;
    color: #856404;
    text-align: center;
}


@media (max-width: 500px) {
#ClassSchedule th,
#ClassSchedule td {
    padding: 6px 4px;
}
}


/* ============================
   CLASSES PAGE STUFF
============================ */

/* Full‑width soft background section */
.levels-guide {
    width: 100%;
    background: #fafafa;          /* soft grey highlight */
    padding: 40px 20px;           /* breathing room */
    margin: 40px 0;               /* spacing from other sections */
    border-top: 1px solid #eee;   /* subtle separation */
    border-bottom: 1px solid #eee;
}

/* Inner content wrapper */
.levels-guide .levels-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Typography */
.levels-guide h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.levels-guide ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.levels-guide li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.levels-guide li strong {
    color: #c0392b; /* your brand red */
    font-weight: 700;
}

/* No-booking full-width highlight */
.no-booking {
    width: 100%;
    text-align: center;
    background: #fff7f7;          /* soft red-tinted background */
    padding: 15px 20px;
    margin: 30px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c0392b;
    border: 1px solid #f2dcdc;
}


/* Tempory layout error finding */
/* {
    outline: 1px solid rgba(255,0,0,0.3);
    outline-offset: -1px;
}
*/
