:root {
    --ink: #171717;
    --muted: #66615c;
    --paper: #fffaf2;
    --white: #ffffff;
    --line: #e8dfd2;
    --accent: #d74f2a;
    --accent-2: #0f766e;
    --navy: #172033;
    --shadow: 0 18px 48px rgba(23, 23, 23, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px clamp(16px, 4vw, 56px);
    background: rgba(255, 250, 242, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 188px;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-weight: 800;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}
.desktop-nav > a,
.nav-group > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    color: #27231f;
    font-size: 14px;
    font-weight: 700;
}
.desktop-nav > a:hover,
.nav-group:hover > a { background: #f0e6d7; }
.nav-group { position: relative; }
.mega-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 4px;
    width: min(460px, calc(100vw - 32px));
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
}
.nav-group:hover .mega-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-nav a {
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
}
.mega-nav a:hover { background: var(--paper); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 800;
}
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    min-height: min(680px, calc(100vh - 72px));
    padding: clamp(42px, 7vw, 92px) clamp(16px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(23, 23, 23, 0.86), rgba(23, 23, 23, 0.3)),
        radial-gradient(circle at 70% 35%, rgba(215, 79, 42, 0.22), transparent 30%),
        linear-gradient(120deg, #221f1b, #2e332f 48%, #ede0cd);
    color: var(--white);
}
.hero h1 {
    max-width: 840px;
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}
.hero p { max-width: 720px; color: rgba(255, 255, 255, 0.86); font-size: 19px; }
.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
}
.btn.secondary { background: var(--white); color: var(--ink); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn.outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.hero-panel {
    min-height: 420px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 18px);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 24px 70px rgba(0,0,0,0.26);
    padding: 20px;
    display: grid;
    align-content: end;
}
.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.hero-stat {
    min-height: 94px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
}
.hero-stat strong { display: block; font-size: 24px; }

.section {
    padding: clamp(42px, 6vw, 78px) clamp(16px, 5vw, 72px);
}
.section.alt { background: var(--white); }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.section-kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.section h2,
.lead-panel h2 {
    margin: 4px 0 0;
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.12;
}
.section-head p { max-width: 680px; color: var(--muted); }

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 18px;
    box-shadow: 0 8px 24px rgba(23,23,23,0.04);
}
.card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.card p { color: var(--muted); margin: 0 0 14px; }
.price {
    display: inline-block;
    margin: 8px 0 12px;
    color: var(--accent-2);
    font-size: 20px;
    font-weight: 900;
}
.placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin: -18px -18px 16px;
    border-radius: 8px 8px 0 0;
    background:
        linear-gradient(135deg, rgba(15,118,110,0.92), rgba(23,32,51,0.92)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.2) 0 1px, transparent 1px 18px);
    color: var(--white);
    font-weight: 900;
    text-align: center;
    padding: 18px;
}
.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.meta-list span,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1e8dc;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}
.copy {
    max-width: 880px;
    font-size: 17px;
}
.copy p { color: var(--muted); }
.prose {
    max-width: 860px;
}
.prose p { color: #3d3833; }

.lead-panel {
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: var(--shadow);
}
.lead-panel p { color: rgba(255,255,255,0.78); }
.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.lead-form label { display: grid; gap: 5px; color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 800; }
.lead-form input,
.lead-form textarea,
.lead-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    font: inherit;
}
.lead-form textarea,
.lead-form label:has(textarea) { grid-column: 1 / -1; }
.lead-form button {
    grid-column: 1 / -1;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
}
.lead-form small { color: #ffd4c4; }
.hp-field { display: none; visibility: hidden; height: 0; overflow: hidden; }
.success-message {
    margin-bottom: 14px;
    border-radius: 8px;
    padding: 12px 14px;
    background: rgba(15, 118, 110, 0.22);
    color: #e7fff9;
    font-weight: 800;
}

.page-hero {
    padding: clamp(40px, 7vw, 82px) clamp(16px, 5vw, 72px);
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
}
.page-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(20px, 4vw, 46px);
}
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 34px clamp(16px, 5vw, 72px) 82px;
    background: var(--ink);
    color: var(--paper);
}
.site-footer p { max-width: 520px; color: rgba(255,255,255,0.72); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }

.sticky-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    gap: 8px;
}
.sticky-cta a {
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 900;
    box-shadow: var(--shadow);
}

.mobile-drawer,
.drawer-backdrop { display: none; }

@media (max-width: 1120px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .hero { grid-template-columns: 1fr; }
    .hero-panel { min-height: 300px; }
    .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .site-header { padding: 10px 14px; }
    .brand { min-width: 0; }
    .brand small,
    .icon-link { display: none; }
    .hero { padding: 38px 16px 54px; min-height: auto; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 138px; }
    .hero-stat-grid,
    .grid.two,
    .grid.three,
    .grid.four,
    .split,
    .article-layout {
        grid-template-columns: 1fr 1fr;
    }
    .split > *,
    .article-layout > *,
    .lead-panel {
        grid-column: 1 / -1;
    }
    .section { padding: 38px 16px; }
    .section-head { display: block; }
    .card { padding: 14px; }
    .card h3 { font-size: 17px; }
    .lead-form { grid-template-columns: 1fr; }
    .site-footer { display: block; padding: 28px 16px 86px; }
    .sticky-cta {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .sticky-cta a {
        flex: 1;
        display: grid;
        place-items: center;
        padding: 8px 7px;
        font-size: 13px;
    }
    .mobile-drawer {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 60;
        display: block;
        width: min(86vw, 360px);
        padding: 16px;
        overflow-y: auto;
        background: var(--paper);
        transform: translateX(-105%);
        transition: 0.22s ease;
        box-shadow: var(--shadow);
    }
    .drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 55;
        display: block;
        background: rgba(0,0,0,0.28);
        opacity: 0;
        pointer-events: none;
        transition: 0.22s ease;
    }
    body.menu-open .mobile-drawer {
        transform: translateX(0);
    }
    body.menu-open .drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .drawer-close {
        width: 38px;
        height: 38px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        font-size: 24px;
    }
    .drawer-search input {
        width: 100%;
        min-height: 42px;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 0 12px;
        background: var(--white);
    }
    .drawer-nav {
        display: grid;
        gap: 8px;
        margin-top: 12px;
    }
    .drawer-nav a,
    .drawer-nav summary {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        font-weight: 800;
    }
    .drawer-nav details a {
        padding-left: 12px;
        color: var(--muted);
        font-weight: 700;
    }
    .drawer-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }
    .drawer-cta a {
        display: grid;
        place-items: center;
        min-height: 42px;
        border-radius: 8px;
        background: var(--ink);
        color: var(--paper);
        font-weight: 900;
    }
}

@media (max-width: 420px) {
    .hero-stat-grid,
    .grid.two,
    .grid.three,
    .grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-hero h1 { font-size: 34px; }
}


/* =========================================================
   CHUPANH VISUAL HOTFIX V2
   Purpose: reduce placeholder-heavy UI using existing local assets.
   No external images. No migrations. No Nginx/SSL changes.
   ========================================================= */

:root{
  --ckv-radius: 20px;
  --ckv-shadow: 0 18px 48px rgba(15,23,42,.14);
  --ckv-dark: #111827;
  --ckv-muted: #6b7280;
  --ckv-cream: #fff7ed;
  --ckv-accent: #f59e0b;
}

/* General card polish */
a.card,
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ckv-radius);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

a.card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ckv-shadow);
}

/* Make old placeholders visually disappear when we add CSS visuals */
a.card .placeholder,
.card .placeholder {
  display: none !important;
}

/* Add visual layer to text-only cards */
a.card[href*="/album/"]::before,
a.card[href*="/concept/"]::before,
a.card[href*="/dia-diem"]::before,
a.card[href*="/goc-tu-van/"]::before,
a.card[href*="/tour-ky-yeu"]::before,
a.card[href*="/thue-trang-phuc"]::before,
a.card[href*="/video"]::before,
a.card[href*="/bang-gia"]::before {
  content: "";
  display: block;
  height: 178px;
  margin: -1px -1px 16px;
  border-radius: var(--ckv-radius) var(--ckv-radius) 0 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)),
    url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg") center/cover no-repeat;
}

/* Avoid duplicate visual on cards that already render real <img> in modern browsers */
a.card:has(img)::before,
.card:has(img)::before {
  display: none !important;
}

/* Album visuals */
a.card[href*="/album/chup-anh-ky-yeu"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg");
}
a.card[href*="/album/ky-yeu-cap-3"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-2.jpg");
}
a.card[href*="/album/ky-yeu-dai-hoc"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-3.jpg");
}
a.card[href*="/album/concept-thanh-xuan"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-4.jpg");
}
a.card[href*="/album/concept-vintage"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-5.jpg");
}
a.card[href*="/album/concept-han-quoc"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-6.jpg");
}
a.card[href*="/album/anh-hau-truong"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-7.jpg");
}

/* Concept visuals */
a.card[href*="/concept/concept-ao-dai"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/p1.jpg");
}
a.card[href*="/concept/concept-hoc-duong"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/hocduong1.jpg");
}
a.card[href*="/concept/concept-vintage"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-5.jpg");
}
a.card[href*="/concept/concept-han-quoc"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-6.jpg");
}
a.card[href*="/concept/concept-da-hoi"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/party1.jpg");
}
a.card[href*="/concept/concept-picnic"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/outdoor1.jpg");
}
a.card[href*="/concept/concept-street-style"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/p2.jpg");
}

/* Service / category visuals */
a.card[href*="/dia-diem"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/index/kh1.jpg");
}
a.card[href*="/tour-ky-yeu"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/outdoor2.jpg");
}
a.card[href*="/thue-trang-phuc"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/p3.jpg");
}
a.card[href*="/goc-tu-van/"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/index/blog1.jpg");
}
a.card[href*="/video"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/port/party2.jpg");
}
a.card[href*="/bang-gia"]::before {
  background-image: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)), url("/static/chupanh_kyyeu/assets/img/index/bangphoimau.jpg");
}

/* Real images already rendered by templates */
.card img,
.album-cover img,
.gallery-grid img,
.album-gallery img,
.media-card img,
figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-grid img,
.album-gallery img {
  aspect-ratio: 4 / 3;
}

.card img {
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}

/* Hero visual enhancement without template migration */
main section:first-of-type {
  position: relative;
  overflow: hidden;
}

main section:first-of-type::after {
  content: "";
  position: absolute;
  right: clamp(14px, 5vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 460px);
  height: min(34vw, 420px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.22)),
    url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg") center/cover no-repeat;
  box-shadow: 0 22px 70px rgba(15,23,42,.18);
  pointer-events: none;
  z-index: 0;
}

main section:first-of-type > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  main section:first-of-type::after {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    width: 100%;
    height: 220px;
    margin: 22px 0 0;
    border-radius: 22px;
  }

  a.card[href*="/album/"]::before,
  a.card[href*="/concept/"]::before,
  a.card[href*="/dia-diem"]::before,
  a.card[href*="/goc-tu-van/"]::before,
  a.card[href*="/tour-ky-yeu"]::before,
  a.card[href*="/thue-trang-phuc"]::before,
  a.card[href*="/video"]::before,
  a.card[href*="/bang-gia"]::before {
    height: 138px;
    margin-bottom: 12px;
  }
}

/* Verification marker */
body::before {
  content: "chupanh-visual-hotfix-v2";
  display: none;
}

/* ========================================================= */

/* =========================================================
   CHUPANH VISUAL HOTFIX V3
   Safe visual patch: no migration, no external images, no Nginx change.
   ========================================================= */

:root{
  --ckv-radius:20px;
  --ckv-shadow:0 18px 48px rgba(15,23,42,.14);
}

a.card,
.card{
  position:relative;
  overflow:hidden;
  border-radius:var(--ckv-radius);
  box-shadow:0 10px 30px rgba(15,23,42,.08);
  transition:transform .22s ease, box-shadow .22s ease;
}

a.card:hover,
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--ckv-shadow);
}

a.card .placeholder,
.card .placeholder{
  display:none!important;
}

a.card[href*="/album/"]::before,
a.card[href*="/concept/"]::before,
a.card[href*="/dia-diem"]::before,
a.card[href*="/goc-tu-van/"]::before,
a.card[href*="/tour-ky-yeu"]::before,
a.card[href*="/thue-trang-phuc"]::before,
a.card[href*="/video"]::before,
a.card[href*="/bang-gia"]::before{
  content:"";
  display:block;
  height:178px;
  margin:-1px -1px 16px;
  border-radius:var(--ckv-radius) var(--ckv-radius) 0 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.25)),
    url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg") center/cover no-repeat;
}

/* Hide CSS visual if template already has real image */
a.card:has(img)::before,
.card:has(img)::before{
  display:none!important;
}

/* Album covers */
a.card[href*="/album/chup-anh-ky-yeu"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg");
}
a.card[href*="/album/ky-yeu-cap-3"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-2.jpg");
}
a.card[href*="/album/ky-yeu-dai-hoc"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-3.jpg");
}
a.card[href*="/album/concept-thanh-xuan"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-4.jpg");
}
a.card[href*="/album/concept-vintage"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-5.jpg");
}
a.card[href*="/album/concept-han-quoc"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-6.jpg");
}
a.card[href*="/album/anh-hau-truong"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-7.jpg");
}

/* Concept visuals */
a.card[href*="/concept/concept-ao-dai"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/p1.jpg");
}
a.card[href*="/concept/concept-hoc-duong"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/hocduong1.jpg");
}
a.card[href*="/concept/concept-vintage"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-5.jpg");
}
a.card[href*="/concept/concept-han-quoc"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-6.jpg");
}
a.card[href*="/concept/concept-da-hoi"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/party1.jpg");
}
a.card[href*="/concept/concept-picnic"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/outdoor1.jpg");
}
a.card[href*="/concept/concept-street-style"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/p2.jpg");
}

/* Service/category visuals */
a.card[href*="/dia-diem"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/index/kh1.jpg");
}
a.card[href*="/tour-ky-yeu"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/outdoor2.jpg");
}
a.card[href*="/thue-trang-phuc"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/p3.jpg");
}
a.card[href*="/goc-tu-van/"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/index/blog1.jpg");
}
a.card[href*="/video"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/port/party2.jpg");
}
a.card[href*="/bang-gia"]::before{
  background-image:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.25)),url("/static/chupanh_kyyeu/assets/img/index/bangphoimau.jpg");
}

/* Existing real images */
.card img,
.album-cover img,
.gallery-grid img,
.album-gallery img,
.media-card img,
figure img{
  width:100%;
  display:block;
  object-fit:cover;
  border-radius:18px;
}

.gallery-grid img,
.album-gallery img{
  aspect-ratio:4/3;
}

.card img{
  aspect-ratio:16/10;
  margin-bottom:14px;
}

/* Homepage hero visual */
main section:first-of-type{
  position:relative;
  overflow:hidden;
}

main section:first-of-type::after{
  content:"";
  position:absolute;
  right:clamp(14px,5vw,64px);
  top:50%;
  transform:translateY(-50%);
  width:min(38vw,460px);
  height:min(34vw,420px);
  border-radius:32px;
  background:
    linear-gradient(180deg,rgba(15,23,42,.04),rgba(15,23,42,.22)),
    url("/static/chupanh_kyyeu/assets/img/portfolio/portfolio-1.jpg") center/cover no-repeat;
  box-shadow:0 22px 70px rgba(15,23,42,.18);
  pointer-events:none;
  z-index:0;
}

main section:first-of-type > *{
  position:relative;
  z-index:1;
}

@media(max-width:900px){
  main section:first-of-type::after{
    position:relative;
    right:auto;
    top:auto;
    transform:none;
    display:block;
    width:100%;
    height:220px;
    margin:22px 0 0;
    border-radius:22px;
  }

  a.card[href*="/album/"]::before,
  a.card[href*="/concept/"]::before,
  a.card[href*="/dia-diem"]::before,
  a.card[href*="/goc-tu-van/"]::before,
  a.card[href*="/tour-ky-yeu"]::before,
  a.card[href*="/thue-trang-phuc"]::before,
  a.card[href*="/video"]::before,
  a.card[href*="/bang-gia"]::before{
    height:138px;
    margin-bottom:12px;
  }
}

body::before{
  content:"chupanh-visual-hotfix-v3";
  display:none;
}

/* ========================================================= */
