about, bootcamps, certificate, course page, interview
This commit is contained in:
@@ -0,0 +1,625 @@
|
||||
/* ==========================================================================
|
||||
COURSE DETAILS
|
||||
Used by course-details.php. Every rule is scoped to .course-details.
|
||||
========================================================================== */
|
||||
|
||||
.course-details {
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.course-details .section {
|
||||
padding-block: 64px;
|
||||
}
|
||||
|
||||
.course-details .section__head {
|
||||
max-width: none;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.course-details .eyebrow {
|
||||
gap: 8px;
|
||||
margin-bottom: 0;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.course-details .eyebrow::before {
|
||||
width: 14px;
|
||||
height: 2px;
|
||||
border-radius: 0;
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
.course-details .section__title {
|
||||
margin: 14px 0 0;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: clamp(28px, 3.6vw, 38px);
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Banner
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-hero {
|
||||
padding: calc(var(--header-h) + 54px) 0 44px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.course-details .details-hero__content {
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.course-details .details-hero__tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 6px 12px;
|
||||
border-radius: 999px;
|
||||
background-color: var(--red);
|
||||
color: var(--white);
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.course-details .details-hero__title {
|
||||
margin: 16px 0 0;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: clamp(32px, 4.4vw, 48px);
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Breadcrumb
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .breadcrumb {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__item + .breadcrumb__item::before {
|
||||
content: "/";
|
||||
color: rgba(255, 255, 255, 0.28);
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__item a {
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__item a:hover {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.course-details .breadcrumb__item[aria-current="page"] {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
About
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-about {
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.course-details .details-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1.05fr 1fr;
|
||||
align-items: start;
|
||||
gap: 48px;
|
||||
}
|
||||
|
||||
.course-details .details-media {
|
||||
overflow: hidden;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
|
||||
}
|
||||
|
||||
.course-details .details-media img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
aspect-ratio: 4 / 3;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.course-details .details-about__content {
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
.course-details .details-about__title {
|
||||
margin: 12px 0 14px;
|
||||
font-size: clamp(26px, 3vw, 34px);
|
||||
}
|
||||
|
||||
.course-details .details-about__text {
|
||||
margin: 0;
|
||||
color: var(--text-muted);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.course-details .details-meta {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-top: 26px;
|
||||
}
|
||||
|
||||
.course-details .details-meta__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
background-color: rgba(255, 255, 255, 0.04);
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.course-details .details-meta__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex: none;
|
||||
border-radius: 8px;
|
||||
background-color: var(--float-icon-bg);
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.course-details .details-meta__icon .icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.course-details .details-meta__item strong {
|
||||
display: block;
|
||||
color: var(--white);
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.course-details .details-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.course-details .btn--primary {
|
||||
background-color: var(--red);
|
||||
box-shadow: 0 10px 26px rgba(189, 37, 42, 0.28);
|
||||
}
|
||||
|
||||
.course-details .btn--primary:hover {
|
||||
background-color: #9F1F24;
|
||||
box-shadow: 0 14px 30px rgba(189, 37, 42, 0.36);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
What you will learn
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-learn {
|
||||
background-color: var(--bg-section);
|
||||
}
|
||||
|
||||
.course-details .details-learn__list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.course-details .details-learn__item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
padding: 14px 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 14px;
|
||||
background-color: rgba(255, 255, 255, 0.04);
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.course-details .details-learn__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
flex: none;
|
||||
border-radius: 50%;
|
||||
background-color: var(--red);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.course-details .details-learn__icon .icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.course-details .details-learn__item.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
transition: opacity 0.55s ease, transform 0.55s ease;
|
||||
transition-delay: calc(var(--i, 0) * 0.06s);
|
||||
}
|
||||
|
||||
.course-details .details-learn__item.reveal.is-visible {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Who is this for
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-audience {
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.course-details .details-audience__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.course-details .details-audience__card {
|
||||
padding: 24px 22px;
|
||||
border: 0;
|
||||
border-radius: 18px;
|
||||
background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
|
||||
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.course-details .details-audience__card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
|
||||
}
|
||||
|
||||
.course-details .details-audience__icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 9px;
|
||||
background-color: var(--float-icon-bg);
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.course-details .details-audience__icon .icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.course-details .details-audience__title {
|
||||
margin: 0 0 8px;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.course-details .details-audience__text {
|
||||
margin: 0;
|
||||
color: rgba(255, 255, 255, 0.82);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12.5px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.course-details .details-audience__card.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(22px);
|
||||
transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
|
||||
transition-delay: calc(var(--i, 0) * 0.08s);
|
||||
}
|
||||
|
||||
.course-details .details-audience__card.reveal.is-visible {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.course-details .details-audience__card.reveal.is-visible:hover {
|
||||
transform: translateY(-4px);
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Related courses
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-related {
|
||||
background-color: var(--bg-section);
|
||||
}
|
||||
|
||||
.course-details .course-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.course-details .course-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: 18px;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
||||
transition: transform 0.3s ease,
|
||||
box-shadow 0.3s ease,
|
||||
opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.course-details .course-card:hover,
|
||||
.course-details .course-card:focus-within {
|
||||
border: 0;
|
||||
transform: translateY(-6px);
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
|
||||
.course-details .course-card__media {
|
||||
flex: none;
|
||||
aspect-ratio: 4 / 2.8;
|
||||
overflow: hidden;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.course-details .course-card__media img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.course-details .course-card:hover .course-card__media img,
|
||||
.course-details .course-card:focus-within .course-card__media img {
|
||||
transform: scale(1.06);
|
||||
}
|
||||
|
||||
.course-details .course-card__body {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
padding: 14px 16px 16px;
|
||||
background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
|
||||
}
|
||||
|
||||
.course-details .course-card__tag {
|
||||
margin-bottom: 8px;
|
||||
color: var(--red);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.course-details .course-card__title {
|
||||
flex: 0 1 auto;
|
||||
margin: 0 0 auto;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.course-details .course-card__link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
align-self: flex-end;
|
||||
gap: 4px;
|
||||
margin-top: 14px;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.course-details .course-card__link .icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.course-details .course-card__link:hover {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.course-details .course-card__link:hover .icon {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.course-details .course-card:focus-within {
|
||||
outline: 2px solid var(--white);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.course-details .course-card.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(24px);
|
||||
transition: opacity 0.6s ease,
|
||||
transform 0.6s ease,
|
||||
box-shadow 0.3s ease;
|
||||
transition-delay: calc(var(--i, 0) * 0.08s);
|
||||
}
|
||||
|
||||
.course-details .course-card.reveal.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.course-details .course-card.reveal.is-visible:hover,
|
||||
.course-details .course-card.reveal.is-visible:focus-within {
|
||||
transform: translateY(-6px);
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
||||
.course-details .details-related__empty {
|
||||
padding: 28px;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.18);
|
||||
border-radius: 16px;
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.course-details .details-related__empty .btn {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
404
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.course-details .details-missing {
|
||||
padding: calc(var(--header-h) + 80px) 0 100px;
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.course-details .details-missing__inner {
|
||||
max-width: 620px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.course-details .details-missing__inner .eyebrow::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.course-details .details-missing__title {
|
||||
margin: 14px 0 16px;
|
||||
font-size: clamp(28px, 4vw, 40px);
|
||||
}
|
||||
|
||||
.course-details .details-missing__inner .section__lead {
|
||||
max-width: 520px;
|
||||
margin: 0 auto 26px;
|
||||
color: var(--text-muted);
|
||||
font-size: 15px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Responsive
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.course-details .details-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.course-details .details-audience__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.course-details .course-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.course-details .details-meta {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.course-details .details-learn__list {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.course-details .details-audience__grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.course-details .course-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Reduced motion
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.course-details *,
|
||||
.course-details *::before,
|
||||
.course-details *::after {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.course-details .course-card,
|
||||
.course-details .course-card.reveal,
|
||||
.course-details .course-card.reveal.is-visible,
|
||||
.course-details .details-learn__item.reveal,
|
||||
.course-details .details-audience__card.reveal {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.course-details .course-card:hover,
|
||||
.course-details .course-card.reveal.is-visible:hover,
|
||||
.course-details .course-card__media img,
|
||||
.course-details .details-audience__card:hover,
|
||||
.course-details .details-audience__card.reveal.is-visible:hover {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,421 @@
|
||||
/* ==========================================================================
|
||||
COURSES — SHARED LISTING PAGES
|
||||
Used by courses.php and the three category pages.
|
||||
Every rule is scoped to .courses-page so the homepage is unaffected.
|
||||
========================================================================== */
|
||||
|
||||
.courses-page {
|
||||
background-color: var(--bg-section);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Banner
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.courses-page .courses-hero {
|
||||
padding: calc(var(--header-h) - 35px) 0 46px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background-color: #0D0D0D;
|
||||
}
|
||||
|
||||
.courses-page .courses-hero__content {
|
||||
max-width: 780px;
|
||||
}
|
||||
|
||||
.courses-page .eyebrow {
|
||||
gap: 8px;
|
||||
margin-bottom: 0;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.courses-page .eyebrow::before {
|
||||
width: 14px;
|
||||
height: 2px;
|
||||
border-radius: 0;
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
.courses-page .courses-hero__title {
|
||||
margin: 14px 0 12px;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: clamp(30px, 4vw, 42px);
|
||||
font-weight: 700;
|
||||
line-height: 1.12;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.courses-page .courses-hero .section__lead {
|
||||
max-width: 620px;
|
||||
margin: 0;
|
||||
color: var(--text-muted);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Breadcrumb
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.courses-page .breadcrumb {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__item + .breadcrumb__item::before {
|
||||
content: "/";
|
||||
color: rgba(255, 255, 255, 0.28);
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__item a {
|
||||
color: rgba(255, 255, 255, 0.72);
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__item a:hover {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.courses-page .breadcrumb__item[aria-current="page"] {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Filters and grid
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.courses-page .courses-body {
|
||||
padding: 48px 0 72px;
|
||||
background-color: var(--bg-section);
|
||||
}
|
||||
|
||||
.courses-page .course-filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
margin: 0 0 36px;
|
||||
}
|
||||
|
||||
.courses-page .filter-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 8px 18px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background-color: var(--pill-bg);
|
||||
color: var(--pill-text);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.02em;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
|
||||
transition: transform 0.3s ease,
|
||||
background-color 0.3s ease,
|
||||
color 0.3s ease,
|
||||
box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.courses-page .filter-pill:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.courses-page .filter-pill.is-active {
|
||||
background-color: var(--red);
|
||||
color: var(--white);
|
||||
box-shadow: 0 6px 16px rgba(189, 37, 42, 0.4);
|
||||
}
|
||||
|
||||
.courses-page .filter-pill:focus-visible {
|
||||
outline: 2px solid var(--white);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.courses-page .course-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.courses-page .course-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: 18px;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
||||
transition: transform 0.3s ease,
|
||||
box-shadow 0.3s ease,
|
||||
opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.courses-page .course-card:hover,
|
||||
.courses-page .course-card:focus-within {
|
||||
border: 0;
|
||||
transform: translateY(-6px);
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
|
||||
.courses-page .course-card__media {
|
||||
flex: none;
|
||||
aspect-ratio: 4 / 2.8;
|
||||
overflow: hidden;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.courses-page .course-card__media img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.courses-page .course-card:hover .course-card__media img,
|
||||
.courses-page .course-card:focus-within .course-card__media img {
|
||||
transform: scale(1.06);
|
||||
}
|
||||
|
||||
.courses-page .course-card__body {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
padding: 14px 16px 16px;
|
||||
background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
|
||||
}
|
||||
|
||||
.courses-page .course-card__tag {
|
||||
margin-bottom: 8px;
|
||||
color: var(--red);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.courses-page .course-card__title {
|
||||
flex: 0 1 auto;
|
||||
margin: 0 0 auto;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.courses-page .course-card__link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
align-self: flex-end;
|
||||
gap: 4px;
|
||||
margin-top: 14px;
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.courses-page .course-card__link .icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.courses-page .course-card__link:hover {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.courses-page .course-card__link:hover .icon {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.courses-page .course-card:focus-within {
|
||||
outline: 2px solid var(--white);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
/* Staggered reveal reusing the .reveal observer from main.js */
|
||||
.courses-page .course-card.reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(24px);
|
||||
transition: opacity 0.6s ease,
|
||||
transform 0.6s ease,
|
||||
box-shadow 0.3s ease;
|
||||
transition-delay: calc(var(--i, 0) * 0.08s);
|
||||
}
|
||||
|
||||
.courses-page .course-card.reveal.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.courses-page .course-card.reveal.is-visible:hover,
|
||||
.courses-page .course-card.reveal.is-visible:focus-within {
|
||||
transform: translateY(-6px);
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Empty state
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.courses-page .courses-empty {
|
||||
max-width: 540px;
|
||||
margin: 0 auto;
|
||||
padding: 42px 28px;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px;
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.courses-page .courses-empty__title {
|
||||
margin: 0 0 10px;
|
||||
color: var(--white);
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.courses-page .courses-empty__text {
|
||||
margin: 0 0 22px;
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.courses-page .btn--primary {
|
||||
background-color: var(--red);
|
||||
box-shadow: 0 10px 26px rgba(189, 37, 42, 0.28);
|
||||
}
|
||||
|
||||
.courses-page .btn--primary:hover {
|
||||
background-color: #9F1F24;
|
||||
box-shadow: 0 14px 30px rgba(189, 37, 42, 0.36);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
CTA strip
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
.courses-page .courses-cta {
|
||||
padding: 56px 0;
|
||||
background-image: linear-gradient(125deg, #0D0D0D 0%, var(--red) 100%);
|
||||
}
|
||||
|
||||
.courses-page .courses-cta__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.courses-page .courses-cta__title {
|
||||
color: var(--white);
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: clamp(24px, 3vw, 34px);
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.courses-page .courses-cta__text {
|
||||
margin-top: 8px;
|
||||
color: rgba(255, 255, 255, 0.82);
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.courses-page .courses-cta__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex: none;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.courses-page .courses-cta .btn:focus-visible {
|
||||
outline-color: var(--white);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Responsive
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.courses-page .course-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.courses-page .courses-cta__inner {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.courses-page .course-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
Reduced motion
|
||||
-------------------------------------------------------------------------- */
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.courses-page *,
|
||||
.courses-page *::before,
|
||||
.courses-page *::after {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.courses-page .course-card,
|
||||
.courses-page .course-card.reveal,
|
||||
.courses-page .course-card.reveal.is-visible {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.courses-page .course-card:hover,
|
||||
.courses-page .course-card.reveal.is-visible:hover,
|
||||
.courses-page .course-card__media img,
|
||||
.courses-page .filter-pill:hover {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user