.sensei-archive-controls {
margin-bottom: 2em;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
} .course-title {
font-size: 1.5em;
margin-bottom: 1em;
color: #333;
}
.course-title a {
color: #333;
text-decoration: none;
font-weight: 600;
line-height: 1.4;
display: -webkit-box;    -webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
} body.course-archive .course-container,
.sensei .course-container,
.course-category .course-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2em;
margin: 2em 0;
margin-bottom: 4em;
min-height: 200px;
} body:not(.course-archive):not(.sensei):not(.course-category) .course-container {
display: block;
width: 100%;
}
.course {
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
position: relative;
padding-bottom: 60px; min-height: 450px; }
.course:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
} .course-thumbnail {
width: 100%;
height: 200px;
object-fit: cover;
} .course-meta {
padding: 1.5em;
flex-grow: 1;
}
.course-author {
color: #666;
font-size: 0.9em;
margin-bottom: 0.5em;
margin: 0.5em 0;
display: flex;
align-items: center;
gap: 0.5em;
}
.course-author img {
width: 24px;
height: 24px;
border-radius: 50%;
}
.course-lesson-count {
font-size: 0.9em;
color: #666;
} .course-price {
font-weight: bold;
color: #4a4a4a;
margin: 1em 0;
}
.course-price.free {
position: absolute;
top: 10px;
right: 10px;
background: #28a745;
color: white;
padding: 4px 12px;
border-radius: 4px;
font-size: 0.9em;
font-weight: 600;
} .course-description {
margin: 1em 0;
color: #666;
font-size: 0.95em;
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
box-orient: vertical;
overflow: hidden;
max-height: 4.8em; position: relative;
} .course-footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 1em;
background: #fff;
border-top: 1px solid #eee;
} .sensei-btn,
.course-container .button {
display: inline-block;
padding: 0.8em 1.5em;
background-color: #1e73be;
color: white;
border-radius: 4px;
text-decoration: none;
transition: background-color 0.2s ease;
}
.sensei-btn:hover,
.course-container .button:hover {
background-color: #165b96;
color: white;
} body.admin-bar {
min-height: 100vh;
padding-bottom: 32px; }
#wpadminbar {
position: fixed !important;
z-index: 999999;
} .site-content {
min-height: calc(100vh - 32px);
position: relative;
z-index: 1;
} html, body {
overflow-x: hidden;
max-width: 100%;
} @media screen and (max-width: 782px) {
body.admin-bar {
padding-bottom: 46px;
}
.site-content {
min-height: calc(100vh - 46px);
}
} @media (max-width: 768px) {
.course-container {
grid-template-columns: 1fr;
}
.sensei-archive-controls {
flex-direction: column;
align-items: flex-start;
}
.sensei-archive-controls > * {
margin-bottom: 1em;
}
}
div#right-sidebar {
display: none;
} #user-course-status-toggle,
.learner-profile {
width: 100% !important;
max-width: 100% !important;
display: block !important;
} .user-courses .course-container,
.my-courses .course-container {
display: block !important;
width: 100% !important;
max-width: 100% !important;
} .user-courses .course,
.my-courses .course {
width: 100% !important;
margin-bottom: 2em !important;
min-height: auto !important;
padding-bottom: 1em !important;
} .sensei.my-courses .course-container,
.learner-profile .course-container,
[class*="user-course"] .course-container,
body.page-id-30916 .course-container,
body.page-id-13099 .course-container {
display: block !important;
width: 100% !important;
grid-template-columns: unset !important;
}
.sensei.my-courses .course,
.learner-profile .course,
[class*="user-course"] .course,
body.page-id-30916 .course,
body.page-id-13099 .course {
width: 100% !important;
min-height: auto !important;
margin-bottom: 2em !important;
box-shadow: none !important;
padding-bottom: 1em !important;
display: block !important;
}
.sensei.my-courses .course-meta,
.learner-profile .course-meta,
[class*="user-course"] .course-meta,
body.page-id-30916 .course-meta,
body.page-id-13099 .course-meta {
padding: 1em 0 !important;
}
.sensei.my-courses .course-thumbnail,
.learner-profile .course-thumbnail,
[class*="user-course"] .course-thumbnail,
body.page-id-30916 .course-thumbnail,
body.page-id-13099 .course-thumbnail {
height: auto !important;
max-width: 300px !important;
}