/* =========================================
   VISION VIVANTE — BLOG PAGE
   Dark technology + emerald layout
========================================= */

:root {
    --vb-bg: #02080a;
    --vb-panel: #041310;
    --vb-card: #041714;
    --vb-green: #f4c976;
    --vb-green-dark: #0bbd87;
    --vb-text: #f4f8f7;
    --vb-muted: #a3b8c3;
    --vb-border: rgba(48, 207, 181, .24);
}

.vv-blog-hero,
.vv-blog-content {
    color: var(--vb-text);
    background: var(--vb-bg);
}

.vv-blog-hero {
    position: relative;
    overflow: hidden;
}

.vv-blog-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;
    padding-top: 60px;
    padding-bottom: 0px;
}

.vv-blog-hero-copy {
    position: relative;
    z-index: 2;
}

.vv-blog-breadcrumb {
    color: var(--vb-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.vv-blog-breadcrumb span {
    color: #6a958b;
    margin: 0 7px;
}

.vv-blog-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5vw, 57px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1;
    margin: 0 0 12px;
}

.vv-blog-hero h1 span {
    background: linear-gradient(100deg, #fff 0%, #1c88d7 82%, #0a446e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vv-blog-hero-copy>p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 17px;
}

.vv-blog-search {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    border: 1px solid #f4c97654;
    border-radius: 30px;
    background: rgba(0, 8, 8, .75);
    padding: 8px 8px 8px 15px;
}

.vv-blog-hero-search {
    max-width: 365px;
}

.vv-blog-search>i {
    font-size: 13px;
    flex-shrink: 0;
}

.vv-blog-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
}

.vv-blog-search input::placeholder {
    color: #a9bdc5;
}

.vv-blog-search button {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #00140e;
    background: linear-gradient(100deg, #996a29, #f0c673 55%, #9a6b29);
}

.vv-blog-hero-image {
    position: relative;
    /* height: 235px; */
    overflow: hidden;
    mask-image: linear-gradient(181deg, transparent 0%, #000 20%, #000 85%, transparent 100%);
}

.vv-blog-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
}

.vv-blog-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #03110e 0%, transparent 40%, rgba(0, 20, 14, .08));
    pointer-events: none;
}

.vv-blog-hero-code {
    position: absolute;
    left: 13%;
    bottom: 25%;
    padding: 12px 14px;
    border: 1px solid rgba(35, 226, 176, .45);
    border-radius: 9px;
    background: rgba(0, 20, 16, .8);
    color: var(--vb-green);
    font-size: 19px;
    box-shadow: 0 0 30px rgba(40, 219, 161, .12);
}

.vv-blog-content {
    padding: 60px 0 0px;
}

.vv-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    align-items: start;
    gap: 30px;
}

.vv-blog-main {
    min-width: 0;
}

.vv-blog-filter-wrap {
    position: relative;
    z-index: 5;
    margin-bottom: 18px;
}

.vv-blog-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 3px;
    scrollbar-width: none;
}

.vv-blog-filters::-webkit-scrollbar {
    display: none;
}

.vv-blog-filter {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--vb-border);
    border-radius: 24px;
    background: transparent;
    color: #d0dfe4;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: .25s ease;
}

.vv-blog-filter:hover,
.vv-blog-filter.active {
    border-color: #1c88d7;
    color: #032017;
    background: linear-gradient(100deg, #1c88d7, #27e2eb 55%, #1c88d7);
    box-shadow: 0 12px 40px rgba(85, 230, 255, .15);
}

.vv-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.vv-blog-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(129 129 129 / 24%);
    border-radius: 7px;
    background: linear-gradient(145deg, #06141a, #02030d);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vv-blog-card:hover {
    transform: translateY(-4px);
    border-color: #f0c673;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
}

.vv-blog-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4.2 / 3;
    overflow: hidden;
    background: #08201a;
}

.vv-blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.vv-blog-card:hover .vv-blog-card-image img {
    transform: scale(1.045);
}

.vv-blog-category {
    position: absolute;
    left: 12px;
    bottom: 10px;
    transform: translateY(-1px);
    padding: 4px 9px;
    border-radius: 12px;
    color: #000;
    font-size: 9px;
    background: linear-gradient(100deg, #996a29, #f0c673 55%, #9a6b29);
    font-weight: 600;
    font-family: 'Averta-Bold';
}

.vv-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 13px 0;
}

.vv-blog-card h3 {
    margin: 8px 0 7px;
    color: #f5f8f8;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.3px;
}

.vv-blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.vv-blog-card h3 a:hover {
    color: var(--vb-green);
}

.vv-blog-card-body>p {
    flex: 1;
    margin: 0 0 10px;
    color: #b0c4cd;
    font-size: 14px;
    line-height: 1.55;
}

.vv-blog-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 35px;
    margin-top: auto;
    border-top: 1px solid rgba(48, 207, 181, .15);
    color: #a9c1ca;
    font-size: 9px;
}

.vv-blog-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
}

.vv-blog-card-footer span i {
    color: #9bbac4;
    font-size: 11px;
}

.vv-blog-card-footer>a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 34px;
    margin-left: auto;
    color: #e0f7f0;
    font-size: 14px;
}

.vv-blog-card-footer>a:hover {
    color: var(--vb-green);
}

.vv-blog-sidebar {
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid var(--vb-border);
}

.vv-blog-sidebar-search {
    min-height: 39px;
    margin-bottom: 16px;
    border-radius: 7px;
    padding: 5px 10px;
}

.vv-blog-sidebar-search input {
    font-size: 14px;
}

.vv-blog-sidebar-block h3 {
    margin: 0 0 10px;
    color: #f5f8f8;
    font-size: 14px;
    font-weight: 750;
}

.vv-blog-category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vv-blog-category-list button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 32px;
    padding: 7px 9px;
    border: 1px solid rgba(48, 207, 181, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .015);
    color: #d1e0e4;
    text-align: left;
    font-size: 13px;
    transition: .2s ease;
}

.vv-blog-category-list button>i {
    width: 13px;
    color: #d7e8e9;
    font-size: 12px;
}

.vv-blog-category-list button span {
    flex: 1;
}

.vv-blog-category-list button b {
    color: #a7c3c8;
    font-size: 9px;
    font-weight: 500;
}

.vv-blog-category-list button:hover,
.vv-blog-category-list button.active {
    border-color: rgba(40, 219, 161, .25);
    background: rgb(22 195 203 / 32%);
    color: var(--vb-green);
}

.vv-blog-category-list button.active>i,
.vv-blog-category-list button.active b {
    color: var(--vb-green);
}

.vv-blog-sidebar-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--vb-green);
    font-size: 11px;
    font-weight: 700;
}

/* Vision Vivante Newsletter */
.vv-newsletter-hero {
    --vv-navy: #071a2e;
    --vv-gold: #d8b56d;
    --vv-gold-light: #fff0b8;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 80px 0px;
    color: #fff;
    background: var(--vv-navy);
    background-image: url(/assets/images/blog-newsletter-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 60px;
}

.vv-newsletter-hero,
.vv-newsletter-hero * {
    box-sizing: border-box;
}

.vv-newsletter-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(55deg, #00000094, transparent);
    height: 100%;
    width: 100%;
}

.vv-newsletter-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

/* Left content */
.vv-newsletter-content {
    animation: vvFadeUp .8s ease-out both;
}

.vv-newsletter-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
    color: var(--vv-gold-light);
    font-size: 13px;
    font-weight: 700;
    font-family: 'Averta-Bold';
}

.vv-newsletter-brand span:last-child {
    letter-spacing: 2px;
    font-family: 'Averta-Bold';
}

.vv-newsletter-brand-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 181, 109, .65);
    border-radius: 12px;
    color: var(--vv-gold-light);
    font-size: 24px;
    box-shadow: 0 0 24px rgba(216, 181, 109, .09);
}

.vv-newsletter-content h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Averta-Bold';
    font-size: clamp(28px, 3.5vw, 55px);
    font-weight: 700;
    letter-spacing: -1px;
}

.vv-newsletter-content h2 span {
    display: inline-block;
    background: linear-gradient(105deg,
            #d8b56d 0%,
            #fff0b8 35%,
            #c99535 65%,
            #fff0b8 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vvGoldShimmer 7s linear infinite;
}

.vv-newsletter-description {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.85;
}

/* Benefits */
.vv-newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.vv-newsletter-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vv-benefit-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(216, 181, 109, .55);
    border-radius: 50%;
    color: var(--vv-gold-light);
    font-size: 21px;
    transition: background .3s ease, transform .3s ease;
}

.vv-newsletter-benefit:hover .vv-benefit-icon {
    background: rgba(216, 181, 109, .14);
    transform: translateY(-3px);
}

.vv-newsletter-benefit strong,
.vv-newsletter-benefit small {
    display: block;
}

.vv-newsletter-benefit strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Averta-Bold';
}

.vv-newsletter-benefit small {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}

/* Signup card */
.vv-newsletter-card {
    position: relative;
    padding: clamp(28px, 3.2vw, 52px);
    border: 1px solid rgba(216, 181, 109, .62);
    border-radius: 24px;
    background: rgba(4, 23, 40, .79);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 240, 184, .10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    animation: vvFadeUp .9s .12s ease-out both;
}

.vv-newsletter-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--vv-gold-light),
            transparent);
    opacity: .8;
}

.vv-newsletter-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
    color: var(--vv-gold-light);
    font-size: 11px;
    letter-spacing: 4px;
    font-family: 'Averta-Bold';
    font-weight: 600;
}

.vv-newsletter-kicker span {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vv-gold));
}

.vv-newsletter-kicker span:last-child {
    transform: rotate(180deg);
}

.vv-newsletter-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'Averta-Bold';
    font-size: clamp(27px, 2.5vw, 39px);
    font-weight: 600;
    line-height: 1.2;
}

.vv-newsletter-card>p {
    max-width: 430px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, .74);
    font-size: 15px;
    line-height: 1.8;
}

/* Email input and button */
.vv-newsletter-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    padding: 6px 6px 6px 20px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 50px;
    background: rgba(3, 17, 31, .52);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.vv-newsletter-input-wrap:focus-within {
    border-color: var(--vv-gold);
    box-shadow: 0 0 0 3px rgba(216, 181, 109, .12);
}

.vv-newsletter-input-wrap>i {
    flex-shrink: 0;
    color: var(--vv-gold-light);
    font-size: 19px;
}

.vv-newsletter-input-wrap input {
    flex: 1;
    width: 0;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
}

.vv-newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, .58);
}

.vv-newsletter-input-wrap button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 23px;
    border: 0;
    border-radius: 40px;
    background: linear-gradient(115deg,
            #d8b56d,
            #fff0b8 48%,
            #c99535);
    color: #091a2a;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.vv-newsletter-input-wrap button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(216, 181, 109, .24);
}

.vv-newsletter-input-wrap button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.vv-newsletter-input-wrap button i {
    font-size: 17px;
    transition: transform .25s ease;
}

.vv-newsletter-input-wrap button:hover i {
    transform: translateX(3px);
}

.vv-newsletter-privacy {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .67);
    font-size: 12px;
    text-align: left;
}

.vv-newsletter-privacy i {
    color: var(--vv-gold);
    font-size: 16px;
}

.vv-newsletter-hero .contact-form-status {
    margin-top: 12px;
    font-size: 13px;
    color: var(--vv-gold-light);
}

@keyframes vvFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vvGoldShimmer {
    to {
        background-position: 220% center;
    }
}

@keyframes vvBgReveal {
    from {
        opacity: .65;
    }

    to {
        opacity: 1;
    }
}


.vv-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 30px;
}

.vv-blog-pagination button {
    display: grid;
    place-items: center;
    min-width: 31px;
    height: 31px;
    padding: 0 9px;
    border: 1px solid rgba(48, 207, 181, .16);
    border-radius: 9px;
    background: #041310;
    color: #b5c9ce;
    font-size: 11px;
}

.vv-blog-pagination button.active,
.vv-blog-pagination button:not(:disabled):hover {
    border-color: var(--vb-green);
    background: var(--vb-green);
    color: #032017;
}

.vv-blog-pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.vv-blog-empty {
    padding: 35px 10px;
    color: var(--vb-muted);
    font-size: 13px;
    text-align: center;
}

.vv-blog-card[hidden] {
    display: none !important;
}

@media (min-width: 1200px) {
    .vv-blog-layout {
        grid-template-columns: minmax(0, 1fr) 225px;
        gap: 30px;
    }
}

@media screen and (max-width:1050px) {
    .vv-newsletter-inner {
        gap: 20px;
    }

    .vv-newsletter-content h2 {
        font-size: clamp(30px, 4vw, 54px);
    }

    .vv-newsletter-card {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .vv-blog-layout {
        grid-template-columns: minmax(0, 1fr) 205px;
        gap: 18px;
    }

    .vv-blog-grid {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vv-blog-card-body {
        padding: 12px 10px 0;
    }

    .vv-blog-card h3 {
        font-size: 13px;
    }

    .vv-blog-card-footer {
        gap: 7px;
        font-size: 8px;
    }

    .vv-blog-sidebar {
        padding-left: 8px;
    }

    .vv-newsletter-inner {
        gap: 30px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .vv-blog-hero-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .vv-blog-hero h1 {
        font-size: 45px;
    }

    .vv-blog-hero-copy>p {
        max-width: 100%;
    }

    .vv-blog-hero-image {
        display: none;
    }

    .vv-blog-content {
        padding-top: 18px;
    }

    .vv-blog-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vv-blog-filter-wrap {
        margin-bottom: 15px;
    }

    .vv-blog-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 25px;
    }

    .vv-blog-card-image {
        aspect-ratio: 4 / 3;
    }

    .vv-blog-card h3 {
        font-size: 13px;
    }

    .vv-blog-card-body>p {
        font-size: 10px;
    }

    .vv-blog-card-footer {
        flex-wrap: wrap;
        gap: 5px 8px;
        padding: 5px 0;
    }

    .vv-blog-sidebar {
        padding: 22px 0 0;
        border-left: 0;
        border-top: 1px solid var(--vb-border);
    }

    .vv-blog-sidebar-newsletter {
        max-width: none;
    }

    .vv-newsletter-hero {
        padding: 50px 0px;
    }

    .vv-newsletter-brand {
        gap: 12px;
        margin-bottom: 26px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .vv-newsletter-brand-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .vv-newsletter-content h2 {
        font-size: clamp(35px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .vv-newsletter-description {
        font-size: 15px;
    }

    .vv-newsletter-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .vv-newsletter-card {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .vv-newsletter-card h3 {
        font-size: 29px;
    }

    .vv-newsletter-card>p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .vv-newsletter-input-wrap {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
        border-radius: 18px;
    }

    .vv-newsletter-input-wrap input {
        flex: 1;
        width: auto;
        font-size: 14px;
    }

    .vv-newsletter-input-wrap button {
        width: 100%;
        min-height: 48px;
    }

    .vv-newsletter-privacy {
        font-size: 11px;
    }

    .vv-blog-hero {
        padding: 100px 0 0px;
    }
}

@media (max-width: 420px) {
    .vv-blog-grid {
        grid-template-columns: 1fr;
    }

    .vv-blog-card-image {
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {

    .vv-blog-hero *,
    .vv-blog-content * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .vv-newsletter-content,
    .vv-newsletter-card,
    .vv-newsletter-bg,
    .vv-newsletter-content h2 span {
        animation: none !important;
    }

    .vv-newsletter-hero *,
    .vv-newsletter-hero *::before,
    .vv-newsletter-hero *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
/* Sidebar tag cloud — the names typed in the comma-separated Tags box on each
   post in /admin. Chips wrap inline instead of stacking like the category list,
   because tags are short and there can be many. Same palette as categories. */
.vv-blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.vv-blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(48, 207, 181, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .015);
    color: #d1e0e4;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.vv-blog-tag>i { color: #d7e8e9; font-size: 10px; }
.vv-blog-tag b { color: #a7c3c8; font-size: 9px; font-weight: 500; }

.vv-blog-tag:hover,
.vv-blog-tag.active {
    border-color: rgba(40, 219, 161, .25);
    background: rgb(22 195 203 / 32%);
    color: var(--vb-green);
}

.vv-blog-tag.active>i,
.vv-blog-tag.active b { color: var(--vb-green); }
