/* The hero now uses the shared .inner-banner-wrap pattern from the theme
   (same as /real-estate/bookstore). All hero styling lives in the theme's
   style.css; this file only handles the filter + results sections. */

/* Theme default places .breadcrumb-content absolutely at bottom: 20px, where
   it collides with the .inner-shape pattern. Place the breadcrumb above the
   title in normal flow instead. Theme also has no breadcrumb separator or
   spacing between items, so we add those here. */
.inner-baner-container .breadcrumb-content.breadcrumb-content--top {
    position: static;
    margin: 0 0 18px;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb li + li::before {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.18s ease;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb li a:hover {
    color: #ff6f00;
}
.inner-baner-container .breadcrumb-content.breadcrumb-content--top .breadcrumb li.active {
    color: #ffffff;
    font-weight: 600;
}

.classroom-finder-main {
    background: #f6f8fb;
    padding: 40px 0 80px;
    min-height: 60vh;
}

.classroom-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: end;
    background: #fff;
    padding: 20px 22px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.06);
    margin-bottom: 24px;
}

.classroom-filter-bar .fa-field {
    margin-bottom: 0;
}

.classroom-filter-reset {
    height: 48px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    color: #4a5b74;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.classroom-filter-reset:hover {
    border-color: #0b2545;
    color: #0b2545;
}

.classroom-results-meta {
    font-size: 14px;
    color: #54627a;
    margin-bottom: 16px;
}

.classroom-results-meta #classroomResultsCount {
    font-weight: 700;
    color: #0b2545;
}

.classroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.classroom-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}

.classroom-card:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(15, 30, 60, 0.12);
    color: inherit;
}

.classroom-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e6ecf4;
    overflow: hidden;
}

.classroom-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.classroom-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #b7c2d4;
}

.classroom-card-state {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 37, 69, 0.92);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.classroom-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.classroom-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #0b2545;
    margin: 0 0 4px;
}

.classroom-card-address {
    font-size: 13px;
    color: #6b7a92;
    margin: 0 0 12px;
    line-height: 1.4;
}

.classroom-card-state-label {
    font-size: 13px;
    color: #6b7a92;
    margin: 0 0 12px;
}

.classroom-card-offerings {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #eef1f6;
}

.classroom-offer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f6f8fb;
    border-radius: 8px;
    color: #0b2545;
    text-decoration: none;
    font-size: 13px;
    transition: background .15s ease, transform .15s ease;
}

.classroom-offer-row:hover {
    background: #e7edf6;
    text-decoration: none;
    color: #0b2545;
    transform: translateX(2px);
}

.classroom-offer-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.classroom-offer-program {
    font-weight: 600;
}

.classroom-offer-sep {
    color: #b0bacc;
}

.classroom-offer-license {
    color: #54627a;
}

.classroom-offer-count {
    font-size: 12px;
    color: #54627a;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.classroom-offer-count i {
    font-size: 11px;
    transition: transform .15s ease;
}

.classroom-offer-row:hover .classroom-offer-count i {
    transform: translateX(3px);
}

.classroom-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}

.classroom-empty-icon {
    font-size: 48px;
    color: #b7c2d4;
    margin-bottom: 14px;
}

.classroom-empty h3 {
    margin: 0 0 8px;
    color: #0b2545;
}

.classroom-empty p {
    color: #6b7a92;
    max-width: 440px;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .classroom-filter-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
