/*
Theme Name: IJV 2027
Description: Native block theme for International Jewelry Vietnam.
Version: 1.0.6
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: ijv-2027
*/
:root{--navy:#1e1b35;--panel:#2d2949;--gold:#d7c16b;--cream:#f4f2ed;--magenta:#a93963;--muted:#d1cdda;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--navy);color:white;font-family:Lato,Arial,sans-serif;line-height:1.55;}
a{color:inherit;}
:where(img){max-width:100%;display:block;}
:where(header.wp-block-group:not(.is-layout-flex)){display:flex;align-items:center;justify-content:space-between;padding:20px max(5vw,24px);gap:24px;}
:where(header.wp-block-group:not(.is-layout-flex)){border-bottom:1px solid #ffffff20;}
:where(header nav:not(.is-layout-flex)){display:flex;align-items:center;gap:25px;}
nav a{text-decoration:none;font-size:14px;}
.brand{text-decoration:none;display:flex;align-items:center;gap:16px;border-left:2px solid var(--gold);padding-left:12px;}
.brand span{font-size:10px;letter-spacing:.13em;line-height:1.5;}
.brand strong{font-family:Georgia,serif;font-size:28px;font-weight:400;}
.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.12em;margin:0 0 22px;}
.gold{color:var(--gold);}
.magenta{color:var(--magenta);}
:where(h1,h2,h3,p){margin-top:0;}
:where(h1){font-size:clamp(48px,6.3vw,100px);line-height:1.03;letter-spacing:-.045em;margin-bottom:26px;}
h1 span,h2 span{font-weight:300;}
h1 span{color:var(--gold);}
:where(h2){font-size:clamp(36px,4vw,64px);line-height:1.08;letter-spacing:-.035em;margin-bottom:24px;}
:where(h3){font-size:23px;margin-bottom:10px;}
.lead{font-size:clamp(20px,2vw,30px);max-width:520px;}
.date{font-size:24px;font-weight:bold;margin-bottom:0;}
.btn{display:inline-block;background:var(--gold);color:var(--navy);padding:14px 24px;text-decoration:none;font:inherit;font-weight:bold;border:0;border-radius:2px;cursor:pointer;text-align:center;}
.btn:hover{filter:brightness(1.1);}
.btn.small{padding:10px 16px;}
.btn.dark{background:var(--navy);color:white;}
.secondary{text-underline-offset:5px;color:var(--gold);}
.offer{background:var(--gold);color:var(--navy);}
.offer strong{font-size:clamp(42px,5vw,75px);line-height:1;}
.offer p{margin-bottom:5px;}
.price{font-size:25px;}
.price del{font-size:19px;margin-right:12px;}
.light{background:var(--cream);color:var(--navy);}
.intro{font-size:19px;max-width:850px;}
.four article{background:white;border-top:2px solid #b49c51;}
.number{font-size:13px;color:var(--magenta);font-weight:bold;letter-spacing:.1em;}
.stats strong{font-size:clamp(30px,3vw,52px);color:var(--gold);line-height:1.1;}
.stats p{margin:6px 0 0;}
:where(figure){margin:0;}
figcaption,small{font-size:12px;line-height:1.5;display:block;}
figcaption{margin-top:8px;}
.rates article{background:var(--panel);color:white;border:0;}
.rates strong{color:var(--gold);font-size:clamp(25px,2.5vw,39px);line-height:1.3;}
.rates .btn{margin-top:auto;background:var(--gold);color:var(--navy);}
.rates article p{margin-bottom:8px;}
.rates h3{font-size:30px;}
.enquiry{background:var(--panel);}
.enquiry form{padding:28px;background:var(--navy);}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;}
.enquiry label{display:block;font-size:14px;margin-bottom:14px;}
.enquiry input,.enquiry select,.enquiry textarea{display:block;width:100%;margin-top:6px;background:var(--cream);color:var(--navy);border:1px solid transparent;border-radius:2px;padding:12px;font:inherit;}
.enquiry input:focus,.enquiry select:focus,.enquiry textarea:focus{outline:2px solid var(--gold);}
.consent{display:flex;align-items:flex-start;gap:9px;}
.enquiry .consent input{width:auto;margin-top:5px;}
.privacy{font-size:12px;color:var(--muted);}
.trap{position:absolute;left:-10000px;}
a:focus-visible,button:focus-visible{outline:3px solid #bd5b81;outline-offset:4px;}
@media(max-width:900px){
.ijv-nav > nav a:not(.btn){display:none;}
}
@media(max-width:550px){
:where(header.wp-block-group:not(.is-layout-flex)){padding:14px 18px;gap:10px;}
.brand strong{font-size:22px;}
.brand span{display:none;}
.enquiry form{padding:18px;}
.hero h1{font-size:55px;}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto;}
}
.hero-copy,.enquiry,.evidence .section,.venue .section{background-image:linear-gradient(#1e1b35ec,#1e1b35c9),url("assets/dragon.svg");background-size:cover;background-position:center;}
.light.section{background-image:linear-gradient(#f4f2edf2,#f4f2edf2),url("assets/dragon.svg");background-size:cover;}
.wp-block-group{box-sizing:border-box;}
:where(.ijv-nav:not(.is-layout-flex)){display:flex;align-items:center;gap:25px;}
.ijv-nav p,.ijv-link,.brand{margin:0;}
.ijv-nav a{text-decoration:none;font-size:14px;}
.brand>a{display:flex;align-items:center;gap:16px;text-decoration:none;}
.wp-block-button.btn{padding:0;background:none;color:inherit;}
.wp-block-button.btn .wp-block-button__link{background:var(--gold);color:var(--navy);padding:14px 24px;border-radius:2px;font-weight:bold;}
.wp-block-button.dark .wp-block-button__link{background:var(--navy);color:white;}
.rates .wp-block-button .wp-block-button__link{background:var(--gold);color:var(--navy);}
.rates .wp-block-buttons{margin-top:auto;}
.offer .ijv-strong{font-size:clamp(42px,5vw,75px);line-height:1;font-weight:bold;}
.stats .ijv-strong,.rates .ijv-strong{font-size:clamp(30px,3vw,52px);color:var(--gold);line-height:1.1;font-weight:bold;margin-bottom:0;}
.rates .ijv-strong{font-size:clamp(25px,2.5vw,39px);}
.ijv-small{font-size:12px;line-height:1.5;}
.ijv-span{font-size:13px;}
.ijv-nav .wp-block-buttons{flex:none;}
header .brand{margin-bottom:0;}
.enquiry form{margin:0;}
.enquiry .ijv-form-result{padding:10px;border:1px solid var(--gold);}
@media(max-width:900px){
.ijv-nav>.ijv-link{display:none;}
}
@media(max-width:550px){
:where(.ijv-nav:not(.is-layout-flex)){gap:0;}
.brand>a{gap:0;}
}
.brand>a{border:0;padding:0;}
.number.ijv-span{margin-bottom:5px;}
.wp-block-button.small .wp-block-button__link{padding:10px 16px;}
.actions .ijv-link{margin:0;}
.offer .ijv-strong{margin:0;}
.wp-block-image figcaption{font-size:12px;margin-top:8px;color:inherit;}
.enquiry .ijv-link a{color:inherit;}
.wp-block-button__link:focus-visible{outline:3px solid #bd5b81;}
/* v1.0.4 | Native block geometry. Media fill is an explicit functional style. */
:where(.ijv-native-columns, .ijv-native-columns > .wp-block-column) { min-width: 0; }
.ijv-media-panel { position: relative; }
:where(.ijv-fill-image) { margin: 0; }
.ijv-fill-image img { display: block; width: 100%; height: auto; }
.hero .ijv-fill-image img { object-position: center 45%; }
:where(.ijv-venue-legacy-image):has(+ .ijv-venue-slider) { display: none; }
@media (min-width: 782px) {
    .ijv-media-panel { display: flex; flex-direction: column; align-self: stretch; min-height: 350px; }
    :where(.ijv-hero-media) { min-height: 640px; }
    .hero-copy { min-height: 100%; }
    .ijv-media-panel > .ijv-fill-image { position: absolute; inset: 0; }
    .ijv-media-panel > .ijv-fill-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
    .ijv-media-panel > .ijv-venue-slider { flex: 1 0 auto; }
}
@media (max-width: 781px) {
    :where(.ijv-fill-image) { aspect-ratio: 3 / 2; overflow: hidden; }
    .ijv-fill-image img { width: 100%; height: 100%; object-fit: cover; }
    :where(.hero .ijv-fill-image) { aspect-ratio: 1 / 1; }
}
@media (max-width: 550px) { .form-grid { grid-template-columns: 1fr; } }


/* A zero gap is native on the media columns; no width overrides on generic blocks. */
:where(.ijv-native-columns) > .wp-block-column { overflow-wrap: anywhere; }
:where(.four article) { min-width: 0; }
