/*

Theme Name: NAILVRA Studio

Theme URI: https://nailvra.com/

Author: NAILVRA

Description: Premium beauty, nail-care, editorial blog and product services WordPress theme.

Version: 1.2.0

Requires at least: 6.0

Tested up to: 6.8

Requires PHP: 7.4

License: GPL-2.0-or-later

Text Domain: nailvra

*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0b0907;
    --bg2: #15110d;
    --ink: #f4ece0;
    --muted: #b3a896;
    --gold: #c9a15a;
    --gold2: #e8c987;
    --rose: #c98f8a;
    --line: rgba(201, 161, 90, .22);
    --accent: #c9a15a;
    --max: 1180px;
    --serif-body: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.65 Manrope, Inter, Arial, sans-serif;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: .005em;
    margin: 0 0 18px;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 18px; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.container, .wrap { width: min(var(--max), calc(100% - 48px)); margin: auto; }

/* ==============================
   HEADER + NAILVRA RESPONSIVE LOGO
   header.php should use nailvra_img('logo.png')
============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: rgba(11, 9, 7, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.site-header .brand {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 42%;
    line-height: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--gold2);
    text-decoration: none;
}
.site-header .brand span { font-weight: 500; color: var(--ink); }
.site-header .brand img,
.site-header .brand img.site-logo {
    display: block;
    width: clamp(125px, 16vw, 205px);
    max-width: 100%;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: normal;
}
.site-header .main-nav { min-width: 0; }
.site-header .main-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.site-header .main-nav li { position: relative; }
.site-header .main-nav a {
    display: block;
    font-size: .92rem;
    font-weight: 500;
    color: var(--muted);
}
.site-header .main-nav a:hover,
.site-header .main-nav .current-menu-item > a,
.site-header .main-nav .current_page_item > a {
    color: var(--gold2);
}
/* Active menu underline (Britannica style) */
.site-header .main-nav .current-menu-item > a,
.site-header .main-nav .current_page_item > a {
    box-shadow: 0 3px 0 var(--gold);
    padding-bottom: 4px;
}
.site-header .main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 10px 0;
    margin-top: 14px;
    background: #100d0a;
    border: 1px solid var(--line);
    border-radius: 10px;
    z-index: 100;
}
.site-header .main-nav li:hover > .sub-menu,
.site-header .main-nav li:focus-within > .sub-menu { display: block; }
.site-header .main-nav .sub-menu li a { padding: 10px 16px; white-space: nowrap; }

.site-header .menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    padding: 9px 12px;
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
}
.site-header .menu-icon { display: flex; flex-direction: column; gap: 4px; }
.site-header .menu-icon span { display: block; width: 19px; height: 2px; background: currentColor; }

/* Header search bar (rounded pill) */
.header-search { position: relative; flex: 1 1 300px; max-width: 420px; }
.header-search input[type=search],
.header-search input[type=text] {
    width: 100%;
    padding: 11px 46px 11px 20px;
    background: var(--bg2);
    color: var(--ink);
    border: 1px solid var(--gold);
    border-radius: 999px;
    font: 500 .95rem Manrope, sans-serif;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--gold2);
    cursor: pointer;
    font-size: 1.1rem;
}

/* Buttons */
.button, .wp-block-button__link, input[type=submit] {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #1a1208 !important;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    font: 600 .95rem Manrope, sans-serif;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.button:hover, .wp-block-button__link:hover, input[type=submit]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 161, 90, .35);
    color: #1a1208;
}
.button.light { background: none; color: var(--ink) !important; border: 1px solid var(--line); }
.button.light:hover { border-color: var(--gold); box-shadow: none; }
.header-cta { padding: 10px 22px; white-space: nowrap; }

/* Other theme elements */
.eyebrow { font-size: .85rem; font-weight: 600; color: var(--gold2); margin-bottom: 14px; }
.section { padding: 100px 0; }
.section-head, .head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.section-head h2, .head h2 { max-width: 16ch; margin: 0; }
.section-head p, .head p { color: var(--muted); max-width: 42ch; margin: 0; }

/* Hero + 3D stage */
.hero {
    position: relative;
    padding: 72px 0 110px;
    background: radial-gradient(900px 500px at 78% 30%, rgba(201,143,138,.18), transparent 65%),
                radial-gradient(700px 400px at 10% 0, rgba(201,161,90,.12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); margin-bottom: 24px; }
.hero p { color: var(--muted); max-width: 46ch; margin: 0 0 34px; font-size: 18px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; margin-top: 44px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.trust b { display: block; color: var(--gold2); font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; }
.stage { perspective: 1400px; position: relative; aspect-ratio: 1/1; max-width: 560px; width: 100%; margin-left: auto; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .15s ease-out; }
.layer { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6); border: 1px solid var(--line); }
.layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
.l1 { inset: 4% 14% 14% 0; transform: rotateY(-8deg); }
.l2 { width: 44%; aspect-ratio: 1; right: 0; bottom: 2%; transform: translateZ(90px) rotateY(-8deg); }
.l3 { width: 34%; aspect-ratio: 3/4; right: 4%; top: 0; transform: translateZ(150px) rotateY(-8deg); }
.l1, .l2, .l3 { animation: float 7s ease-in-out infinite; }
.l2 { animation-delay: -2s; }
.l3 { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* 3D cards */
.grid, .cards, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.tilt, .card {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .15s ease-out, border-color .2s;
    will-change: transform;
}
.tilt:hover, .card:hover { border-color: var(--gold); }
.tilt .im, .card-image { aspect-ratio: 1; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }
.tilt img, .card-image img { width: 100%; height: 100%; object-fit: cover; }
.tilt .bd, .card-body { padding: 24px 24px 28px; transform: translateZ(30px); }
.tilt h3, .card h3 { font-size: 1.75rem; margin-bottom: 8px; }
.tilt p, .card p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
.more { color: var(--gold2); font-weight: 600; font-size: .95rem; }
.tag, .pill { display: inline-block; font-size: .75rem; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold2); margin-bottom: 12px; }
.placeholder { color: var(--muted); font-size: .85rem; }
#products .tilt { background: #fff; border-color: #e6dccb; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
#products .tilt:hover { border-color: var(--gold); }
#products .tilt .im { background: #fff; padding: 12px; }
#products .tilt img { object-fit: contain; border-radius: 10px; }
#products .tilt h3 { color: #1a1208; }
#products .tilt p { color: #5b5247; }
#products .tilt .tag { color: #8a6420; border-color: #e0cfae; }
#products .tilt .more { color: #8a6420; }
.posts .tilt .im { aspect-ratio: 16/10; }
.meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.post-card { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.post-card .thumb { aspect-ratio: 16/10; margin-bottom: 18px; overflow: hidden; border-radius: 14px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
.svc { background: var(--bg2); border-block: 1px solid var(--line); }
.svc-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.svc-grid > div, .service-item { padding: 36px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.svc-grid h3, .service-item h3 { font-size: 1.65rem; margin: 0 0 10px; color: var(--gold2); }
.svc-grid p, .service-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.feature-panel { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 45px; }
.quote { text-align: center; padding: 120px 0; }
.quote h2 { font-size: clamp(34px, 5vw, 64px); max-width: 20ch; margin: 0 auto 20px; color: var(--gold2); }
.quote p { color: var(--muted); margin: 0; }
.cta { padding: 110px 25px; text-align: center; background: radial-gradient(700px 320px at 50% 100%, rgba(201,143,138,.2), transparent 70%); }
.cta h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 32px; }

/* Inner pages, blog, forms */
.page-hero { padding: 80px 0 50px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 80% 0, rgba(201,143,138,.14), transparent 70%); }
.page-hero p { max-width: 700px; color: var(--muted); }
.content-layout { padding: 60px 0; }
.entry-content { max-width: 780px; margin: auto; padding: 45px 0; color: #d8cebd; }
.entry-content a { color: var(--gold2); }
.entry-content img { margin: 25px 0; border-radius: 14px; }
.entry-content h2, .entry-content h3 { margin-top: 35px; color: var(--ink); }
.form-card { padding: 32px; background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; }
.form-card label { font-size: .9rem; font-weight: 600; }
input, textarea, select { font: inherit; }
.form-card input, .form-card textarea, .form-card select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
    margin: 6px 0 15px;
}
.pagination { padding: 30px 0; text-align: center; }
.pagination a, .pagination span { padding: 6px 12px; }
.woocommerce ul.products li.product { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 15px; }
.woocommerce div.product .product_title { font-size: 2.5rem; }
.woocommerce .price, .woocommerce div.product p.price { color: var(--gold2) !important; }

/* Footer */
.site-footer { background: #050403; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold2); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 18px; font-size: .82rem; color: var(--muted); }

/* Features and process */
.features { list-style: none; margin: 0 0 16px; padding: 0; font-size: .9rem; }
.features li { padding: 3px 0 3px 18px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
#products .features { color: #5b5247; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process > div { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.process b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #1a1208; margin-bottom: 14px; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }
.notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.notice.ok { background: rgba(120,180,120,.15); border: 1px solid rgba(120,180,120,.4); }
.notice.err { background: rgba(201,100,90,.15); border: 1px solid rgba(201,100,90,.4); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; max-width: 780px; margin: 0 auto 60px; color: var(--gold2); }
.post-card h3 a:hover, .tilt h3 a:hover { color: var(--gold2); }

/* ==========================================================
   EDITORIAL BLOG LAYOUT  (Britannica-style, NAILVRA colors)
   All classes start with nv- so old styles are not affected.
========================================================== */
.nv-blog { padding: 56px 0 90px; }
.nv-blog-title {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 56px;
}
.nv-section { margin-top: 84px; }
.nv-section-title {
    font-family: Manrope, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--ink);
    margin: 0 0 28px;
}

/* Cards (shared) */
.nv-card {
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .55);
    border: 1px solid var(--line);
    transition: transform .2s, border-color .2s;
}
.nv-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.nv-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.nv-card-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-card-body { padding: 20px 22px 24px; }
.nv-card-title {
    display: block;
    font: 700 1.2rem/1.25 Manrope, sans-serif;
    color: var(--gold2);
    margin: 0 0 8px;
}
.nv-card:hover .nv-card-title { color: var(--ink); }
.nv-card-text {
    font: 400 .98rem/1.5 var(--serif-body);
    color: var(--muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nv-credit {
    font: italic .8rem var(--serif-body);
    color: var(--muted);
    margin: 10px 2px 0;
}

/* Top area: 2 featured cards + Popular list */
.nv-top { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 28px; align-items: start; }
.nv-top .nv-card-img { aspect-ratio: 4 / 3; }
.nv-top .nv-card-title { font-size: 1.4rem; }

.nv-popular-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 18px;
}
.nv-popular { list-style: none; margin: 0; padding: 0; }
.nv-popular li {
    display: grid;
    grid-template-columns: 22px 1fr 78px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.nv-popular li:last-child { border-bottom: 0; }
.nv-pop-num { font: 800 1.05rem 'Cormorant Garamond', Georgia, serif; color: var(--gold); }
.nv-pop-link { font: 600 1.02rem/1.3 Manrope, sans-serif; color: var(--gold2); }
.nv-pop-link:hover { color: var(--ink); }
.nv-pop-img { width: 78px; height: 56px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.nv-pop-img img { width: 100%; height: 100%; object-fit: cover; }

/* Editor's Picks, Quizzes (4 columns) */
.nv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.nv-grid-4 .nv-card-img { aspect-ratio: 16 / 10; }
.nv-grid-4 .nv-card-title { font-size: 1.05rem; }
.nv-grid-4 .nv-card-text { font-size: .93rem; -webkit-line-clamp: 2; }

/* Spotlight */
.nv-spotlight { display: grid; grid-template-columns: 1fr 1.1fr .8fr; gap: 34px; align-items: start; }
.nv-spotlight-text { font: 400 1.15rem/1.6 var(--serif-body); color: var(--ink); margin: 0; }
.nv-spotlight-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.nv-spotlight-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-side-list { display: flex; flex-direction: column; gap: 22px; }
.nv-side-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.nv-side-item img { width: 110px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.nv-side-item span { font: 600 1rem/1.3 Manrope, sans-serif; color: var(--gold2); }
.nv-side-item:hover span { color: var(--ink); }
.nv-side-link { font: 700 1rem Manrope, sans-serif; color: var(--gold2); }

/* Videos */
.nv-videos { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; align-items: start; }
.nv-video-main { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.nv-video-main img, .nv-video-main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.nv-video-caption { font: 700 1.05rem Manrope, sans-serif; margin: 16px 0 4px; }
.nv-video-source { font: italic .9rem var(--serif-body); color: var(--muted); }
.nv-video-list { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--line); }
.nv-video-list li { border-bottom: 1px dashed var(--line); }
.nv-video-list a {
    display: grid;
    grid-template-columns: 1fr 86px;
    gap: 14px;
    align-items: center;
    padding: 12px 0 12px 10px;
    font: 600 .98rem/1.3 Manrope, sans-serif;
    color: var(--ink);
}
.nv-video-list li.is-active a { border-left: 4px solid var(--gold); font-weight: 800; }
.nv-video-list a:hover { color: var(--gold2); }
.nv-video-list img { width: 86px; height: 56px; object-fit: cover; border-radius: 4px; }

/* Play / zoom icon on images */
.nv-play, .nv-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: rgba(0, 0, 0, .35);
    display: grid;
    place-items: center;
    pointer-events: none;
}
.nv-play::after {
    content: "";
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}
.nv-zoom { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: #fff; border: 0; color: #1a1208; font-size: 1.1rem; }

/* Galleries (3 columns) */
.nv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nv-gallery-item { position: relative; display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.nv-gallery-item .nv-gal-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.nv-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nv-gallery-item:hover img { transform: scale(1.04); }
.nv-gallery-item .nv-gal-name { display: block; padding: 18px 20px; font: 700 1.05rem Manrope, sans-serif; color: var(--muted); }
.nv-gallery-item:hover .nv-gal-name { color: var(--gold2); }

/* Featured Categories (3 text columns) */
.nv-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.nv-cat-title { font: 800 1.45rem Manrope, sans-serif; margin: 0 0 26px; color: var(--ink); }
.nv-cat-item { display: grid; grid-template-columns: 116px 1fr; gap: 16px; margin-bottom: 26px; align-items: start; }
.nv-cat-item img { width: 116px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.nv-cat-item strong { display: block; font: 600 1.02rem/1.3 Manrope, sans-serif; color: var(--gold2); margin-bottom: 6px; }
.nv-cat-item:hover strong { color: var(--ink); }
.nv-cat-item p { font: 400 .93rem/1.45 var(--serif-body); color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* ==========================================================
   SINGLE POST (article page)
========================================================== */
.nv-article { padding-bottom: 80px; }
.nv-article-head { max-width: 880px; margin: 0 auto; padding: 60px 0 28px; text-align: center; }
.nv-article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0 0 16px; color: var(--ink); }
.nv-article-cats { font: 700 .9rem Manrope, sans-serif; margin-bottom: 14px; }
.nv-article-cats a { color: var(--gold2); }
.nv-article-cats a:hover { color: var(--ink); }
.nv-article-excerpt { font: 400 1.2rem/1.6 var(--serif-body); color: var(--muted); max-width: 680px; margin: 0 auto 16px; }
.nv-article-meta { font-size: .9rem; color: var(--muted); }
.nv-article-img { max-width: 980px; margin: 8px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(0,0,0,.55); }
.nv-article-img img { width: 100%; height: auto; margin: 0; }
.nv-article .entry-content { font-family: var(--serif-body); font-size: 1.12rem; line-height: 1.8; color: #e3d9c8; padding: 40px 0 20px; }
.nv-article .entry-content h2, .nv-article .entry-content h3 { font-family: Manrope, sans-serif; font-weight: 800; color: var(--ink); }
.nv-article .entry-content h2 { font-size: 1.7rem; }
.nv-article .entry-content h3 { font-size: 1.3rem; }
.nv-article .entry-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); color: var(--gold2); font-style: italic; }
.nv-article .entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.nv-article-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.nv-article-tags a { font: 600 .8rem Manrope, sans-serif; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold2); }
.nv-article-tags a:hover { border-color: var(--gold); color: var(--ink); }
.nv-article .post-nav a { font-weight: 600; }
.nv-related { margin-top: 20px; }


/* ---------- Single post: content + right sidebar ---------- */
.nv-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 8px; }
.nv-single-main .nv-article-img { max-width: none; margin: 0 0 8px; }
.nv-single-main .entry-content { max-width: none; margin: 0; padding: 36px 0 10px; }
.nv-single-main .post-nav { max-width: none; margin: 10px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }

.nv-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 26px; }
.nv-widget { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.nv-widget-title { font: 800 1.15rem Manrope, sans-serif; color: var(--ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.nv-widget-text { font: 400 .95rem/1.55 var(--serif-body); color: var(--muted); margin: 0 0 16px; }
.nv-widget-btn { display: block; text-align: center; padding: 11px 20px; font-size: .9rem; margin-top: 6px; }

.nv-latest, .nv-mini-list, .nv-service-list { list-style: none; margin: 0; padding: 0; }
.nv-latest li, .nv-mini-list li { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.nv-latest li:first-child, .nv-mini-list li:first-child { padding-top: 0; }
.nv-latest li:last-child { border-bottom: 0; padding-bottom: 0; }
.nv-mini-list { margin-bottom: 8px; }
.nv-mini-list li:last-child { border-bottom: 0; }
.nv-latest-img, .nv-mini-img { width: 82px; height: 62px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.nv-latest-img img, .nv-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-latest-title, .nv-mini-title { display: block; font: 600 .95rem/1.3 Manrope, sans-serif; color: var(--gold2); }
.nv-latest-title:hover, .nv-mini-title:hover { color: var(--ink); }
.nv-latest-date { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.nv-mini-price { display: block; font: 700 .85rem Manrope, sans-serif; color: var(--ink); margin-top: 4px; }

.nv-service-list { margin-bottom: 16px; }
.nv-service-list li { border-bottom: 1px dashed var(--line); }
.nv-service-list li:last-child { border-bottom: 0; }
.nv-service-list a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; font: 600 .95rem Manrope, sans-serif; color: var(--gold2); }
.nv-service-list a::after { content: "\2192"; color: var(--muted); }
.nv-service-list a:hover { color: var(--ink); }

@media (max-width: 1000px) {
    .nv-single-layout { grid-template-columns: 1fr; gap: 36px; }
    .nv-sidebar { position: static; }
}


/* ---------- Pages built with the block editor (Blog intro, columns) ---------- */
.nv-article .entry-content.nv-wide { max-width: var(--max); padding-top: 72px; }
.nv-article .entry-content h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; }
.nv-article .entry-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
.nv-article .entry-content .wp-block-columns { gap: 56px; align-items: flex-start; margin: 0 0 48px; }
.nv-article .entry-content .wp-block-column > h1:first-child,
.nv-article .entry-content .wp-block-column > h2:first-child { max-width: 14ch; }
.nv-article .entry-content .wp-block-columns p { font: 400 1.05rem/1.75 Manrope, sans-serif; color: var(--muted); margin: 0 0 16px; }
.nv-article .entry-content .wp-block-column > p:first-child:not(:only-child) { font-weight: 700; font-size: .85rem; letter-spacing: .14em; color: var(--gold2); margin-bottom: 14px; }
.nv-article .entry-content .wp-block-column:last-child > p:first-child:not(:only-child) { font-weight: 400; font-size: 1.05rem; letter-spacing: 0; color: var(--muted); margin-bottom: 16px; }
.nv-article .entry-content.nv-wide > hr { margin: 8px 0 48px; }


/* ---------- Blog page extras ---------- */
.nv-video-main { display: block; }
.nv-spotlight-img { display: block; }
.nv-video-list a span { display: block; }
.nv-pager { margin-top: 40px; text-align: center; }
.nv-pager .page-numbers { display: inline-block; padding: 8px 15px; margin: 0 3px 6px; border: 1px solid var(--line); border-radius: 999px; font: 600 .9rem Manrope, sans-serif; color: var(--muted); }
.nv-pager a.page-numbers:hover { border-color: var(--gold); color: var(--gold2); }
.nv-pager .page-numbers.current { background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: transparent; color: #1a1208; }

/* Responsive layout */
@media (max-width: 1100px) {
    .nv-top { grid-template-columns: 1fr 1fr; }
    .nv-popular-wrap { grid-column: 1 / -1; }
    .nv-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .nv-spotlight { grid-template-columns: 1fr 1fr; }
    .nv-side-list { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .nv-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .site-header .header-inner { min-height: 68px; gap: 12px; }
    .site-header .brand { max-width: 36%; }
    .site-header .brand img,
    .site-header .brand img.site-logo {
        width: clamp(120px, 20vw, 165px);
        max-height: 46px;
    }
    .site-header .menu-toggle { display: inline-flex; }
    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b0907;
        border-bottom: 1px solid var(--line);
        padding: 20px 24px;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
    .site-header .main-nav.is-open { display: block; }
    .site-header .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
    .site-header .main-nav .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 0 16px;
        margin: 8px 0 0;
        border: 0;
        background: transparent;
    }
    .site-header .main-nav .sub-menu li a { white-space: normal; }
    .site-header .header-cta { display: none; }
    .header-search { display: none; }
    .hero-grid, .split, .grid, .cards, .post-grid, .svc-grid, .service-grid { grid-template-columns: 1fr; }
    .stage { margin: 20px auto 0; max-width: 420px; }
    .section { padding: 72px 0; }
    .svc-grid > div, .service-item { border-right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .nv-videos { grid-template-columns: 1fr; }
    .nv-gallery { grid-template-columns: 1fr 1fr; }
    .nv-section { margin-top: 64px; }
}
@media (max-width: 640px) {
    .nv-top, .nv-grid-4, .nv-spotlight, .nv-gallery, .nv-cats { grid-template-columns: 1fr; }
    .nv-side-list { flex-direction: column; }
    .nv-cat-item { grid-template-columns: 100px 1fr; }
    .nv-cat-item img { width: 100px; height: 74px; }
}
@media (max-width: 520px) {
    .container, .wrap { width: min(var(--max), calc(100% - 28px)); }
    .site-header .header-inner { min-height: 64px; gap: 8px; }
    .site-header .brand { max-width: 45%; }
    .site-header .brand img,
    .site-header .brand img.site-logo {
        width: clamp(108px, 31vw, 138px);
        max-height: 40px;
    }
    .site-header .menu-toggle { padding: 7px 10px; font-size: 13px; }
    .site-header .menu-icon span { width: 17px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-head, .head { display: block; }
    .section-head .button { margin-top: 15px; }
    .process { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .l1, .l2, .l3 { animation: none; }
    html { scroll-behavior: auto; }
    .tilt, .card, .scene, .nv-card, .nv-gallery-item img { transition: none; }
}