/* ΗΟΜΕPAGE CAROUSEL */
.page-template-Homepage {
    background: #4a4a4a;
    background: linear-gradient(0deg, #B3B3B3 0%, #4a4a4a 100%);
}
.home-carousel .vcarousel-cell {
    /* width: 636px; */
    padding-left: calc(var(--vs-gutter-x) * .5) !important;
    padding-right: calc(var(--vs-gutter-x) * .5) !important;
}
.home-carousel .vcarousel-cell .inner-container > *:not(.brand-logo) {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.home-carousel .vcarousel-cell.is-selected .inner-container > *:not(.brand-logo) {
    opacity: 1;
    visibility: visible;
}
.home-carousel .brand-logo {
    position: relative;
    left: 15px;
    width: 340px;
    max-width: 90%;
    height: 114px;
    background: var(--color-white);
    padding: 20px;
}
.home-carousel .brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: skewX(-10deg);
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.cat-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cat-wrapper > li {
    display: inline-block;
    padding: 8px 18px 6px;
    border: 1px solid var(--color-white);
    border-radius: 12rem;
    color: var(--color-white);
    transition: background 0.3s ease-in-out;
}
.cat-wrapper > li:hover {
    color: var(--color-white);
    background: var(--color-gray-50);
}
.cat-wrapper > li > a {
    color: inherit;
    text-decoration: none;
}
/* 3D TIRE */
/* .home {
    background: var(--color-deep-gray)!important;
} */
.canvas-container,
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* === TIRE ANNOTATION POINTS === */
.point-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%); /* center the dot at given % */
    font-family: inherit;
    z-index: 5; /* above canvas */
    pointer-events: none; /* labels non-blocking by default */
}
.point-wrapper.active .tire-point { box-shadow: 0 0 0 6px rgba(255,255,255,0.15); }
.tire-point {
    width: 14px;
    height: 14px;
    background: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}
.point-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--color-white);
    transform-origin: 0 50%;
    opacity: .85;
}
.point-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 13px;
    letter-spacing: .5px;
    font-weight: 400;
    color: var(--color-white);
    white-space: nowrap;
    transform: translate(120px, 0); /* default offset; JS updates */
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    user-select: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
    opacity: 0;
    transition: opacity .6s ease .2s;
}
.point-wrapper.initialized .point-label { opacity: 1; }
@media (max-width: 992px) {
    .point-label { font-size: 11px; transform: translate(90px,0); }
}
/* SECTIONS */
.stats-wrapper {
    --s: 36px;
    max-width: 540px;
    /* aspect-ratio: 400 / 295; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    background: transparent content-box;
    mask: conic-gradient(#000 0 0) content-box, conic-gradient(at var(--s) var(--s), #0000 75%, #000 0) 0 0 / calc(100% - var(--s)) calc(100% - var(--s));
}
.stats-wrapper .inner-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 0;
    /* transition: padding 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out; */
}
/* .stats-wrapper .inner-wrapper.inactive {
    padding: 35px;
    width: 35px;
    height: 35px;
}
.stats-wrapper .inner-wrapper.inactive * {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transition-delay: 0.5s;
} */
.page-template-Homepage #wrapper-footer {
    background: var(--color-white);
    border: none;
}
@media(min-width: 1200px) {
    .stats-wrapper .inner-wrapper {
        padding: 25px;
    }
}
@media(min-width: 1800px) {
    .stats-wrapper .inner-wrapper {
        padding: 55px;
    }
}
/* latest news */
.latest-news-item .inner-wrapper {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    background: var(--color-white);
    transition: transform 0.3s ease-in-out;
}
.latest-news-item .img-container {
    height: 100%;
    aspect-ratio: 330 / 190;
}
.latest-news-item .img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.latest-news-item:hover .img-container img {
    transform: scale(1.05);
}
.latest-news-item .latest-title {
    transition: color 0.3s ease-in-out;
}
.latest-news-item:hover .latest-title {
    color: var(--color-orange);
}
@media(min-width: 768px) {
    .latest-news-item .inner-wrapper {
        aspect-ratio: 1164 / 206;
        flex-direction: row;
    }
    .latest-news-item .img-container {
        aspect-ratio: auto;
    }
    .latest-news-item:hover .inner-wrapper > *:not(.img-container) {
        transform: skewX(10deg);
    }
    .latest-news-item:hover .inner-wrapper {
        transform: skewX(-10deg);
    }
    .latest-news-item .inner-wrapper > * {
        transition: transform 0.3s ease-in-out;
    }
}