/* =================================================================================
   UYAAI Lens Style Hub
   File: assets/css/lens-style.css
   ================================================================================= */

/* GeneratePress full-width reset */
.page-template-page-lens-style #primary,
.page-template-page-lens-style .content-area,
.page-template-page-lens-style .site-main,
.page-template-page-lens-style .inside-article,
.page-template-page-lens-style .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.page-template-page-lens-style .site-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.page-template-page-lens-style #right-sidebar,
.page-template-page-lens-style #left-sidebar {
    display: none !important;
}

/* Page base */
.uyaai-lens-style-page {
    background: #ffffff;
    color: #111111;
    overflow: hidden;
}

.uyaai-lens-style-page *,
.uyaai-lens-style-page *::before,
.uyaai-lens-style-page *::after {
    box-sizing: border-box;
}

.uyaai-lens-style-page a {
    text-decoration: none;
}

.lens-style-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =================================================================================
   INTRO
   ================================================================================= */

.lens-style-intro {
    padding: 88px 0 54px;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(237, 0, 142, 0.09),
            transparent 42%
        ),
        #ffffff;
}

.lens-style-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #ed008e;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.lens-style-title {
    max-width: 820px;
    margin: 0 auto;
    color: #111111;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -2px;
}

.lens-style-description {
    max-width: 760px;
    margin: 22px auto 0;
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}

/* =================================================================================
   STYLE GRID
   ================================================================================= */

.lens-style-directory {
    padding: 22px 0 92px;
}

.lens-style-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.lens-style-card {
    min-width: 0;
}

.lens-style-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.065);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.lens-style-card-link:hover {
    color: #111111;
    border-color: rgba(237, 0, 142, 0.35);
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.11);
}

.lens-style-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f5f5f5;
}

.lens-style-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.08),
        transparent
    );
}

.lens-style-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.lens-style-card-link:hover .lens-style-card-media img {
    transform: scale(1.035);
}

.lens-style-card-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(237, 0, 142, 0.12),
            transparent 38%
        ),
        linear-gradient(145deg, #fff7fb, #f2f2f2);
}

.lens-style-card-content {
    padding: 22px 22px 24px;
}

.lens-style-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lens-style-card-heading h2 {
    margin: 0;
    color: #111111;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.lens-style-card-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.lens-style-card-link:hover .lens-style-card-arrow {
    background: #ed008e;
    transform: translateX(3px);
}

.lens-style-card-content p {
    margin: 13px 0 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

/* Empty state */
.lens-style-empty {
    padding: 80px 20px;
    border: 1px dashed #d8d8d8;
    border-radius: 20px;
    background: #fafafa;
    text-align: center;
}

.lens-style-empty p {
    margin: 0;
    color: #777777;
    font-size: 16px;
}

/* =================================================================================
   CTA
   ================================================================================= */

.lens-style-cta {
    padding: 0 0 90px;
}

.lens-style-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 42px 46px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(237, 0, 142, 0.26),
            transparent 34%
        ),
        #111111;
    color: #ffffff;
}

.lens-style-cta-copy {
    max-width: 720px;
}

.lens-style-cta-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.lens-style-cta-copy p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.65;
}

.lens-style-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #ed008e;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(237, 0, 142, 0.28);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.lens-style-cta-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(237, 0, 142, 0.4);
}

.lens-style-cta-button span {
    font-size: 18px;
    line-height: 1;
}

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

@media (max-width: 1024px) {
    .lens-style-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .lens-style-intro {
        padding-top: 72px;
    }

    .lens-style-title {
        font-size: 52px;
    }

    .lens-style-cta-inner {
        padding: 38px;
    }
}

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

@media (max-width: 768px) {
    .lens-style-container {
        width: min(100% - 28px, 1180px);
    }

    .lens-style-intro {
        padding: 52px 0 34px;
    }

    .lens-style-eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 1.1px;
    }

    .lens-style-title {
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -1.2px;
    }

    .lens-style-description {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.65;
    }

    .lens-style-directory {
        padding: 12px 0 62px;
    }

    .lens-style-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lens-style-card-link {
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    }

    .lens-style-card-link:hover {
        transform: none;
    }

    .lens-style-card-content {
        padding: 18px 18px 20px;
    }

    .lens-style-card-heading h2 {
        font-size: 22px;
    }

    .lens-style-card-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .lens-style-card-content p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.6;
    }

    .lens-style-cta {
        padding-bottom: 58px;
    }

    .lens-style-cta-inner {
        display: block;
        padding: 30px 24px;
        border-radius: 22px;
        text-align: center;
    }

    .lens-style-cta-copy h2 {
        font-size: 27px;
    }

    .lens-style-cta-copy p {
        margin-top: 12px;
        font-size: 14px;
    }

    .lens-style-cta-button {
        width: 100%;
        margin-top: 24px;
    }
}

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

@media (max-width: 430px) {
    .lens-style-title {
        font-size: 32px;
    }

    .lens-style-description {
        font-size: 14px;
    }

    .lens-style-card-content {
        padding: 16px 16px 18px;
    }

    .lens-style-card-heading h2 {
        font-size: 21px;
    }

    .lens-style-cta-inner {
        padding: 28px 20px;
    }

    .lens-style-cta-copy h2 {
        font-size: 25px;
    }
}

/* Mobile: Lens Style cards use 2 columns */
@media (max-width: 767px) {
    .lens-style-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .lens-style-card {
        min-width: 0;
    }
}