.video-card__modal-control {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    margin-bottom: var(--space-xxs)
}

.video-card__modal-control:hover .video-card__preview {
    filter: contrast(110%);
    box-shadow: var(--shadow-md)
}

.video-card__modal-control:hover .video-card__play-btn::before {
    transform: scale(1.2)
}

.video-card__preview {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: filter 0.3s, box-shadow 0.3s
}

.video-card__play-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white)
}

.video-card__play-btn .icon {
    position: relative;
    z-index: 1
}

.video-card__play-btn::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    background-color: hsla(var(--color-black-h), var(--color-black-s), var(--color-black-l), 0.8);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out-back)
}






/* -------------------------------- 

File#: _1_read-more
Title: Read More
Descr: A truncated paragraph with the option of reading more content
Usage: codyhouse.co/license

-------------------------------- */
.read-more {
    opacity: 0
}

.read-more--loaded {
    opacity: 1
}

.read-more__btn {
    cursor: pointer;
    color: var(--color-primary);
    text-decoration: underline
}



/* -------------------------------- 

File#: _1_chips
Title: Chips
Descr: A list of compact pieces of information
Usage: codyhouse.co/license

-------------------------------- */
.chip {
    /* reset - in case the class is applied to a <button> or an <a> */
    border: 0;
    color: inherit;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    border-radius: 50em;
    padding: var(--space-xxxs) var(--space-xxs);
    background-color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.1)
}

.chip--outline {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.25)
}

.chip--error {
    background-color: hsla(var(--color-error-h), var(--color-error-s), var(--color-error-l), 0.2);
    color: var(--color-contrast-higher)
}

.chip--success {
    background-color: hsla(var(--color-success-h), var(--color-success-s), var(--color-success-l), 0.2);
    color: var(--color-contrast-higher)
}

.chip--warning {
    background-color: hsla(var(--color-warning-h), var(--color-warning-s), var(--color-warning-l), 0.2);
    color: var(--color-contrast-higher)
}

.chip--interactive {
    cursor: pointer;
    transition: background, box-shadow, transform;
    transition-duration: 0.2s
}

.chip--interactive:hover {
    background-color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.2)
}

.chip--interactive:active {
    transform: translateY(1px)
}

.chip--interactive:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.95)
}

.chip__label {
    padding: 0 var(--space-2xs)
}

.chip__img {
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover
}

.chip__icon-wrapper {
    display: flex;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background-color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.95);
    color: var(--color-bg)
        /* icon color */
}

.chip__icon-wrapper .icon {
    display: block;
    margin: auto
}

.chip__btn {
    display: flex;
    width: 1.5em;
    height: 1.5em;
    background-color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.2);
    border-radius: 50%;
    will-change: transform;
    transition: background, box-shadow, transform;
    transition-duration: 0.2s
}

.chip__btn .icon {
    display: block;
    margin: auto
}

.chip__btn:hover {
    background-color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.3)
}

.chip__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.95)
}

.chip__btn:active {
    transform: translateY(1px)
}





















/* ----------------------------------------- */

/* Вывод категорий на главной */

.vc-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.vc-header-brand {
    font-size: 1.4rem;
    font-weight: 700;
}

.vc-header-logo {
    color: inherit;
    text-decoration: none;
}

.vc-header-logo:hover {
    color: #93c5fd;
}

.vc-header-nav {
    flex: 1 1 auto;
}

.vc-header-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vc-header-category-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vc-header-category-link:hover,
.vc-header-category-link:focus {
    color: #93c5fd;
}

.vc-breadcrumbs {
    font-size: 0.9rem;
    color: #6b7280;
}

.vc-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vc-breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vc-breadcrumbs-item:not(:last-child)::after {
    content: "／";
    color: #d1d5db;
}

.vc-breadcrumbs-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vc-breadcrumbs-link:hover,
.vc-breadcrumbs-link:focus {
    color: #2563eb;
}

.vc-breadcrumbs-current {
    color: #111827;
}

.vc-home-categories {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 15px 20px;
}

.vc-home-category {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
}

.vc-home-latest {
    padding: 15px 20px 40px;
}

.vc-home-category:last-child {
    border-bottom: none;
}

.vc-home-category-title {
    font-size: 1.5em;
    margin-bottom: 16px;
}

.vc-home-category-link {
    color: inherit;
    text-decoration: none;
}

.vc-home-category-link:hover {
    color: #2563eb;
}

.vc-home-category-count {
    font-size: 0.7em;
    font-weight: normal;
    color: #6b7280;
}

.vc-home-video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vc-video-page {
    padding: 20px;
}

.vc-video-card {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    padding: 24px;
}

.vc-video-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.vc-video-short {
    margin: 0;
    color: #6b7280;
}

.vc-video-poster {
    position: relative;
}



.vc-video-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
}

.vc-video-meta dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0;
}

.vc-video-meta dt {
    font-weight: 600;
    color: #374151;
}

.vc-video-meta dd {
    margin: 4px 0 0;
}

.vc-video-tag {
    display: inline-block;
    background: #e5e7eb;
    color: #374151;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.vc-video-actions {
    margin: 24px 0;
}


.video-card__play-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.video-card__play-btn::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    background-color: hsl(230deg 13% 9% / 80%);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out-back);
}

.video-card__modal-control:hover .video-card__preview {
    filter: contrast(110%);
    box-shadow: var(--shadow-md)
}

.video-card__modal-control:hover .video-card__play-btn::before {
    transform: scale(1.2)
}


.video-card__play-btn .icon {
    position: relative;
    z-index: 1;
}



.vc-video-button {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.vc-video-button:hover {
    background: #1d4ed8;
}

.vc-video-player-wrapper {
    position: relative;
    background: #000;
    overflow: hidden;
}

.vc-video-poster {}

.vc-video-poster img {
}

.vc-video-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
}

.vc-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.vc-video-poster:hover .vc-video-play {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(37, 99, 235, 1);
}

.vc-video-frame iframe {
    display: block;
    border: none;
}

.vc-video-description {
    margin-top: 24px;
    line-height: 1.6;
}

.vc-similar-section {
    margin-top: 48px;
}

.vc-similar-title {
    margin: 0 0 20px;
    font-size: 1.5rem;
}

.vc-similar-videos {
    display: block;
}

.vc-similar-empty {
    color: #6b7280;
    margin: 12px 0 0;
}

.vc-related-videos {
    margin-top: 40px;
}

.vc-related-title {
    margin: 0 0 20px;
    font-size: 1.5rem;
}

.vc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.vc-related-card {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.vc-related-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.vc-related-thumb {
    position: relative;
    background: #000;
}

.vc-related-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.vc-related-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 6px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.vc-related-name {
    margin: 0;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
}

.vc-home-video-card {
    flex: 1 1 220px;
    max-width: 280px;
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.vc-home-video-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.vc-home-video-link:hover .vc-home-video-title {
    color: #2563eb;
}

.vc-home-video-thumb {
    position: relative;
    background: #111;
}

.vc-home-video-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.vc-home-video-duration {
    position: absolute;
    padding: 2px 6px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.vc-home-video-title {
    padding: 12px 14px;
    font-weight: 600;
    line-height: 1.3;
}

.vc-home-empty {
    margin: 0;
    color: #6b7280;
    padding: 0 20px;
}

.vc-category-page {}

.vc-category-header {
    margin-bottom: 24px;
}

.vc-category-title {
    margin: 0;
    font-size: 2rem;
}

.vc-category-seo-name {
    margin: 4px 0 0;
    color: #4b5563;
    font-style: italic;
}

.vc-category-counter {
    margin: 8px 0 0;
    color: #6b7280;
}

.vc-category-nav {
}

.vc-category-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #374151;
    background: #fff;
    transition: all 0.2s ease;
}

.vc-category-nav-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.vc-category-nav-link.is-active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    cursor: default;
}

.vc-category-videos {
    position: relative;
}

.vc-thumb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vc-thumb-card {
    flex: 1 1 240px;
    max-width: 280px;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-thumb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.vc-thumb-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.vc-thumb-thumb {
    position: relative;
    background: #111;
}

.vc-thumb-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.vc-thumb-duration {
    position: absolute;
    right: 8px;
    bottom: 6px;
    padding: 2px 6px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.vc-thumb-title {
    margin: 0;
    padding: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
    font-size: 18px;
}

.vc-category-empty-state {
    margin: 24px 0;
    color: #6b7280;
}

.vc-infinite-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    color: #6b7280;
}

.vc-infinite-loader.is-hidden {
    display: none;
}

.vc-loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: vc-spinner 0.8s linear infinite;
}

@keyframes vc-spinner {
    to {
        transform: rotate(360deg);
    }
}

.vc-infinite-sentinel {
    width: 100%;
    height: 1px;
}

.vc-error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f3f4f6;
}

.vc-error-card {
    max-width: 540px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    padding: 32px;
    text-align: center;
}

.vc-error-title {
    margin: 0 0 16px;
    font-size: 2rem;
    color: #111827;
}

.vc-error-message {
    margin: 0 0 24px;
    color: #4b5563;
    line-height: 1.6;
}

.vc-error-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.vc-error-button:hover {
    background: #1d4ed8;
}