/* =====================================================================
   CHUYÊN TRANG CHÍNH SÁCH, PHÁP LUẬT (/phap-luat) — tông đỏ đồng bộ website + vàng kim
   Tiền tố lg-. Dùng cùng portal.css (pt-*, hm-*, nw-*).
   ===================================================================== */
:root {
    --lg-red: #c8102e;
    --lg-red-2: #a60d24;
    --lg-red-3: #6b0b19;
    --lg-red-soft: #fdf0f1;
    --lg-gold: #c9a227;
    --lg-gold-2: #f3d27a;
    --lg-gold-soft: #fbf4df;
    --lg-ink: #1f2430;
    --lg-text: #434a57;
    --lg-muted: #747b88;
    --lg-line: #e8e9ee;
}
.lg { color: var(--lg-text); }
.lg h1, .lg h2, .lg h3, .lg h4 { color: var(--lg-ink); }
.lg-sec { padding: 36px 16px 0; }
.lg-meta { font-size: 12px; color: var(--lg-muted); }
.lg-meta i { color: var(--lg-red); }
.lg-tag { display: inline-flex; align-items: center; background: var(--lg-red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; }
.lg-tag--sm { font-size: 10px; padding: 4px 8px; }

/* ---------------- Hero (đỏ đậm → đỏ, vân lưới mờ, viền vàng dưới) ---------------- */
.lg-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 82% 10%, #d9233f 0%, var(--lg-red) 38%, #8a0f22 72%, #560914 100%); color: #fff; }
.lg-hero__pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent); pointer-events: none; }
.lg-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--lg-gold-2), var(--lg-gold), var(--lg-gold-2)); }
.lg-hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; min-height: 400px; padding-top: 22px; padding-bottom: 38px; }
.lg-hero--sm .lg-hero__in { min-height: 260px; grid-template-columns: 1fr auto; padding-bottom: 30px; }
.lg-crumbs { color: rgba(255,255,255,.78); margin-bottom: 18px; }
.lg-crumbs a:hover { color: var(--lg-gold-2); }
.lg-crumbs a .fa-house { color: var(--lg-gold-2); }
.lg-crumbs [aria-current] { color: #fff; }
.lg-crumbs > span:not([aria-current]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
.lg-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--lg-gold-2); margin-bottom: 12px; animation: lgUp .6s ease both; }
.lg-hero h1 { color: #fff; font-size: 46px; font-weight: 900; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.3px; animation: lgUp .6s .08s ease both; }
.lg-hero h1 em { font-style: normal; color: var(--lg-gold-2); font-family: 'Playfair Display', Georgia, serif; font-weight: 900; }
.lg-hero--sm h1 { font-size: 32px; }
.lg-hero p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 0 20px; animation: lgUp .6s .16s ease both; }
.lg-hero__stats { display: flex; gap: 12px; flex-wrap: wrap; animation: lgUp .6s .24s ease both; }
.lg-hero__stats > * { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12.5px; color: #fff; backdrop-filter: blur(4px); }
.lg-hero__stats b { font-size: 16px; color: var(--lg-gold-2); }
.lg-hero__stats a:hover { background: var(--lg-gold); color: var(--lg-red-3); border-color: var(--lg-gold); }
.lg-hero__stats a:hover b { color: var(--lg-red-3); }
.lg-hero__art { display: flex; justify-content: center; align-items: center; animation: lgIn .9s .1s ease both; }
.lg-art { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 24px 40px rgba(40,0,6,.5)); }
.lg-art__beam { transform-origin: 330px 110px; animation: lgBeam 7s ease-in-out infinite; }
.lg-art__pan { transform-box: fill-box; transform-origin: 50% 0; animation: lgPan 7s ease-in-out infinite; }
.lg-art__pan--r { animation-name: lgPanR; }
.lg-art__glow { transform-origin: 350px 170px; animation: lgGlow 4.5s ease-in-out infinite; }
.lg-art__books { animation: lgFloat 5.5s ease-in-out infinite; }
.lg-art__open { animation: lgFloat 5.5s .4s ease-in-out infinite; }
.lg-art__gavel { transform-origin: 444px 340px; animation: lgGavel 6s ease-in-out infinite; }
.lg-art__spark path { transform-box: fill-box; transform-origin: center; animation: lgSpark 3s ease-in-out infinite; }
.lg-art__spark path:nth-child(2) { animation-delay: 1s; }
.lg-art__spark path:nth-child(3) { animation-delay: 2s; }
.lg-hero__art--icon { width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: var(--lg-gold-2); font-size: 60px; box-shadow: inset 0 0 40px rgba(255,255,255,.08); }
@keyframes lgUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lgIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lgBeam { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes lgPan { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }
@keyframes lgPanR { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }
@keyframes lgGlow { 0%, 100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes lgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lgGavel { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 92% { transform: rotate(2deg); } }
@keyframes lgSpark { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .lg *, .lg *::before { animation: none !important; } }

/* ---------------- Tiêu đề mục ---------------- */
.lg-sechead { text-align: center; margin-bottom: 24px; }
.lg-sechead h2 { font-size: 24px; font-weight: 800; margin: 0; color: var(--lg-red) !important; text-transform: uppercase; letter-spacing: .3px; position: relative; display: inline-block; padding-bottom: 12px; }
.lg-sechead h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 64px; height: 3px; transform: translateX(-50%); background: linear-gradient(90deg, var(--lg-gold), var(--lg-gold-2)); border-radius: 3px; }
.lg-sechead p { margin: 10px 0 0; color: var(--lg-muted); font-size: 14px; }
.lg-sechead--row { display: flex; align-items: center; justify-content: space-between; text-align: left; margin: 28px 0 16px; }
.lg-sechead--row h2 { font-size: 17px; padding-bottom: 8px; }
.lg-sechead--row h2::after { left: 0; transform: none; width: 44px; }
.lg-sechead--row a { font-size: 13px; font-weight: 700; color: var(--lg-red); display: inline-flex; gap: 6px; align-items: center; }
.lg-sechead--row a:hover { color: var(--lg-red-2); }

/* ---------------- 9 lĩnh vực: thẻ ngang, icon tròn đỏ, số thứ tự vàng ---------------- */
.lg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lg-tile { position: relative; display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; padding: 18px 20px 18px 18px; background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; animation: lgUp .5s var(--d, 0ms) ease both; }
.lg-tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--lg-red), var(--lg-gold)); opacity: 0; transition: opacity .25s; }
.lg-tile::after { content: ''; position: absolute; right: -40px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; background: var(--lg-red-soft); transition: transform .3s; }
.lg-tile > * { position: relative; z-index: 1; }
.lg-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(200,16,46,.16); border-color: #f1c6cb; }
.lg-tile:hover::before { opacity: 1; }
.lg-tile:hover::after { transform: scale(1.25); }
.lg-tile__ico { grid-row: 1 / 3; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(145deg, var(--lg-red), var(--lg-red-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 8px 18px rgba(200,16,46,.3), inset 0 -3px 0 rgba(0,0,0,.15); transition: transform .3s; }
.lg-tile:hover .lg-tile__ico { transform: rotate(-8deg) scale(1.06); }
.lg-tile b { font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--lg-ink); padding-right: 34px; transition: color .2s; }
.lg-tile:hover b { color: var(--lg-red); }
.lg-tile small { font-size: 12.5px; color: var(--lg-muted); display: inline-flex; align-items: center; gap: 6px; }
.lg-tile small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lg-gold); }
.lg-tile__n { position: absolute; right: 14px; top: 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 900; color: var(--lg-gold); opacity: .55; line-height: 1; transition: all .25s; }
.lg-tile:hover .lg-tile__n { opacity: 1; transform: scale(1.1); }
.lg-tile__arr { position: absolute; right: 16px; bottom: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--lg-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; opacity: 0; transform: translateX(-8px); transition: all .25s; }
.lg-tile:hover .lg-tile__arr { opacity: 1; transform: none; }

/* ---------------- Bố cục 2 cột ---------------- */
.lg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.lg-main { min-width: 0; }
.lg-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lg-feat { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; overflow: hidden; transition: box-shadow .25s; }
.lg-feat:hover { box-shadow: 0 16px 40px rgba(200,16,46,.12); }
.lg-feat__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lg-red-3); }
.lg-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lg-feat:hover img { transform: scale(1.04); }
.lg-feat__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 22px 24px; }
.lg-feat__body h2 { font-size: 21px; font-weight: 800; line-height: 1.35; margin: 0; color: var(--lg-ink); }
.lg-feat:hover h2 { color: var(--lg-red); }
.lg-feat__body p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--lg-text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lg-card { display: flex; flex-direction: column; gap: 8px; }
.lg-card__img { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--lg-red-3); }
.lg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.lg-card:hover img { transform: scale(1.05); }
.lg-card__img .lg-tag { position: absolute; left: 10px; top: 10px; }
.lg-card b { font-size: 14.5px; font-weight: 700; line-height: 1.45; color: var(--lg-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-card:hover b { color: var(--lg-red); }

/* ---------------- Hộp cột phải ---------------- */
.lg-box { background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; padding: 18px 20px; }
.lg-box--dark { background: linear-gradient(160deg, var(--lg-red), var(--lg-red-3)); color: rgba(255,255,255,.92); border: 0; position: relative; overflow: hidden; }
.lg-box--dark::after { content: '\f24e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -14px; bottom: -22px; font-size: 120px; color: rgba(255,255,255,.07); pointer-events: none; }
.lg-box__head { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--lg-red); margin-bottom: 12px; }
.lg-box__head i { color: var(--lg-gold); }
.lg-box--dark .lg-box__head { color: #fff; }
.lg-box--dark .lg-box__head i { color: var(--lg-gold-2); }
.lg-box p { font-size: 13.5px; line-height: 1.65; margin: 0 0 12px; color: var(--lg-text); }
.lg-box--dark p { color: rgba(255,255,255,.92); }
.lg-box__btn { display: inline-flex; align-items: center; gap: 8px; background: var(--lg-gold); color: var(--lg-red-3); font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; margin-bottom: 10px; transition: all .2s; }
.lg-box__btn:hover { background: var(--lg-gold-2); transform: translateY(-1px); }
.lg-box:not(.lg-box--dark) .lg-box__btn { background: var(--lg-red); color: #fff; }
.lg-box:not(.lg-box--dark) .lg-box__btn:hover { background: var(--lg-red-2); }
.lg-box__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--lg-red); margin-top: 6px; }
.lg-box--dark .lg-box__link { color: var(--lg-gold-2); }
.lg-box__link i { transition: transform .2s; }
.lg-box__link:hover i { transform: translateX(3px); }
.lg-links { list-style: none; margin: 0; padding: 0; }
.lg-links li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--lg-line); font-size: 13.5px; color: var(--lg-ink); }
.lg-links li:last-child a { border-bottom: 0; }
.lg-links li a > i:first-child { color: var(--lg-red); width: 18px; text-align: center; }
.lg-links li a .fa-arrow-up-right-from-square { margin-left: auto; font-size: 10px; color: var(--lg-muted); }
.lg-links li a:hover { color: var(--lg-red); }
.lg-catlist { list-style: none; margin: 0; padding: 0; }
.lg-catlist li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; color: rgba(255,255,255,.9); transition: background .15s; }
.lg-catlist li a i { width: 18px; text-align: center; color: var(--lg-gold-2); }
.lg-catlist li a span { flex: 1; min-width: 0; }
.lg-catlist li a b { font-size: 11.5px; background: rgba(255,255,255,.14); padding: 2px 8px; border-radius: 999px; }
.lg-catlist li a:hover, .lg-catlist li.is-active a { background: rgba(255,255,255,.14); color: #fff; }
.lg-catlist li.is-active a b { background: var(--lg-gold); color: var(--lg-red-3); }
.lg-side .hm-sched__date { background: var(--lg-red-soft); }
.lg-side .hm-sched__date b { color: var(--lg-red); }
.lg-side .hm-sched__body b { color: var(--lg-ink); }

/* ---------------- Theo từng lĩnh vực ---------------- */
.lg-bands { margin-top: 40px; padding: 40px 0 46px; background: linear-gradient(180deg, var(--lg-red-soft), #fff); border-top: 1px solid #f5d5d9; }
.lg-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lg-col { background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; padding: 18px 18px 14px; display: flex; flex-direction: column; }
.lg-col__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--lg-red-soft); }
.lg-col__ico { width: 36px; height: 36px; border-radius: 10px; background: var(--lg-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.lg-col__head h3 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--lg-ink); line-height: 1.3; }
.lg-col__head h3 a:hover { color: var(--lg-red); }
.lg-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--lg-line); }
.lg-row:last-of-type { border-bottom: 0; }
.lg-row__img { width: 80px; height: 56px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f4f5f7; }
.lg-row__img img { width: 100%; height: 100%; object-fit: cover; }
.lg-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lg-row__body b { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--lg-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-row:hover b { color: var(--lg-red); }
.lg-row__body small { font-size: 11.5px; color: var(--lg-muted); }
.lg-col__more { margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--lg-red); display: inline-flex; align-items: center; gap: 6px; }
.lg-col__more:hover { color: var(--lg-red-2); }

/* ---------------- Trang lĩnh vực ---------------- */
.lg-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.lg-subnav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lg-line); background: #fff; font-size: 13px; font-weight: 600; color: var(--lg-text); transition: all .2s; }
.lg-subnav a:hover { border-color: var(--lg-red); color: var(--lg-red); }
.lg-subnav a.is-active { background: var(--lg-red); border-color: var(--lg-red); color: #fff; }
.lg-list { display: flex; flex-direction: column; gap: 16px; }
.lg-item { display: grid; grid-template-columns: 240px 1fr; gap: 18px; background: #fff; border: 1px solid var(--lg-line); border-radius: 12px; overflow: hidden; transition: all .2s; }
.lg-item:hover { box-shadow: 0 12px 30px rgba(200,16,46,.12); transform: translateY(-2px); }
.lg-item__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lg-red-3); }
.lg-item__img img { width: 100%; height: 100%; object-fit: cover; }
.lg-item__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 18px 16px 0; }
.lg-item__body h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--lg-ink); }
.lg-item:hover h3 { color: var(--lg-red); }
.lg-item__body p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--lg-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-pg { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.lg-pg a, .lg-pg span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--lg-line); font-weight: 600; font-size: 13.5px; color: var(--lg-ink); }
.lg-pg a:hover { border-color: var(--lg-red); color: var(--lg-red); }
.lg-pg .is-active { background: var(--lg-red); border-color: var(--lg-red); color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
    .lg-tiles { grid-template-columns: repeat(2, 1fr); }
    .lg-cols { grid-template-columns: repeat(2, 1fr); }
    .lg-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
}
@media (max-width: 991px) {
    .lg-hero__in, .lg-hero--sm .lg-hero__in { grid-template-columns: 1fr; min-height: 0; }
    .lg-hero__art { order: -1; }
    .lg-art { max-width: 330px; }
    .lg-hero__art--icon { width: 90px; height: 90px; font-size: 36px; margin: 0 auto 10px; }
    .lg-hero h1 { font-size: 32px; }
    .lg-layout { grid-template-columns: 1fr; }
    .lg-feat { grid-template-columns: 1fr; }
    .lg-feat__body { padding: 18px; }
    .lg-item { grid-template-columns: 1fr; }
    .lg-item__body { padding: 0 16px 16px; }
}
@media (max-width: 640px) {
    .lg-sec { padding-top: 26px; }
    .lg-hero h1 { font-size: 27px; }
    .lg-hero p { font-size: 14px; }
    .lg-tiles { grid-template-columns: 1fr; gap: 10px; }
    .lg-tile { padding: 14px 16px 14px 14px; column-gap: 12px; }
    .lg-tile__ico { width: 48px; height: 48px; font-size: 19px; }
    .lg-grid { grid-template-columns: 1fr; }
    .lg-cols { grid-template-columns: 1fr; }
    .lg-sechead h2 { font-size: 20px; }
}
