@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

/*
Theme Name: Lý Học Phương Đông
Theme URI: https://dev.com.vn
Author: dev.com.vn
Author URI: https://dev.com.vn
Description: Theme huyền học phương Đông – thiết kế vàng/kem cổ điển, hỗ trợ Elementor, ACF Premium. Dùng kèm plugin LyHoc Core.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2
Text Domain: lyhoc
Tags: metaphysics, vietnamese, gold, elementor
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --gold:   #C8922A;
  --gold2:  #E8B84B;
  --gold3:  #F5D78C;
  --gold4:  #FFF0C0;
  --cream:  #FDF6E3;
  --warm:   #FAF0D7;
  --brown:  #6B3A1F;
  --brown2: #3D1F0A;
  --red:    #8B1A1A;
  --text:   #2C1810;
  --textm:  #7A5230;
  --bg:     #FEFAF0;
  --shadow: 0 4px 20px rgba(100,50,0,.12);
  --shadow-hover: 0 12px 40px rgba(200,146,42,.22);
  --radius: 4px;
  --radius-lg: 8px;
  --font-main: 'Lora', serif;
  --transition: .3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color: var(--gold); text-decoration:none; transition: color var(--transition); }
a:hover { color: var(--brown); }
ul, ol { list-style:none; }
button, input, textarea, select { font-family: inherit; font-size:inherit; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius:3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-weight:600; color: var(--brown); line-height:1.3; }
h1 { font-size: clamp(28px,4vw,52px); }
h2 { font-size: clamp(22px,3vw,36px); }
h3 { font-size: clamp(18px,2.5vw,26px); }
h4 { font-size: clamp(15px,2vw,20px); }
p  { margin-bottom:1em; color: var(--textm); }
strong { font-weight:600; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width:1280px; margin:0 auto; padding:0 40px; }
@media(max-width:768px){ .container { padding:0 20px; } }
.section-pad { padding:80px 0; }
@media(max-width:768px){ .section-pad { padding:48px 0; } }

/* ============================================================
   TOPBAR
   ============================================================ */
.lh-topbar {
  background: linear-gradient(90deg, var(--brown2), var(--brown), var(--brown2));
  color: var(--gold3);
  font-size:12px;
  letter-spacing:3px;
  text-align:center;
  padding:7px 20px;
  border-bottom:2px solid var(--gold);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.lh-header {
  background: var(--cream);
  border-bottom:3px solid var(--gold);
  position:sticky; top:0; z-index:999;
  box-shadow: 0 2px 20px rgba(100,50,0,.15);
}
.lh-nav-inner {
  max-width:1280px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 40px; height:70px;
}
@media(max-width:768px){ .lh-nav-inner { padding:0 20px; } }
.lh-logo { display:flex; flex-direction:column; line-height:1.2; max-width:220px; }
.lh-logo-main {
  font-size:17px; font-weight:600; color:var(--brown); letter-spacing:.5px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.lh-logo-sub  {
  font-size:10px; color:var(--gold); letter-spacing:2px; text-transform:uppercase;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; line-height:1.4; margin-top:2px; white-space:normal;
}
.lh-nav-links { display:flex; gap:28px; }
.lh-nav-links a {
  color:var(--brown); font-size:13px; font-weight:600; letter-spacing:1px;
  text-transform:uppercase; padding-bottom:4px; position:relative;
}
.lh-nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
  background:var(--gold); transition: width var(--transition);
}
.lh-nav-links a:hover { color:var(--gold); }
.lh-nav-links a:hover::after { width:100%; }
.lh-nav-right { display:flex; align-items:center; gap:16px; }
.lh-nav-search-btn {
  background:none; border:none; cursor:pointer;
  color:var(--brown); font-size:18px; padding:4px;
}
.lh-nav-cta {
  background: linear-gradient(135deg,var(--brown),var(--gold2),var(--brown));
  background-size:200%;
  color:#fff; border:none; padding:9px 20px;
  font-weight:600; font-size:12px; letter-spacing:2px;
  text-transform:uppercase; cursor:pointer; border-radius:var(--radius);
  transition: background-position .4s, box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(100,50,0,.3);
}
.lh-nav-cta:hover { background-position:right; box-shadow:0 5px 20px rgba(100,50,0,.5); }
/* Hamburger */
.lh-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.lh-hamburger span { display:block; width:24px; height:2px; background:var(--brown); border-radius:2px; transition: var(--transition); }
@media(max-width:960px){
  .lh-nav-links { display:none; }
  .lh-hamburger { display:flex; }
}
/* Mobile nav overlay */
.lh-mobile-nav {
  display:none; position:fixed; top:73px; left:0; right:0; bottom:0;
  background: var(--cream); z-index:998; overflow-y:auto;
  border-top:2px solid var(--gold);
  flex-direction:column; padding:24px 20px;
  gap:4px;
}
.lh-mobile-nav.open { display:flex; }
.lh-mobile-nav a {
  display:block; padding:12px 16px; color:var(--brown);
  font-weight:600; font-size:14px; letter-spacing:1px;
  border-bottom:1px solid rgba(200,146,42,.2);
  text-transform:uppercase;
}
.lh-mobile-nav a:hover { color:var(--gold); background:rgba(200,146,42,.05); }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.lh-bottom-nav {
  display:none;
  position:fixed; bottom:0; left:0; right:0; z-index:997;
  background: var(--cream);
  border-top:2px solid var(--gold);
  box-shadow:0 -4px 20px rgba(100,50,0,.15);
  padding:0;
}
.lh-bottom-nav-inner {
  display:flex; justify-content:space-around; align-items:center;
  height:60px;
}
.lh-bottom-nav a {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  color:var(--brown); font-size:10px; font-weight:600; letter-spacing:.5px;
  padding:8px 12px; text-transform:uppercase; flex:1; text-align:center;
}
.lh-bottom-nav a .icon { font-size:20px; display:block; }
.lh-bottom-nav a:hover, .lh-bottom-nav a.active { color:var(--gold); }
@media(max-width:768px) {
  .lh-bottom-nav { display:block; }
  body { padding-bottom:60px; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.lh-breadcrumb {
  background: var(--cream);
  border-bottom:1px solid rgba(200,146,42,.2);
  padding:10px 0;
}
.lh-breadcrumb .bc-inner {
  max-width:1280px; margin:0 auto; padding:0 40px;
  display:flex; align-items:center; gap:8px;
  font-size:13px; color:var(--textm); flex-wrap:wrap;
}
@media(max-width:768px){ .lh-breadcrumb .bc-inner { padding:0 20px; } }
.lh-breadcrumb a { color:var(--gold); }
.lh-breadcrumb .sep { color:var(--gold); opacity:.5; }
.lh-breadcrumb .current { color:var(--brown); font-weight:600; }

/* ============================================================
   ORNAMENT DIVIDER
   ============================================================ */
.ornament-divider {
  display:flex; align-items:center; justify-content:center; gap:12px; padding:28px 40px;
}
.orn-line { flex:1; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.orn-center { display:flex; align-items:center; gap:8px; color:var(--gold); font-size:14px; white-space:nowrap; }

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-heading { text-align:center; margin-bottom:52px; }
.section-heading .sh-tag {
  display:inline-block; color:var(--gold); font-size:11px;
  letter-spacing:5px; text-transform:uppercase; margin-bottom:12px;
}
.section-heading h2 { color:var(--brown); margin-bottom:14px; }
.section-heading h2 span { color:var(--gold); }
.section-heading p { max-width:560px; margin:0 auto; color:var(--textm); font-size:15px; line-height:1.8; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,var(--brown),var(--gold2),var(--brown));
  background-size:200%;
  color:#fff; padding:12px 32px; font-weight:600; font-size:13px;
  letter-spacing:2px; text-transform:uppercase; border:none; cursor:pointer;
  border-radius:var(--radius); transition: all .4s;
  box-shadow:0 4px 20px rgba(200,146,42,.4);
  text-decoration:none;
}
.btn-gold:hover { background-position:right; box-shadow:0 6px 30px rgba(200,146,42,.7); color:#fff; }
.btn-outline {
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; border:2px solid var(--gold);
  color:var(--brown); padding:10px 28px; font-weight:600; font-size:13px;
  letter-spacing:2px; text-transform:uppercase; cursor:pointer; border-radius:var(--radius);
  transition: all var(--transition); text-decoration:none;
}
.btn-outline:hover { background:var(--gold); color:#fff; }
.btn-sm { padding:7px 18px; font-size:12px; letter-spacing:1px; }
.btn-contact {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--red); color:#fff; padding:10px 24px;
  font-weight:600; font-size:13px; border-radius:var(--radius);
  transition:var(--transition); text-decoration:none; border:none; cursor:pointer;
}
.btn-contact:hover { background:#6B1414; color:#fff; }

/* ============================================================
   CARDS – LISTING (Post Type Grid)
   ============================================================ */
.lh-grid {
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:24px;
}
@media(max-width:1100px){ .lh-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:768px)  { .lh-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px)  { .lh-grid { grid-template-columns: 1fr 1fr; } }

.lh-card {
  background: var(--cream);
  border:1px solid rgba(200,146,42,.3);
  border-radius:var(--radius);
  overflow:hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display:flex; flex-direction:column;
  position:relative;
}
.lh-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.lh-card-top-bar {
  height:5px;
  background:linear-gradient(90deg,var(--brown),var(--gold2),var(--brown));
}
.lh-card-thumb {
  position:relative; overflow:hidden;
  height:180px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--warm),var(--cream));
}
.lh-card-thumb img { width:100%; height:100%; object-fit:cover; }
.lh-default-thumb { width:100%; height:100%; object-fit:cover; display:block; }
.lh-card-avatar-letters {
  width:80px; height:80px; border-radius:50%;
  background:linear-gradient(135deg,var(--brown),var(--gold2));
  display:flex; align-items:center; justify-content:center;
  font-size:28px; font-weight:600; color:#fff; letter-spacing:2px;
}
.lh-card-cat {
  position:absolute; top:10px; left:10px;
  background:var(--gold); color:#fff;
  font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase;
  padding:3px 10px; border-radius:20px;
}
.lh-card-body { padding:18px; flex:1; display:flex; flex-direction:column; gap:8px; }
.lh-card-title {
  font-size:15px; font-weight:600; color:var(--brown);
  line-height:1.4; display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden;
}
.lh-card-meta {
  display:flex; flex-wrap:wrap; gap:6px; margin-top:4px;
}
.lh-card-tag {
  background:rgba(200,146,42,.12); border:1px solid rgba(200,146,42,.3);
  color:var(--brown); font-size:11px; padding:2px 8px; border-radius:20px;
}
.lh-card-price {
  font-size:16px; font-weight:600; color:var(--red);
  margin-top:auto;
}
.lh-card-price-label { font-size:11px; color:var(--textm); font-weight:400; }
.lh-card-footer {
  padding:12px 18px;
  border-top:1px solid rgba(200,146,42,.15);
  display:flex; gap:8px; align-items:center; justify-content:space-between;
}
.lh-card-footer .btn-detail {
  flex:1; text-align:center; background:var(--gold); color:#fff;
  padding:8px 12px; border-radius:var(--radius); font-size:12px; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; transition:var(--transition);
  text-decoration:none; display:block;
}
.lh-card-footer .btn-detail:hover { background:var(--brown); color:#fff; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.lh-search-bar {
  background: var(--cream);
  border:2px solid rgba(200,146,42,.4);
  border-radius:var(--radius-lg);
  padding:20px 24px;
  margin-bottom:32px;
  box-shadow: var(--shadow);
}
.lh-search-bar form {
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
}
.lh-search-input {
  flex:1; min-width:200px;
  border:1px solid rgba(200,146,42,.4); border-radius:var(--radius);
  padding:10px 16px; background:#fff; color:var(--text);
  font-size:14px;
}
.lh-search-input:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(200,146,42,.15); }
.lh-search-btn {
  background:var(--gold); color:#fff; border:none; cursor:pointer;
  padding:10px 24px; border-radius:var(--radius); font-weight:600;
  font-size:13px; letter-spacing:1px; transition:var(--transition);
}
.lh-search-btn:hover { background:var(--brown); }

/* ============================================================
   LAYOUT: CONTENT + SIDEBAR
   ============================================================ */
.lh-layout {
  display:grid; grid-template-columns:1fr 320px; gap:40px;
  max-width:1280px; margin:0 auto; padding:48px 40px;
  align-items:start;
}
@media(max-width:1100px){ .lh-layout { grid-template-columns:1fr 280px; gap:28px; } }
@media(max-width:768px)  { .lh-layout { grid-template-columns:1fr; padding:24px 20px; } }

/* ============================================================
   SIDEBAR
   ============================================================ */
.lh-sidebar { position:sticky; top:90px; display:flex; flex-direction:column; gap:24px; }
@media(max-width:768px){ .lh-sidebar { position:static; } }

.lh-widget {
  background:var(--cream);
  border:1px solid rgba(200,146,42,.3);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.lh-widget-title {
  background:linear-gradient(135deg,var(--brown2),var(--brown));
  color:var(--gold3); padding:12px 18px;
  font-size:12px; font-weight:600; letter-spacing:3px; text-transform:uppercase;
  display:flex; align-items:center; gap:8px;
}
.lh-widget-body { padding:16px 18px; }

/* Filter sidebar */
.lh-filter-group { margin-bottom:16px; }
.lh-filter-label {
  font-size:11px; font-weight:600; color:var(--gold);
  letter-spacing:2px; text-transform:uppercase; margin-bottom:8px; display:block;
}
.lh-filter-options { display:flex; flex-wrap:wrap; gap:6px; }
.lh-filter-btn {
  background:rgba(200,146,42,.1); border:1px solid rgba(200,146,42,.3);
  color:var(--brown); font-size:12px; padding:5px 12px; border-radius:20px;
  cursor:pointer; transition:var(--transition);
}
.lh-filter-btn:hover, .lh-filter-btn.active {
  background:var(--gold); color:#fff; border-color:var(--gold);
}

/* Mobile filter toggle */
.lh-mobile-filter-btn {
  display:none;
  width:100%; background:var(--gold); color:#fff; border:none; cursor:pointer;
  padding:12px 20px; border-radius:var(--radius); font-weight:600;
  font-size:13px; letter-spacing:1px; margin-bottom:20px;
  align-items:center; justify-content:center; gap:8px;
}
@media(max-width:768px){
  .lh-mobile-filter-btn { display:flex; }
  .lh-sidebar-filter { display:none; }
  .lh-sidebar-filter.open { display:flex; flex-direction:column; gap:16px; }
}

/* Contact sidebar widget */
.lh-contact-widget { }
.lh-contact-item {
  display:flex; align-items:center; gap:12px; padding:10px 0;
  border-bottom:1px solid rgba(200,146,42,.15); font-size:14px; color:var(--textm);
}
.lh-contact-item:last-child { border-bottom:none; }
.lh-contact-item .ci-icon { font-size:20px; width:30px; text-align:center; flex-shrink:0; }
.lh-contact-item a { color:var(--gold); font-weight:600; }

/* Social links */
.lh-social-links { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.lh-social-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 14px; border-radius:var(--radius); font-size:12px; font-weight:600;
  text-decoration:none; transition:var(--transition);
}
.lh-social-btn.facebook { background:#1877F2; color:#fff; }
.lh-social-btn.zalo     { background:#0068FF; color:#fff; }
.lh-social-btn.youtube  { background:#FF0000; color:#fff; }
.lh-social-btn:hover    { opacity:.85; }

/* ============================================================
   SINGLE POST – MAIN CONTENT
   ============================================================ */
.lh-single-header {
  background:linear-gradient(135deg,var(--warm),var(--cream));
  padding:48px 0 32px;
  border-bottom:2px solid rgba(200,146,42,.2);
}
.lh-single-header .container { max-width:1280px; margin:0 auto; padding:0 40px; }
@media(max-width:768px){ .lh-single-header .container { padding:0 20px; } }
.lh-single-cat-badge {
  display:inline-block; background:var(--gold); color:#fff;
  font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase;
  padding:4px 14px; border-radius:20px; margin-bottom:16px;
}
.lh-single-title {
  font-size: clamp(24px,3.5vw,42px); font-weight:600;
  color:var(--brown); line-height:1.3; margin-bottom:16px;
}
.lh-single-meta {
  display:flex; flex-wrap:wrap; gap:16px; align-items:center;
  font-size:13px; color:var(--textm);
}
.lh-single-meta .sm-item { display:flex; align-items:center; gap:5px; }

/* Sections in single post */
.lh-section-block {
  background:var(--cream);
  border:1px solid rgba(200,146,42,.2);
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:28px;
  box-shadow: var(--shadow);
}
.lh-section-block-header {
  background:linear-gradient(135deg,rgba(200,146,42,.12),rgba(200,146,42,.05));
  padding:14px 24px;
  display:flex; align-items:center; gap:10px;
  border-bottom:1px solid rgba(200,146,42,.2);
}
.lh-section-block-header h3 {
  font-size:15px; font-weight:600; color:var(--brown);
  letter-spacing:1px; text-transform:uppercase;
}
.lh-section-block-icon { font-size:20px; color:var(--gold); }
.lh-section-block-body { padding:24px; }

/* Info table */
.lh-info-table { width:100%; border-collapse:collapse; }
.lh-info-table tr { border-bottom:1px solid rgba(200,146,42,.12); }
.lh-info-table tr:last-child { border-bottom:none; }
.lh-info-table th {
  width:160px; text-align:left; padding:10px 14px;
  font-size:13px; font-weight:600; color:var(--brown);
  background:rgba(200,146,42,.06); vertical-align:top;
}
.lh-info-table td { padding:10px 14px; font-size:14px; color:var(--text); }
@media(max-width:600px){
  .lh-info-table { display:block; }
  .lh-info-table tr { display:block; }
  .lh-info-table th { width:100%; display:block; padding:8px 14px 4px; }
  .lh-info-table td { display:block; padding:4px 14px 10px; }
}

/* FAQ accordion */
.lh-faq-item {
  border-bottom:1px solid rgba(200,146,42,.15);
}
.lh-faq-item:last-child { border-bottom:none; }
.lh-faq-q {
  padding:14px 0; cursor:pointer; display:flex; justify-content:space-between;
  align-items:center; font-size:14px; font-weight:600; color:var(--brown);
  user-select:none;
}
.lh-faq-q .faq-icon { color:var(--gold); font-size:18px; flex-shrink:0; transition:transform .3s; }
.lh-faq-item.open .faq-icon { transform:rotate(45deg); }
.lh-faq-a {
  display:none; padding:0 0 14px; font-size:14px; color:var(--textm); line-height:1.7;
}
.lh-faq-item.open .lh-faq-a { display:block; }

/* Gallery */
.lh-gallery {
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}
@media(max-width:600px){ .lh-gallery { grid-template-columns:1fr 1fr; } }
.lh-gallery-item {
  aspect-ratio:1; overflow:hidden; border-radius:var(--radius);
  border:1px solid rgba(200,146,42,.2); cursor:pointer;
  background:var(--warm); display:flex; align-items:center; justify-content:center;
}
.lh-gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.lh-gallery-item:hover img { transform:scale(1.06); }

/* Pricing table */
.lh-pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:768px){ .lh-pricing-grid { grid-template-columns:1fr; } }
.lh-price-card {
  background:#fff; border:2px solid rgba(200,146,42,.25);
  border-radius:var(--radius-lg); padding:24px; text-align:center;
  transition:var(--transition); position:relative;
}
.lh-price-card.featured {
  border-color:var(--gold);
  box-shadow:0 8px 32px rgba(200,146,42,.25);
}
.lh-price-card.featured::before {
  content:'Phổ Biến'; position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:#fff; font-size:11px; font-weight:600;
  padding:3px 16px; border-radius:20px; letter-spacing:1px;
}
.lh-price-name { font-weight:600; color:var(--brown); font-size:16px; margin-bottom:8px; }
.lh-price-amount { font-size:28px; font-weight:600; color:var(--red); margin-bottom:4px; }
.lh-price-period { font-size:12px; color:var(--textm); margin-bottom:16px; }
.lh-price-features { text-align:left; font-size:13px; color:var(--textm); margin-bottom:20px; }
.lh-price-features li { padding:5px 0; border-bottom:1px solid rgba(0,0,0,.05); display:flex; gap:8px; }
.lh-price-features li::before { content:'✓'; color:var(--gold); font-weight:600; }

/* Video embed */
.lh-video-wrap {
  position:relative; padding-bottom:56.25%; height:0; overflow:hidden;
  border-radius:var(--radius);
}
.lh-video-wrap iframe, .lh-video-wrap video {
  position:absolute; top:0; left:0; width:100%; height:100%; border:none;
}

/* Related posts */
.lh-related { padding:48px 0; }
.lh-related h3 {
  font-size:20px; font-weight:600; color:var(--brown); margin-bottom:28px;
  padding-bottom:12px; border-bottom:2px solid rgba(200,146,42,.2);
  display:flex; align-items:center; gap:10px;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.lh-cta-section {
  background:linear-gradient(135deg,var(--brown2),#5C2E00,var(--brown2));
  padding:60px 40px; text-align:center; margin-top:48px;
}
.lh-cta-section h2 { color:var(--gold3); margin-bottom:12px; }
.lh-cta-section p { color:var(--gold); max-width:520px; margin:0 auto 28px; }
.lh-cta-btns { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* Contact form */
.lh-contact-form { }
.lh-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
@media(max-width:600px){ .lh-form-row { grid-template-columns:1fr; } }
.lh-form-group { display:flex; flex-direction:column; gap:6px; }
.lh-form-group label {
  font-size:13px; font-weight:600; color:var(--brown); letter-spacing:.5px;
}
.lh-form-group input, .lh-form-group textarea, .lh-form-group select {
  border:1px solid rgba(200,146,42,.4); border-radius:var(--radius);
  padding:10px 14px; font-size:14px; color:var(--text); background:#fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lh-form-group input:focus, .lh-form-group textarea:focus, .lh-form-group select:focus {
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(200,146,42,.12);
}
.lh-form-group textarea { resize:vertical; min-height:120px; }

/* Floating chat button */
.lh-chat-float {
  position:fixed; bottom:80px; right:24px; z-index:996;
  display:flex; flex-direction:column; gap:10px; align-items:flex-end;
}
@media(max-width:768px){ .lh-chat-float { bottom:72px; right:16px; } }
.lh-chat-btn {
  width:50px; height:50px; border-radius:50%; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:22px;
  box-shadow:0 4px 16px rgba(0,0,0,.2); transition:transform var(--transition);
  text-decoration:none;
}
.lh-chat-btn:hover { transform:scale(1.1); }
.lh-chat-zalo    { background:#0068FF; color:#fff; }
.lh-chat-phone   { background:var(--gold); color:#fff; }
.lh-chat-label {
  position:absolute; right:56px; white-space:nowrap;
  background:var(--brown2); color:var(--gold3);
  font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px;
  pointer-events:none; opacity:0; transition:opacity .2s;
}
.lh-chat-btn:hover .lh-chat-label { opacity:1; }

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.lh-hero {
  min-height:85vh;
  background:
    linear-gradient(180deg,rgba(253,246,227,.0) 0%,rgba(253,246,227,.97) 100%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(200,146,42,.18) 0%, transparent 70%);
  display:flex; align-items:center; justify-content:center;
  text-align:center; position:relative; overflow:hidden; padding:80px 20px;
}
.lh-hero-inner { position:relative; z-index:2; max-width:800px; }
.lh-hero-badge {
  display:inline-flex; align-items:center; gap:12px;
  border:1px solid var(--gold); color:var(--gold);
  font-size:11px; letter-spacing:5px; text-transform:uppercase;
  padding:7px 28px; margin-bottom:28px; background:rgba(255,240,192,.5);
}
.lh-hero h1 { font-size:clamp(36px,6vw,72px); color:var(--brown); margin-bottom:16px; line-height:1.15; }
.lh-hero h1 em { font-style:normal; color:var(--gold); }
.lh-hero-sub { font-size:18px; color:var(--textm); letter-spacing:3px; margin-bottom:10px; font-style:italic; }
.lh-hero-desc { max-width:540px; margin:16px auto 36px; font-size:15px; color:var(--textm); line-height:1.9; }
.lh-hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Stats bar */
.lh-stats-bar {
  background:linear-gradient(90deg,var(--brown2),#5C2E00,var(--brown2));
  padding:24px 40px;
}
.lh-stats-inner {
  max-width:1000px; margin:0 auto;
  display:flex; justify-content:space-around; align-items:center; flex-wrap:wrap; gap:20px;
}
.lh-stat-item { text-align:center; }
.lh-stat-num { display:block; font-size:30px; font-weight:600; color:var(--gold3); }
.lh-stat-label { font-size:11px; color:var(--gold); letter-spacing:3px; text-transform:uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.lh-footer {
  background: var(--brown2);
  border-top:3px solid var(--gold);
  padding:60px 40px 28px;
}
.lh-footer-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px;
  padding-bottom:40px; border-bottom:1px solid rgba(200,146,42,.2);
}
@media(max-width:900px) { .lh-footer-grid { grid-template-columns:1fr 1fr; gap:28px; } }
@media(max-width:480px) { .lh-footer-grid { grid-template-columns:1fr 1fr; gap:20px; } }
.lh-footer-brand h3 { color:var(--gold2); font-size:18px; margin-bottom:8px; }
.lh-footer-brand p  { color:var(--gold); font-size:13px; line-height:1.8; max-width:260px; }
.lh-footer-col h4 {
  color:var(--gold2); font-size:12px; letter-spacing:3px; text-transform:uppercase;
  margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid rgba(200,146,42,.3);
}
.lh-footer-col ul li { margin-bottom:8px; }
.lh-footer-col ul li a { color:var(--gold); font-size:13px; transition:color var(--transition); }
.lh-footer-col ul li a:hover { color:var(--gold3); }
.lh-footer-bottom {
  max-width:1280px; margin:28px auto 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:13px; color:var(--gold); opacity:.8;
}
.lh-footer-bottom span { color:var(--gold2); font-weight:600; }

/* ============================================================
   ARCHIVE / TAXONOMY PAGES
   ============================================================ */
.lh-archive-header {
  background:linear-gradient(135deg,var(--warm),var(--cream));
  padding:40px 0; border-bottom:2px solid rgba(200,146,42,.25);
}
.lh-archive-header .container { max-width:1280px; margin:0 auto; padding:0 40px; }
@media(max-width:768px){ .lh-archive-header .container { padding:0 20px; } }
.lh-archive-title { font-size:clamp(22px,3vw,36px); color:var(--brown); margin-bottom:8px; }
.lh-archive-desc { color:var(--textm); font-size:15px; max-width:600px; }
.lh-archive-count { font-size:13px; color:var(--gold); margin-top:8px; }

/* Pagination */
.lh-pagination {
  display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
  padding:40px 0;
}
.lh-pagination a, .lh-pagination span {
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:var(--radius);
  border:1px solid rgba(200,146,42,.3); color:var(--brown);
  font-size:13px; font-weight:600; transition:var(--transition);
  text-decoration:none;
}
.lh-pagination a:hover, .lh-pagination .current {
  background:var(--gold); color:#fff; border-color:var(--gold);
}

/* ============================================================
   ELEMENTOR WIDGETS WRAPPERS
   ============================================================ */
.lh-elementor-listing { }
.lh-elementor-search { }
.lh-elementor-filter { }
.lh-elementor-categories { }

/* Category tiles */
.lh-cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:900px){ .lh-cat-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px){ .lh-cat-grid { grid-template-columns:repeat(2,1fr); } }
.lh-cat-tile {
  background:var(--cream); border:1px solid rgba(200,146,42,.3);
  border-radius:var(--radius); padding:24px 16px; text-align:center;
  transition:var(--transition); text-decoration:none; display:block;
  box-shadow:var(--shadow);
}
.lh-cat-tile:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.lh-cat-tile .cat-icon { font-size:40px; margin-bottom:10px; display:block; }
.lh-cat-tile .cat-name { font-size:14px; font-weight:600; color:var(--brown); }
.lh-cat-tile .cat-count { font-size:12px; color:var(--gold); margin-top:4px; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold   { color:var(--gold) !important; }
.text-brown  { color:var(--brown) !important; }
.text-center { text-align:center; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }
.hidden { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .lh-header, .lh-sidebar, .lh-footer, .lh-chat-float, .lh-bottom-nav { display:none !important; }
  .lh-layout { grid-template-columns:1fr; }
}

/* ============================================================
   HOMEPAGE V2 – Rich Design
   ============================================================ */

/* Hero v2 */
.lh-hero-v2 {
  min-height: 52vh;
  background:
    linear-gradient(180deg, rgba(253,246,227,0) 0%, rgba(253,246,227,.97) 72%),
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(200,146,42,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(107,58,31,.08) 0%, transparent 60%);
  position: relative; overflow: visible;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 56px 20px 48px;
}
.lh-hero-corner {
  position: absolute; opacity: .25; width: 180px; pointer-events:none;
}
.lh-hero-corner.tl { top:0; left:0; }
.lh-hero-corner.tr { top:0; right:0; transform:scaleX(-1); }
.lh-hero-corner.bl { bottom:0; left:0; transform:scaleY(-1); }
.lh-hero-corner.br { bottom:0; right:0; transform:scale(-1,-1); }
.lh-dragon-bg {
  position: absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width: 640px; opacity: .065; pointer-events:none;
}
.lh-hero-inner { position:relative; z-index:2; max-width:820px; }
.lh-hero-badge {
  display:inline-flex; align-items:center; gap:12px;
  border:1px solid var(--gold); color:var(--gold);
  font-size:11px; letter-spacing:5px; text-transform:uppercase;
  padding:7px 28px; margin-bottom:24px;
  background:rgba(255,240,192,.45); border-radius:2px;
}
.lh-hero-title {
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 600; color: var(--brown); line-height: 1.15;
  margin-bottom: 10px; letter-spacing: -.5px;
  white-space: nowrap;
}
@media(max-width:768px){ .lh-hero-title { white-space:normal; font-size:clamp(26px,7vw,44px); } }
.lh-hero-wave { display:block; margin:14px auto 12px; width:380px; max-width:90vw; }
.lh-hero-sub {
  font-size:16px; color:var(--textm); letter-spacing:3px; font-style:italic;
  margin-bottom:18px;
}
.lh-hero-desc {
  max-width:560px; margin:0 auto 36px;
  font-size:15px; color:var(--textm); line-height:1.9;
}
.lh-hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Ornament divider */
.lh-orn-divider {
  display:flex; align-items:center; gap:0; padding:24px 40px;
}
.lh-orn-divider .orn-line {
  flex:1; height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
@media(max-width:768px){ .lh-orn-divider { padding:16px 20px; } }

/* Section wrapper */
.lh-section-wrap { padding:72px 0; }
@media(max-width:768px){ .lh-section-wrap { padding:48px 0; } }

/* Section heading */
.lh-section-heading { text-align:center; margin-bottom:52px; }
.lh-sh-tag {
  display:inline-block; color:var(--gold); font-size:11px;
  letter-spacing:5px; text-transform:uppercase; margin-bottom:10px;
}
.lh-section-heading h2 {
  font-size:clamp(22px,3vw,36px); font-weight:600; color:var(--brown);
  margin-bottom:14px;
}
.lh-section-heading h2 span { color:var(--gold); }
.lh-sh-wave { display:block; margin:0 auto 14px; width:300px; max-width:90vw; }
.lh-section-heading p {
  max-width:560px; margin:0 auto; color:var(--textm);
  font-size:15px; line-height:1.8;
}
.lh-section-cta { text-align:center; margin-top:36px; }

/* ── Discipline Grid – compact 8 ô ────────────────────────── */
.lh-disc-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:2px;
}
@media(max-width:1024px){ .lh-disc-grid { grid-template-columns:repeat(4,1fr); } }
@media(max-width:768px)  { .lh-disc-grid { grid-template-columns:repeat(2,1fr); } }

.lh-disc-card {
  background:var(--cream); border:1px solid rgba(200,146,42,.25);
  padding:28px 18px 22px; text-align:center;
  position:relative; overflow:hidden; display:block; text-decoration:none;
  transition:transform .3s, box-shadow .3s, background .3s;
}
.lh-disc-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.lh-disc-card:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 36px rgba(200,146,42,.2);
  background:var(--warm);
}
.lh-disc-orn { display:block; width:60px; margin:0 auto 10px; }
.lh-disc-icon { font-size:40px; margin-bottom:10px; display:block; }
.lh-disc-name {
  font-size:13px; font-weight:600; color:var(--brown); margin-bottom:8px;
  padding-bottom:8px; border-bottom:1px solid rgba(200,146,42,.25);
  letter-spacing:.5px;
}
.lh-disc-desc { font-size:12px; color:var(--textm); line-height:1.65; }

/* ── News Grid ─────────────────────────────────────────────── */
.lh-news-bg { background:var(--warm); }
.lh-news-grid {
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap:24px;
}
@media(max-width:960px){ .lh-news-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px){ .lh-news-grid { grid-template-columns:1fr; } }

.lh-news-card {
  background:var(--cream); border:1px solid rgba(200,146,42,.28);
  border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; text-decoration:none;
  transition:transform .3s, box-shadow .3s;
  box-shadow:var(--shadow);
}
.lh-news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.lh-news-featured { grid-row:span 2; }

.lh-news-thumb {
  position:relative; overflow:hidden;
  height:190px; display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.lh-news-featured .lh-news-thumb { height:280px; }
.lh-news-thumb img { width:100%; height:100%; object-fit:cover; }
.lh-news-letters {
  font-size:40px; font-weight:600; color:var(--brown); opacity:.6;
}
.lh-news-corner {
  position:absolute; bottom:8px; right:10px;
  font-size:14px; color:rgba(200,146,42,.5);
}
/* Placeholder color variants */
.ph1 { background:linear-gradient(135deg,#F5E6C8,#EDD59A); }
.ph2 { background:linear-gradient(135deg,#E8D5B0,#D4B87A); }
.ph3 { background:linear-gradient(135deg,#FAF0D7,#E8D5B0); }
.ph4 { background:linear-gradient(135deg,#F0E8D0,#DEC88A); }
.ph5 { background:linear-gradient(135deg,#EDE0C8,#CDA868); }

.lh-news-body {
  padding:18px 20px; flex:1; display:flex; flex-direction:column; gap:6px;
}
.lh-news-cat {
  font-size:10px; color:var(--gold); letter-spacing:3px;
  text-transform:uppercase;
}
.lh-news-title {
  font-size:15px; font-weight:600; color:var(--brown); line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.lh-news-featured .lh-news-title { font-size:18px; -webkit-line-clamp:4; }
.lh-news-excerpt {
  font-size:13px; color:var(--textm); line-height:1.7; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.lh-news-meta {
  font-size:11px; color:rgba(122,82,48,.6);
  border-top:1px solid rgba(200,146,42,.15); padding-top:10px; margin-top:auto;
  display:flex; justify-content:space-between;
}

/* ── Testimonials ──────────────────────────────────────────── */
.lh-testimonials-bg {
  background:linear-gradient(135deg,var(--brown2) 0%,#4A2000 50%,var(--brown2) 100%);
  padding:72px 0; position:relative; overflow:hidden;
}
.lh-testimonials-bg::before {
  content:''; position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg,rgba(200,146,42,.04) 0,rgba(200,146,42,.04) 1px,transparent 0,transparent 28px),
    repeating-linear-gradient(90deg,rgba(200,146,42,.04) 0,rgba(200,146,42,.04) 1px,transparent 0,transparent 28px);
}
.lh-testimonials-bg .container { position:relative; z-index:1; }
.lh-test-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
@media(max-width:900px){ .lh-test-grid { grid-template-columns:1fr; } }
.lh-test-card {
  background:rgba(253,246,227,.07); border:1px solid rgba(200,146,42,.28);
  border-radius:var(--radius); padding:28px; backdrop-filter:blur(4px);
}
.lh-test-stars { color:var(--gold2); font-size:15px; margin-bottom:12px; letter-spacing:2px; }
.lh-test-text {
  font-style:italic; font-size:14px; color:var(--gold4); line-height:1.8; margin-bottom:20px;
}
.lh-test-author { display:flex; align-items:center; gap:12px; }
.lh-test-av {
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,var(--brown),var(--gold));
  display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:600; color:#fff;
}
.lh-test-name { font-weight:600; font-size:14px; color:var(--gold3); }
.lh-test-loc  { font-size:12px; color:var(--gold); }

/* ── CTA Section ───────────────────────────────────────────── */
.lh-cta-section {
  background:linear-gradient(135deg,var(--warm),#FFF8E8,var(--warm));
  padding:80px 40px;
  border-top:2px solid var(--gold); border-bottom:2px solid var(--gold);
  text-align:center; position:relative; overflow:hidden;
}
@media(max-width:768px){ .lh-cta-section { padding:48px 20px; } }
.lh-cta-dragon-left,
.lh-cta-dragon-right {
  position:absolute; top:0; width:100px; height:100%; pointer-events:none;
}
.lh-cta-dragon-left  { left:20px; }
.lh-cta-dragon-right { right:20px; }
@media(max-width:768px){
  .lh-cta-dragon-left,.lh-cta-dragon-right { display:none; }
}
.lh-cta-inner { position:relative; z-index:1; max-width:680px; margin:0 auto; }
.lh-cta-badge { font-size:36px; margin-bottom:12px; }
.lh-cta-section h2 {
  font-size:clamp(22px,3.5vw,38px); font-weight:600; color:var(--brown); margin-bottom:14px;
}
.lh-cta-section p { max-width:500px; margin:0 auto 28px; color:var(--textm); font-size:15px; line-height:1.8; }
.lh-cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:36px; }
.lh-cta-form {
  text-align:left; background:var(--cream);
  border:1px solid rgba(200,146,42,.3); border-radius:var(--radius-lg);
  padding:28px 32px; margin-top:24px;
  box-shadow:var(--shadow);
}
@media(max-width:768px){ .lh-cta-form { padding:20px; } }

/* ── Card size adjustments (smaller on homepage) ─────────────
   Override lh-grid for homepage to get tighter, more compact cards */
.lh-section-wrap .lh-grid .lh-card .lh-card-thumb { height:160px; }
.lh-section-wrap .lh-grid .lh-card-body { padding:14px 16px; gap:6px; }
.lh-section-wrap .lh-grid .lh-card-title { font-size:14px; }
.lh-section-wrap .lh-grid .lh-card-footer { padding:10px 16px; }

/* ============================================================
   SINGLE POST – Blog
   ============================================================ */
.lh-post-content {
  font-size: 15px; line-height: 1.9; color: var(--text);
}
.lh-post-content h2 { font-size:22px; color:var(--brown); margin:32px 0 14px; padding-bottom:8px; border-bottom:2px solid rgba(200,146,42,.2); }
.lh-post-content h3 { font-size:18px; color:var(--brown); margin:24px 0 10px; }
.lh-post-content p  { margin-bottom:1.2em; }
.lh-post-content a  { color:var(--gold); text-decoration:underline; }
.lh-post-content ul, .lh-post-content ol { padding-left:24px; margin-bottom:1.2em; }
.lh-post-content li { margin-bottom:.5em; line-height:1.7; }
.lh-post-content blockquote {
  border-left:4px solid var(--gold); margin:20px 0;
  padding:14px 20px; background:rgba(200,146,42,.06);
  color:var(--textm); font-style:italic; border-radius:0 var(--radius) var(--radius) 0;
}
.lh-post-content img { border-radius:var(--radius); margin:12px 0; box-shadow:var(--shadow); }

/* Post tags */
.lh-post-tags {
  display:flex; flex-wrap:wrap; gap:6px; align-items:center;
  margin-top:28px; padding-top:20px; border-top:1px solid rgba(200,146,42,.2);
  font-size:13px; color:var(--textm); font-weight:600;
}

/* Share buttons */
.lh-post-share {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-top:16px; padding:14px 0; border-top:1px solid rgba(200,146,42,.12);
  font-size:13px; color:var(--textm); font-weight:600;
}
.lh-share-btn {
  display:inline-flex; align-items:center; gap:5px;
  padding:6px 14px; border-radius:var(--radius); font-size:12px; font-weight:600;
  text-decoration:none; transition:opacity .2s;
}
.lh-share-btn.fb   { background:#1877F2; color:#fff; }
.lh-share-btn.zalo { background:#0068FF; color:#fff; }
.lh-share-btn:hover { opacity:.85; }

/* Related posts – 2 cột listing */
.lh-related-section { margin-top:40px; }
.lh-related-title {
  font-size:18px; font-weight:600; color:var(--brown);
  margin-bottom:20px; padding-bottom:12px;
  border-bottom:2px solid rgba(200,146,42,.2);
  display:flex; align-items:center; gap:8px;
}
.lh-related-grid-2col {
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
@media(max-width:600px){ .lh-related-grid-2col { grid-template-columns:1fr; } }

.lh-related-item {
  display:flex; gap:12px; align-items:flex-start;
  padding:12px; background:var(--cream);
  border:1px solid rgba(200,146,42,.2); border-radius:var(--radius);
  text-decoration:none; transition:var(--transition);
  box-shadow:var(--shadow);
}
.lh-related-item:hover { transform:translateY(-2px); box-shadow:var(--shadow-hover); background:var(--warm); }
.lh-related-thumb {
  width:68px; height:68px; border-radius:var(--radius);
  overflow:hidden; flex-shrink:0;
  background:linear-gradient(135deg,var(--warm),var(--cream));
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(200,146,42,.2);
}
.lh-related-thumb img { width:68px; height:68px; object-fit:cover; }
.lh-related-letters { font-size:20px; font-weight:600; color:var(--brown); opacity:.6; }
.lh-related-body { flex:1; min-width:0; }
.lh-related-item-title {
  font-size:13px; font-weight:600; color:var(--brown); line-height:1.4;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  margin-bottom:6px;
}
.lh-related-meta { font-size:11px; color:var(--textm); }

/* ============================================================
   FIX: category/tag links on standard WP posts
   Ensure WordPress default post category URLs work
   ============================================================ */
.lh-single-cat-badge { display:inline-block; margin-bottom:12px; }

/* ============================================================
   NAVIGATION – Dropdown Menu cấp 2
   ============================================================ */

/* Nav container */
.lh-nav-links { display:flex; align-items:center; }

/* Top-level list */
.lh-menu-list {
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:0;
}

/* Every menu item */
.lh-menu-item {
  position:relative; /* ← key: submenu absolute relative to this */
}

/* Top-level link */
.lh-menu-link {
  display:flex; align-items:center; gap:5px;
  color:var(--brown); font-size:13px; font-weight:600;
  letter-spacing:.8px; text-transform:uppercase;
  text-decoration:none; padding:0 16px; height:70px; line-height:70px;
  white-space:nowrap;
  position:relative;
  transition:color .25s;
}
.lh-menu-link::after {
  content:''; position:absolute; bottom:0; left:16px; right:16px; height:2px;
  background:var(--gold); transform:scaleX(0); transition:transform .25s;
}
.lh-menu-item:hover > .lh-menu-link,
.lh-menu-link.active { color:var(--gold); }
.lh-menu-item:hover > .lh-menu-link::after,
.lh-menu-link.active::after { transform:scaleX(1); }

/* Dropdown arrow */
.lh-menu-arrow {
  font-size:9px; margin-left:2px; display:inline-block;
  transition:transform .25s; color:var(--gold);
}
.lh-menu-item:hover > .lh-menu-link .lh-menu-arrow { transform:rotate(180deg); }

/* ── SUBMENU DROPDOWN ───────────────────────────────────────── */
.lh-submenu {
  list-style:none; margin:0; padding:6px 0;

  /* vị trí: dưới item cấp 1, bắt đầu từ cạnh trái */
  position:absolute;
  top:100%; /* ngay dưới header bar */
  left:0;
  min-width:220px;

  background:var(--cream);
  border:1px solid rgba(200,146,42,.3);
  border-top:3px solid var(--gold);
  border-radius:0 0 var(--radius) var(--radius);
  box-shadow:0 8px 32px rgba(100,50,0,.18);

  /* Ẩn mặc định */
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-6px);
  transition:opacity .22s, transform .22s, visibility .22s;
  z-index:9990;
}

/* Hiện khi hover item cha */
.lh-menu-item:hover > .lh-submenu,
.lh-menu-item:focus-within > .lh-submenu {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

/* Sub-link */
.lh-sub-link {
  display:block; padding:10px 20px;
  color:var(--brown); font-size:13px; font-weight:600;
  text-decoration:none; white-space:nowrap;
  border-bottom:1px solid rgba(200,146,42,.1);
  transition:background .18s, color .18s, padding-left .18s;
}
.lh-sub-link:last-child { border-bottom:none; }
.lh-submenu .lh-menu-item:last-child .lh-sub-link { border-bottom:none; }
.lh-sub-link:hover,
.lh-sub-link.active {
  background:rgba(200,146,42,.1);
  color:var(--gold);
  padding-left:26px;
}

/* Sub-menu cấp 3 (nếu có): xuất hiện sang phải */
.lh-submenu .lh-submenu {
  top:0;
  left:100%;
  border-top:1px solid rgba(200,146,42,.3);
  border-left:3px solid var(--gold);
}

/* ── MOBILE NAV – dropdown trong overlay ───────────────────── */
.lh-mobile-nav .lh-menu-list {
  flex-direction:column; align-items:stretch; gap:0;
}
.lh-mobile-nav .lh-menu-item { position:static; }
.lh-mobile-nav .lh-menu-link {
  height:auto; line-height:1.5; padding:12px 16px;
  border-bottom:1px solid rgba(200,146,42,.15);
  display:flex; justify-content:space-between;
}
.lh-mobile-nav .lh-menu-link::after { display:none; }

/* Mobile submenu: luôn hiện dạng accordion */
.lh-mobile-nav .lh-submenu {
  position:static;
  opacity:1; visibility:visible; pointer-events:auto;
  transform:none; box-shadow:none;
  border:none; border-top:none; border-radius:0;
  background:rgba(200,146,42,.06);
  padding:0;
  display:none; /* JS toggle */
}
.lh-mobile-nav .lh-menu-item.mobile-open > .lh-submenu {
  display:block;
}
.lh-mobile-nav .lh-sub-link {
  padding:10px 16px 10px 28px; font-size:13px;
  border-bottom:1px solid rgba(200,146,42,.08);
}
.lh-mobile-nav .lh-menu-arrow { pointer-events:none; }

/* ── ACCESSIBILITY: keyboard nav ───────────────────────────── */
.lh-menu-item:focus-within > .lh-submenu { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }

/* ── Responsive: ẩn desktop nav trên mobile ────────────────── */
@media(max-width:960px) {
  .lh-nav-links { display:none; }
}
