/* =========================================================
   Nền móng Thăng Long – stylesheet
   Theme WordPress – giao diện Phương án A (đã duyệt 30/09/2026)
   ========================================================= */

:root {
  --primary: #162D61;
  --primary-dark: #00174D;
  --accent: #027EC4;
  --accent-2: #0085D2;
  --text: #0A0A0A;
  --text-soft: #444;
  --muted: #777;
  --line: #ECECEC;
  --bg-soft: #EEEEEE;
  --bg-soft-2: #F6F6F6;
  --bg-footer: #F8F8F8;
  --bar: #2D3E4B;
  --brand-yellow: #F9BA2C;
  --brand-red: #E53A22;
  --container: 1170px;
  --header-h: 68px;
  --radius: 0px;
  --shadow: 1px 1px 10px rgba(0, 0, 0, .15);
  --font: 'Google Sans', 'Be Vietnam Pro', 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 98%; line-height: 1.6; color: var(--text);
  background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: #212121; text-decoration: none; transition: color .2s; }
a:hover { color: #111; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.25; margin: 0 0 .5em; color: inherit; }
h1 { font-size: 1.7em; } h2 { font-size: 1.6em; } h3 { font-size: 1.25em; } h4 { font-size: 1.125em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: calc(var(--container) + 30px); padding: 0 15px; margin: 0 auto; }
.text-center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: .97em; letter-spacing: .03em; line-height: 2.4em;
  padding: 0 1.4em; border-radius: 99px; border: 2px solid transparent;
  transition: box-shadow .3s, background-color .3s, color .3s, border-color .3s, transform .3s;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.btn:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: none; }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); box-shadow: none; }
.btn-white { background: #fff; color: #666; }
.btn-white:hover { color: #333; }
.btn-cta { background: var(--brand-yellow); color: var(--primary); }
.btn-cta:hover { color: var(--primary); }
.btn-sm { font-size: .85em; }
.btn-lg { font-size: 1.05em; line-height: 2.8em; padding: 0 1.8em; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header-wrap { height: var(--header-h); position: relative; z-index: 100; }
.site-header { background: #fff; box-shadow: var(--shadow); height: var(--header-h); width: 100%; top: 0; left: 0; }
.site-header.is-stuck { position: fixed; height: 62px; animation: stuckMoveDown .6s; }
@keyframes stuckMoveDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.header-inner { display: flex; align-items: center; height: 100%; gap: 20px; }
.logo { display: flex; align-items: center; height: 100%; padding: 3px 0; flex-shrink: 0; }
.logo img { height: 46px; width: auto; transition: height .3s; }
.site-header.is-stuck .logo img { height: 40px; }
.main-nav { margin-left: auto; height: 100%; }
.main-nav > ul { display: flex; list-style: none; height: 100%; align-items: center; }
.main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
.main-nav > ul > li + li::before { content: ''; width: 1px; height: 15px; background: rgba(0, 0, 0, .1); }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 11px;
  font-size: .9em; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--text);
}
.main-nav > ul > li > a .icon { opacity: .6; }
.main-nav > ul > li.is-active > a { color: var(--primary); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; list-style: none;
  box-shadow: 1px 1px 35px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s, visibility .25s; padding: 0; z-index: 10;
}
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.sub-menu li:last-child a { border-bottom: 0; }
.sub-menu a:hover, .sub-menu .is-active a { color: var(--primary); background: #f7f8fb; }
.nav-toggle, .header-phone { display: none; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: #fff; z-index: 1;
  transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mobile-nav-head img { height: 34px; width: auto; }
.mobile-nav-close { background: none; border: 0; padding: 6px; color: var(--text); }
.mobile-nav-panel > ul { list-style: none; }
.mobile-nav-panel > ul > li { position: relative; border-bottom: 1px solid var(--line); }
.mobile-nav-panel > ul > li > a { display: block; padding: 14px 50px 14px 20px; font-weight: 700; text-transform: uppercase; font-size: .9em; }
.mobile-nav-panel > ul > li.is-active > a { color: var(--primary); }
.sub-toggle { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border: 0; background: none; color: var(--text); transition: transform .2s; }
.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.mobile-sub { list-style: none; display: none; background: var(--bg-soft-2); }
.mobile-sub.is-open { display: block; }
.mobile-sub a { display: block; padding: 11px 20px 11px 34px; font-size: .92em; }
.mobile-nav-contact { margin-top: auto; padding: 20px; display: grid; gap: 10px; background: var(--bg-soft-2); font-size: .9em; }
.mobile-nav-contact a { display: flex; gap: 8px; align-items: center; color: var(--primary); }

/* Flash */
.flash { position: relative; padding: 14px 50px 14px 0; font-weight: 500; }
.flash-success { background: #e7f6ec; color: #11642f; }
.flash-error { background: #fdecea; color: #a1231a; }
.flash-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 39px; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.section-title p { max-width: 820px; margin: 0 auto; font-size: 1em; color: var(--text-soft); }
.dark .section-title h2, .dark h2 { color: #fff; }
.eyebrow-unused { display: inline-block; font-size: .8em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 10px; }
.section-cta { margin-top: 36px; margin-bottom: 0; }
.parallax { background-image: var(--bg); background-size: cover; background-position: center; background-attachment: fixed; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 550px; max-height: 1100px; background: var(--primary); color: #fff; overflow: hidden; }
.hero-media, .hero-media video, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video { object-fit: cover; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.08); }
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: rgba(23, 24, 26, .63); }
.hero-caption { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); width: 60%; text-align: center; }
.hero-caption h1 { font-size: 63px; font-weight: 400; margin: 0 0 .3em; letter-spacing: .01em; line-height: 1.1; }
.hero-caption p { font-size: 1.3em; margin: 0; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; opacity: .7; }
.hero-dots button.is-active { background: #fff; opacity: 1; }
.hero-slide-label { position: absolute; left: 30px; bottom: 20px; z-index: 2; max-width: calc(50% - 90px); padding: 6px 12px; background: rgba(0, 0, 0, .35); color: #fff; font-size: .8em; letter-spacing: .03em; line-height: 1.4; border-left: 3px solid var(--accent); }
.hero-slide-label:hover { background: rgba(0, 0, 0, .55); color: #fff; }
.hero-slide-label[href="#"] { pointer-events: none; }

/* ---------- Lĩnh vực (home) ---------- */
.section-fields { background: var(--bg-soft); }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-card { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 361px; overflow: hidden; color: #fff; background: var(--primary); }
.field-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.field-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 44%); }
.field-card h3 { position: relative; z-index: 1; font-size: 30px; font-weight: 700; margin: 0 0 22px; text-align: center; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.field-card:hover .field-bg { transform: scale(1.06); }
.field-card:hover { color: #fff; }

/* ---------- Công trình nổi bật ---------- */
.section-featured { padding: 50px 0 60px; }
.section-featured::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .9); }
.section-featured > .container { position: relative; }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 400px; gap: 10px; }
.featured-tile { position: relative; overflow: hidden; color: #fff; display: block; background: var(--primary); }
.featured-tile.tile-1 { grid-column: span 8; } .featured-tile.tile-2 { grid-column: span 4; }
.featured-tile.tile-3 { grid-column: span 4; } .featured-tile.tile-4 { grid-column: span 8; }
.featured-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured-tile::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .34); z-index: 1; transition: background .4s; }
.featured-tile::after { content: ''; position: absolute; inset: 12px; border: 3px solid #fff; z-index: 2; pointer-events: none; }
.featured-caption { position: absolute; left: 34px; right: 34px; bottom: 30px; z-index: 3; font-size: 31px; line-height: 1.2; font-weight: 500; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.featured-caption small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--brand-yellow); }
.featured-tile:hover img { transform: scale(1.06); }
.featured-tile:hover::before { background: rgba(0, 0, 0, .2); }
.featured-tile:hover { color: #fff; }

/* ---------- Hợp tác ---------- */
.section-coop { background-color: var(--primary-dark); color: #f1f1f1; padding: 110px 0 120px; }
.section-coop::before { content: ''; position: absolute; inset: 0; background: rgba(22, 22, 22, .87); }
.coop-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.coop-frame { position: relative; margin: 30px 0 0 30px; }
.coop-frame::before { content: ''; position: absolute; top: -30px; left: -30px; width: 60%; height: 70%; border-top: 30px solid #fff; border-left: 30px solid #fff; }
.coop-frame img { position: relative; width: 100%; height: 396px; object-fit: cover; }
.coop-text h2 { font-size: 39px; margin-bottom: 20px; }
.coop-text p { color: #d8d8d8; }
.coop-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.coop-down { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); color: #fff; display: grid; place-items: center; }
.coop-down:hover { color: #fff; background: rgba(255, 255, 255, .15); }

/* ---------- Tin tức (home) ---------- */
.section-news { padding: 61px 0; }
.news-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.news-tile { position: relative; height: 250px; overflow: hidden; display: block; color: #fff; grid-column: span 3; background: var(--primary); }
.news-tile.n2, .news-tile.n6 { grid-column: span 6; }
.news-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 60%); }
.news-tile-title {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 16px; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-tile-hover {
  position: absolute; inset: 0; z-index: 2; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1a243c, #1e2943 50%, #293657); transform: translateX(-100%); transition: transform .25s ease;
}
.news-tile-hover strong { color: #cc8769; font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-tile-hover time { font-size: 12px; opacity: .8; }
.news-tile-hover span { font-size: 12px; line-height: 1.5; color: #d9dce4; }
.news-tile:hover .news-tile-hover, .news-tile:focus-visible .news-tile-hover { transform: none; }
.news-tile:hover { color: #fff; }

/* ---------- Banner kết ---------- */
.closing-banner { position: relative; height: 326px; background-size: cover; background-position: center; color: #fff; display: flex; align-items: center; text-align: center; }
.closing-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.closing-text { position: relative; width: 100%; }
.closing-text h2 { font-size: 46px; font-weight: 700; letter-spacing: .06em; margin-bottom: .2em; }
.closing-text p { font-size: 2em; margin: 0; font-weight: 400; }

/* ---------- Footer ---------- */
.footer-main { background: var(--bg-footer); padding: 30px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { padding-top: 17px; font-size: .92em; color: #333; }
.footer-col h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--primary); margin-bottom: 25px; }
.footer-col a { color: #333; }
.footer-col a:hover { color: var(--primary); }
.footer-links { list-style: none; }
.footer-links li { border-bottom: 1px solid #e3e3e3; }
.footer-links li:first-child { border-top: 1px solid #e3e3e3; }
.footer-links a { display: block; padding: 7px 0; }
.social-icons { display: flex; gap: 8px; margin-top: 10px; }
.social-icons a { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #c9c9c9; display: grid; place-items: center; color: #888; }
.social-icons a:hover { border-color: var(--primary); color: var(--primary); }
.footer-bar { background: var(--bar); color: rgba(255, 255, 255, .88); font-size: .88em; padding: 18px 0; }
.footer-bar-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 16px; }
.footer-hotline { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.footer-hotline:hover { color: #fff; }
.footer-hotline-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.footer-copy { text-align: center; }
.footer-connect { text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.footer-connect a { color: #fff; opacity: .85; }

/* ---------- Page banners ---------- */
.page-banner { height: 271px; background-size: cover; background-position: center; position: relative; }
.title-bar { background: var(--primary); color: #fff; text-align: center; padding: 34px 0 30px; text-shadow: 1px 1px 1px rgba(0, 0, 0, .2); }
.title-bar h1 { text-transform: uppercase; font-size: 1.9em; margin-bottom: .25em; }
.title-bar p { margin: 0; font-weight: 300; font-size: 1.1em; opacity: .95; }
.breadcrumb { display: none; } /* bật lại nếu muốn hiện breadcrumb */

/* Giới thiệu hero */
.intro-hero { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; }
.intro-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .44); }
.intro-hero .container { position: relative; max-width: 860px; padding-bottom: 60px; }
.intro-hero h1 { font-size: 3.2em; margin-bottom: .3em; }
.intro-hero p { font-size: 1.15em; margin-bottom: 1.4em; }
.btn-pill-video { background: #fff; color: var(--primary); border-radius: 40px; padding: 5px 22px; line-height: 2em; }
.btn-pill-video:hover { color: var(--primary); }
.intro-overlap { background: var(--bg-soft-2); padding-bottom: 50px; }
.intro-card { position: relative; margin-top: -100px; background: var(--primary); color: #fff; padding: 50px 50px 30px; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.intro-card h2 { font-size: 25px; margin-bottom: 20px; }
.intro-card-logo { background: #fff; padding: 18px 22px; display: inline-block; width: 70%; }
.intro-card-logo img { width: 100%; }
.intro-card p { color: #e9ecf3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; }
.split h2 { font-size: 32px; color: var(--primary); }
.section-soft { background: var(--bg-soft-2); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.logo-grid .logo-item { background: #fff; height: 110px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); }
.logo-grid img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }

/* Tầm nhìn – sứ mệnh */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card { background: #fff; padding: 34px 30px; border-top: 4px solid var(--primary); box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.vmv-card h3 { color: var(--primary); font-size: 1.35em; margin-bottom: 14px; }
.vmv-card ul { list-style: none; }
.vmv-card li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.vmv-card li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--accent); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; padding: 10px; }
.value-num { font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; }
.value-item h3 { color: var(--primary); margin: 10px 0; }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.policy-item { background: #fff; padding: 28px; border-left: 4px solid var(--accent); }
.policy-item h3 { color: var(--primary); text-transform: uppercase; font-size: 1.05em; font-weight: 700; }

/* Lịch sử */
.history-list { padding: 30px 0 60px; }
.history-row { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row img { width: 100%; height: 250px; object-fit: cover; }
.history-year { font-size: 2.05rem; font-weight: 700; color: var(--accent); margin-bottom: .3em; }
.history-row h3 { color: var(--primary); }
.history-row ul { padding-left: 1.2em; }

/* Lãnh đạo */
.leaders { padding: 50px 0 70px; }
.leader-row { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 30px 0; align-items: start; }
.leader-row + .leader-row { border-top: 1px solid var(--line); }
.leader-photo { aspect-ratio: 1 / 1.1; background: linear-gradient(160deg, #e8ecf4, #cfd7e6); position: relative; overflow: hidden; display: grid; place-items: center; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.leader-photo .initials { font-size: 72px; font-weight: 700; color: var(--primary); opacity: .25; letter-spacing: .05em; }
.leader-photo .photo-note { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--primary); opacity: .6; }
.leader-role { font-weight: 300; color: #263846; font-size: 2.1em; line-height: 1.2; margin-top: 30px; }
.leader-name { display: block; font-weight: 700; color: var(--accent); }
.stripe { height: 12px; margin: 18px 0 20px; background: repeating-linear-gradient(-45deg, #d6dbe4 0 2px, transparent 2px 6px); }

/* Lĩnh vực page */
.field-rows { padding: 57px 0 60px; }
.field-row { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; padding: 30px 0; align-items: start; scroll-margin-top: 90px; }
.field-row + .field-row { border-top: 1px solid var(--line); }
.field-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.field-row h2 { font-weight: 300; color: #173774; font-size: 2.1em; }
.field-row h2 b { color: var(--accent); font-weight: 700; }
.field-row ul { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Dự án ---------- */
.project-tabs { display: flex; justify-content: center; flex-wrap: wrap; background: rgba(196, 136, 2, .22); margin: 40px auto 30px; width: fit-content; max-width: 100%; }
.project-tabs button { border: 0; background: none; text-transform: uppercase; font-weight: 700; font-size: .85em; line-height: 2.5em; padding: 0 .9em; color: var(--text); letter-spacing: .02em; }
.project-tabs button.is-active { background: var(--primary); color: #fff; }
.project-tabs button .count { opacity: .6; font-weight: 400; margin-left: 3px; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 60px; }
.project-card { position: relative; display: block; overflow: hidden; color: #fff; background: var(--primary); }
.project-card::before { content: ''; display: block; padding-top: 122%; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 94%), rgba(0, 0, 0, .25); }
.project-card-body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; text-align: center; }
.project-card h3 { font-size: 16px; line-height: 23px; min-height: 46px; margin: 0; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card:hover img { transform: scale(1.07); }
.project-card:hover { color: #fff; }
.project-card[hidden] { display: none; }
.placeholder-img { position: absolute; inset: 0; background: linear-gradient(150deg, #1d3a78, var(--primary)); display: grid; place-items: center; }
.placeholder-img img { position: static; width: 40%; height: auto; opacity: .35; object-fit: contain; }

/* Chi tiết dự án / bài viết */
.detail-wrap { background: var(--bg-soft-2); padding: 40px 0 60px; }
.detail-grid { display: grid; grid-template-columns: 9fr 3fr; gap: 30px; align-items: start; }
.detail-article { background: #fff; padding: 30px 34px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); min-width: 0; }
.detail-cats { font-size: .78em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.detail-cats a { color: var(--muted); }
.detail-cats a:hover { color: var(--primary); }
.detail-article h1 { color: var(--primary); font-size: 1.9em; margin-bottom: 18px; }
.detail-feature { width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 24px; }
.info-box { border: 1px solid #eef2f6; margin: 10px 0 28px; }
.info-box h2 { font-size: 1.1em; color: #1a3a6b; margin: 0; padding: 14px 18px; border-bottom: 2px solid #e8a020; display: flex; align-items: center; gap: 8px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 12px 18px; border-bottom: 1px solid #eef2f6; text-align: left; vertical-align: top; font-size: .95em; }
.info-table th { width: 30%; color: #555; background: #fcfdfe; font-weight: 500; }
.info-table td { color: #1a5dbf; font-weight: 500; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .85em; }
.status-pill.done { background: #e8f3ff; color: #1a5dbf; }
.status-pill.ongoing { background: #fff4de; color: #9a5b00; }
.prose p { line-height: 1.75; }
.prose h2 { color: var(--primary); font-size: 1.35em; margin-top: 1.4em; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 20px; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.post-nav a { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--primary); }
.post-nav a.next { justify-content: flex-end; text-align: right; }
.detail-sidebar { display: grid; gap: 24px; position: sticky; top: 80px; }
.widget { background: #fff; padding: 20px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.widget-title { font-size: 1em; font-weight: 700; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.widget-menu { list-style: none; background: var(--bg-soft-2); border-radius: 6px; padding: 6px 14px; }
.widget-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 15px; color: #383838; border-bottom: 1px solid #e6e6e6; }
.widget-menu li:last-child a { border-bottom: 0; }
.widget-menu a::before { content: ''; border: 4px solid transparent; border-left: 5px solid #aaa; }
.widget-menu a:hover { color: var(--primary); }
.mini-list { list-style: none; display: grid; gap: 14px; }
.mini-list a { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; font-size: .93em; font-weight: 300; line-height: 1.4; }
.mini-list img { width: 100px; height: 70px; object-fit: cover; }
.mini-list a:hover { color: #0072b7; }
.related { margin-top: 30px; }
.related h2 { font-size: 1.15em; color: var(--primary); text-transform: uppercase; font-weight: 700; }

/* ---------- Truyền thông ---------- */
.media-banner { position: relative; height: 253px; background-size: cover; background-position: center; display: flex; align-items: center; text-align: center; color: #fff; }
.media-banner::before { content: ''; position: absolute; inset: 0; background: rgba(51, 51, 51, .75); }
.media-banner .container { position: relative; }
.media-banner h1 { text-transform: uppercase; font-size: 2em; margin-bottom: .3em; }
.media-banner p { margin: 0; opacity: .9; }
.media-banner a { color: #fff; text-decoration: underline; }
.news-list-wrap { padding: 40px 0 60px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
.news-card { display: block; }
.news-card-img { position: relative; overflow: hidden; background: #eee; }
.news-card-img::before { content: ''; display: block; padding-top: 52%; }
.news-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.date-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--primary); color: #fff; width: 48px; text-align: center; padding: 5px 0; line-height: 1.1; }
.date-badge b { display: block; font-size: 18px; }
.date-badge span { font-size: 11px; }
.news-card h3 { font-size: 15.5px; color: #3c3c3c; text-align: center; margin: 12px 6px 0; min-height: 48px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover img { transform: scale(1.06); }
.news-card:hover h3 { color: var(--primary); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ddd; display: grid; place-items: center; font-weight: 700; font-size: .9em; }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.tool-banner { position: relative; min-height: 310px; background-size: cover; background-position: center; color: #fff; padding: 30px 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tool-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #162d61, #0085d2); opacity: .85; }
.tool-banner > * { position: relative; }
.tool-banner h3 { text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.tool-banner .btn { width: 100%; }

/* ---------- Tuyển dụng ---------- */
.jobs-wrap { padding: 50px 0 70px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 10px 0 50px; }
.benefit { background: var(--bg-soft-2); padding: 24px; text-align: center; }
.benefit .icon { color: var(--primary); margin-bottom: 10px; }
.benefit h3 { font-size: 1.05em; color: var(--primary); }
.benefit p { font-size: .92em; margin: 0; color: var(--text-soft); }
.job-table { width: 100%; border-collapse: collapse; }
.job-table th { background: var(--primary); color: #fff; text-align: left; padding: 12px 16px; font-weight: 500; }
.job-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.job-table tr:hover td { background: #fafbfd; }
.job-title { font-weight: 700; color: var(--primary); }
.job-req { font-size: .9em; color: var(--text-soft); padding-left: 1.1em; margin-top: 6px; }

/* ---------- Liên hệ ---------- */
.contact-wrap { padding: 40px 0 70px; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; }
.tabs-line { display: flex; justify-content: center; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs-line button { border: 0; background: none; font-weight: 700; text-transform: uppercase; font-size: 1em; padding: 12px 4px 10px; position: relative; color: #666; }
.tabs-line button::before { content: ''; position: absolute; top: 0; left: 50%; width: 0; height: 3px; background: var(--primary); transition: width .3s, left .3s; }
.tabs-line button:hover::before, .tabs-line button.is-active::before { width: 100%; left: 0; }
.tabs-line button.is-active { color: var(--primary); }
.map-panel { position: relative; }
.map-panel iframe { width: 100%; height: 470px; border: 0; display: block; filter: grayscale(.15); }
.map-address { position: absolute; right: 16px; bottom: 16px; max-width: 42%; background: #fff; padding: 16px 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); font-size: .9em; }
.map-address h3 { font-size: 1em; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 6px; }
.map-address p { margin: 0; }
.map-directions { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: .95em; color: var(--accent); }
.map-directions:hover { color: var(--primary); text-decoration: underline; }
.contact-form-wrap { margin-top: 29px; }
.contact-form-wrap h2 { color: var(--primary); font-size: 1.6em; }
.contact-info-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 24px; }
.contact-info-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-info-list .icon { color: var(--primary); margin-top: 3px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form textarea, .form select {
  width: 100%; background: #eee; border: 0; border-radius: 3px; font-family: inherit; font-size: 14px; padding: 14px 16px; color: #333;
  transition: box-shadow .2s, background .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; background: #fff; box-shadow: 0 0 0 2px var(--primary); }
.form label { display: block; }

/* ---------- Modal & Lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 500; background: rgba(11, 11, 11, .8); display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal-dialog { position: relative; background: #fff; max-width: 600px; width: 100%; padding: 28px 24px 24px; animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.modal-dialog h3 { font-size: 26px; color: var(--primary); padding-right: 30px; }
.modal-lead { color: var(--text-soft); font-size: .95em; }
.modal-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; padding: 6px; color: #333; }
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: .92em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Năng lực ---------- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95em; background: #fff; }
.data-table th { background: var(--primary); color: #fff; font-weight: 500; text-align: left; padding: 11px 14px; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.data-table tr.group td { background: #eef2f8; font-weight: 700; color: var(--primary); }
.data-table td.num { text-align: right; white-space: nowrap; font-weight: 500; }
.hr-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.hr-box { background: #fff; padding: 22px; text-align: center; border-bottom: 3px solid var(--accent); }
.hr-box strong { display: block; font-size: 38px; color: var(--primary); line-height: 1.1; }
.hr-box span { color: var(--text-soft); font-size: .92em; }
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.equip-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.equip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.equip-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); color: #fff; font-weight: 700; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; }
.equip-item:hover img { transform: scale(1.06); }
.equip-item.is-portrait img { object-position: 50% 78%; } /* ảnh dọc: máy móc thường nằm ở nửa dưới */
/* Mỗi nhóm A–E: bảng số lượng bên trái, ảnh thiết bị bên phải */
.equip-group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 36px; align-items: start; padding: 34px 0; border-top: 1px solid #dde3ec; }
.section-title + .equip-group { border-top: 0; padding-top: 0; }
.equip-group.no-photos { grid-template-columns: 1fr; }
.equip-group h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.12em; line-height: 1.3; color: var(--primary); }
.equip-letter { flex: none; display: grid; place-items: center; width: 34px; height: 34px; background: var(--primary); color: #fff; font-weight: 700; }
.equip-group .equip-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.safety-media { position: relative; padding-bottom: 44px; }
.safety-main { display: block; }
.split .safety-main img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.safety-inset { position: absolute; left: -26px; bottom: 0; width: 44%; padding: 6px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.split .safety-inset img { width: 100%; height: auto; }
.org-chart { display: block; background: #fff; padding: 10px; border: 1px solid var(--line); overflow-x: auto; }
.org-chart svg { display: block; width: 100%; height: auto; }
.org-chart-hint { display: none; margin: 8px 0 0; font-size: .85em; color: var(--muted); text-align: center; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.legal-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: start; background: #fff; padding: 24px; border-top: 4px solid var(--primary); box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.legal-card h3 { color: var(--primary); font-size: 1.15em; line-height: 1.35; margin: 0 0 12px; }
.legal-card .contact-info-list li { font-size: .93em; }
.legal-doc { display: block; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); transition: transform .3s var(--ease); }
.legal-doc:hover { transform: translateY(-3px); }
.legal-doc img { width: 100%; }
.legal-cta { text-align: center; margin-top: 34px; }
.sub-nav { position: sticky; top: 62px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.sub-nav ul { display: flex; list-style: none; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-nav a { display: block; padding: 14px 14px; white-space: nowrap; font-weight: 700; font-size: .85em; text-transform: uppercase; color: #555; border-bottom: 3px solid transparent; }
.sub-nav a:hover, .sub-nav a.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.anchor-section { scroll-margin-top: 120px; }
.page-404 { padding: 100px 0; text-align: center; }
.page-404 h1 { font-size: 90px; color: var(--primary); margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 0 8px; font-size: .82em; }
  .logo img { height: 40px; }
}
@media (max-width: 849px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .nav-toggle, .header-phone { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ccc; background: #fff; color: var(--text); }
  .header-phone { color: var(--primary); }
  .logo img { height: 38px; }
  .site-header.is-stuck { height: var(--header-h); }
  .section { padding: 56px 0; }
  .section-title h2 { font-size: 30px; }
  .hero-caption { width: 90%; }
  .hero-caption h1 { font-size: 40px; }
  .fields-grid { grid-template-columns: 1fr; }
  .field-card { height: 260px; }
  .featured-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .featured-tile.tile-1, .featured-tile.tile-2, .featured-tile.tile-3, .featured-tile.tile-4 { grid-column: auto; }
  .featured-caption { font-size: 22px; left: 26px; bottom: 24px; }
  .coop-grid, .split, .intro-card { grid-template-columns: 1fr; gap: 40px; }
  .legal-grid { grid-template-columns: 1fr; }
  .coop-frame img { height: 280px; }
  .news-mosaic { grid-template-columns: 1fr 1fr; }
  .news-tile, .news-tile.n2, .news-tile.n6 { grid-column: span 1; height: 200px; }
  .news-tile.n1 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bar-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-hotline, .footer-connect { justify-content: center; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .history-row, .leader-row, .field-row { grid-template-columns: 1fr; gap: 20px; }
  .vmv-grid, .policy-grid { grid-template-columns: 1fr; }
  .values-grid, .benefits, .equip-grid, .logo-grid { grid-template-columns: 1fr 1fr; }
  .intro-hero { min-height: 480px; }
  .intro-hero h1 { font-size: 2.3em; }
  .map-address { position: static; max-width: none; box-shadow: none; border: 1px solid var(--line); }
  .parallax { background-attachment: scroll; }
  .hr-summary { grid-template-columns: 1fr; }
  .equip-group { grid-template-columns: 1fr; }
  .safety-inset { left: 12px; }
}
@media (max-width: 549px) {
  body { font-size: 102%; }
  .hero { height: 88vh; min-height: 480px; }
  .hero-caption h1 { font-size: 32px; }
  .hero-caption { bottom: 96px; }
  .org-chart svg { width: 760px; max-width: none; } /* giữ chữ đủ lớn, vuốt ngang để xem */
  .org-chart-hint { display: block; }
  .legal-card { grid-template-columns: 1fr; padding: 20px; }
  .legal-doc { width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-slide-label { left: 16px; right: 16px; bottom: 50px; max-width: none; text-align: center; border-left: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-caption p { font-size: 1.05em; }
  .section-title h2 { font-size: 26px; }
  .news-mosaic, .project-grid, .news-grid { grid-template-columns: 1fr; }
  .news-tile.n1 { grid-column: span 1; }
  .footer-grid, .values-grid, .benefits, .logo-grid { grid-template-columns: 1fr; }
  .equip-grid, .equip-group .equip-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid-4 { grid-template-columns: 1fr 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { justify-content: flex-start; text-align: left; }
  .detail-article { padding: 22px 18px; }
  .closing-text h2 { font-size: 34px; }
  .closing-text p { font-size: 1.3em; }
  .job-table thead { display: none; }
  .job-table, .job-table tbody, .job-table tr, .job-table td { display: block; width: 100%; }
  .job-table tr { border: 1px solid var(--line); margin-bottom: 12px; }
  .job-table td { border: 0; padding: 8px 14px; }
  .title-bar h1 { font-size: 1.5em; }
  .leader-role { font-size: 1.6em; margin-top: 0; }
  .field-row h2 { font-size: 1.6em; }
  .page-banner { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Bổ sung cho WordPress
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.admin-bar .site-header.is-stuck, .admin-bar .mobile-nav-panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header.is-stuck, .admin-bar .mobile-nav-panel { top: 46px; } }
.main-nav .sub-menu .sub-menu { left: 100%; top: 0; }
.consent { display: flex !important; gap: 8px; align-items: flex-start; font-size: .88em; color: var(--text-soft); line-height: 1.5; }
.consent input { width: auto !important; margin-top: 3px; }
.consent a { color: var(--primary); text-decoration: underline; }
.footer-copy .privacy-policy-link { color: rgba(255, 255, 255, .88); text-decoration: underline; }
.prose > * { max-width: 100%; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose .wp-block-table { margin: 0 0 1.2em; overflow-x: auto; }
.prose img { height: auto; }
.prose figure { margin: 0 0 20px; }
.prose figcaption, .wp-element-caption { text-align: center; font-style: italic; font-size: .9em; color: var(--muted); margin-top: 6px; }
.prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px !important; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image { width: 100% !important; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image img,
.prose .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; }
.prose .wp-block-gallery a, .prose .wp-block-image a { display: block; height: 100%; cursor: zoom-in; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 1px solid var(--line); padding: 8px 12px; }
.prose blockquote { border-left: 4px solid var(--primary); margin: 0 0 1em; padding: 6px 18px; color: var(--text-soft); background: var(--bg-soft-2); }
.prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 549px) { .prose .wp-block-gallery { grid-template-columns: 1fr 1fr; } }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }
