/* Container for the whole list */
.cep-class-subtitle
{
    text-align: center;
}

.cep-details-header
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cep-class-list {
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #333;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

/* Individual Class Row */
.cep-class-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
    margin-bottom: 0px;
    align-items: start;
    width: 100%;
}

/* Left Column: Info */
.cep-info-col h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
}

.cep-number
{
    font-size: 36px;
}

.cep-meta {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
}

.cep-meta span {
    color: black;
    font-weight: 300;
    text-transform: uppercase;
}

.cep-meta strong {
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
    font-weight: 300;
}

/* Buttons */
.cep-btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cep-register-btn {
    background: #F78224;
    color: white !important;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
}

.cep-register-btn:hover {
    background: #d66a24;
}

.cep-city-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: px;
    overflow: hidden;
    text-align: center;
}

.cep-city-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media screen and (max-width: 1200px) {
    .cep-city-grid
    {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 765px) {
    .cep-city-grid
    {
        grid-template-columns: 1fr;
    }
}

.cep-city-details
{
    padding: 10px 20px 20px 20px;
    background-color: #FFF3EA;
    flex-grow: 1;
}

.cep-city-title {
    font-family: "Amstelvar", Sans-serif;
    font-size: 44px;
    margin-top: 0;
    text-align: left;
    font-weight: 300;
}

.cep-city-btn {
    background: #F78224;
    color: white !important;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
    font-family: "Montserrat", Sans-serif;
    font-weight: 400;
    display: block;
    width: 100%;
}

.cep-city-btn:hover {
    background: #d66a24;
}

/* Middle Column: Images */
.cep-image-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 100%;
}
.cep-image-col img {
    width: 100%;
    height: 100% !important; /* Fixed height for that tall editorial look */
    object-fit: cover;
    border-radius: 2px;
    aspect-ratio: 1/1;
}

/* Right Column: Features */
.cep-features-col
{
    height: 100%;
    padding: 20px;
    background: rgba(247, 130, 36, 0.05);
}

.cep-features-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cep-features-col li {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 7.5px;
    position: relative;
    padding-left: 12.5px;
    color: black;
}
.cep-features-col li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-size: 22px;
    line-height: 0.8;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .cep-class-item {
        grid-template-columns: 1fr; /* Stack everything on mobile */
    }
    .cep-image-col {
        order: -1; /* Move images to the top on mobile */
    }
}

/* Container */
.cep-details-container {
    max-width: 1440px;
    margin: 0px auto;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

/* Header */
.cep-details-header {
    margin-bottom: 30px;
    text-align: left;
}
.cep-details-header .cep-label {
    text-transform: uppercase;
    color: #F78224;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
}
.cep-details-header h1 {
    font-size: 60px;
    text-align: center;
    margin: 5px 0;
    line-height: 1;
    font-family: "Amstelvar", Sans-serif;
}

/* Date Selector */
.cep-booking-card {
}
.cep-selector-row {
    margin-bottom: 30px;
}
.cep-selector-row label {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
    color: #666;
}
.cep-custom-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #f0f0f0;
    font-family: 'Montserrat';
    font-weight: 600;
    outline: none;
}

/* Table Style */
.cep-ticket-table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}
/* Table Style */
.cep-ticket-table * {
    border: 0 !important;
}

.cep-ticket-deposit, .cep-ticket-price, .cep-ticket-name, .cep-ticket-due
{
    font-size: 16px !important;
    font-weight: 400 !important;
}

.cep-ticket-table thead th {
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
    color: #999;
    padding: 10px;
    border-bottom: 2px solid #f0f0f0;
}
.cep-ticket-table tbody td {
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
}
.cep-ticket-name strong {
    font-size: 18px;
    text-transform: uppercase;
}
.cep-ticket-price {
    font-size: 20px;
    font-weight: 700;
}
.cep-qty {
    padding: 8px;
    border: 1px solid #ddd;
}

/* Book Button */
.cep-book-btn {
    background: #F78224;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 0;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}
.cep-book-btn:hover {
    background: #F78224;
}
.cep-book-btn:disabled {
    background: #ccc;
}

/* Container */
.cep-ticket-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header Row */
.cep-ticket-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 2px solid #f0f0f0;
    padding: 10px 0;
}

.cep-ticket-header .cep-col {
    color: #999;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Data Row */
.cep-ticket-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

/* Column Sizing */
.cep-col {
    flex: 1;
    padding: 0 10px;
}

.cep-ticket-name, .cep-ticket-time
{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.cep-ticket-name { flex: 1.5; } /* Give name more space */
.cep-ticket-action { flex: 1.2; }
.cep-mobile-label { display: none; } /* Hide labels on desktop */

.cep-ticket-deposit {
    color: #F78224;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .cep-ticket-header { display: none; } /* Hide the top header */
    
    .cep-ticket-row {
        flex-direction: column;
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
        background: #fafafa;
        margin-bottom: 15px;
    }

    .cep-col {
        width: 100%;
        padding: 0;
    }

    .cep-mobile-label {
        display: inline-block;
        width: 120px;
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        color: #999;
    }
    
    .cep-ticket-name {
        font-size: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }
    
    .cep-book-btn {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .cep-ticket-table thead { display: none; }
    .cep-ticket-table tr { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
    .cep-ticket-table td { padding: 0; border: none; }
}