/* Vickino Courses - public styles */
.vc-courses-grid {
    display: grid;
    gap: 24px;
    /* Cards have a minimum width and the grid creates as many columns as fit. */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    /* When a single card exists in a wide container, keep it left-aligned at a readable width. */
    justify-content: start;
}
/* Per-shortcode column hints act as a maximum on wide screens (preserve 2/3/4-up layouts). */
@media (min-width: 992px) {
    .vc-courses-grid.vc-cols-2 { max-width: 760px; }
    .vc-courses-grid.vc-cols-3 { max-width: 1180px; }
    .vc-courses-grid.vc-cols-4 { max-width: 1560px; }
}

.vc-course-card {
    display: flex;
    flex-direction: column;
    background: #F9F9FB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #ececec;
    width: 100%;
    max-width: 460px;
    container-type: inline-size;
}

.vc-course-card__header {
    background: #972579;
    color: #ffffff;
    padding: 28px 28px 24px 28px;
}
.vc-course-card__title {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}
.vc-course-card__desc {
    margin: 0;
    color: #f5e7f0;
    font-size: 15px;
    line-height: 1.5;
}

.vc-course-card__meta {
    padding: 22px 28px 8px 28px;
    flex: 1 1 auto;
}
.vc-course-card__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}
@container (min-width: 320px) {
    .vc-course-card__row {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 12px;
    }
}
.vc-course-card__label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9aa0a6;
    font-size: 12px;
    font-weight: 600;
    align-self: start;
    padding-top: 2px;
}
.vc-course-card__value {
    color: #2b2f33;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: normal;
}

.vc-course-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 28px 26px 28px;
}
.vc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    line-height: 1 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}
.vc-btn[disabled],
.vc-btn:disabled { cursor: not-allowed; opacity: 0.6; }

/* Other interactive elements rendered by the plugin */
.vc-gallery__thumb,
.vc-lightbox__close,
.vc-lightbox__prev,
.vc-lightbox__next,
.vc-pagination .page-numbers,
.vc-register-page__linkedin {
    cursor: pointer;
}
.vc-btn--primary {
    background: #972579 !important;
    color: #ffffff !important;
    border: 2px solid #972579 !important;
}
.vc-btn--primary:hover {
    background: #7c1f65 !important;
    border-color: #7c1f65 !important;
    color: #ffffff !important;
}
.vc-btn--ghost {
    background: transparent !important;
    color: #972579 !important;
    border: 2px solid #972579 !important;
}
.vc-btn--ghost:hover {
    background: #972579 !important;
    color: #ffffff !important;
    border-color: #972579 !important;
}

.vc-empty {
    text-align: center;
    color: #6b6b6b;
    padding: 40px 16px;
    font-size: 16px;
}

.vc-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.vc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    color: #2b2f33;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}
.vc-pagination .page-numbers:hover { border-color: #972579; color: #972579; }
.vc-pagination .page-numbers.current {
    background: #972579;
    border-color: #972579;
    color: #ffffff;
}
.vc-pagination .page-numbers.dots { border-color: transparent; }

/* ----- Single course detail page ----- */
.vc-single-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    container-type: inline-size;
    container-name: vc-single;
}
.vc-single__hero {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #f1ecef;
}
.vc-single__hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}
.vc-single__title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.vc-single__title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #1d2333;
    margin: 0;
    flex: 1 1 320px;
}
.vc-btn--lg { padding: 14px 28px !important; font-size: 15px !important; }
.vc-btn--block { width: 100% !important; }

.vc-single__layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
}
/* Two-col only when the page itself has room — avoids a squashed sidebar in narrow themes. */
@container vc-single (min-width: 880px) {
    .vc-single__layout { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
    .vc-single__sidebar { position: sticky; top: 24px; align-self: start; }
}

.vc-section {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ececec;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.vc-section__title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d2333;
}
.vc-section__body { color: #2b2f33; line-height: 1.6; }
.vc-section__body p { margin: 0 0 12px 0; }

.vc-bullets,
.vc-rich .vc-section__body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vc-bullets li,
.vc-rich .vc-section__body ul > li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #2b2f33;
    line-height: 1.5;
}
.vc-bullets li::before,
.vc-rich .vc-section__body ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #972579;
}
.vc-rich .vc-section__body ol {
    margin: 0;
    padding-left: 20px;
}
.vc-rich .vc-section__body ol > li { padding: 4px 0; line-height: 1.5; color: #2b2f33; }

/* Fallback: when the author typed plain paragraphs (instead of using the bullet-list
   button in the editor), still render them as bulleted items in these list sections. */
.vc-rich .vc-section__body > p {
    position: relative;
    padding: 6px 0 6px 22px;
    margin: 0;
    color: #2b2f33;
    line-height: 1.5;
}
.vc-rich .vc-section__body > p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #972579;
}

/* Requirements section: hollow / outlined circle bullets instead of filled. */
.vc-rich--requirements .vc-section__body ul > li::before,
.vc-rich--requirements .vc-section__body > p::before {
    background: transparent;
    border: 1.5px solid #972579;
    width: 9px;
    height: 9px;
    top: 13px;
}

/* Sidebar */
.vc-side-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 22px 22px;
    margin-bottom: 16px;
}
.vc-side-card__title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1d2333;
}

.vc-lecturer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f1;
}
.vc-lecturer:last-child { border-bottom: 0; }
.vc-lecturer__img { flex: 0 0 86px; }
.vc-lecturer__info { flex: 1 1 180px; min-width: 0; }
.vc-lecturer__img img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.vc-lecturer__name { margin: 0 0 2px 0; font-size: 15px; font-weight: 700; color: #1d2333; }
.vc-lecturer__role { margin: 0 0 8px 0; color: #972579; font-size: 13px; font-weight: 600; }
.vc-lecturer__bio  { color: #50575e; font-size: 13px; line-height: 1.5; }
.vc-lecturer__bio p { margin: 0 0 8px 0; }

/* Price card */
.vc-price-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf5f8 100%);
    border: 1px solid #ead8e1;
}
.vc-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}
.vc-price__amount { font-size: 56px; font-weight: 800; color: #972579; line-height: 1; }
.vc-price__currency { font-size: 22px; font-weight: 700; color: #972579; }
.vc-price__suffix { color: #50575e; font-size: 14px; margin-left: 4px; }

.vc-spots {
    display: inline-block;
    background: #f3e3ec;
    color: #972579;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px 0 16px;
}

.vc-meta-list { margin: 0 0 18px 0; }
.vc-meta-list__row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f1;
}
.vc-meta-list__row:first-child { border-top: 0; }
.vc-meta-list__row dt {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    font-weight: 600;
    color: #9aa0a6;
    margin: 0;
}
.vc-meta-list__row dd { margin: 0; color: #1d2333; font-size: 14px; line-height: 1.4; }

/* Gallery */
.vc-gallery-section .vc-gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-top: 12px;
}
.vc-gallery__thumb {
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.vc-gallery__thumb:nth-child(1) { grid-row: 1 / 3; aspect-ratio: auto; }
.vc-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.vc-gallery__thumb:hover img { transform: scale(1.04); }

@media (max-width: 700px) {
    .vc-gallery-section .vc-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .vc-gallery__thumb:nth-child(1) { grid-row: auto; }
}

/* ----- Register page (two-column layout) ----- */
.vc-register-page {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 20px 0 48px;
    padding: 0;
    align-items: stretch;
    background: #F9F9FB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.09);
}
@media (min-width: 880px) {
    .vc-register-page { grid-template-columns: 1fr 1fr; margin: 20px 0 48px; }
}
@media (max-width: 879px) {
    .vc-register-page {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        gap: 20px;
        padding: 0;
    }
    .vc-register-page__left {
        border-radius: 16px !important;
        background: #F9F9FB !important;
    }
    .vc-register-page__right { background: transparent !important; padding: 0 !important; }
    .vc-register-page__right .vc-register-card {
        border-radius: 16px !important;
        background: #EDE4F2 !important;
    }
}

.vc-register-page__left {
    background: #F9F9FB;
    border-radius: 0;
    padding: 48px 40px 60px 40px;
}
.vc-register-page__heading {
    margin: 0 0 16px 0;
    font-size: 41px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #1d2333;
}
.vc-register-page__lead {
    color: #50575e;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 22px 0;
}
.vc-register-page__sub {
    margin: 28px 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d2333;
}
.vc-register-page__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 0 0 18px 0;
}
.vc-register-page__contacts > div { display: flex; flex-direction: column; gap: 4px; }
.vc-register-page__label {
    color: #6b6b6b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.vc-register-page__contacts a {
    color: #1d2333;
    text-decoration: none;
    font-size: 15px;
}
.vc-register-page__contacts a:hover { color: #972579; }

.vc-register-page__linkedin-wrap { margin: 12px 0 0 0; }
.vc-register-page__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1d2333;
    text-decoration: none;
    font-size: 14px;
}
.vc-register-page__linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    background: #0a66c2;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    font-family: Arial, sans-serif;
    line-height: 1;
}
.vc-register-page__linkedin:hover { color: #972579; }

.vc-register-page__right {
    background: transparent;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    padding: 12px;
}
.vc-register-page__right .vc-register-card {
    flex: 1;
    margin: 0;
    max-width: none;
    border-radius: 20px;
}

/* ----- Register form ----- */
.vc-register-card {
    background: #EDE4F2;
    border-radius: 20px;
    padding: 36px 48px;
    max-width: 560px;
    margin: 0 auto;
}
.vc-register-card__title {
    margin: 0 0 18px 0;
    font-size: 26px;
    font-weight: 800;
    color: #1d2333;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.vc-register-card__context {
    margin: 0 0 16px 0;
    color: #50575e;
    font-size: 14px;
}
.vc-register-form { display: flex; flex-direction: column; gap: 12px; }
.vc-register-form__field { display: block; }
.vc-register-form__field input,
.vc-register-form__field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #972579;
    border-radius: 8px;
    background: #ffffff;
    color: #1d2333;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vc-register-form__field input:focus,
.vc-register-form__field textarea:focus {
    border-color: #972579;
    box-shadow: 0 0 0 3px rgba(151, 37, 121, 0.15);
}
.vc-register-form__field input::placeholder,
.vc-register-form__field textarea::placeholder {
    color: #6b6b6b;
}
.vc-register-form__field textarea { resize: vertical; min-height: 120px; }
.vc-register-form__submit {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}
.vc-register-form__submit .vc-btn { min-width: 220px; padding: 14px 28px; }
.vc-register-form__status {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
    min-height: 1.2em;
}
.vc-register-form__status--ok    { color: #008a20; }
.vc-register-form__status--error { color: #b32d2e; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px;
    margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal;
}

/* Lightbox */
.vc-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex; align-items: center; justify-content: center;
    z-index: 100000;
    padding: 24px;
}
.vc-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.vc-lightbox__close,
.vc-lightbox__prev,
.vc-lightbox__next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}
.vc-lightbox__close { top: 16px; right: 16px; }
.vc-lightbox__prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.vc-lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }
.vc-lightbox__close:hover,
.vc-lightbox__prev:hover,
.vc-lightbox__next:hover { background: rgba(255,255,255,0.2); }

