/* =========================================================
   Lens Beauty Blog System
   Home / Single / Category / Tag
   ========================================================= */

/* ---------- Global Fixes ---------- */

html,
body {
    overflow-x: clip !important;
}

.lens-blog-page,
.lens-single-page,
.lens-category-page,
.lens-blog-page *,
.lens-single-page *,
.lens-category-page * {
    box-sizing: border-box;
}

.lens-blog-page,
.lens-single-page,
.lens-category-page {
    direction: rtl;
    width: 100%;
    min-height: 100vh;
    color: #141414;
    font-family: inherit;
    background:
            radial-gradient(circle at 12% 8%, rgba(218, 178, 67, .12), transparent 28%),
            radial-gradient(circle at 88% 20%, rgba(15, 23, 42, .06), transparent 26%),
            #ffffff;
}

.lens-blog-page,
.lens-category-page {
    padding: 52px 0 80px;
}

.lens-single-page {
    padding: 48px 0 80px;
}

.lens-blog-container,
.lens-single-container,
.lens-category-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    overflow: visible !important;
}

.lens-blog-layout,
.lens-single-layout,
.lens-category-layout {
    overflow: visible !important;
}

/* ---------- Reveal Animation ---------- */

/* ---------- Reveal Animation ---------- */

/*
 * حالت پیش‌فرض باید قابل مشاهده باشد.
 * بنابراین حتی اگر JavaScript با تأخیر اجرا شود،
 * محتوای بالای صفحه مخفی نمی‌ماند.
 */
.lens-reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    transition:
            opacity .65s ease,
            transform .65s ease,
            visibility .65s ease;

    will-change: opacity, transform;
}

/*
 * فقط عناصر پایین‌تر از Viewport
 * توسط JavaScript این کلاس را دریافت می‌کنند.
 */
.lens-reveal.lens-waiting {
    opacity: 0;
    visibility: hidden;
    transform: translateY(22px);
}

/*
 * هنگام ورود عنصر به Viewport
 */
.lens-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*
 * محتوای اصلی مقاله همیشه نمایش داده شود.
 */
.lens-content-card.lens-reveal,
.lens-content-card.lens-reveal.lens-waiting,
.lens-content-card.lens-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/*
 * غیرفعال‌سازی انیمیشن برای کاربرانی که
 * Reduce Motion فعال کرده‌اند.
 */
@media (prefers-reduced-motion: reduce) {
    .lens-reveal,
    .lens-reveal.lens-waiting,
    .lens-reveal.is-visible {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

/* ---------- Shared Head / Hero ---------- */

.lens-blog-head {
    text-align: center;
    margin-bottom: 42px;
}

.lens-category-hero {
    position: relative;
    margin-bottom: 36px;
    padding: clamp(26px, 5vw, 48px);
    border-radius: 36px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
    overflow: hidden;
    text-align: center;
}

.lens-category-hero::before {
    content: "";
    position: absolute;
    inset: auto -90px -110px auto;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(218, 178, 67, .14);
    pointer-events: none;
}

.lens-category-hero::after {
    content: "";
    position: absolute;
    inset: -110px auto auto -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .045);
    pointer-events: none;
}

.lens-blog-kicker,
.lens-category-kicker,
.lens-single-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(218, 178, 67, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
    color: #8a6b12;
    font-size: 13px;
    font-weight: 800;
}

.lens-blog-title,
.lens-category-title,
.lens-single-title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-weight: 950;
    letter-spacing: -1px;
    line-height: 1.45;
}

.lens-blog-title,
.lens-category-title {
    font-size: clamp(30px, 4vw, 48px);
}

.lens-single-title {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(28px, 4vw, 48px);
}

.lens-blog-desc,
.lens-category-desc {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 14px auto 0;
    color: #68707c;
    font-size: 15px;
    line-height: 2.1;
}

.lens-category-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.lens-stat-pill {
    padding: 10px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
    color: #333;
    font-size: 13px;
    font-weight: 800;
}

/* ---------- Category Pills ---------- */

.lens-category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    margin-bottom: 32px;
}

.lens-blog-head .lens-category-pills {
    margin-bottom: 0;
}

.lens-category-pills a {
    text-decoration: none;
    color: #202020;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
    font-size: 13px;
    transition: .25s ease;
}

.lens-category-pills a:hover,
.lens-category-pills a.is-current {
    transform: translateY(-3px);
    border-color: rgba(218, 178, 67, .55);
    color: #9a7410;
}

/* ---------- Layouts ---------- */

.lens-blog-layout,
.lens-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas: "posts side";
    gap: 34px;
    align-items: start;
}

.lens-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas: "article side";
    gap: 34px;
    align-items: start;
}

.lens-posts,
.lens-category-posts {
    grid-area: posts;
    min-width: 0;
}

.lens-article {
    grid-area: article;
    min-width: 0;
}

/* ---------- Sticky Sidebar ---------- */

.lens-sidebar {
    grid-area: side;
    position: sticky !important;
    top: 32px;
    align-self: start;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 6px;
    scrollbar-width: thin;
    z-index: 20;
}

.admin-bar .lens-sidebar {
    top: 72px;
    max-height: calc(100vh - 88px);
}

.lens-sidebar::-webkit-scrollbar {
    width: 5px;
}

.lens-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.lens-sidebar::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, .18);
    border-radius: 999px;
}

.lens-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, .32);
}

/* ---------- Featured Post - Home ---------- */

.lens-featured {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: stretch;
    padding: 18px;
    margin-bottom: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.lens-featured::before {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(218, 178, 67, .13);
    pointer-events: none;
}

.lens-featured-image {
    display: block;
    min-height: 380px;
    border-radius: 26px;
    overflow: hidden;
    background: #f3f4f6;
}

.lens-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.lens-featured:hover .lens-featured-image img {
    transform: scale(1.045);
}

.lens-featured-content {
    position: relative;
    z-index: 2;
    padding: 28px 18px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lens-label {
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #141414;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.lens-featured-content h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.55;
    font-weight: 950;
}

.lens-featured-content h2 a,
.lens-card-title a {
    color: inherit;
    text-decoration: none;
}

.lens-featured-content p {
    margin: 0 0 24px;
    color: #626975;
    line-height: 2.05;
    font-size: 15px;
}

.lens-read-more {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111, #383838);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .18);
    transition: .25s ease;
}

.lens-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, .22);
}

/* ---------- Post Cards ---------- */

.lens-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.lens-post-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .065);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.lens-post-card:hover {
    transform: translateY(-7px);
    border-color: rgba(218, 178, 67, .38);
    box-shadow: 0 32px 80px rgba(15, 23, 42, .11);
}

.lens-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #ececec);
    text-decoration: none;
}

.lens-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .65s ease;
}

.lens-post-card:hover .lens-card-image img {
    transform: scale(1.06);
}

.lens-card-placeholder,
.lens-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
    font-weight: 900;
    background: #f3f4f6;
}

.lens-card-cat {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    color: #111;
    font-size: 12px;
    font-weight: 800;
}

.lens-card-body {
    padding: 18px 18px 20px;
}

.lens-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #7a7f87;
    font-size: 13px;
    margin-bottom: 12px;
}

.lens-card-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 950;
}

.lens-card-title a:hover {
    color: #9a7410;
}

.lens-card-excerpt {
    margin: 0 0 18px;
    color: #69707a;
    font-size: 14px;
    line-height: 2;
}

.lens-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, .06);
    color: #777;
    font-size: 12px;
}

.lens-mini-link {
    color: #8a6b12;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

/* ---------- Single Top ---------- */

.lens-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    z-index: 99999;
    background: linear-gradient(90deg, #e7c45b, #111);
    transition: width .08s linear;
}

.lens-single-top {
    text-align: center;
    margin-bottom: 34px;
}

.lens-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
    color: #222;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.lens-back-link:hover {
    transform: translateY(-3px);
    color: #9a7410;
    border-color: rgba(218, 178, 67, .45);
}

.lens-single-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: #737983;
    font-size: 13px;
}

/* ---------- Single Hero ---------- */

.lens-hero {
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.lens-hero-image {
    display: block;
    height: 460px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #ececec);
}

.lens-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ---------- Article Content ---------- */

.lens-content-card {
    padding: clamp(22px, 4vw, 42px);
    border-radius: 34px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .075);
}

.lens-article-content {
    color: #2f3338;
    font-size: 16px;
    line-height: 2.35;
}

.lens-article-content p {
    margin: 0 0 22px;
}

.lens-article-content h2,
.lens-article-content h3,
.lens-article-content h4 {
    color: #141414;
    line-height: 1.7;
    font-weight: 950;
    margin: 38px 0 16px;
}

.lens-article-content h2 {
    font-size: 26px;
    padding-right: 15px;
    border-right: 5px solid #d8b64e;
}

.lens-article-content h3 {
    font-size: 21px;
}

.lens-article-content h4 {
    font-size: 18px;
}

.lens-article-content a {
    color: #9a7410;
    text-decoration: none;
    border-bottom: 1px solid rgba(154, 116, 16, .35);
}

.lens-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.lens-article-content ul,
.lens-article-content ol {
    padding-right: 22px;
    margin: 0 0 24px;
}

.lens-article-content li {
    margin-bottom: 10px;
}

.lens-article-content blockquote {
    margin: 30px 0;
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(218, 178, 67, .12), rgba(255, 255, 255, .85));
    border: 1px solid rgba(218, 178, 67, .25);
    color: #333;
    font-weight: 700;
}

.lens-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    border-radius: 18px;
    display: block;
    overflow-x: auto;
}

.lens-article-content th,
.lens-article-content td {
    padding: 13px 15px;
    border: 1px solid rgba(15, 23, 42, .08);
    white-space: nowrap;
}

.lens-article-content th {
    background: #f6f7f8;
    color: #111;
}

.lens-article-content .wp-caption {
    max-width: 100% !important;
}

.lens-article-content .wp-caption img {
    width: 100%;
}

.lens-article-content .wp-caption-text {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    text-align: center;
}

.lens-page-links {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lens-page-links a,
.lens-page-links span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #222;
    text-decoration: none;
}

/* ---------- Tags ---------- */

.lens-tags-row,
.lens-mini-tags,
.lens-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.lens-tags-row {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, .07);
}

.lens-tags-row a,
.lens-mini-tags a,
.lens-tags a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid rgba(15, 23, 42, .05);
    transition: .2s ease;
}

.lens-tags-row a:hover,
.lens-mini-tags a:hover,
.lens-tags a:hover {
    background: #151515;
    color: #fff;
}

/* ---------- Share / Author / Post Nav ---------- */

.lens-share-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 22px 58px rgba(15, 23, 42, .06);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.lens-share-title {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
}

.lens-share-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lens-share-actions a,
.lens-share-actions button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f7f8;
    color: #222;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.lens-share-actions a:hover,
.lens-share-actions button:hover {
    background: #151515;
    color: #fff;
}

.lens-author-box {
    margin-top: 24px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 24px 62px rgba(15, 23, 42, .07);
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    align-items: center;
}

.lens-author-box img {
    width: 82px;
    height: 82px;
    border-radius: 24px;
}

.lens-author-box h3 {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 950;
}

.lens-author-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 2;
}

.lens-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.lens-post-nav a {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
    color: #222;
    text-decoration: none;
    transition: .25s ease;
}

.lens-post-nav a:hover {
    transform: translateY(-4px);
    border-color: rgba(218, 178, 67, .45);
}

.lens-post-nav span {
    color: #888;
    font-size: 12px;
    margin-bottom: 7px;
}

.lens-post-nav strong {
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- Related Posts ---------- */

.lens-related {
    margin-top: 34px;
}

.lens-section-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 950;
}

.lens-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lens-related-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .055);
    text-decoration: none;
    color: #222;
    transition: .25s ease;
}

.lens-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 178, 67, .42);
}

.lens-related-img {
    height: 160px;
    background: #f3f4f6;
    overflow: hidden;
}

.lens-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .55s ease;
}

.lens-related-card:hover img {
    transform: scale(1.06);
}

.lens-related-body {
    padding: 14px;
}

.lens-related-body strong {
    display: block;
    font-size: 14px;
    line-height: 1.8;
}

.lens-related-body span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 6px;
}

/* ---------- Sidebar Widgets ---------- */

.lens-widget {
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 22px 58px rgba(15, 23, 42, .07);
    backdrop-filter: blur(14px);
}

.lens-widget-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 950;
    display: flex;
    align-items: center;
    gap: 9px;
}

.lens-widget-title::before {
    content: "";
    width: 8px;
    height: 20px;
    border-radius: 99px;
    background: linear-gradient(180deg, #e7c45b, #9c7410);
}

/* ---------- Search ---------- */

.lens-search-form {
    display: flex;
    gap: 8px;
    background: #f6f7f8;
    padding: 7px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .06);
}

.lens-search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px;
    font-family: inherit;
    font-size: 13px;
}

.lens-search-form button {
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 0 15px;
    background: #151515;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
}

/* ---------- TOC ---------- */

.lens-toc {
    display: none;
}

.lens-toc.is-active {
    display: block;
}

.lens-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lens-toc-list li {
    margin-bottom: 9px;
}

.lens-toc-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.7;
    transition: .2s ease;
}

.lens-toc-list a:hover {
    background: #151515;
    color: #fff;
}

/* ---------- Sidebar Lists ---------- */

.lens-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lens-side-list li {
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.lens-side-list li:last-child {
    border-bottom: 0;
}

.lens-side-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: #242424;
    text-decoration: none;
    font-size: 14px;
    transition: .2s ease;
}

.lens-side-list a:hover,
.lens-side-list a.is-current {
    color: #9a7410;
    padding-right: 6px;
}

/* ---------- Recent Posts ---------- */

.lens-recent-post {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    text-decoration: none;
    color: inherit;
}

.lens-recent-post:last-child {
    border-bottom: 0;
}

.lens-recent-post img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 18px;
    background: #f3f4f6;
}

.lens-recent-placeholder {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    font-weight: 900;
}

.lens-recent-post strong {
    display: block;
    font-size: 13px;
    line-height: 1.8;
}

.lens-recent-post span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 3px;
}

/* ---------- Pagination / Empty ---------- */

.lens-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
}

.lens-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #222;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}

.lens-pagination .page-numbers.current,
.lens-pagination .page-numbers:hover {
    background: #151515;
    color: #fff;
}

.lens-empty {
    padding: 38px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .06);
    text-align: center;
    color: #666;
    line-height: 2;
}

/* ---------- Comments ---------- */

.lens-comments {
    margin-top: 34px;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 24px 62px rgba(15, 23, 42, .07);
}

.lens-comments input,
.lens-comments textarea {
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 12px 14px;
    font-family: inherit;
}

.lens-comments textarea {
    width: 100%;
}

.lens-comments .submit {
    cursor: pointer;
    border: 0;
    background: #151515;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .lens-featured {
        grid-template-columns: 1fr;
    }

    .lens-featured-image {
        min-height: 310px;
    }

    .lens-blog-layout,
    .lens-category-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "posts"
            "side";
    }

    .lens-single-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "article"
            "side";
    }

    .lens-sidebar {
        position: static !important;
        max-height: none;
        overflow: visible;
        padding-left: 0;
    }

    .lens-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lens-hero-image {
        height: 360px;
    }
}

@media (max-width: 720px) {
    .lens-blog-page,
    .lens-single-page,
    .lens-category-page {
        padding-top: 34px;
    }

    .lens-blog-container,
    .lens-single-container,
    .lens-category-container {
        width: min(100% - 28px, 1180px);
    }

    .lens-blog-title,
    .lens-category-title,
    .lens-single-title {
        letter-spacing: 0;
    }

    .lens-category-hero {
        border-radius: 28px;
    }

    .lens-post-grid {
        grid-template-columns: 1fr;
    }

    .lens-featured {
        padding: 12px;
        border-radius: 26px;
    }

    .lens-featured-image {
        min-height: 240px;
        border-radius: 20px;
    }

    .lens-featured-content {
        padding: 18px 8px 14px;
    }

    .lens-card-image {
        height: 220px;
    }

    .lens-hero {
        padding: 12px;
        border-radius: 26px;
    }

    .lens-hero-image {
        height: 245px;
        border-radius: 20px;
    }

    .lens-content-card {
        border-radius: 26px;
    }

    .lens-single-meta {
        gap: 9px;
    }

    .lens-post-nav,
    .lens-related-grid {
        grid-template-columns: 1fr;
    }

    .lens-author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lens-author-box img {
        margin: 0 auto;
    }

    .lens-share-box {
        align-items: flex-start;
        flex-direction: column;
    }
}