/* CLEAN CORE PRO FINAL: merged responsive + home clean + font master */

/* SOURCE: ui-ai-responsive-max.css */
:root{
  --ui-space-1: clamp(6px, .35vw + 4px, 10px);
  --ui-space-2: clamp(10px, .6vw + 6px, 16px);
  --ui-space-3: clamp(14px, 1vw + 8px, 22px);
  --ui-radius: clamp(12px, 1vw, 18px);
  --ui-title-1: clamp(1.35rem, 1rem + 1.2vw, 2.15rem);
  --ui-title-2: clamp(1.05rem, .9rem + .6vw, 1.45rem);
  --ui-title-3: clamp(.95rem, .85rem + .35vw, 1.15rem);
  --ui-text: clamp(.88rem, .82rem + .18vw, 1rem);
  --ui-text-small: clamp(.78rem, .74rem + .12vw, .9rem);
  --ui-line: 1.6;
}

html{
  font-size: clamp(14px, .18vw + 13.2px, 17px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  font-size: var(--ui-text);
  line-height: var(--ui-line);
  text-rendering: optimizeLegibility;
}

img,
iframe,
video{
  max-width: 100%;
}

.container{
  width: min(1380px, calc(100% - clamp(12px, 2vw, 28px)));
}

.card,
.lx-footer--ultimate .lx-footer-col,
.sidebar-box,
.lx-top-grid > *,
.lx-bottom-grid > *,
.lx-home .homepage-block,
.article-wrap,
.article-list-wrap,
.related-posts{
  border-radius: var(--ui-radius);
}

.lx-home{
  margin-top: var(--ui-space-2);
}

.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-side-stack,
.sidebar-stack,
.footer-grid,
.form-grid,
.content-grid{
  gap: var(--ui-space-2);
}

.lx-focus,
.lx-feature-strip__grid{
  gap: var(--ui-space-2);
}

.lx-section-head{
  min-height: clamp(28px, 2.2vw, 34px);
  height: auto;
  padding: 6px 10px;
  font-size: clamp(.72rem, .66rem + .18vw, .86rem) !important;
  line-height: 1.2;
  letter-spacing: .02em;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{
  padding-left: clamp(10px, 1vw, 18px);
  padding-right: clamp(10px, 1vw, 18px);
}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lx-focus__caption h2{
  font-size: clamp(1.1rem, .95rem + .65vw, 1.55rem);
  line-height: 1.34;
  margin-bottom: .45em;
}

.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li,
.meta,
.archive-item__body p,
.article-excerpt,
.article-content,
.site-footer p{
  font-size: var(--ui-text-small);
  line-height: 1.68;
}

.lx-module,
.homepage-block{
  min-height: 0 !important;
}

.lx-module__lead h3,
.lx-mini-post a,
.lx-media-big span,
.lx-links-logos a,
.lx-album-item span,
.nav-menu>li>a,
.lx-admin-btn,
button,
.btn{
  font-size: var(--ui-text-small);
  line-height: 1.4;
}

.lx-module__lead h3{
  font-size: clamp(.92rem, .84rem + .22vw, 1.08rem) !important;
}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{
  font-size: clamp(.96rem, .84rem + .28vw, 1.12rem) !important;
  min-height: auto !important;
}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__list a{
  font-size: clamp(.82rem, .76rem + .16vw, .95rem) !important;
  min-height: auto !important;
}

.lx-mini-post{
  align-items: start;
  gap: 10px;
}

.lx-mini-post img{
  width: clamp(72px, 7vw, 92px);
  height: clamp(54px, 5vw, 68px);
  border-radius: 10px;
}

.lx-focus__hero,
.lx-media-big img,
.archive-item__thumb img,
.article-cover img,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead img,
.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead img,
.lx-module__lead img,
.lx-album-item img{
  border-radius: 12px;
}

.lx-focus__hero{height: clamp(220px, 32vw, 340px);}
.lx-media-big img{height: clamp(150px, 18vw, 210px);}
.lx-module__lead img{height: clamp(112px, 13vw, 150px);}
.lx-album-item img{height: clamp(82px, 10vw, 118px);}

.archive-item{
  grid-template-columns: minmax(180px, 28%) 1fr;
  align-items: start;
}

.archive-item__thumb img{height: clamp(130px, 16vw, 176px);}
.archive-item__body h2{font-size: clamp(1.12rem, .98rem + .52vw, 1.45rem);}
.article-head h1{font-size: var(--ui-title-1);}
.article-excerpt{font-size: clamp(.95rem, .9rem + .15vw, 1.02rem);}
.article-content{font-size: clamp(1rem, .94rem + .18vw, 1.08rem);}

.lx-nav__inner{
  gap: var(--ui-space-1);
}

.nav-menu>li>a{
  padding: 10px 12px;
  white-space: nowrap;
}

.lx-admin-btn,
button,
.btn{
  border-radius: 12px;
}

.content-grid{
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: start;
}

.sidebar-stack,
.lx-side-stack{
  position: sticky;
  top: 10px;
}

.lx-footer--ultimate .lx-footer-top{
  gap: var(--ui-space-2);
}

@media (max-width: 1199px){
  .lx-top-grid{grid-template-columns: minmax(0, 1fr) 260px;}
  .lx-module-grid{grid-template-columns: repeat(3, minmax(0,1fr));}
  .lx-album-grid{grid-template-columns: repeat(3, minmax(0,1fr));}
}

@media (max-width: 991px){
  .container{width:min(100%, calc(100% - 16px));}
  .lx-top-grid,
  .lx-bottom-grid,
  .content-grid{grid-template-columns: 1fr;}
  .lx-module-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
  .lx-album-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
  .lx-focus{grid-template-columns: 1fr;}
  .lx-focus__main{border-right:0;border-bottom:1px solid var(--border);}
  .sidebar-stack,
  .lx-side-stack{position: static;}
}

@media (max-width: 767px){
  :root{
    --ui-radius: 14px;
  }
  body{
    overflow-x: hidden;
  }
  .container{width:min(100%, calc(100% - 12px));}
  .lx-home{margin-top: 8px;}
  .lx-masthead__banner--default{height:auto;min-height:unset;}
  .lx-masthead__left{padding:14px 12px 8px 14px;}
  .lx-masthead__site small{font-size: clamp(.72rem,.68rem + .2vw,.85rem);letter-spacing:.04em;}
  .lx-masthead__site strong{font-size: clamp(1.35rem, 4vw, 1.95rem) !important;line-height:1.08;}
  .lx-masthead__text{font-size: .78rem;}
  .lx-masthead__text .motto-1{font-size: .94rem !important;}
  .lx-masthead__center{padding:6px 10px 14px;gap:10px;}
  .lx-masthead__logo{width:58px;height:58px;font-size:24px;}
  .lx-nav__inner{align-items:stretch;}
  .nav-toggle{padding:10px 12px;font-size:24px;}
  .nav-menu{width:100%;background:rgba(0,0,0,.08);border-radius:12px;overflow:hidden;}
  .nav-menu>li>a{padding:11px 12px;font-size:.82rem;}
  .nav-submenu li a{font-size:.8rem;padding:10px 12px;}
  .lx-focus__hero{height: clamp(185px, 54vw, 260px);}
  .lx-module-grid,
  .lx-album-grid,
  .lx-media-smalls,
  .lx-feature-strip__grid,
  .footer-grid,
  .form-grid{grid-template-columns: 1fr !important;}
  .archive-item{grid-template-columns: 1fr;gap: 12px;}
  .article-cover img{height: clamp(180px, 52vw, 260px);}
  .pagination{flex-wrap:wrap;}
}

@media (max-width: 560px){
  .lx-module-grid,
  .lx-album-grid{grid-template-columns: 1fr !important;}
  .lx-home .homepage-block,
  .lx-side-stack > .card,
  .lx-top-grid > .card,
  .lx-bottom-grid > .card{box-shadow: 0 1px 5px rgba(0,0,0,.07);}
  .lx-section-head{padding: 7px 10px;}
  .lx-bulletin li,
  .lx-simple-links li,
  .lx-module__list li,
  .sidebar-links li{padding: 7px 0;}
}

body.ui-device-mobile .lx-admin-btn{display:none;}
body.ui-device-mobile .lx-footer--ultimate .lx-footer-top{grid-template-columns:1fr;}
body.ui-device-tablet .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
body.ui-device-desktop .lx-home .homepage-block:hover{transform:translateY(-2px);}


/* SOURCE: responsive-maxpp-home-clean.css */
/* MAX++ HOME CLEAN: smaller type + cleaner responsive spacing */
:root{
  --ui-title-1: clamp(1.18rem, .98rem + .82vw, 1.72rem);
  --ui-title-2: clamp(.98rem, .9rem + .34vw, 1.2rem);
  --ui-title-3: clamp(.88rem, .82rem + .18vw, 1rem);
  --ui-text: clamp(.82rem, .78rem + .12vw, .92rem);
  --ui-text-small: clamp(.72rem, .7rem + .08vw, .82rem);
}

html{font-size:clamp(12.8px,.1vw + 12.4px,15px)}
body{letter-spacing:0;line-height:1.55}

.lx-home,
.content-grid,
.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-feature-strip__grid,
.sidebar-stack,
.lx-side-stack{gap:12px !important}

.lx-home .homepage-block,
.lx-top-grid > .card,
.lx-bottom-grid > .card,
.lx-side-stack > .card,
.sidebar-stack > .card,
.lx-footer--ultimate .lx-footer-col{
  border-radius:14px;
  box-shadow:0 1px 6px rgba(70,38,120,.08);
}

.lx-section-head{
  min-height:26px;
  padding:5px 8px;
  font-size:11px !important;
  line-height:1.1;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{padding-left:10px;padding-right:10px}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1{letter-spacing:-.01em}

.lx-focus__caption h2{font-size:clamp(1rem,.94rem + .34vw,1.24rem);line-height:1.28;margin-bottom:.3em}
.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li,
.meta,
.archive-item__body p,
.article-excerpt,
.article-content,
.site-footer p{font-size:var(--ui-text-small);line-height:1.55}

.lx-module__lead h3,
.lx-mini-post a,
.lx-media-big span,
.lx-links-logos a,
.lx-album-item span,
.nav-menu>li>a,
.lx-admin-btn,
button,.btn{font-size:12px;line-height:1.35}

.lx-module__lead h3,
.lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{font-size:13px !important;line-height:1.32}

.lx-home .lx-module-grid--3 > .homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4 > .homepage-block .lx-module__list a,
.lx-module__list a,
.lx-bulletin a,
.lx-simple-links a,
.sidebar-links a{font-size:12px !important;line-height:1.45}

.lx-mini-post{gap:8px}
.lx-mini-post img{width:74px;height:56px;border-radius:8px}
.lx-focus__hero{height:clamp(210px,28vw,300px)}
.lx-media-big img{height:clamp(138px,16vw,180px)}
.lx-module__lead img{height:clamp(100px,11vw,128px)}
.lx-album-item img{height:clamp(76px,8vw,100px)}

.nav-menu>li>a{padding:8px 10px}
.btn,.lx-admin-btn,button{padding:8px 12px;border-radius:10px}

.content-grid{grid-template-columns:minmax(0,1fr) 280px}
.lx-top-grid{grid-template-columns:minmax(0,1.48fr) 300px}

.lx-home .homepage-block .lx-module__list li,
.lx-bulletin li,
.lx-simple-links li,
.sidebar-links li{padding:6px 0}

.lx-footer--ultimate .lx-footer-top{gap:12px}
.lx-footer--ultimate .lx-footer-col{padding:12px}

@media (min-width: 1200px){
  .container{width:min(1400px,calc(100% - 20px))}
}

@media (max-width: 1199px){
  html{font-size:13px}
  .lx-top-grid{grid-template-columns:minmax(0,1fr) 280px}
}

@media (max-width: 991px){
  html{font-size:13px}
  .content-grid,.lx-top-grid,.lx-bottom-grid{grid-template-columns:1fr}
  .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-side-stack,.sidebar-stack{position:static}
  .lx-focus__hero{height:clamp(190px,42vw,250px)}
}

@media (max-width: 767px){
  html{font-size:12.6px}
  .container{width:min(100%,calc(100% - 10px))}
  .lx-home,.content-grid,.lx-top-grid,.lx-bottom-grid,.lx-module-grid,.lx-album-grid,.lx-feature-strip__grid,.sidebar-stack,.lx-side-stack{gap:10px !important}
  .lx-section-head{font-size:10.5px !important;padding:5px 8px}
  .lx-masthead__site strong{font-size:clamp(1.08rem,3.2vw,1.42rem)!important;line-height:1.05}
  .lx-masthead__site small{font-size:11px}
  .lx-masthead__text{font-size:11px}
  .nav-menu>li>a{font-size:11.5px;padding:10px 11px}
  .lx-focus__caption h2{font-size:clamp(.98rem,.92rem + .42vw,1.12rem)}
  .lx-module-grid,.lx-album-grid,.lx-media-smalls,.lx-feature-strip__grid,.footer-grid,.form-grid{grid-template-columns:1fr !important}
  .lx-module__lead h3,
  .lx-home .lx-module-grid--3 > .homepage-block .lx-module__lead h3,
  .lx-home .lx-module-grid--4 > .homepage-block .lx-module__lead h3{font-size:12.5px !important}
}

@media (max-width: 560px){
  html{font-size:12.3px}
  .lx-focus__caption,.lx-module__lead,.lx-bulletin ul,.lx-simple-links,.lx-module__list,.lx-links-logos,.lx-album-grid,.article-head,.article-content,.article-cover,.related-posts ul,.archive-item,.pagination{padding-left:9px;padding-right:9px}
  .lx-focus__hero{height:clamp(178px,52vw,222px)}
  .lx-module__lead img{height:116px}
  .lx-media-big img{height:150px}
}


/* SOURCE: font-master.css */
/* FONT MASTER: refined typography + spacing without changing structure */
:root{
  --fm-title-xl: clamp(1.14rem, 1.02rem + .42vw, 1.46rem);
  --fm-title-lg: clamp(.96rem, .9rem + .22vw, 1.12rem);
  --fm-title-md: clamp(.84rem, .8rem + .12vw, .94rem);
  --fm-text: clamp(.74rem, .72rem + .08vw, .82rem);
  --fm-text-xs: clamp(.68rem, .66rem + .06vw, .76rem);
  --fm-line: 1.52;
  --fm-tight: 1.34;
  --fm-space: clamp(8px, .5vw, 12px);
}

html{font-size:clamp(12px, .08vw + 11.9px, 14px)}
body{
  font-size:var(--fm-text);
  line-height:var(--fm-line);
  letter-spacing:0;
  word-spacing:0;
}

.container{width:min(1380px,calc(100% - 18px))}

.lx-home,
.content-grid,
.lx-top-grid,
.lx-bottom-grid,
.lx-module-grid,
.lx-album-grid,
.lx-feature-strip__grid,
.sidebar-stack,
.lx-side-stack,
.footer-grid,
.form-grid{gap:var(--fm-space)!important}

.lx-home .homepage-block,
.lx-top-grid>.card,
.lx-bottom-grid>.card,
.lx-side-stack>.card,
.sidebar-stack>.card,
.lx-footer--ultimate .lx-footer-col,
.article-wrap,
.related-posts,
.archive-item{
  border-radius:13px;
  box-shadow:0 1px 5px rgba(62,33,110,.07);
}

.lx-section-head{
  min-height:24px;
  padding:4px 8px;
  font-size:10px!important;
  line-height:1.1;
  letter-spacing:.01em;
}

.lx-focus__caption,
.lx-module__lead,
.lx-bulletin ul,
.lx-simple-links,
.lx-module__list,
.lx-links-logos,
.lx-album-grid,
.article-head,
.article-content,
.article-cover,
.related-posts ul,
.archive-item,
.pagination{padding-left:9px;padding-right:9px}

.lx-focus__caption h2,
.archive-item__body h2,
.article-head h1,
.lx-masthead__site strong,
.lx-module__lead h3,
.nav-menu>li>a,
.sidebar-box h3,
.sidebar-title{
  font-family:inherit;
  letter-spacing:-.01em;
}

.lx-masthead__site strong{font-size:clamp(1.02rem,.96rem + .24vw,1.22rem)!important;line-height:1.1}
.lx-masthead__site small{font-size:10px;line-height:1.2}
.lx-masthead__text,
.lx-masthead__text .motto-1,
.lx-masthead__text .motto-2{font-size:10px!important;line-height:1.25}

.lx-focus__caption h2{font-size:var(--fm-title-xl);line-height:1.28;margin:0 0 .25rem}
.archive-item__body h2,
.article-head h1{font-size:clamp(1rem,.94rem + .28vw,1.22rem);line-height:1.28}
.article-excerpt,
.article-content{font-size:var(--fm-text);line-height:1.62}
.meta,
.site-footer p,
.archive-item__body p,
.lx-focus__caption p,
.lx-bulletin li,
.lx-simple-links li,
.lx-module__list li,
.sidebar-links li{font-size:var(--fm-text-xs);line-height:1.5}

.lx-module__lead h3,
.lx-home .lx-module-grid--3>.homepage-block .lx-module__lead h3,
.lx-home .lx-module-grid--4>.homepage-block .lx-module__lead h3{
  font-size:var(--fm-title-md)!important;
  line-height:var(--fm-tight);
  margin:0;
}

.lx-home .lx-module-grid--3>.homepage-block .lx-module__list a,
.lx-home .lx-module-grid--4>.homepage-block .lx-module__list a,
.lx-module__list a,
.lx-bulletin a,
.lx-simple-links a,
.sidebar-links a,
.lx-mini-post a,
.lx-links-logos a,
.lx-album-item span,
.lx-media-big span{
  font-size:var(--fm-text-xs)!important;
  line-height:1.42;
}

.nav-menu>li>a,
.nav-submenu li a,
button,.btn,.lx-admin-btn,
input,select,textarea,
label,
.badge,
.tag{font-size:11px!important;line-height:1.3}
.nav-menu>li>a{padding:7px 9px}
.nav-submenu li a{padding:8px 10px}
button,.btn,.lx-admin-btn{padding:7px 11px;border-radius:10px}

.lx-focus__hero{height:clamp(180px,25vw,250px)}
.lx-media-big img{height:clamp(120px,14vw,155px)}
.lx-module__lead img{height:clamp(82px,9.5vw,108px)}
.lx-album-item img{height:clamp(70px,7vw,88px)}
.lx-mini-post{gap:7px}
.lx-mini-post img{width:68px;height:50px;border-radius:8px}

.lx-home .homepage-block .lx-module__list li,
.lx-bulletin li,
.lx-simple-links li,
.sidebar-links li{padding:5px 0}

.content-grid{grid-template-columns:minmax(0,1fr) 270px}
.lx-top-grid{grid-template-columns:minmax(0,1.52fr) 290px}
.sidebar-stack,.lx-side-stack{top:8px}
.sidebar-box,.lx-side-stack>.card{font-size:var(--fm-text-xs)}
.sidebar-box .box-body,
.lx-side-stack .card-body{padding:9px}

.lx-footer--ultimate .lx-footer-top{gap:10px}
.lx-footer--ultimate .lx-footer-col{padding:11px}
.lx-footer--ultimate h3{font-size:12px;line-height:1.25}
.lx-footer--ultimate p,
.lx-footer--ultimate li,
.lx-footer--ultimate a{font-size:11px;line-height:1.5}

@media (max-width: 1199px){
  html{font-size:12.3px}
  .lx-top-grid{grid-template-columns:minmax(0,1fr) 270px}
}

@media (max-width: 991px){
  html{font-size:12.2px}
  .container{width:min(100%,calc(100% - 14px))}
  .content-grid,.lx-top-grid,.lx-bottom-grid{grid-template-columns:1fr}
  .lx-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lx-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar-stack,.lx-side-stack{position:static}
  .lx-focus__hero{height:clamp(175px,42vw,225px)}
}

@media (max-width: 767px){
  html{font-size:12px}
  .container{width:min(100%,calc(100% - 10px))}
  .lx-home,.content-grid,.lx-top-grid,.lx-bottom-grid,.lx-module-grid,.lx-album-grid,.lx-feature-strip__grid,.sidebar-stack,.lx-side-stack{gap:9px!important}
  .lx-masthead__site strong{font-size:clamp(.94rem,3.2vw,1.12rem)!important}
  .lx-masthead__site small,.lx-masthead__text,.lx-masthead__text .motto-1,.lx-masthead__text .motto-2{font-size:9.5px!important}
  .nav-menu>li>a{font-size:10.5px!important;padding:9px 10px}
  .lx-section-head{font-size:9.6px!important;padding:4px 8px}
  .lx-focus__caption h2{font-size:clamp(.98rem,.92rem + .32vw,1.08rem)}
  .lx-module-grid,.lx-album-grid,.lx-media-smalls,.lx-feature-strip__grid,.footer-grid,.form-grid{grid-template-columns:1fr!important}
}

@media (max-width: 560px){
  html{font-size:11.8px}
  .lx-focus__caption,.lx-module__lead,.lx-bulletin ul,.lx-simple-links,.lx-module__list,.lx-links-logos,.lx-album-grid,.article-head,.article-content,.article-cover,.related-posts ul,.archive-item,.pagination{padding-left:8px;padding-right:8px}
  .lx-focus__hero{height:clamp(168px,50vw,205px)}
  .lx-module__lead img{height:100px}
  .lx-media-big img{height:136px}
}



/* PDF viewer trong bài viết */
.article-content .article-pdf-viewer,
.article-pdf-viewer{margin:18px 0;border:1px solid #dbe7f3;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.article-content .article-pdf-toolbar,
.article-pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #dbe7f3;color:#17324d;font-size:14px;font-weight:800;flex-wrap:wrap}
.article-content .article-pdf-toolbar a,
.article-pdf-toolbar a{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#d4af37;color:#fff;text-decoration:none;font-size:13px;font-weight:800}
.article-content .article-pdf-frame,
.article-pdf-frame{display:block;width:100%;min-height:720px;border:0;background:#f1f5f9}
.article-content iframe[src$='.pdf'],
.article-content iframe[src*='.pdf?'],
.article-content iframe[src*='.pdf#']{width:100%;min-height:720px;border:1px solid #dbe7f3;border-radius:14px;background:#f1f5f9}
@media(max-width:768px){.article-content .article-pdf-frame,.article-pdf-frame,.article-content iframe[src$='.pdf'],.article-content iframe[src*='.pdf?'],.article-content iframe[src*='.pdf#']{min-height:540px}.article-content .article-pdf-toolbar,.article-pdf-toolbar{align-items:flex-start;flex-direction:column}}

/* PDF clean display patch: không hiện nhiều dòng link Tài liệu PDF */
.article-content .article-pdf-viewer--clean,
.article-pdf-viewer--clean{margin:14px 0 18px;border:1px solid #dbe7f3;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.article-content .article-pdf-viewer--clean .article-pdf-toolbar,
.article-pdf-viewer--clean .article-pdf-toolbar{display:none!important}
.article-content .article-pdf-viewer--clean .article-pdf-frame,
.article-pdf-viewer--clean .article-pdf-frame{display:block;width:100%;min-height:760px;border:0;background:#fff}
.article-content > p:empty{display:none}
@media(max-width:768px){.article-content .article-pdf-viewer--clean .article-pdf-frame,.article-pdf-viewer--clean .article-pdf-frame{min-height:540px}}


/* =========================================================
   HOTFIX 2026-05-02: Tin mới cập nhật - SUPER COMPACT SIDEBAR
   Mục tiêu: giảm chiều cao từng tin, bỏ mô tả dài, ảnh nhỏ gọn,
   giữ tiêu đề 2 dòng để cột phải sạch và chuyên nghiệp hơn.
   ========================================================= */

.lx-top-sidebar-wrap .lx-v29-latest,
.v29-rightbar .lx-v29-latest,
.sidebar-stack .lx-v29-latest,
.sidebar .lx-v29-latest,
.home-sidebar .lx-v29-latest,
.right-sidebar .lx-v29-latest{
  overflow: hidden !important;
}

.lx-top-sidebar-wrap .lx-v29-latest__list,
.v29-rightbar .lx-v29-latest__list,
.sidebar-stack .lx-v29-latest__list,
.sidebar .lx-v29-latest__list,
.home-sidebar .lx-v29-latest__list,
.right-sidebar .lx-v29-latest__list{
  padding: 5px 6px 6px !important;
  display: grid !important;
  gap: 5px !important;
}

.lx-top-sidebar-wrap .lx-v29-latest__item,
.v29-rightbar .lx-v29-latest__item,
.sidebar-stack .lx-v29-latest__item,
.sidebar .lx-v29-latest__item,
.home-sidebar .lx-v29-latest__item,
.right-sidebar .lx-v29-latest__item,
.lx-v29-latest__item{
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 6px !important;
  padding: 5px !important;
  margin: 0 !important;
  min-height: 0 !important;
  border: 1px solid rgba(205,168,47,.35) !important;
  border-radius: 9px !important;
  background: #fffef8 !important;
  box-shadow: 0 2px 7px rgba(34,52,74,.05) !important;
}

.lx-v29-latest__item:first-child,
.lx-v29-latest__item.first{
  grid-template-columns: 52px minmax(0, 1fr) !important;
  padding-top: 5px !important;
}

.lx-v29-latest__item .thumb,
.lx-v29-latest__item .thumb a,
.lx-v29-latest__item > a:first-child{
  width: 52px !important;
  height: 42px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 7px !important;
  background: #eef2f6 !important;
}

.lx-v29-latest__item .thumb img,
.lx-v29-latest__item > a:first-child img,
.lx-v29-latest__item img{
  width: 52px !important;
  height: 42px !important;
  max-width: 52px !important;
  object-fit: cover !important;
  display: block !important;
  border: 0 !important;
  border-radius: 7px !important;
}

.lx-v29-latest__item .body,
.lx-v29-latest__item .info,
.lx-v29-latest__item .content,
.lx-v29-latest__item .text{
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lx-v29-latest__item .body h3,
.lx-v29-latest__item h3,
.lx-v29-latest__item .title,
.lx-v29-latest__item .post-title{
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  color: #1d3550 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.lx-v29-latest__item .body h3 a,
.lx-v29-latest__item h3 a,
.lx-v29-latest__item .title a,
.lx-v29-latest__item .post-title a{
  color: inherit !important;
  text-decoration: none !important;
}

.lx-v29-latest__item .body small,
.lx-v29-latest__item small,
.lx-v29-latest__item .date,
.lx-v29-latest__item .meta{
  margin: 0 0 2px !important;
  display: block !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  color: #7a8a9b !important;
  font-weight: 700 !important;
}

.lx-v29-latest__item .body small:not(:first-of-type),
.lx-v29-latest__item small:not(:first-of-type),
.lx-v29-latest__item p,
.lx-v29-latest__item .excerpt,
.lx-v29-latest__item .summary,
.lx-v29-latest__item .desc,
.lx-v29-latest__item .description{
  display: none !important;
}

/* Các biến thể class khác của sidebar nếu template đổi tên */
.lx-latest-list,
.latest-sidebar-list,
.home-latest-list,
.sidebar-latest-list{
  padding: 5px 6px !important;
  display: grid !important;
  gap: 5px !important;
}

.lx-latest-list .post-mini,
.lx-latest-list .latest-item,
.latest-sidebar-list .latest-item,
.home-latest-list .latest-item,
.sidebar-latest-list .latest-item,
.sidebar-box .post-mini-item,
.sidebar-box .mini-post,
.sidebar-box .news-mini{
  display: grid !important;
  grid-template-columns: 52px minmax(0,1fr) !important;
  gap: 6px !important;
  padding: 5px !important;
  margin: 0 0 5px !important;
  border-radius: 9px !important;
  background: #fffef8 !important;
  border: 1px solid rgba(205,168,47,.35) !important;
}

.sidebar-box .post-mini-item img,
.sidebar-box .mini-post img,
.sidebar-box .news-mini img,
.latest-sidebar-list .latest-item img,
.home-latest-list .latest-item img,
.sidebar-latest-list .latest-item img{
  width: 52px !important;
  height: 42px !important;
  max-width: 52px !important;
  object-fit: cover !important;
  border-radius: 7px !important;
}

.sidebar-box .post-mini-item p,
.sidebar-box .mini-post p,
.sidebar-box .news-mini p,
.latest-sidebar-list .latest-item p,
.home-latest-list .latest-item p,
.sidebar-latest-list .latest-item p{
  display: none !important;
}

.sidebar-box .post-mini-item h3,
.sidebar-box .mini-post h3,
.sidebar-box .news-mini h3,
.latest-sidebar-list .latest-item h3,
.home-latest-list .latest-item h3,
.sidebar-latest-list .latest-item h3{
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.22 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Nút sửa admin nhỏ lại trong sidebar để không làm card phình cao */
.lx-v29-latest__item .front-edit-btn,
.lx-v29-latest__item .edit-btn,
.lx-v29-latest__item [class*="edit"],
.sidebar-box .front-edit-btn,
.sidebar-box .edit-btn{
  max-height: 20px !important;
  min-height: 0 !important;
  padding: 2px 7px !important;
  font-size: 9px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

/* Mobile vẫn giữ gọn */
@media (max-width: 760px){
  .lx-v29-latest__item{
    grid-template-columns: 58px minmax(0,1fr) !important;
  }
  .lx-v29-latest__item .thumb,
  .lx-v29-latest__item .thumb a,
  .lx-v29-latest__item > a:first-child,
  .lx-v29-latest__item .thumb img,
  .lx-v29-latest__item > a:first-child img,
  .lx-v29-latest__item img{
    width: 58px !important;
    max-width: 58px !important;
    height: 44px !important;
  }
}


/* HOTFIX: Tin mới cập nhật gọn hơn */
.lx-home .lx-v29-latest.lx-sync-latest-card{overflow:hidden!important;border-radius:12px!important}
.lx-home .lx-v29-latest .lx-section-head,.lx-home .lx-sync-latest-card .lx-section-head{padding:6px 9px!important;min-height:0!important;font-size:10px!important;line-height:1.15!important;letter-spacing:.02em!important}
.lx-home .lx-v29-latest__list,.lx-home #lxLatestSyncList{display:flex!important;flex-direction:column!important;gap:5px!important;padding:6px!important;max-height:336px!important;overflow-y:auto!important;background:#fffaf0!important;scrollbar-width:thin!important}
.lx-home .lx-v29-latest__list::-webkit-scrollbar,.lx-home #lxLatestSyncList::-webkit-scrollbar{width:5px!important}.lx-home .lx-v29-latest__list::-webkit-scrollbar-thumb,.lx-home #lxLatestSyncList::-webkit-scrollbar-thumb{background:#d4af37!important;border-radius:999px!important}
.lx-home .lx-v29-latest__item,.lx-home .lx-v29-latest__item.first{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;margin:0!important;padding:5px 6px!important;min-height:54px!important;border:1px solid #eadcae!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 8px rgba(139,92,0,.05)!important;border-left:1px solid #eadcae!important}
.lx-home .lx-v29-latest__item.active,.lx-home .lx-v29-latest__item:hover{background:#fff8df!important;border-color:#d4af37!important;box-shadow:0 4px 12px rgba(139,92,0,.10)!important}
.lx-home .lx-v29-latest__item .thumb,.lx-home .lx-v29-latest__item.first .thumb{display:block!important;width:52px!important;height:40px!important;min-width:52px!important;overflow:hidden!important;border-radius:7px!important}
.lx-home .lx-v29-latest__item .thumb img,.lx-home .lx-v29-latest__item.first .thumb img{width:52px!important;height:40px!important;min-width:52px!important;object-fit:cover!important;border:1px solid #e6d7a4!important;border-radius:7px!important;display:block!important;box-shadow:none!important}
.lx-home .lx-v29-latest__item .body{min-width:0!important;overflow:hidden!important}.lx-home .lx-v29-latest__item .body h3,.lx-home .lx-v29-latest__item.first .body h3,.lx-home .lx-v29-latest__item h3{margin:0!important;padding:0!important;font-size:10.5px!important;line-height:1.22!important;font-weight:800!important}
.lx-home .lx-v29-latest__item .body h3 a,.lx-home .lx-v29-latest__item h3 a{color:#17324d!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.lx-home .lx-v29-latest__item .body small{display:block!important;margin-top:2px!important;font-size:8.6px!important;line-height:1.15!important;color:#7b8794!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media (max-width: 991px){.lx-home .lx-v29-latest__list,.lx-home #lxLatestSyncList{max-height:none!important;overflow:visible!important}}