/*
Theme Name: SODO66VN Child
Description: Independent Flatsome child theme for sodo66vnnet.com.
Author: SODO66VN
Template: flatsome
Version: 1.0.3
Text Domain: sodo66vnnet
*/

:root {
  --sodo-red: #a6000b;
  --sodo-red-dark: #720008;
  --sodo-red-deep: #4d0006;
  --sodo-gold: #f5c554;
  --sodo-gold-dark: #c18c23;
  --sodo-ink: #252525;
  --sodo-muted: #666;
  --sodo-line: #e8e1d7;
  --sodo-surface: #fff;
  --sodo-bg: #fffaf3;
  --sodo-shadow: 0 7px 22px rgba(78, 0, 7, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.sodo66vnnet-site {
  margin: 0;
  color: var(--sodo-ink);
  background: #575757;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.sodo66vnnet-site.admin-bar .sodo-mobile-panel { top: 46px; }
a { color: var(--sodo-red); text-decoration: none; }
a:hover { color: var(--sodo-red-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.sodo-shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.sodo-topbar { display: none; color: #fff4d6; background: var(--sodo-red-dark); border-bottom: 1px solid rgba(255,255,255,.18); }
.sodo-topbar-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.sodo-topbar a { color: #fff; }
.sodo-topbar-links { display: flex; gap: 20px; }

.sodo-header { position: relative; z-index: 50; width: min(1300px, 100%); margin-inline: auto; color: #fff; background: linear-gradient(180deg, #b7000d, var(--sodo-red)); box-shadow: 0 3px 12px rgba(68,0,4,.22); }
.sodo-brand-row { display: grid; grid-template-columns: 230px minmax(240px, 1fr) auto; min-height: 94px; align-items: center; gap: 36px; }
.sodo-logo { display: block; width: 220px; }
.sodo-logo img { width: 220px; height: 92px; object-fit: contain; }
.sodo-search { display: flex; width: min(480px, 100%); justify-self: center; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sodo-search input { min-width: 0; flex: 1; border: 0; outline: 0; min-height: 42px; padding: 9px 14px; color: #333; background: transparent; }
.sodo-search button { min-width: 72px; border: 0; color: var(--sodo-red-dark); background: var(--sodo-gold); font-weight: 800; cursor: pointer; }
.sodo-account-actions { display: flex; gap: 10px; }
.sodo-action { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--sodo-gold); border-radius: 5px; color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.sodo-action:hover { color: var(--sodo-red-dark); background: var(--sodo-gold); }
.sodo-action-primary { color: var(--sodo-red-dark); background: var(--sodo-gold); }
.sodo-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; color: #fff; background: transparent; padding: 7px 11px; font-size: 13px; font-weight: 800; cursor: pointer; }

.sodo-nav { background: #8d0009; border-top: 1px solid rgba(255,255,255,.18); }
.sodo-nav-list { display: flex; align-items: stretch; justify-content: center; margin: 0; padding: 0; list-style: none; }
.sodo-nav-list li { position: relative; margin: 0; }
.sodo-nav-list > li > a { display: flex; min-height: 51px; align-items: center; padding: 12px 12px; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.sodo-nav-list > li:hover > a,
.sodo-nav-list > .current-menu-item > a,
.sodo-nav-list > .current-menu-ancestor > a { color: var(--sodo-red-dark); background: var(--sodo-gold); }
.sodo-nav-list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; margin: 0; padding: 7px 0; list-style: none; background: #fff; box-shadow: var(--sodo-shadow); visibility: hidden; opacity: 0; transform: translateY(7px); transition: opacity .16s ease, transform .16s ease; }
.sodo-nav-list li:hover > .sub-menu,
.sodo-nav-list li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.sodo-nav-list .sub-menu a { display: block; padding: 10px 15px; color: #3a2828; font-size: 14px; font-weight: 700; }
.sodo-nav-list .sub-menu a:hover { color: var(--sodo-red); background: #fff5e3; }

.sodo-hero { position: relative; width: min(1300px, 100%); margin-inline: auto; overflow: hidden; background: var(--sodo-red-dark); }
.sodo-hero img { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
.sodo-hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(54,0,5,.82) 0%, rgba(54,0,5,.48) 38%, rgba(54,0,5,0) 67%); }
.sodo-hero-copy { width: min(540px, 48%); color: #fff; text-shadow: 0 2px 11px rgba(0,0,0,.45); }
.sodo-hero-kicker { margin: 0 0 7px; color: var(--sodo-gold); font-size: 14px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.sodo-hero h1 { margin: 0; color: #fff; font-size: clamp(29px, 4vw, 52px); line-height: 1.12; }
.sodo-hero-copy > p:not(.sodo-hero-kicker) { max-width: 480px; margin: 13px 0 23px; font-size: clamp(15px, 1.5vw, 19px); }
.sodo-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.sodo-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid var(--sodo-gold); border-radius: 5px; color: var(--sodo-red-dark); background: var(--sodo-gold); font-weight: 900; }
.sodo-button:hover { color: var(--sodo-red-dark); background: #ffda76; }
.sodo-button-outline { color: #fff; background: rgba(92,0,8,.35); }
.sodo-button-outline:hover { color: var(--sodo-red-dark); background: var(--sodo-gold); }

.sodo-main { width: min(1300px, 100%); min-height: 52vh; margin-inline: auto; padding: 38px 0 60px; background: var(--sodo-bg); }
.sodo-intro { max-width: 840px; margin: 0 auto 30px; text-align: center; }
.sodo-intro h2 { margin: 0 0 8px; color: var(--sodo-red-dark); font-size: clamp(25px, 3vw, 34px); line-height: 1.3; }
.sodo-intro p { margin: 0; color: var(--sodo-muted); }
.sodo-section-title { display: flex; align-items: center; gap: 16px; margin: 30px 0 20px; color: var(--sodo-red-dark); font-size: 25px; line-height: 1.25; }
.sodo-section-title { white-space: nowrap; }
.sodo-section-title::after { content: ""; height: 2px; flex: 1; background: linear-gradient(90deg, var(--sodo-gold), transparent); }
.sodo-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sodo-category-card { position: relative; min-height: 210px; overflow: hidden; border: 1px solid #e9d8ba; border-radius: 8px; background: var(--sodo-red-dark); box-shadow: var(--sodo-shadow); }
.sodo-category-card img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .25s ease; }
.sodo-category-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(54,0,4,.92)); }
.sodo-category-card h3 { position: absolute; z-index: 2; right: 15px; bottom: 13px; left: 15px; margin: 0; color: #fff; font-size: 19px; text-align: center; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,.55); }
.sodo-category-card:hover img { transform: scale(1.035); }

.sodo-post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sodo-post-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--sodo-line); border-radius: 7px; background: #fff; box-shadow: 0 5px 18px rgba(73,0,7,.07); }
.sodo-card-image { display: block; overflow: hidden; background: #efe4d5; }
.sodo-card-image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .25s ease; }
.sodo-card-image:hover img { transform: scale(1.035); }
.sodo-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.sodo-card-meta { margin: 0 0 6px; color: var(--sodo-red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.sodo-card-body h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.42; }
.sodo-card-body h3 a { color: #312626; }
.sodo-card-body h3 a:hover { color: var(--sodo-red); }
.sodo-card-excerpt { margin: 0; color: var(--sodo-muted); font-size: 14px; line-height: 1.55; }

.sodo-page-heading { width: min(1300px, 100%); margin-inline: auto; padding: 25px 0; color: #fff; background: linear-gradient(100deg, var(--sodo-red-dark), var(--sodo-red)); }
.sodo-page-heading h1 { margin: 0; color: #fff; font-size: clamp(26px, 4vw, 38px); line-height: 1.25; }
.sodo-page-main { width: min(1300px, 100%); min-height: 60vh; margin-inline: auto; padding: 36px 0 60px; background: var(--sodo-bg); }
.sodo-page-card { padding: 32px; border: 1px solid var(--sodo-line); border-radius: 7px; background: #fff; box-shadow: var(--sodo-shadow); }
.sodo-page-card > :first-child { margin-top: 0; }
.sodo-page-card > :last-child { margin-bottom: 0; }
.sodo-single-image { margin: -32px -32px 28px; overflow: hidden; border-radius: 7px 7px 0 0; }
.sodo-single-image img { width: 100%; max-height: 560px; object-fit: cover; }
.sodo-empty { padding: 30px; border: 1px dashed #d9c5a6; border-radius: 7px; color: var(--sodo-muted); background: #fff; text-align: center; }
.sodo-pagination { margin-top: 28px; }

.sodo-footer { width: min(1300px, 100%); margin-inline: auto; color: #f1dede; background: var(--sodo-red-deep); border-top: 4px solid var(--sodo-gold-dark); }
.sodo-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding: 42px 0 30px; }
.sodo-footer-logo { width: 200px; margin-bottom: 14px; }
.sodo-footer-logo img { width: 200px; height: 83px; object-fit: contain; }
.sodo-footer h2 { margin: 5px 0 14px; color: var(--sodo-gold); font-size: 18px; text-transform: uppercase; }
.sodo-footer p { margin: 0 0 12px; font-size: 14px; }
.sodo-footer ul { margin: 0; padding: 0; list-style: none; }
.sodo-footer li { margin-bottom: 8px; }
.sodo-footer a { color: #fff; font-size: 14px; }
.sodo-footer a:hover { color: var(--sodo-gold); }
.sodo-age-note { display: inline-block; border: 1px solid var(--sodo-gold); border-radius: 4px; padding: 4px 9px; color: var(--sodo-gold); font-weight: 900; }
.sodo-footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: 13px; }

@media (min-width: 821px) {
  body.sodo66vnnet-site { background: var(--sodo-bg); }
  .sodo-header,
  .sodo-hero,
  .sodo-main,
  .sodo-page-heading,
  .sodo-page-main,
  .sodo-footer { width: 100%; margin-inline: 0; }
}

@media (max-width: 1080px) {
  .sodo-brand-row { grid-template-columns: 200px 1fr auto; gap: 18px; }
  .sodo-logo, .sodo-logo img { width: 190px; }
  .sodo-search { max-width: 340px; }
  .sodo-action { padding-inline: 12px; }
  .sodo-nav-list > li > a { padding-inline: 8px; font-size: 12px; }
  .sodo-category-grid, .sodo-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body.sodo66vnnet-site { font-size: 16px; }
  .sodo-topbar { display: none; }
  .sodo-brand-row { grid-template-columns: 70px 1fr 70px; grid-template-rows: 70px 54px; min-height: 124px; gap: 0; }
  .sodo-menu-toggle { display: inline-flex; grid-column: 1; grid-row: 1; }
  .sodo-logo { grid-column: 2; grid-row: 1; justify-self: center; width: 180px; }
  .sodo-logo img { width: 180px; height: 66px; }
  .sodo-search { display: none; }
  .sodo-account-actions { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; align-self: stretch; align-items: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.18); }
  .sodo-action { display: inline-flex; min-width: 124px; min-height: 38px; padding: 7px 12px; font-size: 12px; }
  .sodo-action-primary { order: -1; }
  .sodo-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100vh - 70px); overflow-y: auto; background: var(--sodo-red-dark); }
  .sodo-nav.is-open { display: block; }
  .sodo-nav-list { display: block; padding: 7px 0 13px; }
  .sodo-nav-list > li > a { min-height: 44px; padding: 10px 16px; font-size: 13px; }
  .sodo-nav-list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 6px 14px; visibility: visible; opacity: 1; transform: none; background: rgba(255,255,255,.06); box-shadow: none; }
  .sodo-nav-list .sub-menu a { color: #fff; padding: 8px 16px; }
  .sodo-hero img { min-height: 340px; object-position: 62% center; }
  .sodo-hero-overlay { background: linear-gradient(90deg, rgba(54,0,5,.86), rgba(54,0,5,.28)); }
  .sodo-hero-copy { width: 70%; }
  .sodo-category-grid, .sodo-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sodo-footer-grid { grid-template-columns: 1fr 1fr; }
  .sodo-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .sodo-shell { width: calc(100% - 24px); }
  .sodo-logo, .sodo-logo img { width: 180px; }
  .sodo-hero img { min-height: 0; aspect-ratio: 16 / 5; object-position: center; }
  .sodo-hero-overlay { position: static; display: block; background: var(--sodo-bg); }
  .sodo-hero-overlay .sodo-shell { width: 100%; }
  .sodo-hero-copy { width: 100%; padding: 23px 16px 25px; color: var(--sodo-ink); text-align: center; text-shadow: none; }
  .sodo-hero-kicker { display: none; }
  .sodo-hero h1 { color: var(--sodo-red-dark); font-size: 27px; line-height: 1.25; }
  .sodo-hero-copy > p:not(.sodo-hero-kicker) { margin: 10px auto 0; color: var(--sodo-muted); font-size: 15px; }
  .sodo-hero-buttons { display: none; }
  .sodo-main { padding: 30px 0 44px; }
  .sodo-category-grid, .sodo-post-grid { grid-template-columns: 1fr; gap: 17px; }
  .sodo-category-card, .sodo-category-card img { min-height: 0; }
  .sodo-category-card img { aspect-ratio: 2 / 1; }
  .sodo-page-card { padding: 23px 18px; }
  .sodo-single-image { margin: -23px -18px 22px; }
  .sodo-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .sodo-footer-brand { grid-column: auto; }
}
