@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

[class*=grid-].small-grid, [class*=grid_].small-grid, [class~=grid].small-grid {
    margin: 0 -14px;
}

.small-grid [class*=col-], .small-grid [class*=col_], .small-grid [class~=col] {
    padding: 0 14px;
}

.container-mini, .container-md {
    width: 100%;
    max-width: 694px;
    padding: 0 20px;
    margin: 0 auto;
}

.container-large {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto;
}

.container-md {
    max-width: 1064px;
}

.new-section {
    color: #404040;
    font-family: 'Source Sans 3';
    font-size: 17px;
    line-height: 30px;
    padding-top: 80px;
    padding-bottom: 60px;
}

.new-section .news-section-sub {
    margin-bottom: 160px;
}

.new-section.bg-color {
    background: #F0F0F0;
}

.new-section.bg-color-2 {
    background: #F7F9FC;
}

.new-txt-1 {
    color: #202020;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.page-title-content, .section-title-content {
    margin-bottom: 30px;
}

.page-title-content .page-title, .section-title-content .section-title {
    color: #009;
    font-family: "Source Sans 3";
    font-size: 30px;
    font-weight: 700;
    line-height: 45px;
    text-transform: initial;
    margin-bottom: 0;
}

.page-title-content .page-subtitle, .section-title-content .section-subtitle {
    color: #1B7011;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 600;
    line-height: 22.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title-content .section-title-txt {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30.6px;
    padding-top: 6px;
}

.content-box-post {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #E8ECF3;
    background: #FFF;
    color: #404040;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
    margin-bottom: 28px;
}

.content-box-post img {
    object-fit: cover;
    aspect-ratio: 500/280;
    margin-bottom: 0;
}

.content-box-post .content-box-post-name {
    color: #009;
    font-family: Poppins;
    font-size: 17px;
    font-weight: 700;
    line-height: 23.8px;
    margin-bottom: 7px;
}

.content-box-post .content-box-post-name a {
    color: #009;
}

.content-box-post .entry {
    padding: 20px 20px 1px 20px;
}

.new-box-1 {
    position: relative;
    border-radius: 14px;
    background-color: #f7f9fc;
    border: 1px solid rgba(27, 112, 17, 0.1);
    padding: 20px;
}

body.home .home-course-included-section + .new-section.new-txt-1 {
    display: none;
}

.home-course-included-section {
    padding: 110px 0 96px;
    background: #000099;
    color: #ffffff;
}

.home-course-included-head {
    max-width: 680px;
    margin: 0 auto 56px;
}

.home-course-included-section .container-medium {
    max-width: 1300px;
}

.home-course-included-subtitle {
    margin: 0 0 18px;
    color: #1ea10f;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.home-course-included-title {
    margin: 0;
    color: #ffffff;
    font-family: Poppins;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.home-course-included-title span {
    color: #ffe500;
}

.home-course-included-text {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.7;
}

.home-course-included-divider {
    width: 80px;
    height: 5px;
    margin: 26px auto 0;
    border-radius: 999px;
    background: #1ea10f;
}

.home-course-included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-course-included-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 138px;
    padding: 26px 22px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.home-course-included-card strong {
    display: block;
    color: #ffffff;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-course-included-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.45;
}

.home-course-included-card--accent {
    background: #1c850f;
}

.home-course-included-card--accent span {
    color: rgba(255, 255, 255, 0.88);
}

.subject-carousel-section {
    padding-bottom: 0;
}

.home-about-module {
    color: #202020;
}

.home-about-module-head {
    max-width: 920px;
    margin: 0 auto 42px;
}

.home-about-module-subtitle {
    margin: 0 0 16px;
    color: #1B7011;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.home-about-module-title,
.home-about-module-title-accent {
    margin: 0;
    font-family: Poppins;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.08;
}

.home-about-module-title {
    color: #000099;
}

.home-about-module-title-accent {
    margin-top: 2px;
    color: #1B7011;
}

.home-about-module-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
    gap: 70px;
    align-items: start;
}

.home-about-module-text {
    color: #1f1f1f;
    font-size: 21px;
    line-height: 1.75;
}

.home-about-module-text p {
    margin-bottom: 0;
}

.home-about-module-text strong {
    color: #000099;
    font-weight: 700;
}

.home-about-module-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--yellow);
    color: #ffffff;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.home-about-module-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.home-about-module-box {
    padding: 34px 34px 30px;
    border: 1px solid #dfe5f2;
    border-radius: 20px;
    background: #f8faff;
}

.home-about-module-box-title {
    margin: 0 0 22px;
    color: #000099;
    font-family: Poppins;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.home-about-module-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-about-module-list li {
    position: relative;
    margin-bottom: 18px;
    padding-left: 34px;
    color: #202020;
    font-size: 18px;
    line-height: 1.45;
}

.home-about-module-list li:last-child {
    margin-bottom: 0;
}

.home-about-module-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: url("http://um.mateoprojekty.ovh/wp-content/uploads/2026/04/Icon_ok.svg") center / contain no-repeat;
}

.home-benefits-module-wrap + .news-section-sub {
    display: none;
}

.home-comments-module {
    margin-top: 8px;
}

.home-comments-module-hero {
    position: relative;
    min-height: 320px;
    padding: 54px 48px 108px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(32, 32, 32, 0.55) 0%, rgba(32, 32, 32, 0.2) 38%, rgba(32, 32, 32, 0.04) 100%), #d9dde4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-comments-module-media {
    position: absolute;
    inset: 0;
}

.home-comments-module-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-comments-module-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.52) 0%, rgba(20, 20, 20, 0.2) 42%, rgba(20, 20, 20, 0) 82%);
}

.home-comments-module-content {
    position: relative;
    z-index: 1;
    max-width: 360px;
    color: #ffffff;
}

.home-comments-module-title {
    margin: 0;
    color: #ffffff;
    font-family: Poppins;
    font-size: 58px;
    font-weight: 800;
    line-height: 0.94;
}

.home-comments-module-text {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.home-comments-module-button,
.home-comments-module-video-button,
.home-benefits-module-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Poppins;
    font-weight: 700;
    line-height: 1;
}

.home-comments-module-button {
    margin-top: 22px;
    padding: 16px 26px;
    background: var(--yellow);
    color: #ffffff;
    font-size: 16px;
}

.home-comments-module-button svg,
.home-comments-module-video-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.home-comments-module-video-card {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    width: min(100%, 760px);
    margin: -68px auto 0;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 48px rgba(0, 0, 80, 0.14);
    backdrop-filter: blur(10px);
}

.home-comments-module-video {
    overflow: hidden;
    border-radius: 16px;
    background: #d7deea;
}

.home-comments-module-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-comments-module-video-text {
    margin: 0;
    color: #000099;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.home-comments-module-video-button {
    margin-top: 18px;
    padding: 12px 20px;
    background: rgba(216, 163, 0, 0.94);
    color: #202020;
    font-size: 13px;
}

.home-benefits-module {
    color: #202020;
}

.home-benefits-module-head {
    margin-bottom: 34px;
}

.home-benefits-module-title {
    margin: 0;
    color: #000099;
    font-family: Poppins;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.14;
}

.home-benefits-module-divider {
    width: 78px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: #1B7011;
}

.home-benefits-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-benefits-module-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 144px;
    padding: 22px 20px;
    border: 1px solid #dfe5f2;
    border-radius: 18px;
    background: #f8faff;
}

.home-benefits-module-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1B7011;
    flex: 0 0 40px;
}

.home-benefits-module-card-icon img,
.home-benefits-module-card-icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

.home-benefits-module-card-text {
    color: #202020;
    font-size: 18px;
    line-height: 1.45;
}

.home-benefits-module-action {
    margin-top: 34px;
}

.home-benefits-module-wrap {
    margin-bottom: 50px;
}

.home-benefits-module-button {
    min-height: 54px;
    padding: 16px 32px;
    background: #1B7011;
    color: #ffffff;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(27, 112, 17, 0.18);
}

.subject-page-wraper .page-title-content.text-center:first-child {
    display: none;
}

.subject-page-hero {
    margin-bottom: 42px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.subject-page-hero-title {
    margin: 0;
    color: #ffffff;
    font-family: Poppins;
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subject-page-hero-title-type {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.subject-page-hero-band {
    background: var(--color-subject, #1560f2);
    padding: 56px 20px 54px;
}

.subject-page-hero-band-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.subject-page-hero-label {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subject-page-hero-level-name {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Poppins;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.subject-page-hero-features-wrap {
    background: #f2f2f2;
    padding: 44px 20px 48px;
}

.subject-page-hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.subject-page-hero-feature {
    text-align: center;
}

.subject-page-hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #1560f2;
    box-shadow: 0 8px 20px rgba(0, 20, 90, 0.08);
}

.subject-page-hero-feature-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.subject-page-hero-feature-title {
    margin: 0 0 10px;
    color: #000099;
    font-family: Poppins;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.subject-page-hero-feature-text {
    max-width: 320px;
    margin: 0 auto;
    color: #4c4c4c;
    font-size: 17px;
    line-height: 1.45;
}

.subject-page-overview {
    margin-bottom: 34px;
}

.subject-page-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 424px);
    gap: 42px;
    align-items: start;
}

.subject-page-overview-content {
    color: #202020;
    font-size: 23px;
    line-height: 1.7;
}

.subject-page-overview-content p {
    margin-bottom: 22px;
}

.subject-page-overview-content p:last-child {
    margin-bottom: 0;
}

.subject-page-overview-content strong {
    color: #1c1c1c;
    font-weight: 700;
}

.subject-page-overview-box {
    padding: 30px 30px 22px;
    border: 2px solid #1560f2;
    border-radius: 20px;
    background: #ffffff;
}

.subject-page-overview-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 22px;
}

.subject-page-overview-item:last-child {
    margin-bottom: 0;
}

.subject-page-overview-item-icon {
    color: #1560f2;
}

.subject-page-overview-item-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.subject-page-overview-item-copy p {
    margin: 0;
}

.subject-page-overview-item-label {
    color: #6a6a6a;
    font-size: 16px;
    line-height: 1.35;
}

.subject-page-overview-item-value {
    margin-top: 4px !important;
    color: #1a1a1a;
    font-family: Poppins;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.subject-page-overview-item-text {
    margin-top: 4px !important;
    color: #424242;
    font-size: 16px;
    line-height: 1.45;
}

.subject-page-benefits {
    margin: 36px 0 42px;
    padding: 54px 0 56px;
    background: #f2f2f2;
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

.subject-page-benefits-inner {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.subject-page-benefits-head {
    margin-bottom: 34px;
}

.subject-page-benefits-subtitle {
    margin: 0 0 14px;
    color: #1B7011;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subject-page-benefits-title {
    margin: 0;
    color: #000099;
    font-family: Poppins;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
}

.subject-page-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.subject-page-benefits-card {
    min-height: 186px;
    padding: 24px 24px 22px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 20, 90, 0.06);
}

.subject-page-benefits-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #edf3ff;
    color: #1560f2;
}

.subject-page-benefits-card-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.subject-page-benefits-card-title {
    margin: 0 0 12px;
    color: #000099;
    font-family: Poppins;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.subject-page-benefits-card-text {
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.55;
}

.subject-page-audience {
    padding: 56px 0 60px;
}

.subject-page-audience-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.subject-page-audience-head {
    margin-bottom: 38px;
}

.subject-page-audience-subtitle {
    margin: 0 0 14px;
    color: #1B7011;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subject-page-audience-title {
    margin: 0;
    color: #000099;
    font-family: Poppins;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
}

.subject-page-audience-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.subject-page-audience-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.subject-page-audience-item:last-child {
    margin-bottom: 0;
}

.subject-page-audience-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    color: #1B7011;
}

.subject-page-audience-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.subject-page-audience-text {
    color: #222222;
    font-size: 19px;
    line-height: 1.5;
}

.subject-page-program-module {
    padding: 18px 0 54px;
}

.subject-page-program-head {
    width: min(860px, 100%);
    margin: 0 auto;
}

.subject-page-program-subtitle {
    margin: 0 0 14px;
    color: #1B7011;
    font-family: Poppins;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subject-page-program-title {
    margin: 0 0 20px;
    color: #000099;
    font-family: Poppins;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
}

.subject-page-program-text {
    color: #555555;
    font-size: 20px;
    line-height: 1.55;
}

.subject-page-program-text p {
    margin-bottom: 0;
}

footer .footer {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    padding-top: 48px;
    padding-bottom: 100px;
    background: #009;
}

footer .footer .copy {
    color: rgba(255, 255, 255, 0.50);
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* --- HOME COURSE TYPES --- */

.home-course-types-section {
    padding-top: 70px;
    padding-bottom: 180px;
}

.home-course-types-section--mini {
    padding-top: 24px;
    padding-bottom: 128px;
}

.home-course-types-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 450px));
    justify-content: center;
    gap: 32px;
    align-items: start;
}

.home-course-type {
    height: 100%;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

body.post-type-archive-kurs .wybierak-mini .container-medium {
    width: 100%;
    max-width: none;
    padding-left: 10px;
    padding-right: 10px;
}

body.post-type-archive-kurs .wybierak-mini .home-course-type {
    max-width: 450px;
}

body.post-type-archive-kurs .wybierak-mini {
    margin-left: -15px;
    margin-right: -15px;
}

.home-course-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 500px;
    padding: 42px 30px 34px;
    border-radius: 30px;
    border: 1.5px solid var(--home-course-color, #1B7011);
    background: #FFFFFF;
    overflow: visible;
}

.home-course-type-card::before {
    display: none;
}

.home-course-type-head {
    position: relative;
    padding-top: 8px;
    margin-bottom: 40px;
}

.home-course-type-labels {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    margin: 0;
    min-height: 0;
}

.home-course-type-label,
.home-course-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 16px;
    border-radius: 999px;
    font-family: Poppins;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-course-type-label {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    background: var(--home-course-color, #1B7011);
    z-index: 3;
}

.home-course-type-badge {
    position: absolute;
    top: 38px;
    right: 10px;
    color: #fff;
    background: #EB423A;
    gap: 7px;
    z-index: 2;
}

.home-course-type-badge::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.home-course-type-title {
    color: var(--home-course-color, #1B7011);
    font-family: "Source Sans 3";
    font-size: 34px;
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 12px;
}

.home-course-type-intro {
    color: #575757;
    font-family: Poppins;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;
}

.home-course-type-prices {
    margin-bottom: 28px;
}

.home-course-type-price-item {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.home-course-type-price-item .label {
    display: block;
    margin: 0;
    font-family: Poppins;
}

.home-course-type-price-regular-row,
.home-course-type-price-current-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.home-course-type-price-regular-row {
    gap: 8px;
    margin-bottom: 2px;
}

.home-course-type-price-current-row {
    gap: 10px;
}

.home-course-type-price-regular {
    position: relative;
    display: inline-block;
    width: auto;
    margin: 0;
    color: #8F8F8F;
    font-family: "Source Sans 3";
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.home-course-type-price-regular::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 2px;
    background: #D45555;
    transform: rotate(-9deg);
    transform-origin: center;
}

.home-course-type-price-regular-note,
.home-course-type-price-current-note {
    display: block;
    width: 100%;
    color: #8F8F8F;
    font-family: Poppins;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: none;
}

.home-course-type-price-regular-note {
    display: inline-block;
    width: auto;
    margin: 0 0 1px;
}

.home-course-type-price-current-note {
    margin: -8px 0 0;
}

.home-course-type-price-item strong {
    display: block;
    font-family: "Source Sans 3";
    font-weight: 800;
    line-height: 1;
}

.home-course-type-price-item:first-child {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    text-align: left;
}

.home-course-type-price-item:first-child strong {
    color: #202020;
    font-size: 32px;
    letter-spacing: -0.02em;
}

.home-course-type-price-item:first-child .label {
    color: #3F3F3F;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    padding-bottom: 4px;
    padding-left: 10px;
}

.home-course-type-price-item:first-child .label::before {
    content: "/ ";
}

.home-course-type-price-item:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid #D7D7D7;
}

.home-course-type-price-item:last-child {
    border-bottom: 1px solid #D7D7D7;
}

.home-course-type-price-item:not(:first-child) strong {
    color: #8F8F8F;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.1;
}

.home-course-type-price-item:not(:first-child) .label {
    color: #8F8F8F;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-align: right;
}

.home-course-type-price-item:not(:first-child) .label::before {
    content: "/ ";
}

.home-course-type-main {
    margin-bottom: 10px;
}

.home-course-types-section--mini .home-course-type-main {
    display: none;
}

.home-course-types-section--mini .home-course-type.is-open .home-course-type-main {
    display: block;
    margin-top: 14px;
}

.home-course-type-section-title {
    color: var(--home-course-color, #1B7011);
    font-family: Poppins;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.home-course-type-section-text,
.home-course-type-accordion-content,
.home-course-type-stats-summary {
    color: #2E2E2E;
    font-family: "Source Sans 3";
    font-size: 15px;
    line-height: 1.72;
}

.home-course-type-section-text {
    margin-bottom: 16px;
}

.home-course-type-section-text p:last-child,
.home-course-type-accordion-content p:last-child {
    margin-bottom: 0;
}

.home-course-type-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: grid;
    gap: 9px;
}

.home-course-type-bullets li {
    position: relative;
    padding-left: 18px;
    color: #2E2E2E;
    font-family: "Source Sans 3";
    font-size: 15px;
    line-height: 1.55;
}

.home-course-type-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-course-color, #1B7011);
}

.home-course-type-expanded {
    display: none;
    padding-top: 16px;
    margin-top: 8px;
}

.home-course-type.is-open .home-course-type-expanded {
    display: block;
}

.home-course-type-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 10px;
}

.home-course-type-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #D7D7D7;
    background: transparent;
    border-radius: 0;
}

.home-course-type-stat strong {
    color: #202020;
    font-family: Poppins;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    min-width: 46px;
}

.home-course-type-stat span {
    color: #4E4E4E;
    font-family: "Source Sans 3";
    font-size: 16px;
    line-height: 1.4;
}

.home-course-type-stats-summary {
    color: var(--home-course-color, #1B7011);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 14px 0 34px;
}

.home-course-type-accordion-list {
    border-top: 0px solid #D7D7D7;
}

.home-course-type-accordion {
    border-bottom: 1px solid #D7D7D7;
}

.home-course-type-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #0009A3;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
}

.home-course-type-accordion-button .icon {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.home-course-type-accordion-button .icon::before,
.home-course-type-accordion-button .icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--home-course-color, #1B7011);
    transform: translate(-50%, -50%);
    transition: .25s all;
}

.home-course-type-accordion-button .icon::before {
    width: 14px;
    height: 2px;
}

.home-course-type-accordion-button .icon::after {
    width: 2px;
    height: 14px;
}

.home-course-type-accordion.active .home-course-type-accordion-button .icon::after {
    opacity: 0;
}

.home-course-type-accordion-content {
    padding: 0 0 16px;
}

.home-course-type-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 30px;
}

.home-course-types-section--mini .home-course-type-card {
    padding: 36px 30px 26px;
    border-radius: 26px;
}

.home-course-types-section--mini .home-course-type-head {
    margin-bottom: 28px;
}

.home-course-types-section--mini .home-course-type-title {
    font-size: 30px;
    margin-bottom: 10px;
}

.home-course-types-section--mini .home-course-type-intro {
    font-size: 13px;
    line-height: 1.45;
}

.home-course-types-section--mini .home-course-type-prices {
    margin-bottom: 12px;
}

.home-course-types-section--mini .home-course-type-price-item:first-child {
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.home-course-types-section--mini .home-course-type-price-item:first-child strong {
    font-size: 30px;
}

.home-course-types-section--mini .home-course-type-actions {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 30px;
}

.home-course-types-section--mini .home-course-type-choose {
    display: inline-flex;
}

.home-course-type-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 28px;
    border: 2px solid #12AF12;
    border-radius: 999px;
    background: transparent;
    color: #12AF12;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: .3s all;
}

.home-course-type.is-open .home-course-type-toggle {
    background: #12AF12;
    color: #fff;
    border-color: #12AF12;
}

.home-course-type-toggle::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: .3s all;
}

.home-course-type.is-open .home-course-type-toggle::after {
    transform: rotate(-135deg) translateX(-2px);
}

.home-course-type-toggle:hover {
    opacity: .92;
    transform: translateY(-2px);
}

.home-course-type:not(.is-open) .home-course-type-toggle:hover {
    background: rgba(18, 175, 18, 0.08);
    border-color: #12AF12;
    color: #12AF12;
}

.home-course-type-choose {
    position: absolute;
    left: 50%;
    bottom: -135px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: var(--home-course-color, #1B7011) !important;
    color: #fff;
    box-shadow: 0 0 0 6px #ffffff;
    transition: .3s all;
}

.home-course-type-choose span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 77px;
    height: 77px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--home-course-color, #1B7011);
    font-family: Poppins;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    padding: 8px;
    transition: .3s all;
}

.home-course-type-choose:hover {
    transform: translateX(-50%) translateY(-4px);
}

.home-course-type-choose:hover span {
    width: 104px;
    height: 104px;
    background: var(--home-course-color, #1B7011);
    color: #ffffff;
    border: 12px solid #ffffff;
}

.subject-slider-item-level p {
    font-size: 13px;
}

@media (max-width: 1439px) {
    .subject-page-hero-title {
        font-size: 52px;
    }

    .subject-page-hero-title-type {
        font-size: 20px;
    }

    .subject-page-hero-features {
        gap: 24px;
    }

    .subject-page-overview-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .subject-page-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subject-page-audience-inner {
        width: min(980px, 100%);
    }

    .subject-page-audience-text {
        font-size: 17px;
    }

    .subject-page-program-head {
        width: min(760px, 100%);
    }

    .subject-page-program-text {
        font-size: 18px;
    }

    .home-comments-module-title {
        font-size: 48px;
    }

    .home-comments-module-video-card {
        width: min(100%, 680px);
    }

    .home-benefits-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about-module-title,
    .home-about-module-title-accent {
        font-size: 32px;
    }

    .home-about-module-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
        gap: 40px;
    }

    .home-about-module-text {
        font-size: 19px;
    }

    .home-course-included-title {
        font-size: 38px;
    }

    .home-course-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-course-types-section {
        padding-top: 64px;
        padding-bottom: 150px;
    }

    .home-course-types-section--mini {
        padding-top: 18px;
        padding-bottom: 118px;
    }

    .home-course-types-grid {
        grid-template-columns: repeat(2, minmax(300px, 430px));
        justify-content: center;
        gap: 24px;
    }

    .home-course-type {
        max-width: 430px;
    }

    .home-course-type-card {
        padding: 38px 24px 30px;
        border-radius: 26px;
    }

    .home-course-types-section--mini .home-course-type-card {
        padding: 34px 24px 24px;
    }

    .home-course-type-head {
        padding-top: 6px;
        margin-bottom: 32px;
    }

    .home-course-type-labels {
        top: -54px;
    }

    .home-course-type-label,
    .home-course-type-badge {
        min-height: 30px;
        padding: 5px 14px;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .home-course-type-label {
        top: 15px;
    }

    .home-course-type-badge {
        top: 34px;
        right: 8px;
        gap: 6px;
    }

    .home-course-type-badge::before {
        width: 6px;
        height: 6px;
    }

    .home-course-type-title {
        font-size: 30px;
        line-height: 1;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .home-course-type-intro {
        font-size: 14px;
        line-height: 1.5;
    }

    .home-course-type-prices {
        margin-bottom: 24px;
    }

    .home-course-type-price-item:first-child {
        gap: 8px;
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .home-course-type-price-regular {
        font-size: 18px;
    }

    .home-course-type-price-regular-note,
    .home-course-type-price-current-note {
        font-size: 10px;
    }

    .home-course-type-price-item:first-child strong {
        font-size: 30px;
    }

    .home-course-type-price-item:first-child .label {
        font-size: 14px;
        padding-left: 8px;
        padding-bottom: 3px;
    }

    .home-course-type-price-item:not(:first-child) {
        gap: 12px;
        padding: 9px 0;
    }

    .home-course-type-price-item:not(:first-child) strong {
        font-size: 16px;
    }

    .home-course-type-price-item:not(:first-child) .label {
        font-size: 14px;
    }

    .home-course-type-main {
        margin-bottom: 8px;
    }

    .home-course-type-section-title {
        font-size: 16px;
        letter-spacing: 1.4px;
        margin-bottom: 14px;
    }

    .home-course-type-section-text,
    .home-course-type-bullets li,
    .home-course-type-accordion-content,
    .home-course-type-stats-summary {
        font-size: 14px;
        line-height: 1.6;
    }

    .home-course-type-section-text {
        margin-bottom: 14px;
    }

    .home-course-type-bullets {
        gap: 8px;
    }

    .home-course-type-bullets li {
        padding-left: 16px;
    }

    .home-course-type-bullets li::before {
        width: 6px;
        height: 6px;
        top: 8px;
    }

    .home-course-type-expanded {
        padding-top: 14px;
        margin-top: 6px;
    }

    .home-course-type-stat {
        gap: 8px;
        padding: 7px 0;
    }

    .home-course-type-stat strong {
        font-size: 17px;
        min-width: 40px;
    }

    .home-course-type-stat span {
        font-size: 14px;
        line-height: 1.35;
    }

    .home-course-type-stats-summary {
        font-size: 15px;
        margin: 12px 0 16px;
    }

    .home-course-type-accordion-button {
        gap: 14px;
        padding: 14px 0;
        font-size: 14px;
        letter-spacing: 0.8px;
    }

    .home-course-type-accordion-button .icon {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .home-course-type-accordion-button .icon::before {
        width: 12px;
    }

    .home-course-type-accordion-button .icon::after {
        height: 12px;
    }

    .home-course-type-accordion-content {
        padding: 0 0 14px;
    }

    .home-course-type-actions {
        gap: 16px;
        padding-top: 20px;
        padding-bottom: 94px;
    }

    .home-course-types-section--mini .home-course-type-card {
        padding: 32px 22px 22px;
    }

    .home-course-types-section--mini .home-course-type-actions {
        padding-top: 16px;
        padding-bottom: 30px;
    }

    .home-course-type-toggle {
        min-height: 44px;
        padding: 11px 20px;
        font-size: 14px;
        gap: 8px;
    }

    .home-course-type-toggle::after {
        width: 8px;
        height: 8px;
    }

    .home-course-type-choose {
        width: 104px;
        height: 104px;
        bottom: -110px;
    }

    .home-course-type-choose span {
        width: 66px;
        height: 66px;
        font-size: 10px;
        padding: 6px;
    }

    .home-course-type-choose:hover span {
        width: 82px;
        height: 82px;
        border-width: 8px;
    }
}

@media (max-width: 1024px) {
    .home-course-types-section {
        padding-top: 56px;
        padding-bottom: 108px;
    }

    .home-course-types-section--mini {
        padding-top: 14px;
        padding-bottom: 108px;
    }

    .home-course-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .home-course-type {
        max-width: 100%;
    }

    .home-course-type-card {
        padding: 32px 18px 24px;
        border-radius: 22px;
    }

    .home-course-types-section--mini .home-course-type-card {
        padding: 30px 18px 18px;
        border-radius: 16px;
    }

    .home-course-type-head {
        margin-bottom: 26px;
    }

    .home-course-type-labels {
        top: -48px;
    }

    .home-course-type-label,
    .home-course-type-badge {
        min-height: 26px;
        padding: 5px 10px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .home-course-type-label {
        top: 15px;
    }

    .home-course-type-badge {
        top: 28px;
        right: 6px;
        gap: 5px;
    }

    .home-course-type-badge::before {
        width: 5px;
        height: 5px;
    }

    .home-course-type-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .home-course-types-section--mini .home-course-type-title {
        font-size: 21px;
    }

    .home-course-type-intro {
        font-size: 13px;
        line-height: 1.45;
    }

    .home-course-type-prices {
        margin-bottom: 20px;
    }

    .home-course-type-price-item:first-child {
        gap: 6px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .home-course-type-price-regular {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .home-course-type-price-regular-note,
    .home-course-type-price-current-note {
        font-size: 9px;
    }

    .home-course-type-price-item:first-child strong {
        font-size: 27px;
    }

    .home-course-type-price-item:first-child .label,
    .home-course-type-price-item:not(:first-child) .label {
        font-size: 12px;
    }

    .home-course-type-price-item:not(:first-child) {
        padding: 8px 0;
        gap: 10px;
    }

    .home-course-type-price-item:not(:first-child) strong {
        font-size: 15px;
    }

    .home-course-type-section-title {
        font-size: 15px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .home-course-type-section-text,
    .home-course-type-bullets li,
    .home-course-type-accordion-button,
    .home-course-type-accordion-content,
    .home-course-type-stats-summary {
        font-size: 13px;
        line-height: 1.55;
    }

    .home-course-type-section-text {
        margin-bottom: 12px;
    }

    .home-course-type-bullets {
        gap: 7px;
    }

    .home-course-type-bullets li {
        padding-left: 14px;
    }

    .home-course-type-bullets li::before {
        width: 5px;
        height: 5px;
        top: 8px;
    }

    .home-course-type-expanded {
        padding-top: 12px;
    }

    .home-course-type-stat {
        gap: 8px;
        padding: 7px 0;
    }

    .home-course-type-stat strong {
        font-size: 15px;
        min-width: 34px;
    }

    .home-course-type-stat span {
        font-size: 12px;
    }

    .home-course-type-stats-summary {
        font-size: 13px;
        margin: 10px 0 14px;
    }

    .home-course-type-accordion-button {
        padding: 12px 0;
        letter-spacing: 0.5px;
        gap: 10px;
    }

    .home-course-type-accordion-button .icon {
        width: 10px;
        height: 10px;
        flex: 0 0 10px;
    }

    .home-course-type-accordion-button .icon::before {
        width: 10px;
    }

    .home-course-type-accordion-button .icon::after {
        height: 10px;
    }

    .home-course-type-accordion-content {
        padding-bottom: 12px;
    }

    .home-course-type-actions {
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 78px;
    }

    .home-course-types-section--mini .home-course-type-actions {
        padding-bottom: 24px;
    }

    .home-course-type-toggle {
        min-height: 38px;
        padding: 9px 14px;
        font-size: 11px;
        gap: 7px;
    }

    .home-course-type-toggle::after {
        width: 7px;
        height: 7px;
    }

    .home-course-type-choose {
        width: 86px;
        height: 86px;
        bottom: -90px;
    }

    .home-course-type-choose span {
        width: 54px;
        height: 54px;
        font-size: 8px;
        padding: 5px;
    }

    .home-course-type-choose:hover span {
        width: 66px;
        height: 66px;
        border-width: 7px;
    }
}

@media (max-width: 767px) {
    .home-course-types-section {
        padding-top: 48px;
        padding-bottom: 70px;
    }

    .home-course-types-section--mini {
        padding-top: 12px;
        padding-bottom: 88px;
    }

    .home-course-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-course-type {
        max-width: 100%;
    }

    .home-course-type-card {
        padding: 28px 10px 20px;
        border-radius: 16px;
    }

    .home-course-types-section--mini .home-course-type-card {
        padding: 26px 10px 16px;
    }

    .home-course-types-section--mini .home-course-type-main {
        margin-top: 12px;
    }

    .home-course-types-section--mini .home-course-type-prices {
        margin-bottom: 10px;
    }

    .home-course-type-head {
        margin-bottom: 22px;
    }

    .home-course-type-labels {
        top: -42px;
    }

    .home-course-type-label,
    .home-course-type-badge {
        min-height: 22px;
        padding: 4px 7px;
        font-size: 7px;
        letter-spacing: 0.7px;
    }

    .home-course-type-label {
        top: 15px;
    }

    .home-course-type-badge {
        top: 28px;
        right: 4px;
        gap: 4px;
    }

    .home-course-type-badge::before {
        width: 4px;
        height: 4px;
    }

    .home-course-type-title {
        font-size: 21px;
        line-height: 1.02;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .home-course-type-intro {
        font-size: 11px;
        line-height: 1.4;
    }

    .home-course-type-prices {
        margin-bottom: 16px;
    }

    .home-course-type-price-item:first-child {
        gap: 5px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .home-course-type-price-regular {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .home-course-type-price-regular-note,
    .home-course-type-price-current-note {
        font-size: 8px;
    }

    .home-course-type-price-item:first-child strong {
        font-size: 24px;
    }

    .home-course-type-price-item:first-child .label {
        font-size: 8px;
        padding-left: 4px;
        padding-bottom: 2px;
    }

    .home-course-type-price-item:not(:first-child) {
        padding: 6px 0;
        gap: 8px;
    }

    .home-course-type-price-item:not(:first-child) strong,
    .home-course-type-price-item:not(:first-child) .label {
        font-size: 10px;
        line-height: 1.25;
    }

    .home-course-type-section-title {
        font-size: 12px;
        letter-spacing: 0.7px;
        margin-bottom: 8px;
    }

    .home-course-type-section-text {
        margin-bottom: 10px;
    }

    .home-course-type-section-text,
    .home-course-type-bullets li,
    .home-course-type-accordion-button,
    .home-course-type-accordion-content,
    .home-course-type-stats-summary {
        font-size: 10px;
        line-height: 1.45;
    }

    .home-course-type-bullets {
        gap: 5px;
    }

    .home-course-type-bullets li {
        padding-left: 12px;
    }

    .home-course-type-bullets li::before {
        width: 4px;
        height: 4px;
        top: 6px;
    }

    .home-course-type-expanded {
        padding-top: 10px;
    }

    .home-course-type-stat {
        gap: 6px;
        padding: 6px 0;
    }

    .home-course-type-stat strong {
        font-size: 10px;
        min-width: 24px;
    }

    .home-course-type-stat span {
        font-size: 9px;
        line-height: 1.35;
    }

    .home-course-type-stats-summary {
        font-size: 10px;
        margin: 8px 0 10px;
    }

    .home-course-type-accordion-button {
        padding: 9px 0;
        letter-spacing: 0.2px;
        gap: 8px;
    }

    .home-course-type-accordion-button .icon {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
    }

    .home-course-type-accordion-button .icon::before {
        width: 9px;
        height: 2px;
    }

    .home-course-type-accordion-button .icon::after {
        width: 2px;
        height: 9px;
    }

    .home-course-type-accordion-content {
        padding-bottom: 10px;
    }

    .home-course-type-actions {
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 66px;
    }

    .home-course-type-toggle {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 9px;
        gap: 6px;
    }

    .home-course-type-toggle::after {
        width: 6px;
        height: 6px;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }

    .home-course-type-choose {
        width: 100px;
        height: 100px;
        bottom: -95px;
    }

    .home-course-type-choose span {
        width: 60px;
        height: 60px;
        padding: 4px;
		font-size: 10px;
    }

    .home-course-type-choose:hover span {
        width: 60px;
        height: 60px;
        border-width: 5px;
    }
}

/* ===== KAFELKI KURSÓW ===== */

.subject-slider-item {
    border: 1.5px solid var(--color-subject-slider);
    padding: 20px 18px 16px;
    min-height: 260px;
    position: relative;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.subject-slider-item-content {
    padding: 0 !important;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Nazwa przedmiotu — mniejsza */

.subject-slider-item-name {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-subject-slider);
    margin-bottom: 4px;
    text-transform: none;
    padding-right: 80px;
    /* miejsce na badge NA ŻYWO */
}

/* Poziom */

.subject-slider-item-level p {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-subject-slider);
    margin-bottom: 12px;
    text-transform: none;
}

/* Godziny — mniejsze i grubsze */

.subject-slider-item-date {
    margin-bottom: 4px;
}

.subject-slider-item-date-hour {
    font-size: 32px;
    font-weight: 800;
    color: #ADADAD;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.subject-slider-item-date-day {
    font-size: 16px;
    font-weight: 700;
    color: #ADADAD;
    letter-spacing: 2px;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Badge NA ŻYWO */

.subject-badge-live {
    position: absolute;
    top: 2px;
    right: 0;
    background: #EB423A;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 9px 4px 7px;
    border-radius: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.subject-badge-live::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* Przycisk koszyka */

.subject-slider-item-list-url {
    position: absolute;
    right: -50px;
    bottom: 0;
}

.subject-slider-item-list-url .simplefavorite-button,
.subject-slider-item-list-url button,
.subject-slider-item-list-url a.simplefavorite-button,
.subject-slider-item-list-url a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: #f0f0f0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
    text-decoration: none !important;
    color: transparent !important;
    font-size: 0 !important;
    /* Ikona koszyka przez CSS */
    position: relative;
    overflow: hidden;
}

/* Ikona koszyka SVG jako background */

.subject-slider-item-list-url .simplefavorite-button::after,
.subject-slider-item-list-url button::after,
.subject-slider-item-list-url a.simplefavorite-button::after,
.subject-slider-item-list-url a::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
}

.subject-slider-item-list-url svg,
.subject-slider-item-list-url img {
    max-width: 20px;
    max-height: 20px;
}

/* Sekcja info (start + miejsca) */

.subject-slider-item-info {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #ebebeb;
}

/* Ikona kalendarza przy "start" */

.subject-start-date {
    font-size: 13px;
    color: #7c7c7c;
    line-height: 1.5;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.subject-start-date::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7c7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.subject-start-date span {
    font-weight: 600;
}

/* Ikona oka/miejsca przy "ilość miejsc" */

.subject-slider-item-spots,
.subject-slider-item-info .spots,
.subject-slider-item-info p:last-child,
.subject-slider-item-info div:last-child {
    font-size: 12px;
    color: #7c7c7c;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.subject-slider-item-spots::before,
.subject-slider-item-info .spots::before,
.subject-slider-item-info p:last-child::before,
.subject-slider-item-info div:last-child::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7c7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.subject-slider-item-letter {
    display: none !important;
}

/* ===== FIX: kafelki + koszyk ===== */

.subject-slider-item,
.subject-slider-item .subject-slider-item-content,
.subject-slider-item .subject-slider-item-info {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease !important;
}

/* wyłączenie starych nakładek i żółtych efektów */

.subject-slider-item::before,
.subject-slider-item::after,
.subject-slider-item .subject-slider-item-default::before,
.subject-slider-item .subject-slider-item-default::after,
.subject-slider-item .subject-slider-item-content::before,
.subject-slider-item .subject-slider-item-content::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
}

.subject-slider-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
    min-height: 300px;
    background: #ffffff;
    border: 1.5px solid var(--color-subject-slider) !important;
    overflow: hidden;
    cursor: pointer;
}

.subject-slider-item .subject-slider-item-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto !important;
    min-height: 200px;
    padding: 18px 20px 8px 20px !important;
    overflow: visible !important;
    background: transparent !important;
    color: var(--color-subject-slider) !important;
}

.subject-slider-item .subject-slider-item-info {
    position: relative;
    z-index: 3;
    min-height: 58px;
    margin-top: auto;
    padding: 10px 20px 24px 20px !important;
    background: transparent !important;
    border-top: 1px solid rgba(0,0,0,.12);
}

.subject-slider-item .subject-slider-item-name {
    position: relative;
    z-index: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
    min-height: 2.15em;
    padding-right: 78px !important;
    margin: 8px 0 6px 0 !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    color: var(--color-subject-slider) !important;
    text-transform: lowercase !important;
}

.subject-slider-item .subject-slider-item-level {
    position: relative;
    z-index: 3;
    min-height: 24px;
    margin-bottom: 4px;
}

.subject-slider-item .subject-slider-item-level p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: var(--color-subject-slider) !important;
    text-transform: none !important;
}

.subject-slider-item .subject-slider-item-date {
    position: static !important;
    z-index: 3;
    margin: 6px 0 0 0 !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    color: inherit !important;
}

.subject-slider-item .subject-slider-item-date .subject-slider-item-date-hour {
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    font-weight: 800 !important;
    color: #a9a9a9 !important;
    transform-origin: left center;
}

.subject-slider-item .subject-slider-item-date .subject-slider-item-date-day {
    margin: 2px 0 0 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #b0b0b0 !important;
    transform-origin: left center;
}

.subject-slider-item.samodzielny .subject-slider-item-name {
    -webkit-line-clamp: 3;
    min-height: 3.2em;
    padding-right: 0 !important;
}

.subject-slider-item.samodzielny .subject-slider-item-level {
    min-height: 0;
    margin-bottom: 0;
}

.subject-slider-item.samodzielny .subject-slider-item-date {
    display: none !important;
}

.subject-badge-live {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    padding: 3px 7px 3px 6px;
    z-index: 6;
}

.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url {
    position: absolute !important;
    right: 38px !important;
    bottom: -40px !important;
    left: auto !important;
    width: 80px !important;
    height: 80px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: 5 !important;
    display: block !important;
    overflow: visible !important;
}

.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url > div,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url p {
    margin: 0 !important;
    width: 80px !important;
    height: 80px !important;
}

.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url button,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a {
    position: relative !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    background-image: url("http://um.mateoprojekty.ovh/wp-content/uploads/2026/04/CartButton.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    white-space: nowrap !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    transition: transform .2s ease, background-color .2s ease, color .2s ease !important;
}

.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button::before,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button::after,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url button::before,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url button::after,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button::before,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button::after,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a::before,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a::after,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button *,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url button *,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button *,
.subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a * {
    display: none !important;
    content: none !important;
}

.subject-slider-item:hover .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
.subject-slider-item:hover .subject-slider-item-content .subject-slider-item-list-url button,
.subject-slider-item:hover .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
.subject-slider-item:hover .subject-slider-item-content .subject-slider-item-list-url a {
    background-color: var(--color-subject-slider) !important;
    transform: scale(1.08) !important;
}

.subject-slider-item:hover .subject-slider-item-date .subject-slider-item-date-hour,
.subject-slider-item:hover .subject-slider-item-date .subject-slider-item-date-day {
    color: var(--color-subject-slider) !important;
    transform: scale(1.06) !important;
}

.subject-slider-item:hover .subject-slider-item-date {
    transform: none !important;
}

.subject-slider-item.active {
    background: var(--color-subject-slider) !important;
    border-color: var(--color-subject-slider) !important;
}

.subject-slider-item.active .subject-slider-item-content,
.subject-slider-item.active .subject-slider-item-info {
    background: transparent !important;
}

.subject-slider-item.active .subject-slider-item-name,
.subject-slider-item.active .subject-slider-item-level p,
.subject-slider-item.active .subject-slider-item-date .subject-slider-item-date-hour,
.subject-slider-item.active .subject-slider-item-date .subject-slider-item-date-day,
.subject-slider-item.active .subject-slider-item-info,
.subject-slider-item.active .subject-slider-item-info p,
.subject-slider-item.active .subject-slider-item-info span,
.subject-slider-item.active .subject-start-date,
.subject-slider-item.active .subject-slider-item-spots,
.subject-slider-item.active .subject-slider-item-info .spots,
.subject-slider-item.active .subject-slider-item-info div,
.subject-slider-item.active .subject-slider-item-info p {
    color: #fff !important;
}

.subject-slider-item.active .subject-start-date::before,
.subject-slider-item.active .subject-slider-item-spots::before,
.subject-slider-item.active .subject-slider-item-info .spots::before,
.subject-slider-item.active .subject-slider-item-info p:last-child::before,
.subject-slider-item.active .subject-slider-item-info div:last-child::before {
    filter: brightness(0) invert(1);
}

.subject-slider-item.active .subject-slider-item-info {
    border-top-color: rgba(255,255,255,.45) !important;
}

.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url {
    right: 14px !important;
    bottom: -20px !important;
    width: 128px !important;
    height: 40px !important;
	font-size: 0 !important;
 	line-height: 0 !important;
	color: transparent !important;
}

.subject-slider-item-list-url p {
    display: none !important;
}

.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url > div,
.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url p {
    width: 128px !important;
    height: 40px !important;
}

.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url > p {
    display: none !important;
}

.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url button,
.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
.subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 128px !important;
    min-width: 128px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    background-image: none !important;
    background-color: color-mix(in srgb, white 20%, var(--color-subject-slider) 80%) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    filter: none !important;
    overflow: hidden !important;
}

.subject-slider-item.active:hover .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
.subject-slider-item.active:hover .subject-slider-item-content .subject-slider-item-list-url button,
.subject-slider-item.active:hover .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
.subject-slider-item.active:hover .subject-slider-item-content .subject-slider-item-list-url a {
    transform: scale(1.04) !important;
    background-color: color-mix(in srgb, white 20%, var(--color-subject-slider) 80%) !important;
    opacity: 1 !important;
    filter: none !important;
}

.subject-slider-item.active:hover .subject-slider-item-date .subject-slider-item-date-hour,
.subject-slider-item.active:hover .subject-slider-item-date .subject-slider-item-date-day {
    color: #fff !important;
}




@media (max-width: 767px) {
    .subject-page-hero {
        margin-bottom: 28px;
    }

    .subject-page-hero-band {
        padding: 42px 18px 38px;
    }

    .subject-page-hero-title {
        font-size: 38px;
        line-height: 1.05;
        letter-spacing: 1px;
    }

    .subject-page-hero-title-type {
        margin-top: 10px;
        font-size: 18px;
    }

    .subject-page-hero-label {
        margin-bottom: 16px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .subject-page-hero-level-name {
        margin-top: 14px;
        font-size: 19px;
    }

    .subject-page-hero-features-wrap {
        padding: 28px 18px 32px;
    }

    .subject-page-hero-features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .subject-page-hero-feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }

    .subject-page-hero-feature-title {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .subject-page-hero-feature-text {
        max-width: 100%;
        font-size: 15px;
    }

    .subject-page-overview {
        margin-bottom: 26px;
    }

    .subject-page-overview-content {
        font-size: 18px;
        line-height: 1.65;
    }

    .subject-page-overview-content p {
        margin-bottom: 18px;
    }

    .subject-page-overview-box {
        padding: 22px 18px 18px;
        border-radius: 16px;
    }

    .subject-page-overview-item {
        gap: 12px;
        margin-bottom: 18px;
    }

    .subject-page-overview-item-label {
        font-size: 14px;
    }

    .subject-page-overview-item-value {
        font-size: 17px;
    }

    .subject-page-overview-item-text {
        font-size: 14px;
    }

    .subject-page-benefits {
        margin: 28px 0 32px;
        padding: 36px 0 38px;
    }

    .subject-page-benefits-inner {
        width: min(1140px, calc(100% - 32px));
    }

    .subject-page-benefits-head {
        margin-bottom: 24px;
    }

    .subject-page-benefits-subtitle {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .subject-page-benefits-title {
        font-size: 26px;
    }

    .subject-page-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .subject-page-benefits-card {
        min-height: 0;
        padding: 20px 18px 18px;
        border-radius: 16px;
    }

    .subject-page-benefits-card-icon {
        margin-bottom: 14px;
    }

    .subject-page-benefits-card-title {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .subject-page-benefits-card-text {
        font-size: 15px;
    }

    .subject-page-audience {
        padding: 38px 0 42px;
    }

    .subject-page-audience-head {
        margin-bottom: 28px;
    }

    .subject-page-audience-subtitle {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .subject-page-audience-title {
        font-size: 26px;
    }

    .subject-page-audience-item {
        gap: 12px;
        margin-bottom: 14px;
    }

    .subject-page-audience-icon {
        width: 20px;
        height: 20px;
    }

    .subject-page-audience-text {
        font-size: 16px;
        line-height: 1.45;
    }

    .subject-page-program-module {
        padding: 6px 0 38px;
    }

    .subject-page-program-subtitle {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .subject-page-program-title {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .subject-page-program-text {
        font-size: 17px;
        line-height: 1.5;
    }

    .home-comments-module-hero {
        min-height: 0;
        padding: 30px 22px 86px;
        border-radius: 18px;
    }

    .home-comments-module-title {
        font-size: 38px;
        line-height: 0.98;
    }

    .home-comments-module-text {
        margin-top: 16px;
        font-size: 16px;
    }

    .home-comments-module-button {
        margin-top: 18px;
        padding: 13px 20px;
        font-size: 14px;
    }

    .home-comments-module-video-card {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: -44px;
        padding: 16px;
        border-radius: 18px;
    }

    .home-comments-module-video-text {
        font-size: 16px;
    }

    .home-comments-module-video-button {
        margin-top: 14px;
        padding: 11px 16px;
        font-size: 12px;
    }

    .home-benefits-module-head {
        margin-bottom: 24px;
    }

    .home-benefits-module-title {
        font-size: 28px;
        line-height: 1.16;
    }

    .home-benefits-module-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-benefits-module-card {
        min-height: 0;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .home-benefits-module-card-text {
        font-size: 16px;
    }

    .home-benefits-module-action {
        margin-top: 24px;
    }

    .home-benefits-module-button {
        width: 100%;
        padding: 15px 20px;
        font-size: 14px;
    }

    .home-about-module-head {
        margin-bottom: 28px;
    }

    .home-about-module-subtitle {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .home-about-module-title,
    .home-about-module-title-accent {
        font-size: 28px;
        line-height: 1.14;
    }

    .home-about-module-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-about-module-text {
        font-size: 17px;
        line-height: 1.65;
    }

    .home-about-module-button {
        margin-top: 22px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .home-about-module-box {
        padding: 24px 20px 22px;
        border-radius: 16px;
    }

    .home-about-module-box-title {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .home-about-module-list li {
        margin-bottom: 14px;
        padding-left: 28px;
        font-size: 16px;
    }

    .home-about-module-list li::before {
        font-size: 20px;
    }

    .home-course-included-section {
        padding: 64px 0 72px;
    }

    .home-course-included-head {
        max-width: 100%;
        margin-bottom: 36px;
    }

    .home-course-included-subtitle {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .home-course-included-title {
        font-size: 34px;
        line-height: 1.1;
    }

    .home-course-included-text {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.55;
    }

    .home-course-included-divider {
        margin-top: 22px;
    }

    .home-course-included-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-course-included-card {
        min-height: 112px;
        padding: 22px 18px;
    }

    .home-course-included-card strong {
        font-size: 15px;
    }

    .home-course-included-card span {
        font-size: 13px;
    }

    .subject-slider-item {
        min-height: 230px;
    }

    .subject-slider-item .subject-slider-item-content {
        min-height: 190px;
        padding: 18px 16px 30px 16px !important;
    }

    .subject-slider-item .subject-slider-item-info {
        padding: 10px 16px 12px 16px !important;
    }

    .subject-slider-item .subject-slider-item-name {
        max-width: calc(100% - 80px);
        font-size: 22px !important;
    }

    .subject-slider-item .subject-slider-item-date .subject-slider-item-date-hour {
        font-size: 22px !important;
    }

    .subject-slider-item .subject-slider-item-date .subject-slider-item-date-day {
        font-size: 13px !important;
    }

    .subject-badge-live {
        top: 10px !important;
        right: 10px !important;
        font-size: 9px;
        padding: 3px 7px 3px 6px;
    }

    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url {
        right: 42px !important;
        bottom: -40px !important;
        width: 82px !important;
        height: 82px !important;
    }

    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url > div,
    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url p,
    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url button,
    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
    .subject-slider-item .subject-slider-item-content .subject-slider-item-list-url a {
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        min-height: 82px !important;
    }

    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url {
        width: 116px !important;
    }

    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url > div,
    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url p,
    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url .simplefavorite-button,
    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url button,
    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url a.simplefavorite-button,
    .subject-slider-item.active .subject-slider-item-content .subject-slider-item-list-url a {
        width: 116px !important;
        min-width: 116px !important;
    }
}

.um-cennik-ai {
  max-width: 1180px;
  margin: 48px auto;
  padding: 0;
  color: #1f2937;
}

.um-cennik-ai__intro {
  margin-bottom: 22px;
}

.um-cennik-ai__label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1246a5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.um-cennik-ai h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.um-cennik-ai p {
  color: #5b6678;
  line-height: 1.7;
}

.um-cennik-ai__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.um-cennik-ai__note {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  color: #5b6678;
  line-height: 1.65;
}

.um-cennik-ai__table-wrap {
  overflow-x: visible;
  margin: 0 0 22px;
}

.um-cennik-ai__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.um-cennik-ai__table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 12px;
  color: #5b6678;
  font-size: 14px;
  line-height: 1.6;
}

.um-cennik-ai__table th {
  background: #f4f7fb;
  color: #122033;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 15px 14px;
  border-bottom: 1px solid #d9e2ec;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: middle !important;
}

.um-cennik-ai__table td {
  padding: 15px 14px;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
  border-bottom: 1px solid #e8eef5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: middle !important;
}

.um-cennik-ai__table tbody tr > td,
.um-cennik-ai__table thead tr > th {
  vertical-align: middle !important;
}

.um-cennik-ai__table tbody tr:last-child td {
  border-bottom: 0;
}

.um-cennik-ai__table span {
  color: #5b6678;
  font-size: 13px;
}

.um-cennik-ai__table td strong {
  display: block;
  margin-bottom: 6px;
}

.um-cennik-ai__green {
  color: #157347;
}

.um-cennik-ai__foot {
  padding: 18px 20px;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #fbfcfe;
}

.um-cennik-ai__foot p {
  margin: 0 0 10px;
}

.um-cennik-ai__foot p:last-child {
  margin-bottom: 0;
}

body.page-template-discounts-page .um-cennik-ai__foot + div,
body.page-template-discounts-page-php .um-cennik-ai__foot + div {
  padding-top: 40px;
}

@media (max-width: 900px) {
  .um-cennik-ai__notes {
    grid-template-columns: 1fr;
  }

  .um-cennik-ai h2 {
    font-size: 28px;
  }
}

.widget_media_image img.logo_stopka {
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .widget_media_image img.logo_stopka {
    width: 160px !important;
    max-width: 100% !important;
  }
}


.slider_subject--subjects {
    position: relative;
    padding: 0 72px;
}

.slider_subject--subjects .swiper-slide {
    height: auto;
}

.subject-carousel-card {
    --subject-card-color: #1d5fe9;
    position: relative;
    display: block;
    height: 100%;
    min-height: 160px;
    background: #fff;
    border: 1.5px solid var(--subject-card-color);
    box-sizing: border-box;
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.subject-carousel-card::before {
    content: "";
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    height: 8px;
    background: var(--subject-card-color);
}

.subject-carousel-card:hover {
    transform: translateY(-2px);
}

.subject-carousel-card__inner {
    min-height: 160px;
    padding: 32px 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subject-carousel-card__title {
    display: block;
    margin: 0;
    color: var(--subject-card-color);
    font-family: "Source Sans 3", sans-serif;
    font-size: 28px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subject-carousel-card__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #989898;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.subject-carousel-card__link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.slider_subject--subjects .swiper-button-prev,
.slider_subject--subjects .swiper-button-next {
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border: 1px solid #bfbfbf;
    border-radius: 50%;
    background: #f5f5f5;
    color: #1116b8;
}

.slider_subject--subjects .swiper-button-prev::after,
.slider_subject--subjects .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.slider_subject--subjects .swiper-button-prev {
    left: 0;
}

.slider_subject--subjects .swiper-button-next {
    right: 0;
}

@media (max-width: 767px) {
    .slider_subject--subjects {
        padding: 0 52px;
    }

    .subject-carousel-card {
        min-height: 132px;
    }

    .subject-carousel-card__inner {
        min-height: 132px;
        padding: 26px 18px 18px;
    }

    .subject-carousel-card__title {
        font-size: 20px;
    }

    .subject-carousel-card__link {
        font-size: 12px;
    }

    .subject-carousel-card__link svg {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .slider_subject--subjects .swiper-button-prev,
    .slider_subject--subjects .swiper-button-next {
        width: 42px;
        height: 42px;
        margin-top: -21px;
    }
}

.swiper {
	    margin-bottom: 140px;
}

.page-section-content-subject-courses .subject-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.page-section-content-subject-courses .subject-slider-item {
    width: 100%;
    margin: 0;
}

@media (max-width: 991px) {
    .page-section-content-subject-courses .subject-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-section-content-subject-courses .subject-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Dół strony głównej – desktop */
.front-page-bottom-cta {
    padding: 70px 0 90px;
    text-align: center;
}

.front-page-bottom-cta-link {
    display: inline-block;
    width: 270px;
    height: 270px;
    border: 50px solid #12AF12;
    background: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: .3s all;
}

.front-page-bottom-cta-link span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    margin: 0 auto;
    color: var(--second);
    font-size: 25px;
    line-height: 36px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border-radius: 50%;
    padding: 6px;
    transition: .3s all;
}

.front-page-bottom-cta-link:hover {
    border: 30px solid var(--second);
}

.front-page-bottom-cta-link:hover span {
    color: #ffffff;
    width: 210px;
    height: 210px;
    border: 30px solid #ffffff;
    background: var(--second);
}

/* Mobile – stały pasek na dole */
@media (max-width: 767px) {
    body.home {
        padding-bottom: 64px;
    }

    .front-page-bottom-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        padding: 0;
        margin: 0;
    }

    .front-page-bottom-cta .container-medium {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    .front-page-bottom-cta-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 64px;
        border: 0;
        border-radius: 0;
        background: #12AF12;
    }

    .front-page-bottom-cta-link span {
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        color: #ffffff;
        font-size: 22px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: 0.04em;
    }

    .front-page-bottom-cta-link:hover {
        border: 0;
        background: #12AF12;
    }

    .front-page-bottom-cta-link:hover span {
        width: auto;
        height: auto;
        border: 0;
        background: transparent;
        color: #ffffff;
    }
}

.subject-slider-item-bottom-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 2px 16px;
    background: var(--color-subject-slider);
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: padding 0.25s ease;
}

.subject-slider-item:hover .subject-slider-item-bottom-label {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (max-width: 1360px) {
    header .header .header-content .menu-top > div > ul > li.menu-item-has-children .open-sub-menu {
        width: 72px;
        min-height: 44px;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none;
        transform-origin: center center;
        transition: transform .55s cubic-bezier(.22, 1, .36, 1);
        z-index: 3;
        cursor: pointer;
    }

    header .header .header-content .menu-top > div > ul > li.menu-item-has-children .open-sub-menu.active {
        transform: rotate(180deg);
    }

    header .header .header-content .menu-top > div > ul > li.menu-item-has-children .open-sub-menu::after {
        position: absolute;
        content: '';
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 18px;
        height: 18px;
        margin: 0;
        border-right: 4px solid var(--second);
        border-bottom: 4px solid var(--second);
        transform: translate(-50%, -62%) rotate(45deg);
        pointer-events: none;
    }

    header .header .header-content .menu-top .close-menu-top {
        display: block !important;
        position: absolute;
        top: 8px;
        right: -48px;
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        background-color: #ffffff;
        color: var(--second);
        font-size: 38px;
        line-height: 52px;
        font-weight: 900;
        text-align: center;
        box-shadow: 0 10px 24px rgba(0, 35, 102, 0.18);
        z-index: 6;
        opacity: 0;
        pointer-events: none;
        cursor: pointer;
        transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, opacity .2s ease;
    }

    header .header .header-content .menu-top.active-menu .close-menu-top {
        opacity: 1;
        pointer-events: auto;
    }

    header .header .header-content .menu-top .close-menu-top:hover {
        transform: scale(1.05);
        box-shadow: 0 14px 30px rgba(0, 35, 102, 0.24);
        background-color: #ffffff;
        color: var(--second);
    }
}
