/* =========================================================
   YELLOWSTL — COMPLETE MAIN.CSS
   HOME + HEADER + MODELS + CATEGORIES PAGE
========================================================= */

:root {
    --yellow: #ffd400;
    --yellow-dark: #e8bd00;
    --black: #050708;
    --panel: #101417;
    --panel-2: #151a1e;
    --border: #293036;
    --white: #ffffff;
    --gray: #a3a8ad;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.ystl-home {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(5, 7, 8, .97);
    border-bottom: 1px solid #252a2e;
    backdrop-filter: blur(15px);
}

.site-header .shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.5px;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--yellow);
    color: #070809;
    font-size: 23px;
    font-weight: 900;
}

.brand .accent {
    color: var(--yellow);
}

.brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand img,
.brand .custom-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 48px;
}

.desktop-nav {
    margin-left: auto;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-nav a {
    color: #ddd;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.desktop-nav a:hover {
    color: var(--yellow);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-actions button {
    appearance: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    border: 1px solid #2c3238;
    border-radius: 12px;
    background: #101419;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.header-actions button:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.mobile-panel {
    display: none;
    padding-bottom: 18px;
}

.mobile-panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.mobile-panel li {
    margin: 0;
}

.mobile-panel a {
    display: block;
    padding: 11px 4px;
    color: #eee;
    border-bottom: 1px solid #20252a;
}

.mobile-panel form {
    display: flex;
    width: 100%;
}

.mobile-panel input[type="search"] {
    min-width: 0;
    flex: 1;
    padding: 13px 14px;
    border: 1px solid #30363c;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    outline: none;
    background: #111519;
    color: #fff;
}

.mobile-panel input[type="submit"],
.mobile-panel button[type="submit"] {
    padding: 0 18px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--yellow);
    color: #070809;
    font-weight: 800;
}

.menu-toggle {
    display: none !important;
}


/* =========================================================
   HOME HERO
========================================================= */

.ystl-hero {
    width: 100%;
    background: #050708;
}

.ystl-hero-image {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 212, 0, .18),
            transparent 45%
        ),
        #0b0e10;
}

.ystl-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transform-origin: center center;
    animation: ystlCinematicHero 14s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes ystlCinematicHero {
    0% {
        transform: scale(1.06) translate3d(0, 0, 0);
    }

    50% {
        transform: scale(1.12) translate3d(-1.2%, -.7%, 0);
    }

    100% {
        transform: scale(1.17) translate3d(1%, -1.2%, 0);
    }
}

.ystl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3,5,6,.97) 0%,
            rgba(3,5,6,.82) 40%,
            rgba(3,5,6,.25) 75%,
            rgba(3,5,6,.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3,5,6,.75) 0%,
            transparent 45%
        );
}

.ystl-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--yellow);
    font-weight: 900;
    font-size: 28px;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(255,212,0,.15),
            transparent 35%
        ),
        #101418;
}

.ystl-hero-placeholder small {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    font-weight: 400;
}

.ystl-hero-content {
    position: absolute;
    z-index: 3;
    width: min(1180px, calc(100% - 40px));
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    padding-top: 160px;
}

.ystl-hero-content h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(50px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 900;
}

.ystl-hero-content h1 span {
    color: var(--yellow);
}

.ystl-hero-content p {
    max-width: 600px;
    margin: 28px 0;
    color: #d1d4d6;
    font-size: 18px;
    line-height: 1.65;
}

.ystl-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 220px;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 14px;
    background: var(--yellow);
    color: #080909;
    font-size: 16px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
}

.ystl-main-button:hover {
    background: #ffe033;
    transform: translateY(-2px);
}


/* =========================================================
   HOME STATS
========================================================= */

.ystl-stats {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 55px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background:
        linear-gradient(
            135deg,
            rgba(255,212,0,.055),
            rgba(15,18,21,.95) 35%,
            rgba(8,10,12,.98)
        );
    border: 1px solid #2d3239;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 18px 45px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.035);
}

.ystl-stat {
    position: relative;
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 25px 18px;
}

.ystl-stat:not(:last-child) {
    border-right: 1px solid #292e35;
}

.ystl-stat-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255,212,0,.18));
}

.ystl-stat-content {
    display: flex;
    flex-direction: column;
}

.ystl-stat-content strong,
.ystl-stat strong {
    display: block;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

.ystl-stat-content small,
.ystl-stat small {
    display: block;
    margin-top: 8px;
    color: #9298a3;
    font-size: 13px;
    white-space: nowrap;
}

.ystl-stat::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 50px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    opacity: .06;
    filter: blur(30px);
    pointer-events: none;
}


/* =========================================================
   GENERAL HOME SECTIONS
========================================================= */

.ystl-section {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 70px 0 10px;
}

.ystl-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.ystl-section-title h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.ystl-section-title > a {
    color: var(--yellow);
    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   HOME POPULAR CATEGORIES
========================================================= */

.ystl-categories {
    overflow: hidden;
}

.ystl-category-grid {
    display: flex !important;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 8px;
}

.ystl-category-grid::-webkit-scrollbar {
    display: none;
}

.ystl-category-card {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 0;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform .2s ease, border-color .2s ease;
}

.ystl-category-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #181d21;
}

.ystl-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ystl-category-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #646b70;
    font-size: 25px;
    font-weight: 900;
    background:
        radial-gradient(
            circle at center,
            #242a2e,
            #121619
        );
}

.ystl-category-card > strong {
    display: block;
    padding: 14px 8px;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (hover: hover) {
    .ystl-category-card:hover {
        transform: translateY(-4px);
        border-color: #4a5157;
    }
}


/* =========================================================
   HOME MODELS
========================================================= */

.ystl-latest {
    padding-bottom: 80px;
}

.ystl-model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ystl-model-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: .25s ease;
}

.ystl-model-card:hover {
    transform: translateY(-5px);
    border-color: #444c52;
}

.ystl-model-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / .78;
    overflow: hidden;
    background: #181d21;
}

.ystl-model-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.ystl-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.ystl-model-card:hover .ystl-model-image img {
    transform: scale(1.035);
}

.ystl-model-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at center,
            #252b30,
            #13171a
        );
    color: #626a70;
    font-size: 20px;
    font-weight: 900;
}

.ystl-favorite {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(8,10,11,.75);
    color: white;
    font-size: 23px;
    cursor: pointer;
}

.ystl-model-info {
    padding: 18px;
}

.ystl-model-info h3 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.3;
}

.ystl-model-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    color: #aeb3b7;
    font-size: 13px;
}

.ystl-model-meta span:first-child {
    color: var(--yellow);
}

.ystl-download-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 11px;
    background: var(--yellow);
    color: #090a0b;
    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   CATEGORIES PAGE
========================================================= */

.ystl-categories-page {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 212, 0, .035),
            transparent 30%
        ),
        #050708;
}

.ystl-categories-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 80px;
}

.ystl-categories-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: #8f969b;
    font-size: 13px;
}

.ystl-categories-breadcrumb a {
    color: #c6cbce;
    transition: color .2s ease;
}

.ystl-categories-breadcrumb a:hover {
    color: var(--yellow);
}

.ystl-categories-breadcrumb > span:first-of-type {
    color: #737a7f;
    font-size: 19px;
}

.ystl-categories-header {
    margin-bottom: 31px;
}

.ystl-categories-header h1 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.ystl-categories-header p {
    max-width: 580px;
    margin: 0;
    color: #a8aeb3;
    font-size: 16px;
    line-height: 1.6;
}

.ystl-categories-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.ystl-category-list-card {
    position: relative;
    display: grid;
    grid-template-columns: 138px 48px minmax(0, 1fr) 32px;
    align-items: center;
    min-width: 0;
    min-height: 138px;
    padding-right: 18px;
    overflow: hidden;
    border: 1px solid #252c31;
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 0 50%,
            rgba(255,255,255,.025),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #111619,
            #0a0e10
        );
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.ystl-category-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,212,0,.42);
    box-shadow: 0 16px 36px rgba(0,0,0,.30);
}

.ystl-category-list-image {
    position: relative;
    width: 138px;
    height: 138px;
    align-self: stretch;
    overflow: hidden;
    background: #0c1012;
}

.ystl-category-list-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 58%,
            rgba(7,10,11,.55)
        );
    pointer-events: none;
}

.ystl-category-list-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.ystl-category-list-card:hover .ystl-category-list-img {
    transform: scale(1.05);
}

.ystl-category-list-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at center,
            #242a2e,
            #101416
        );
    color: #626a70;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
}

.ystl-category-list-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-left: 4px;
    color: var(--yellow);
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255,212,0,.15));
}

.ystl-category-list-text {
    min-width: 0;
    width: 100%;
    padding: 15px 7px;
}

.ystl-category-list-text h2 {
    width: 100%;
    margin: 0 0 7px;
    color: #fff;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.3px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
}

.ystl-category-model-count {
    display: block;
    color: #92999f;
    font-size: 12px;
    line-height: 1.2;
}

.ystl-category-list-arrow {
    display: grid;
    place-items: center;
    color: var(--yellow);
    font-size: 38px;
    line-height: 1;
    font-weight: 300;
    transition: transform .2s ease;
}

.ystl-category-list-card:hover .ystl-category-list-arrow {
    color: var(--yellow);
    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: grid !important;
    }

    .mobile-panel.open {
        display: block;
    }

    .ystl-hero-image {
        min-height: 570px;
    }

    .ystl-hero-content {
        padding-top: 130px;
    }

    .ystl-category-grid {
        gap: 12px;
    }

    .ystl-category-card {
        flex: 0 0 calc((100% - 36px) / 4);
    }

    .ystl-model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ystl-categories-list {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE — HOME
========================================================= */

@media (max-width: 600px) {

    .site-header .shell {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 72px;
        gap: 8px;
    }

    .brand {
        font-size: 20px;
        gap: 9px;
    }

    .brand-mark {
        width: 45px;
        height: 45px;
        border-radius: 11px;
    }

    .brand img,
    .brand .custom-logo {
        max-width: 175px;
        max-height: 45px;
    }

    .header-actions {
        margin-left: auto;
        gap: 6px;
    }

    .header-actions button {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 21px;
    }

    .search-toggle {
        background: transparent !important;
        border-color: transparent !important;
    }

    .ystl-hero,
    .ystl-hero-image {
        overflow: hidden !important;
    }

    .ystl-hero-image {
        position: relative !important;
        min-height: 720px;
    }

    .ystl-hero-img {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        max-width: none !important;
        animation: ystlMobileCinema 12s ease-in-out infinite alternate !important;
        transform: scale(1.08);
        transform-origin: center center;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    @keyframes ystlMobileCinema {
        0% {
            transform: scale(1.08) translate3d(0,0,0);
        }

        50% {
            transform: scale(1.14) translate3d(-1.5%, -.5%, 0);
        }

        100% {
            transform: scale(1.20) translate3d(1.5%, -1%, 0);
        }
    }

    .ystl-hero-overlay {
        position: absolute !important;
        inset: 0;
        z-index: 2;
        background:
            linear-gradient(
                0deg,
                #050708 0%,
                rgba(5,7,8,.93) 26%,
                rgba(5,7,8,.25) 68%,
                rgba(5,7,8,.10) 100%
            );
    }

    .ystl-hero-content {
        position: absolute !important;
        z-index: 3;
        width: calc(100% - 40px);
        padding-top: 300px;
    }

    .ystl-hero-content h1 {
        max-width: 370px;
        font-size: 40px;
        line-height: 1.02;
        letter-spacing: -1.5px;
    }

    .ystl-hero-content p {
        max-width: 370px;
        margin: 18px 0 22px;
        font-size: 14px;
        line-height: 1.55;
    }

    .ystl-main-button {
        min-height: 54px;
        min-width: 195px;
        font-size: 15px;
    }

    .ystl-stats {
        width: calc(100% - 28px);
        margin: 0 auto 42px;
        border-radius: 18px;
    }

    .ystl-stat {
        min-height: 105px;
        padding: 18px 7px;
        gap: 8px;
    }

    .ystl-stat-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 28px;
    }

    .ystl-stat-content strong,
    .ystl-stat strong {
        font-size: 25px;
    }

    .ystl-stat-content small,
    .ystl-stat small {
        margin-top: 7px;
        font-size: 10px;
    }

    .ystl-section {
        width: calc(100% - 32px);
        padding-top: 46px;
    }

    .ystl-section-title {
        margin-bottom: 20px;
    }

    .ystl-section-title h2 {
        font-size: 24px;
    }

    .ystl-section-title > a {
        font-size: 12px;
    }

    .ystl-categories {
        overflow: hidden;
    }

    .ystl-category-grid {
        display: flex !important;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        touch-action: pan-x;
    }

    .ystl-category-card {
        flex: 0 0 calc((100% - 20px) / 3);
        border-radius: 12px;
        scroll-snap-align: start;
    }

    .ystl-category-card > strong {
        padding: 10px 4px;
        font-size: 11px;
    }

    .ystl-model-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 11px;
    }

    .ystl-model-card {
        border-radius: 13px;
    }

    .ystl-model-image {
        aspect-ratio: 1 / .83;
    }

    .ystl-favorite {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
        font-size: 18px;
    }

    .ystl-model-info {
        padding: 11px;
    }

    .ystl-model-info h3 {
        margin-bottom: 9px;
        font-size: 13px;
    }

    .ystl-model-meta {
        gap: 10px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .ystl-download-button {
        min-height: 38px;
        padding: 0 5px;
        border-radius: 8px;
        font-size: 10px;
    }

    .ystl-latest {
        padding-bottom: 55px;
    }
}


/* =========================================================
   CATEGORIES PAGE — MOBILE / TABLET
   REFERENCE DESIGN
========================================================= */

@media (max-width: 768px) {

    .ystl-categories-page {
        background:
            radial-gradient(
                circle at 50% 0,
                rgba(255,212,0,.035),
                transparent 24%
            ),
            #050708;
    }

    .ystl-categories-container {
        width: calc(100% - 34px);
        max-width: 700px;
        padding: 22px 0 55px;
    }

    .ystl-categories-breadcrumb {
        gap: 8px;
        margin: 0 0 20px;
        font-size: 12px;
        line-height: 1;
    }

    .ystl-categories-breadcrumb > span:first-of-type {
        font-size: 17px;
    }

    .ystl-categories-header {
        margin-bottom: 24px;
    }

    .ystl-categories-header h1 {
        margin: 0 0 10px;
        font-size: 34px;
        line-height: 1;
        letter-spacing: -1px;
    }

    .ystl-categories-header p {
        max-width: 520px;
        margin: 0;
        color: #a8aeb3;
        font-size: 13px;
        line-height: 1.5;
    }

    /*
     * IMPORTANT:
     * Always one category per row.
     */
    .ystl-categories-list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        width: 100%;
    }

    /*
     * CARD
     *
     * 126px image
     * remaining area is content
     * arrow is positioned absolutely so it does not
     * steal width from the category name.
     */
    .ystl-category-list-card {
        position: relative;

        display: grid;
        grid-template-columns: 126px minmax(0, 1fr);

        align-items: stretch;

        width: 100%;
        min-width: 0;
        min-height: 126px;

        padding: 0;

        overflow: hidden;

        border: 1px solid #293036;
        border-radius: 17px;

        background:
            radial-gradient(
                circle at 0 50%,
                rgba(255,212,0,.025),
                transparent 38%
            ),
            linear-gradient(
                110deg,
                #101518 0%,
                #0b0f11 100%
            );

        box-shadow: 0 8px 24px rgba(0,0,0,.24);

        transform: none;
    }

    /*
     * IMAGE
     */
    .ystl-category-list-image {
        position: relative;

        grid-column: 1;
        grid-row: 1;

        width: 126px;
        height: 126px;

        align-self: stretch;

        overflow: hidden;

        background: #0b0e10;
    }

    .ystl-category-list-img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;

        object-fit: cover !important;
        object-position: center !important;

        transform: none;
    }

    .ystl-category-list-image::after {
        content: "";

        position: absolute;
        inset: 0;

        background:
            linear-gradient(
                90deg,
                transparent 62%,
                rgba(8,11,13,.48) 100%
            );

        pointer-events: none;
    }

    /*
     * ICON
     *
     * The existing PHP icon is placed over the
     * content area, like the reference.
     */
    .ystl-category-list-icon {
        position: absolute;

        z-index: 3;

        left: 146px;
        top: 18px;

        width: 30px;
        height: 30px;

        display: grid;
        place-items: center;

        margin: 0;

        color: var(--yellow);

        font-size: 22px;
        line-height: 1;

        filter:
            drop-shadow(
                0 0 7px
                rgba(255,212,0,.16)
            );
    }

    /*
     * TEXT AREA
     *
     * Large width is reserved for the title.
     * Right padding leaves only the space required
     * for the large yellow arrow.
     */
    .ystl-category-list-text {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
        width: 100%;

        display: flex;
        flex-direction: column;
        justify-content: center;

        padding:
            42px
            64px
            15px
            20px;
    }

    .ystl-category-list-text h2 {
        display: block;

        width: 100%;
        max-width: none;

        margin: 0 0 7px;

        color: #fff;

        font-size: 19px;
        line-height: 1.15;
        font-weight: 800;

        letter-spacing: -.35px;

        /*
         * Keep category names long and readable.
         * No forced narrow column.
         */
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;

        overflow-wrap: normal !important;
        word-break: keep-all !important;
    }

    .ystl-category-model-count {
        display: block;

        color: #92999f;

        font-size: 12px;
        line-height: 1.25;
    }

    /*
     * BIG YELLOW ARROW
     *
     * Absolute positioning prevents the arrow from
     * reducing the width available to the title.
     */
    .ystl-category-list-arrow {
        position: absolute;

        z-index: 4;

        top: 50%;
        right: 20px;

        width: 36px;
        height: 54px;

        display: flex;
        align-items: center;
        justify-content: center;

        transform: translateY(-50%);

        color: var(--yellow) !important;

        font-size: 48px;
        line-height: .8;
        font-weight: 300;

        text-shadow:
            0 0 10px
            rgba(255,212,0,.12);
    }

    .ystl-category-list-card:hover
    .ystl-category-list-arrow {
        color: var(--yellow) !important;

        transform:
            translateY(-50%)
            translateX(3px);
    }

    .ystl-category-list-card:active {
        border-color: rgba(255,212,0,.45);
        background: #121719;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ystl-categories-container {
        width: calc(100% - 28px);
    }

    .ystl-category-list-card {
        grid-template-columns:
            112px
            minmax(0, 1fr);

        min-height: 118px;

        border-radius: 15px;
    }

    .ystl-category-list-image {
        width: 112px;
        height: 118px;
    }

    .ystl-category-list-icon {
        left: 130px;
        top: 16px;

        width: 27px;
        height: 27px;

        font-size: 20px;
    }

    .ystl-category-list-text {
        padding:
            40px
            54px
            13px
            18px;
    }

    .ystl-category-list-text h2 {
        font-size: 17px;
        line-height: 1.13;
    }

    .ystl-category-model-count {
        font-size: 11px;
    }

    .ystl-category-list-arrow {
        right: 14px;

        width: 32px;

        font-size: 44px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .brand {
        font-size: 17px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .header-actions button {
        width: 38px;
        height: 38px;
    }

    .ystl-hero-content h1 {
        font-size: 35px;
    }

    .ystl-stat-icon {
        display: none;
    }

    .ystl-stat-content strong,
    .ystl-stat strong {
        font-size: 17px;
    }

    .ystl-category-grid {
        gap: 8px;
    }

    .ystl-category-card {
        flex: 0 0 calc((100% - 16px) / 3);
    }

    .ystl-category-card > strong {
        font-size: 10px;
    }

    /*
     * Categories page
     */

    .ystl-categories-container {
        width: calc(100% - 22px);
    }

    .ystl-category-list-card {
        grid-template-columns:
            98px
            minmax(0, 1fr);

        min-height: 108px;
    }

    .ystl-category-list-image {
        width: 98px;
        height: 108px;
    }

    .ystl-category-list-icon {
        left: 113px;
        top: 14px;

        width: 25px;
        height: 25px;

        font-size: 18px;
    }

    .ystl-category-list-text {
        padding:
            37px
            45px
            11px
            15px;
    }

    .ystl-category-list-text h2 {
        font-size: 15px;
        line-height: 1.12;
        letter-spacing: -.2px;
    }

    .ystl-category-model-count {
        font-size: 10px;
    }

    .ystl-category-list-arrow {
        right: 10px;

        width: 28px;

        font-size: 39px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .ystl-hero-img {
        animation: none !important;
        transform: scale(1.06);
    }

    .ystl-category-card,
    .ystl-model-card,
    .ystl-category-list-card,
    .ystl-main-button {
        transition: none;
    }
}







/* =========================================================
   YELLOWSTL — FOOTER
========================================================= */

.site-footer {
    width: 100%;
    margin-top: 0;
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(255, 212, 0, .025),
            transparent 32%
        ),
        #050708;
    border-top: 1px solid #20262b;
    color: #ffffff;
}

.site-footer .shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   FOOTER INNER
========================================================= */

.ystl-footer-inner {
    padding-top: 52px;
    padding-bottom: 28px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.ystl-footer-brand {
    margin-bottom: 38px;
}

.ystl-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ystl-footer-logo-image {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 70px;
    object-fit: contain;
}

.ystl-footer-logo-mark {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--yellow);
    color: #080909;

    font-size: 29px;
    line-height: 1;
    font-weight: 900;
}

.ystl-footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ystl-footer-logo-text strong {
    display: block;

    color: #ffffff;

    font-size: 27px;
    line-height: 1;
    font-weight: 900;

    letter-spacing: -.8px;
}

.ystl-footer-logo-text strong span {
    color: var(--yellow);
}

.ystl-footer-logo-text small {
    display: block;

    margin-top: 7px;

    color: #c4c8cb;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.ystl-footer-links {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 230px));

    gap: 60px;

    margin-bottom: 42px;
}

.ystl-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 15px;
}

.ystl-footer-column a {
    position: relative;

    display: inline-block;

    color: #d4d7da;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 500;

    transition:
        color .2s ease,
        transform .2s ease;
}

.ystl-footer-column a:hover {
    color: var(--yellow);
    transform: translateX(3px);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.ystl-footer-copyright {
    width: 100%;

    padding-top: 24px;

    border-top: 1px solid #20262b;

    color: #8e959a;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER — MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-footer .shell {
        width: calc(100% - 48px);
    }

    .ystl-footer-inner {
        padding-top: 38px;
        padding-bottom: 28px;
    }


    /* Logo */

    .ystl-footer-brand {
        margin-bottom: 34px;
    }

    .ystl-footer-logo {
        gap: 12px;
    }

    .ystl-footer-logo-image {
        max-width: 205px;
        max-height: 62px;
    }

    .ystl-footer-logo-mark {
        width: 52px;
        height: 52px;

        flex-basis: 52px;

        border-radius: 12px;

        font-size: 26px;
    }

    .ystl-footer-logo-text strong {
        font-size: 24px;
    }

    .ystl-footer-logo-text small {
        margin-top: 6px;

        font-size: 9px;

        letter-spacing: 1.7px;
    }


    /* Links */

    .ystl-footer-links {
        width: 100%;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1.25fr);

        gap: 32px;

        margin-bottom: 36px;
    }

    .ystl-footer-column {
        gap: 13px;
    }

    .ystl-footer-column a {
        color: #c8ccd0;

        font-size: 14px;
        line-height: 1.25;
    }


    /* Copyright */

    .ystl-footer-copyright {
        padding-top: 21px;

        color: #92989d;

        font-size: 12px;
    }
}


/* =========================================================
   FOOTER — VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .site-footer .shell {
        width: calc(100% - 34px);
    }

    .ystl-footer-inner {
        padding-top: 34px;
    }

    .ystl-footer-logo-image {
        max-width: 185px;
        max-height: 56px;
    }

    .ystl-footer-logo-mark {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        font-size: 24px;
    }

    .ystl-footer-logo-text strong {
        font-size: 21px;
    }

    .ystl-footer-logo-text small {
        font-size: 8px;
    }

    .ystl-footer-links {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1.3fr);

        gap: 20px;
    }

    .ystl-footer-column {
        gap: 12px;
    }

    .ystl-footer-column a {
        font-size: 13px;
    }

    .ystl-footer-copyright {
        font-size: 11px;
    }
}




/* =========================================================
   YELLOWSTL — STANDARD CONTENT PAGES
   About / Privacy / Terms / DMCA / FAQ / Contact
========================================================= */

.ystl-page {
    width: 100%;
    min-height: 70vh;
    padding: 0 0 80px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 212, 0, .045),
            transparent 28%
        ),
        #050708;
}

.ystl-page-container {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}


/* Breadcrumb */

.ystl-page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    padding-top: 30px;
    margin-bottom: 28px;

    color: #858c92;
    font-size: 13px;
}

.ystl-page-breadcrumb a {
    color: #b8bdc1;
    transition: color .2s ease;
}

.ystl-page-breadcrumb a:hover {
    color: var(--yellow);
}

.ystl-page-breadcrumb span:last-child {
    color: #858c92;
}


/* Main page title */

.ystl-page-title {
    position: relative;

    margin: 0 0 42px;
    padding-bottom: 20px;

    color: #fff;

    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.7px;
}

.ystl-page-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 55px;
    height: 4px;

    border-radius: 20px;
    background: var(--yellow);
}


/* Main content */

.ystl-page-content {
    color: #c5c9cc;

    font-size: 17px;
    line-height: 1.8;
}

.ystl-page-content > *:first-child {
    margin-top: 0;
}

.ystl-page-content p {
    margin: 0 0 24px;
}


/* H2 */

.ystl-page-content h2 {
    position: relative;

    margin: 50px 0 20px;
    padding-left: 17px;

    color: #fff;

    font-size: 29px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -.6px;
}

.ystl-page-content h2::before {
    content: "";

    position: absolute;
    left: 0;
    top: 5px;

    width: 4px;
    height: calc(100% - 10px);

    border-radius: 20px;
    background: var(--yellow);
}


/* H3 */

.ystl-page-content h3 {
    margin: 35px 0 15px;

    color: #fff;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
}


/* Lists */

.ystl-page-content ul,
.ystl-page-content ol {
    margin: 18px 0 28px;
    padding-left: 28px;
}

.ystl-page-content li {
    margin: 9px 0;
    padding-left: 4px;
}

.ystl-page-content li::marker {
    color: var(--yellow);
}


/* Links */

.ystl-page-content a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
}

.ystl-page-content a:hover {
    text-decoration: underline;
}


/* Quotes */

.ystl-page-content blockquote {
    margin: 32px 0;
    padding: 20px 24px;

    border-left: 4px solid var(--yellow);
    border-radius: 0 12px 12px 0;

    background: #101417;
    color: #d7dade;
}


/* Tables — useful for policy/legal pages */

.ystl-page-content table {
    width: 100%;
    margin: 30px 0;

    border-collapse: collapse;

    background: #0d1114;
    border: 1px solid #293036;
}

.ystl-page-content th,
.ystl-page-content td {
    padding: 14px;

    border: 1px solid #293036;

    text-align: left;
    vertical-align: top;
}

.ystl-page-content th {
    background: #151a1e;
    color: #fff;
}


/* Horizontal separators */

.ystl-page-content hr {
    height: 1px;

    margin: 42px 0;

    border: 0;
    background: #252b30;
}


/* Strong text */

.ystl-page-content strong {
    color: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .ystl-page {
        padding-bottom: 60px;
    }

    .ystl-page-container {
        width: calc(100% - 34px);
    }

    .ystl-page-breadcrumb {
        padding-top: 22px;
        margin-bottom: 25px;

        font-size: 12px;
    }

    .ystl-page-title {
        margin-bottom: 34px;

        font-size: 40px;
    }

    .ystl-page-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .ystl-page-content h2 {
        margin-top: 42px;

        font-size: 25px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .ystl-page-container {
        width: calc(100% - 32px);
    }

    .ystl-page-breadcrumb {
        padding-top: 20px;
        margin-bottom: 23px;
    }

    .ystl-page-title {
        margin-bottom: 31px;
        padding-bottom: 17px;

        font-size: 36px;
        letter-spacing: -1px;
    }

    .ystl-page-title::after {
        width: 48px;
        height: 3px;
    }

    .ystl-page-content {
        font-size: 16px;
        line-height: 1.72;
    }

    .ystl-page-content p {
        margin-bottom: 21px;
    }

    .ystl-page-content h2 {
        margin: 38px 0 17px;
        padding-left: 14px;

        font-size: 24px;
        line-height: 1.25;
    }

    .ystl-page-content h2::before {
        width: 3px;
    }

    .ystl-page-content h3 {
        margin-top: 30px;

        font-size: 19px;
    }

    .ystl-page-content ul,
    .ystl-page-content ol {
        padding-left: 24px;
    }
}





/* =========================================================
   YELLOWSTL — SINGLE POST / ARTICLE
========================================================= */

.single-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 80px;
}

.single-wrap article {
    width: 100%;
}

/* Top area: image + information */
.single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 42px;
    align-items: center;
    margin-bottom: 55px;
}

/* Featured image */
.single-media {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel);
}

.single-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* Right information */
.single-info {
    min-width: 0;
}

.single-info .kicker {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--yellow);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.single-info h1 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.8px;
}

.single-meta {
    margin-bottom: 22px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.single-meta a {
    color: var(--yellow);
}

.single-info .excerpt {
    margin-bottom: 25px;
    color: #c5c9cc;
    font-size: 17px;
    line-height: 1.7;
}

.single-info .excerpt p {
    margin: 0;
}

/* Download / Details button */
.single-info .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 11px;
    background: var(--yellow);
    color: #070809;
    font-size: 15px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
}

.single-info .btn.primary:hover {
    background: #ffe033;
    transform: translateY(-2px);
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content {
    width: min(820px, 100%);
    margin: 0 auto;
    color: #c5c9cc;
    font-size: 17px;
    line-height: 1.8;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content p {
    margin: 0 0 24px;
}

.article-content h2 {
    position: relative;
    margin: 48px 0 20px;
    padding-left: 16px;
    color: var(--white);
    font-size: 29px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.6px;
}

.article-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: calc(100% - 10px);
    border-radius: 10px;
    background: var(--yellow);
}

.article-content h3 {
    margin: 35px 0 15px;
    color: var(--white);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}

.article-content a {
    color: var(--yellow);
    font-weight: 700;
}

.article-content ul,
.article-content ol {
    margin: 18px 0 28px;
    padding-left: 28px;
}

.article-content li {
    margin: 9px 0;
}

.article-content li::marker {
    color: var(--yellow);
}

.article-content strong {
    color: var(--white);
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 14px;
}


/* =========================================================
   SINGLE POST — TABLET
========================================================= */

@media (max-width: 900px) {

    .single-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-media {
        max-width: 720px;
        margin: 0 auto;
    }

    .single-info {
        max-width: 720px;
        margin: 0 auto;
    }
}


/* =========================================================
   SINGLE POST — MOBILE
========================================================= */

@media (max-width: 600px) {

    .single-wrap {
        width: calc(100% - 32px);
        padding: 24px 0 55px;
    }

    .single-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
        margin-bottom: 38px;
    }

    .single-media {
        width: 100%;
        border-radius: 14px;
    }

    .single-media img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .single-info {
        width: 100%;
    }

    .single-info .kicker {
        margin-bottom: 11px;
        font-size: 11px;
        letter-spacing: 1.3px;
    }

    .single-info h1 {
        margin-bottom: 14px;
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -.8px;
    }

    .single-meta {
        margin-bottom: 17px;
        font-size: 12px;
    }

    .single-info .excerpt {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.6;
    }

    .single-info .btn.primary {
        width: 100%;
        min-height: 50px;
        border-radius: 10px;
        font-size: 14px;
    }

    .article-content {
        width: 100%;
        font-size: 16px;
        line-height: 1.72;
    }

    .article-content p {
        margin-bottom: 21px;
    }

    .article-content h2 {
        margin: 38px 0 17px;
        padding-left: 14px;
        font-size: 24px;
        line-height: 1.25;
    }

    .article-content h2::before {
        width: 3px;
    }

    .article-content h3 {
        margin: 30px 0 14px;
        font-size: 19px;
    }
}






/* =========================================================
   YELLOWSTL BLOG — COMPACT MOBILE CARDS
   2 cards + short rectangular images
========================================================= */

@media (max-width: 600px) {

    .ystl-post-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: start !important;
    }

    .ystl-post-card {
        min-width: 0 !important;
        border-radius: 11px !important;
        overflow: hidden !important;
    }

    /* الصورة قصيرة ومستطيلة */
    .ystl-post-image {
        display: block !important;
        width: 100% !important;
        height: 105px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    .ystl-post-image img {
        width: 100% !important;
        height: 105px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* تصغير مساحة الكتابة */
    .ystl-post-body {
        padding: 11px 10px 12px !important;
    }

    /* التاريخ والتصنيف */
    .ystl-post-meta {
        display: flex !important;
        gap: 4px !important;
        margin: 0 0 8px !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }

    /* العنوان — حد أقصى 3 أسطر */
    .ystl-post-card h2 {
        margin: 0 0 8px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* الوصف — سطران فقط */
    .ystl-post-body p {
        margin: 0 0 10px !important;
        font-size: 10px !important;
        line-height: 1.45 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .ystl-read-more {
        font-size: 10px !important;
        gap: 4px !important;
    }
}





/* =========================================================
   YELLOWSTL — UNIFIED STL MODEL IMAGES
   Same 1:1 ratio everywhere
========================================================= */

/* Latest 3D Models cards */
.ystl-model-image {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
}

.ystl-model-image > a {
    width: 100%;
    height: 100%;
    display: block;
}

.ystl-model-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}


/* Individual STL model page */
.single-stl_model .single-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.single-stl_model .single-media img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}


/* Mobile */
@media (max-width: 600px) {

    .ystl-model-image {
        aspect-ratio: 1 / 1 !important;
    }

    .single-stl_model .single-media,
    .single-stl_model .single-media img {
        aspect-ratio: 1 / 1 !important;
    }
}