.wz-video-box {
    display: flex;
    flex-direction: row;
    background-color: #f2f2f2;
    align-items: center;
    margin-top: 24px;
  	padding-top:24px;
  	padding-bottom:24px;
}
.wz-ordernumb {
    border-right: solid 2px #003476;
    padding: 12px;
    font-weight: 700;
    font-size: 22px;
    color: #003476;
}
.wz-desc {
    padding-left: 12px;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.wz-dur {
    display: flex;
    flex-direction: row;
    color: #003476;
    font-weight: 600;
    padding-right: 12px;
}
.wz-video-box .lesson-school-year {
    padding-left: 6px;
    font-size: 12px;
}

.wz-box-text {
  width: 280px
}
.wz-icon {
  height: 12px;
  padding-right: 3px;
  padding-left: 6px;
}
.wz-course-image {
    width: 100%
}
#searchform {
    background-color: #f2f2f2;
    padding: 50px 25px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#searchform input[type='text'], 
#searchform select {
    min-height: 48px;
    border-radius: 4px;
    background-color: #FFF;
}
#searchform .taxonomy-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#searchform .taxonomy-filter {
    flex: 1 1 calc(33.333% - 10px);
    box-sizing: border-box;
}
#searchform .taxonomy-filter label,
#searchform .taxonomy-filter select,
#searchform .taxonomy-filter input {
    display: block;
    width: 100%;
    line-height: 2;
}
@media (max-width: 768px) {
    #searchform .taxonomy-filter {
        flex: 1 1 100%;
    }
}
#searchsubmit {
    margin-top: 1rem;
}
#search-results-container {
    padding-bottom: 30px;
}
#search-results{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 30px;
}
.all-lessons-container *{
	display: block;
}
#all-lessons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lesson-item {
    box-sizing: border-box;
    padding: 10px;
}
.lesson-thumbnail img {
    max-width: 100%;
    height: auto;
}
.lesson-content a {
    font-size: 18px;
    margin: 0;
    color: var(--e-global-color-primary) !important;
    font-weight: 700;
}
.lesson-content p {
    margin: 0;
    line-height: 1.5em;
    font-size: 14px;
    color: #777;
}
@media (max-width: 992px) {
    #search-results, #all-lessons {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    #search-results, #all-lessons {
        grid-template-columns: 1fr;
    }
}
.load-more-container {
  	display: flex;
    margin-top: 30px;
    text-align: center;
  	justify-content: center;
}
.load-more, #searchsubmit {
    fill: #FFF;
    color: #FFF;
    background-color: #003476 !important;
    border-color: #003476 !important;
    min-height: 48px;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 3px;
    transition: all .3s;
}
.load-more:hover, #searchsubmit:hover {
    color: #FFF !important;
    background-color: #00aced !important;
    border-color: #00aced !important;
}

/* lesson-video.php, past-streams.php  */
.wz-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}
@media only screen and (max-width: 1248px) {
    .wz-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}
@media only screen and (max-width: 766px) {
    .wz-container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
    }
}
.wz-box {
    background-color: #0065B3;
    color: #ffffff;
    display: flex;
    justify-items: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 2px 3px 12px rgba(0, 0, 0, .2);
    transition: all 150ms ease-in-out;
    border-radius: 3px;
    text-align: center;
    margin: auto;
}
.wz-box:hover {
    scale: 105%;
    transition: all 150ms ease-in-out;
    box-shadow: 2px 3px 12px rgba(0, 0, 0, .5);
}
.wz-container a {
    text-decoration: none;
}
.wz-video-box {
    display: flex;
    flex-direction: row;
    color: #212529;
    background-color: #f2f2f2;
    align-items: center;
    margin: 12px 0;
}
.wz-video-box .lesson-material-wrapper {
    margin-top:20px
}
.wz-video-box .lesson-material-wrapper p.title {
    font-size:14px;
    color: #003476;
    font-weight: 600;
}
.wz-video-box .lesson-material-wrapper .lesson-material {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 6px;
    margin: 6px;
    font-size: 13px;
    border:1px solid #dddddd;
    border-radius: 5px;
}
.wz-desc {
    padding-left: 12px;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.wz-dur {
    display: flex;
    flex-direction: row;
    color: #003476;
    font-weight: 600;
    padding-right: 12px;
}
.wz-video-duration {
    width: 120px;
}
.wz-video-title {
    color: #003476;
    font-weight: 600;
}
.wz-back-button {
    margin: 20px 0;
}
.wz-back-button a {
    color: #003476 !important;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}
.wz-back-button a:hover {
    color: #00adee !important;
}

/* Lessons page */
.lessons-toolbar {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 25px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lessons-toolbar .toolbar-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #003375;
}
.lessons-toolbar .taxonomy-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lessons-toolbar .taxonomy-filter {
    width: 50%;
    /*flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;*/
}
.lessons-toolbar .taxonomy-filter label {
    display: block;
    width: 100%;
    line-height: 2;
}
.lessons-toolbar .taxonomy-filter select {
    display: block;
    width: 100%;
    line-height: 2;
    min-height: 48px;
    border-radius: 4px;
    background-color: #FFF;
}
.lesson-toolbar input[type=submit] {
    fill: #FFF;
    color: #FFF;
    background-color: #003476 !important;
    border-color: #003476 !important;
    min-height: 48px;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 3px;
    transition: all .3s;
}

.lessons-count {
    display: block;
    background-color: #e7f3ff;
    border-left: 4px solid #003375;
    margin: 24px 0;
}

.lessons-count span {
    display: block;
    padding: 18px;
    font-weight: 600;
    color: #003375
}

/* Lesson box */
.lesson-card {
    padding: 24px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    margin-bottom: 30px;
    background-color: #f8f9fa;
}
.lesson-card:hover {
    box-shadow: 0 4px 16px rgba(0, 51, 117, 0.1);
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.lesson-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    flex: 1;
    margin-right: 16px;
}

.status-badge {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
}

.status-planned {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.status-ongoing {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.status-completed {
    background: #cce7ff;
    color: #004085;
    border-color: #b3d7ff;
}

.lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dee2e6;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6c757d;
    flex: 0 0 auto;
    font-weight: 500;
}

.meta-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.lesson-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.syllabus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: #003375;
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lesson-time {
    background: #F2F2F2;
    padding: 12px 16px;
    border-left: 4px solid #003375;
    font-size: 0.875rem;
    color: #495057;
    font-weight: 600;
}

.time-icon {
    display: inline-block;
    margin-right: 8px;
    font-weight: normal;
}
