/* Lectures Page Styles */


/* Container */
.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

/* Page Title */
.page-title {
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Lecture Series Grid */
.lecture-series-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Lecture Series Item */
.lecture-series-item {
    background-color: #f9f9f9;
    border: 1px solid #a0522d;
    border-radius: 10px;
    width: calc(33.33% - 20px); /* Three items per row */
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lecture-series-item:hover {
    box-shadow: 0 8px 16px rgb(160, 82, 45);
    transform: translateY(-5px);
}

/* Series Cover */
.series-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Series Details */
.series-details {
    padding: 15px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.series-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.series-title a {
    color: #2c3e50;
    text-decoration: none;
}

.series-title a:hover {
    text-decoration: underline;
}

.series-description {
    font-size: 1em;
    color: #2c3e50;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .lecture-series-item {
        width: calc(50% - 20px); /* Two items per row */
    }
}

@media (max-width: 768px) {
    .lecture-series-item {
        width: 100%; /* One item per row */
    }
}

/* Lectures Grid */
.lectures-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Lecture Item */
.lecture-item {
    background-color: #f9f9f9;
    border: 1px solid #a0522d;
    border-radius: 10px;
    width: calc(33.33% - 20px); /* Three items per row */
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lecture-item:hover {
    box-shadow: 0 8px 16px rgb(160, 82, 45);
    transform: translateY(-5px);
}

/* Lecture Cover */
.lecture-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Lecture Details */
.lecture-details {
    padding: 15px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lecture-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.lecture-title a {
    color: #2c3e50;
    text-decoration: none;
}

.lecture-title a:hover {
    text-decoration: underline;
}

.lecture-date {
    font-size: 0.9em;
    color: #000000;
    margin-bottom: 15px;
}

.lecture-description {
    font-size: 1em;
    color: #2c3e50;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .lecture-item {
        width: calc(50% - 20px); /* Two items per row */
    }
}

@media (max-width: 768px) {
    .lecture-item {
        width: 100%; /* One item per row */
    }
}

/* Lecture Detail Page Styles */
.lecture-detail-page {
    text-align: right;
}

.lecture-detail-title {
    font-size: 2em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.lecture-detail-date {
    font-size: 0.9em;
    color: #000000;
    margin-bottom: 20px;
}

.lecture-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    margin-bottom: 20px;
}

.lecture-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lecture-detail-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #2c3e50;
    direction: rtl;
    margin-bottom: 30px;
}

.button-container {
    text-align: center;
}

.btn {
    background-color: #a0522d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #a0522d;
}
