/*
Theme Name: Lắp Mạng Viettel Online Complete 2026
Theme URI: https://lapmangviettel.online/
Author: Lap Mang Viettel Online
Author URI: https://lapmangviettel.online/
Description: Theme WordPress hoàn chỉnh 2026 cho lapmangviettel.online: bảng giá Viettel cập nhật, gói cá nhân/doanh nghiệp, bài SEO, biểu mẫu, sitemap sạch, xóa bài Beer/IPA/Brewery/Craft Beer, 410 URL rác và chuyển hướng News.
Version: 5.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lapmangviettel-seo
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns
*/

:root {
  --lmv-red: #d71920;
  --lmv-red-dark: #a90f14;
  --lmv-ink: #152033;
  --lmv-muted: #5d6878;
  --lmv-line: #e5e9ef;
  --lmv-bg: #f6f8fb;
  --lmv-white: #fff;
  --lmv-green: #0b8f55;
  --lmv-radius: 16px;
  --lmv-shadow: 0 12px 32px rgba(21, 32, 51, .09);
  --lmv-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lmv-ink);
  background: var(--lmv-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--lmv-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lmv-red-dark); }
button, input, select, textarea { font: inherit; }
button, .lmv-button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(215,25,32,.35); outline-offset: 3px; }

.lmv-container { width: min(calc(100% - 32px), var(--lmv-container)); margin-inline: auto; }
.lmv-main { min-height: 60vh; }
.lmv-section { padding: 64px 0; }
.lmv-section--soft { background: var(--lmv-bg); }
.lmv-section__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.lmv-section__head h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.lmv-section__head p { margin: 0; color: var(--lmv-muted); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto; top: 8px; left: 8px;
  z-index: 100000; padding: 12px 16px; background: #fff; color: #111; box-shadow: var(--lmv-shadow);
}

.lmv-topbar { background: #111827; color: #fff; font-size: 14px; }
.lmv-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lmv-topbar a { color: #fff; text-decoration: none; font-weight: 700; }

.lmv-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--lmv-line); backdrop-filter: blur(10px); }
.admin-bar .lmv-header { top: 32px; }
.lmv-header__inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.lmv-brand { display: flex; align-items: center; gap: 12px; min-width: 220px; text-decoration: none; color: var(--lmv-ink); }
.lmv-brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lmv-red); color: #fff; font-weight: 900; }
.lmv-brand__text strong { display: block; line-height: 1.15; }
.lmv-brand__text small { color: var(--lmv-muted); }
.custom-logo { max-height: 54px; width: auto; }
.lmv-nav { margin-left: auto; }
.lmv-nav ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.lmv-nav a { color: var(--lmv-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.lmv-nav .current-menu-item > a, .lmv-nav a:hover { color: var(--lmv-red); }
.lmv-menu-toggle { display: none; margin-left: auto; border: 1px solid var(--lmv-line); border-radius: 10px; background: #fff; padding: 8px 12px; }

.lmv-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 12px;
  background: var(--lmv-red); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 8px 20px rgba(215,25,32,.18);
}
.lmv-button:hover { background: var(--lmv-red-dark); color: #fff; }
.lmv-button--outline { background: transparent; color: var(--lmv-red); border-color: var(--lmv-red); box-shadow: none; }
.lmv-button--outline:hover { background: #fff1f2; color: var(--lmv-red-dark); }
.lmv-button--dark { background: #111827; box-shadow: none; }

.lmv-hero { overflow: hidden; position: relative; background: linear-gradient(135deg,#fff 0%,#fff5f5 50%,#f4f7fb 100%); padding: 74px 0; }
.lmv-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(215,25,32,.07); right: -140px; top: -140px; }
.lmv-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lmv-eyebrow { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #ffe5e7; color: var(--lmv-red-dark); font-weight: 800; font-size: 14px; }
.lmv-hero h1 { margin: 18px 0; font-size: clamp(40px, 6vw, 66px); line-height: 1.04; letter-spacing: -1.7px; }
.lmv-hero p { max-width: 680px; margin: 0 0 26px; color: var(--lmv-muted); font-size: 19px; }
.lmv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lmv-hero__panel { padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--lmv-shadow); border: 1px solid rgba(229,233,239,.85); }
.lmv-stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.lmv-stat { padding: 18px; background: var(--lmv-bg); border-radius: 14px; }
.lmv-stat strong { display: block; color: var(--lmv-red); font-size: 25px; }
.lmv-checks { list-style: none; margin: 22px 0 0; padding: 0; }
.lmv-checks li { position: relative; padding: 8px 0 8px 28px; }
.lmv-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--lmv-green); font-weight: 900; }

.lmv-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.lmv-card { background: #fff; border: 1px solid var(--lmv-line); border-radius: var(--lmv-radius); padding: 24px; box-shadow: 0 6px 22px rgba(21,32,51,.04); }
.lmv-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
.lmv-card p { color: var(--lmv-muted); }
.lmv-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: #fff1f2; color: var(--lmv-red); font-size: 22px; font-weight: 900; }

.lmv-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.lmv-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lmv-line); border-radius: 18px; padding: 24px; box-shadow: 0 8px 24px rgba(21,32,51,.06); }
.lmv-plan--featured { border: 2px solid var(--lmv-red); transform: translateY(-4px); }
.lmv-plan__badge { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--lmv-red); color: #fff; font-size: 12px; font-weight: 900; }
.lmv-plan h3 { margin: 0; font-size: 24px; }
.lmv-plan__speed { margin: 8px 0; color: var(--lmv-muted); font-weight: 700; }
.lmv-plan__price { margin: 8px 0 16px; color: var(--lmv-red); font-size: 31px; line-height: 1; font-weight: 900; }
.lmv-plan__price small { color: var(--lmv-muted); font-size: 14px; font-weight: 600; }
.lmv-plan ul { margin: 0 0 22px; padding-left: 20px; color: var(--lmv-muted); }
.lmv-plan .lmv-button { margin-top: auto; }
.lmv-plan-note { margin-top: 22px; color: var(--lmv-muted); font-size: 14px; text-align: center; }

.lmv-content-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 38px; padding: 48px 0 70px; }
.lmv-entry { min-width: 0; }
.lmv-entry-header { margin-bottom: 24px; }
.lmv-entry-title { margin: 0 0 10px; font-size: clamp(32px,5vw,50px); line-height: 1.15; }
.lmv-entry-meta { color: var(--lmv-muted); font-size: 14px; }
.lmv-entry-content > *:first-child { margin-top: 0; }
.lmv-entry-content h2, .lmv-entry-content h3 { line-height: 1.25; margin-top: 1.6em; }
.lmv-entry-content table { width: 100%; border-collapse: collapse; overflow: hidden; }
.lmv-entry-content th, .lmv-entry-content td { padding: 12px; border: 1px solid var(--lmv-line); text-align: left; }
.lmv-entry-content th { background: var(--lmv-bg); }
.lmv-entry-content blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--lmv-red); background: #fff7f7; }
.lmv-thumbnail { margin-bottom: 24px; border-radius: 18px; overflow: hidden; }

.lmv-breadcrumbs { padding: 14px 0; border-bottom: 1px solid var(--lmv-line); background: #fafbfc; font-size: 14px; color: var(--lmv-muted); }
.lmv-breadcrumbs a { color: var(--lmv-muted); text-decoration: none; }
.lmv-breadcrumbs span { margin: 0 6px; }

.lmv-sidebar .widget { margin-bottom: 24px; padding: 22px; border: 1px solid var(--lmv-line); border-radius: 14px; }
.lmv-sidebar .widget-title { margin-top: 0; font-size: 20px; }
.lmv-sidebar ul { margin: 0; padding-left: 20px; }

.lmv-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.lmv-post-card { overflow: hidden; border: 1px solid var(--lmv-line); border-radius: 16px; background: #fff; }
.lmv-post-card__body { padding: 20px; }
.lmv-post-card h2, .lmv-post-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.lmv-post-card h2 a, .lmv-post-card h3 a { color: var(--lmv-ink); text-decoration: none; }
.lmv-post-card__meta { color: var(--lmv-muted); font-size: 13px; }
.lmv-pagination { margin-top: 32px; }

.lmv-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 24px; border: 1px solid var(--lmv-line); border-radius: 18px; background: #fff; box-shadow: var(--lmv-shadow); }
.lmv-field { display: flex; flex-direction: column; gap: 6px; }
.lmv-field--full { grid-column: 1 / -1; }
.lmv-field label { font-weight: 800; }
.lmv-field input, .lmv-field select, .lmv-field textarea { width: 100%; min-height: 46px; border: 1px solid #cfd6df; border-radius: 10px; padding: 10px 12px; background: #fff; }
.lmv-field textarea { min-height: 110px; resize: vertical; }
.lmv-form__note { grid-column: 1 / -1; color: var(--lmv-muted); font-size: 13px; }
.lmv-alert { margin: 16px 0; padding: 14px 16px; border-radius: 10px; }
.lmv-alert--success { color: #075c38; background: #e8fff4; border: 1px solid #b9efd6; }
.lmv-alert--error { color: #8b1118; background: #fff0f1; border: 1px solid #f5c6ca; }
.lmv-hp { position: absolute !important; left: -9999px !important; }

.lmv-faq details { margin-bottom: 12px; border: 1px solid var(--lmv-line); border-radius: 12px; background: #fff; }
.lmv-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; }
.lmv-faq details > div { padding: 0 18px 18px; color: var(--lmv-muted); }

.lmv-cta { padding: 36px; border-radius: 22px; background: linear-gradient(135deg,#b90e15,#e11d26); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lmv-cta h2 { margin: 0 0 8px; }
.lmv-cta p { margin: 0; opacity: .9; }
.lmv-cta .lmv-button { background: #fff; color: var(--lmv-red-dark); box-shadow: none; }

.lmv-footer { background: #111827; color: #d7dde6; padding: 52px 0 24px; }
.lmv-footer a { color: #fff; text-decoration: none; }
.lmv-footer__grid { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); gap: 32px; }
.lmv-footer h2, .lmv-footer h3 { color: #fff; margin-top: 0; }
.lmv-footer ul { list-style: none; margin: 0; padding: 0; }
.lmv-footer li { margin: 8px 0; }
.lmv-footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; }

.lmv-floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.lmv-floating a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.lmv-floating__call { background: var(--lmv-red); }
.lmv-floating__zalo { background: #0876dd; }

.lmv-empty, .lmv-404 { padding: 70px 0; text-align: center; }
.alignwide { width: min(1280px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption, .gallery-caption { max-width: 100%; }
.bypostauthor { font-weight: inherit; }

@media (max-width: 980px) {
  .lmv-menu-toggle { display: inline-flex; }
  .lmv-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 16px; background: #fff; border-bottom: 1px solid var(--lmv-line); box-shadow: var(--lmv-shadow); }
  .lmv-nav.is-open { display: block; }
  .lmv-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lmv-header__cta { display: none; }
  .lmv-hero__grid, .lmv-content-wrap { grid-template-columns: 1fr; }
  .lmv-grid, .lmv-plan-grid, .lmv-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lmv-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .admin-bar .lmv-header { top: 46px; }
  .lmv-topbar__inner { justify-content: center; }
  .lmv-topbar__inner span:first-child { display: none; }
  .lmv-brand__text small { display: none; }
  .lmv-hero { padding: 52px 0; }
  .lmv-hero h1 { letter-spacing: -.8px; }
  .lmv-grid, .lmv-plan-grid, .lmv-post-grid, .lmv-footer__grid, .lmv-form { grid-template-columns: 1fr; }
  .lmv-field--full { grid-column: auto; }
  .lmv-plan--featured { transform: none; }
  .lmv-cta { align-items: flex-start; flex-direction: column; }
  .lmv-footer__bottom { flex-direction: column; }
}


/* Version 3 additions */
.lmv-sitemap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.lmv-sitemap section{border:1px solid var(--lmv-line);border-radius:16px;padding:22px;background:#fff}.lmv-sitemap h2{margin-top:0;font-size:22px}.lmv-sitemap ul{margin:0;padding-left:20px}.lmv-disclaimer{padding:14px 18px;border-left:4px solid var(--lmv-red);background:#fff7f7;border-radius:8px;color:var(--lmv-muted)}.lmv-header .custom-logo-link{display:flex;align-items:center}.lmv-entry-content .lmv-plan-grid{max-width:none}.lmv-plan__meta{font-size:14px;color:var(--lmv-muted)}
@media(max-width:800px){.lmv-sitemap{grid-template-columns:1fr}.lmv-plan--featured{transform:none}}
