/* VNG Daily theme: header, footer, homepage sections, pages, blog. Components (cards, buy box, gate) live in the vng-copy plugin. */
:root { --vd-gut: 24px; --vd-line: rgba(15,18,24,.12); --vd-mute: rgba(21,23,26,.62); --vd-dim: rgba(21,23,26,.42); }
html { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.wp-block-button.is-style-outline) > .wp-block-button__link { background: transparent; color: #15171A; border: 1px solid var(--vd-line); padding: 13px 25px; }
:where(.wp-block-button.is-style-outline) > .wp-block-button__link:hover { background: #F4F5F7; }
.wp-block-button__link { line-height: 1.2; }
.wp-block-buttons { gap: 10px; }

/* research strip + header */
.vd-strip { background: #15171A; color: rgba(255,255,255,.82); padding: 6px 16px !important; }
.vd-strip p { margin: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-wide { display: none; }
@media (min-width: 640px) { .vd-wide { display: inline; } }
.vd-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--vd-line);
  padding: 12px max(var(--vd-gut), calc((100vw - 1200px) / 2)) !important; gap: 16px !important; min-height: 68px; }
.admin-bar .vd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vd-header { top: 0; } }
.vd-logo { display: block; line-height: 0; flex: 0 0 auto; }
.vd-logo img { height: 34px; width: auto; display: block; }
.vd-nav { font-size: 14px; font-weight: 500; flex: 1 1 auto; }
.vd-nav .wp-block-navigation-item__content { color: rgba(21,23,26,.62); text-decoration: none; }
.vd-nav .wp-block-navigation-item__content:hover { color: #15171A; }
.vd-nav .wp-block-navigation__container { gap: 28px; }
.vd-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border: 1px solid var(--vd-line); border-radius: 999px; align-items: center; justify-content: center; }
@media (max-width: 599px) { .vd-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.vd-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.vd-nav .is-menu-open .wp-block-navigation__container { gap: 0; }
.vd-nav .is-menu-open .wp-block-navigation-item__content { font-size: 22px; font-weight: 600; color: #15171A; padding: 14px 0 !important; }
.vd-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.vd-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--vd-line); border-radius: 999px; color: #15171A; }
.vd-cta { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; background: #15171A; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.vd-cta:hover { background: #2A2D33; color: #fff; }
@media (max-width: 599px) { .vd-cta { display: none; } .vd-logo img { height: 30px; } .vd-header { gap: 8px !important; } .vd-nav { flex: 0 0 auto; order: 3; } .vd-actions { margin-left: auto !important; } }

/* full-width sections really are full width (the content column is constrained) */
.vd-home .wp-block-post-content > .alignfull { width: 100vw; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.vd-home, .vd-home > .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
.vd-home > .wp-block-post-content > :not(.alignfull):not(.vd-band) { padding-inline: var(--vd-gut); }

/* main */
.vd-main { padding-top: 0; padding-bottom: 0; }
.vd-sec { padding-top: clamp(64px, 9vw, 104px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vd-sec h2 { margin: 0 0 18px; }
.vd-lede { color: var(--vd-mute); font-size: 17px; line-height: 1.65; max-width: 60ch; }
.vd-small { font-size: 14px; color: var(--vd-mute); }

/* hero */
.vd-hero { padding-top: 40px !important; padding-bottom: 56px !important; }
.vd-hero-title { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.0; letter-spacing: -.035em; margin: 0 0 18px; }
.vd-hero-lede { font-size: 18px; color: var(--vd-mute); max-width: 32ch; margin: 0 0 26px; }
.vd-hero-btns { margin-bottom: 26px; }
.vd-hero-meta { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--vd-dim); margin: 0 0 8px; }
.vd-hero-fine { font-size: 12px; color: var(--vd-dim); max-width: 52ch; margin: 0; }
.vd-hero-img { margin: 0; }
.vd-hero-img img { width: 100%; border-radius: 22px; border: 1px solid var(--vd-line); background: #DFDFDF; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 781px) {
  .vd-hero { padding-bottom: 0 !important; }
  .vd-hero-cols { gap: 28px; }
  .vd-hero-img { margin-inline: calc(-1 * var(--vd-gut)); }
  .vd-hero-img img { border-radius: 0; border: 0; aspect-ratio: 4 / 3.4; }
}

/* proof strip: one quiet line that drifts (transform only, stops for reduced motion) */
.vd-proof { background: #15171A; color: rgba(255,255,255,.9); overflow: hidden; padding: 14px 0 !important; }
.vd-proof p { margin: 0; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-block; padding-left: 100%; animation: vd-drift 38s linear infinite; }
@keyframes vd-drift { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .vd-proof p { animation: none; padding-left: var(--vd-gut); } }

/* catalog row */
.vd-head-row { margin-bottom: 26px; gap: 12px 24px !important; }
.vd-head-row h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); }
.vd-btn-s .wp-block-button__link { padding: 11px 20px; font-size: 14px; }
.vd-catrow { padding-left: 0 !important; padding-right: 0 !important; }
.vd-catrow > .vd-head-row { padding-inline: var(--vd-gut); }
.vd-catrow > .alignfull, .vd-catrow .vngc-rail-wrap { max-width: none !important; margin-inline: 0 !important; }

/* difference table */
.vd-compare { margin: 32px 0; }
.vd-compare table { table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--vd-line); border-radius: 18px; overflow: hidden; font-size: 14px; }
.vd-compare th, .vd-compare td { border: 0; border-top: 1px solid var(--vd-line); padding: 14px 12px; text-align: center; vertical-align: middle; }
.vd-compare thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--vd-mute); padding: 14px 8px; }
.vd-compare thead th:nth-child(2) { background: #1E3A6E; color: #fff; font-weight: 800; font-size: 15px; }
.vd-compare td:first-child { text-align: left; color: var(--vd-dim); font-size: 12.5px; line-height: 1.4; }
.vd-compare td:first-child strong { color: #15171A; font-size: 14.5px; font-weight: 600; display: inline-block; margin-bottom: 2px; }
.vd-compare th:nth-child(2), .vd-compare th:nth-child(3) { width: 72px; }
.vd-compare td:nth-child(2) { background: rgba(31,157,85,.08); color: #1F9D55; font-weight: 700; width: 76px; }
.vd-compare td:nth-child(3) { color: var(--vd-dim); width: 76px; font-size: 12px; }
@media (min-width: 700px) { .vd-compare th:nth-child(2), .vd-compare th:nth-child(3) { width: 140px; } .vd-compare th, .vd-compare td { padding: 16px 20px; } }

/* five checks ledger */
.vd-quality-cols { gap: clamp(32px, 6vw, 72px) !important; align-items: center !important; }
.vd-ledger { list-style: none; margin: 28px 0 18px; padding: 0; counter-reset: q; }
.vd-ledger li { counter-increment: q; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--vd-line); color: var(--vd-mute); font-size: 15px; line-height: 1.55; }
.vd-ledger li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: #1E3A6E; }
.vd-ledger strong { display: block; color: #15171A; font-size: 17px; margin-bottom: 2px; }
.vd-card-img { margin: 0; }
.vd-card-img img { width: 100%; border-radius: 22px; border: 1px solid var(--vd-line); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 781px) { .vd-quality-photo { display: none; } }

/* navy panel (contained, never a full-bleed band) */
.vd-band { border-radius: 24px; padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 72px) !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.vd-band h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 0 0 16px; }
.vd-band p { opacity: .88; font-size: 16px; margin: 0 0 28px; }
.vd-on-dark > .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.45) !important; }
.vd-on-dark > .wp-block-button__link:hover { background: rgba(255,255,255,.08) !important; }
.vd-home > .wp-block-post-content > .vd-band { margin-inline: var(--vd-gut) !important; }
@media (min-width: 1248px) { .vd-home > .wp-block-post-content > .vd-band { margin-inline: auto !important; } }

/* FAQ */
.vd-faq h2 { margin-bottom: 28px; }
.vd-faq .wp-block-details { margin: 0; }
.vd-faq .wp-block-details:last-of-type { border-bottom: 1px solid var(--vd-line); margin-bottom: 40px; }
.vd-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.vd-faq summary::-webkit-details-marker { display: none; }
.vd-faq summary::after { content: "+"; flex: 0 0 28px; height: 28px; border: 1px solid var(--vd-line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 400; color: var(--vd-mute); }
.vd-faq details[open] summary::after { content: "\2212"; }
.vd-faq details p { color: var(--vd-mute); margin: 12px 0 0; }

/* pages + legal */
.vd-page { padding-top: clamp(40px, 7vw, 80px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vd-page-title { font-size: clamp(34px, 5vw, 52px); margin-bottom: 28px; }
.vd-page h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 10px; }
.vd-page p, .vd-page li { color: #2A2D33; line-height: 1.7; }

/* shop */
.vd-shop { padding-top: clamp(28px, 5vw, 48px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vd-shop-title { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; letter-spacing: -.025em; }
.vd-shop-sub { color: var(--vd-mute); font-size: 14px; margin: 0 0 22px; }

/* product */
.vd-product { padding-top: 18px !important; }
.vd-crumbs { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--vd-dim); margin: 0 0 18px; }
.vd-crumbs a { color: var(--vd-dim); text-decoration: none; }
.vd-crumbs span:last-child { color: #1E3A6E; }
.vd-product-more { padding-top: clamp(56px, 8vw, 96px) !important; padding-bottom: clamp(56px, 8vw, 88px) !important; border-bottom: 1px solid var(--vd-line); }
.vd-product > .vngc-rail-wrap { padding: clamp(56px, 8vw, 88px) 0 clamp(64px, 9vw, 104px); margin-inline: calc(-1 * var(--vd-gut)) !important; max-width: none !important; }
.vd-product > .vngc-rail-wrap .vngc-rail-title { padding-inline: max(var(--vd-gut), calc((100vw - 1200px) / 2)); }

/* blog */
.vd-blog { padding-top: clamp(40px, 7vw, 80px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vd-blog-title { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
.vd-blog-lede { color: var(--vd-mute); font-size: 18px; max-width: 46ch; margin: 0 auto 26px !important; }
.vd-note { max-width: 720px; margin: 0 auto 48px !important; padding: 18px 20px; border: 1px solid rgba(30,58,110,.22); border-radius: 16px; background: #F4F5F7; font-size: 14px; color: var(--vd-mute); }
.vd-posts .wp-block-post-template { gap: 16px; }
.vd-postcard { height: 100%; gap: 10px !important; padding: 22px; border: 1px solid var(--vd-line); border-radius: 18px; background: #fff; }
.vd-postcard h3 { font-size: 19px; margin: 0; letter-spacing: -.015em; line-height: 1.25; }
.vd-postcard h3 a { color: #15171A; text-decoration: none; }
.vd-postcard .wp-block-post-excerpt { color: var(--vd-mute); font-size: 14.5px; margin: 0; }
.vd-postcard .wp-block-post-excerpt p { margin: 0; }
.vd-postcard-cat { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.vd-postcard-cat a { color: #1E3A6E; text-decoration: none; }
.vd-postcard .wp-block-read-more { margin-top: auto; font-weight: 600; font-size: 14px; color: #1E3A6E; text-decoration: none; }
.vd-post { padding-top: clamp(32px, 6vw, 64px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vd-crumb { font-size: 14px; margin: 0 0 14px; }
.vd-crumb a { color: #1E3A6E; text-decoration: none; }
.vd-post-title { font-size: clamp(32px, 5vw, 52px); margin: 0 0 14px; }
.vd-post-meta { font-size: 13px; color: var(--vd-dim); gap: 14px !important; margin-bottom: 32px; }
.vd-post-meta a { color: #1E3A6E; text-decoration: none; }
.vd-post h2 { font-size: clamp(24px, 3vw, 30px); margin: 44px 0 12px; }
.vd-post p, .vd-post li { color: #2A2D33; line-height: 1.75; font-size: 17px; }
.vd-post .wp-block-table table { font-size: 14px; border-collapse: collapse; }
.vd-post .wp-block-table td, .vd-post .wp-block-table th { border: 1px solid var(--vd-line); padding: 10px 12px; }
.vd-post .wp-block-table { overflow-x: auto; }
.vd-facts { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--vd-line); border-radius: 16px; padding: 4px 18px; margin: 0 0 32px; }
.vd-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--vd-line); font-size: 14px; }
.vd-facts div:first-child { border-top: 0; }
.vd-facts dt { color: var(--vd-dim); } .vd-facts dd { margin: 0; text-align: right; font-weight: 600; }
.vd-callout { padding: 16px 18px; border-radius: 14px; background: #F4F5F7; font-size: 15px !important; }

/* footer */
.vd-footer { background: #11182B; color: rgba(255,255,255,.82); padding: clamp(64px, 9vw, 96px) var(--vd-gut) 40px !important; margin-top: 0 !important; }
.vd-foot { max-width: 1200px; margin: 0 auto; display: grid; gap: 44px; }
.vd-foot a { color: rgba(255,255,255,.92); text-decoration: none; }
.vd-foot a:hover { color: #fff; text-decoration: underline; }
.vd-foot-about .vd-foot-lede { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 44ch; margin: 0 0 22px; }
.vd-foot-about p { font-size: 14px; line-height: 1.8; margin: 0; }
.vd-foot-about b { color: #fff; }
.vd-foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.vd-foot-cols h2, .vd-foot-ruo h2 { color: rgba(255,255,255,.55); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; }
.vd-foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
.vd-foot-ruo { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px; }
.vd-foot-ruo h2 { color: #D9A441; }
.vd-foot-ruo p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
.vd-foot-base { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin: 0; }
@media (min-width: 900px) {
  .vd-foot { grid-template-columns: 1.2fr 1fr; column-gap: 72px; }
  .vd-foot-cols { grid-template-columns: repeat(3, 1fr); }
  .vd-foot-ruo, .vd-foot-base { grid-column: 1 / -1; }
}
/* phone menu: full screen, plain white, big tap targets (a filter on the sticky header would trap it inside the header) */
.vd-nav .wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: #15171A !important; }
.vd-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.vd-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--vd-line); }
