/* Extracted from page-tin-tuc.php. Loaded by functions.php; keep template PHP free of inline CSS. */
:root{--kp-green:#0a6b2f;--kp-dark:#004c24;--kp-soft:#f6fbf6;--kp-line:#dfe9df;--kp-yellow:#ffc928;--kp-text:#102016;--kp-muted:#5d6b61;--kp-radius:16px;--kp-max:1280px;--shadow-sm:0 2px 8px rgba(9,55,26,.06);--shadow-md:0 8px 24px rgba(9,55,26,.10);--shadow-lg:0 18px 55px rgba(9,55,26,.16)}.section{padding:54px 0}.section-title{color:var(--kp-dark);font-size:clamp(25px,3vw,36px);font-weight:900;margin:0 0 12px;line-height:1.24;letter-spacing:-.45px}.section-title::after{content:'';display:block;width:64px;height:3px;background:linear-gradient(90deg,var(--kp-green),#72bd20);margin:15px 0 0;border-radius:99px}.section-subtitle{color:var(--kp-muted);font-size:16px;max-width:860px;margin:0 0 30px;line-height:1.75}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 28px;border-radius:12px;font-weight:900;font-size:15px;border:none;cursor:pointer;transition:transform .2s,box-shadow .2s}.news-hero{position:relative;min-height:390px;display:flex;align-items:center;background:linear-gradient(135deg,rgba(0,38,17,.92),rgba(0,76,36,.84)),url('/wp-content/themes/khanhphat-theme/assets/img/shared/hero-san-bong.jpg') center/cover no-repeat;overflow:hidden}.hero-inner{max-width:880px;margin:0 auto;padding:128px 0 52px;color:#fff;text-align:center}.breadcrumb{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:rgba(255,255,255,.72);font-size:13px;font-weight:800;margin:0 auto 16px}.eyebrow{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,201,40,.14);border:1px solid rgba(255,201,40,.35);color:var(--kp-yellow);padding:7px 12px;border-radius:999px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;margin:0 auto 18px}.news-hero h1{font-size:clamp(34px,4.2vw,52px);line-height:1.08;font-weight:900;letter-spacing:-1px;margin:0 auto 14px;max-width:820px}.news-hero p{font-size:16px;color:rgba(255,255,255,.9);max-width:760px;line-height:1.75;margin:0 auto 22px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.featured-post{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;background:#fff;border:1px solid var(--kp-line);border-radius:22px;box-shadow:var(--shadow-md);overflow:hidden}.featured-img{height:360px;background:linear-gradient(135deg,rgba(10,107,47,.18),rgba(255,201,40,.16)),url('/wp-content/themes/khanhphat-theme/assets/img/shared/co-san-bong.jpg') center/cover}.featured-body{padding:30px}.tag{display:inline-flex;background:var(--kp-soft);border:1px solid var(--kp-line);color:var(--kp-green);border-radius:999px;padding:5px 11px;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:12px}.featured-body h2{color:var(--kp-dark);font-size:clamp(24px,3vw,34px);font-weight:900;line-height:1.24;margin-bottom:10px}.featured-body p{color:var(--kp-muted);font-size:15px;line-height:1.75;margin-bottom:18px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{display:block;background:#fff;border:1px solid var(--kp-line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s,border-color .25s}.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:rgba(10,107,47,.28)}.post-img{height:190px;background:linear-gradient(135deg,rgba(10,107,47,.15),rgba(255,201,40,.16));background-size:cover;background-position:center}.post-body{padding:18px}.post-body h3{color:var(--kp-dark);font-size:18px;font-weight:900;line-height:1.35;margin-bottom:8px}.post-body p{color:var(--kp-muted);font-size:14px;line-height:1.65}.read-more{display:inline-flex;color:var(--kp-green);font-size:13px;font-weight:900;margin-top:14px}.topic-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.topic-card{background:var(--kp-soft);border:1px solid var(--kp-line);border-radius:16px;padding:18px;color:var(--kp-dark);font-weight:900;text-align:center}.compact-cta{background:linear-gradient(135deg,var(--kp-dark),var(--kp-green));color:#fff;border-radius:22px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:18px}.compact-cta h2{font-size:24px;font-weight:900;margin-bottom:6px}.compact-cta p{color:rgba(255,255,255,.82);font-size:14px}.compact-cta-actions{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}.js-ready .reveal{opacity:0;transform:translateY(28px);transition:opacity .65s cubic-bezier(.16,1,.3,1),transform .65s cubic-bezier(.16,1,.3,1)}
@media(max-width:1100px){.featured-post{grid-template-columns:1fr}.post-grid{grid-template-columns:repeat(2,1fr)}.topic-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.hero-inner{padding:116px 0 42px;text-align:left}.breadcrumb,.eyebrow{justify-content:flex-start;margin-left:0}.news-hero h1,.news-hero p{margin-left:0}.hero-actions{justify-content:flex-start}.news-hero{min-height:auto}.hero-actions .btn{width:100%}.section{padding:38px 0}.featured-img{height:220px}.featured-body{padding:20px}.post-grid,.topic-grid{grid-template-columns:1fr}.compact-cta{display:block}.compact-cta-actions{margin-top:16px}.compact-cta-actions .btn{width:100%}}

body.page-template-page-tin-tuc .news-hero .breadcrumb{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:6px 8px!important;width:fit-content!important;max-width:100%!important;margin:0 auto 14px!important;padding:7px 11px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;color:rgba(255,255,255,.82)!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;white-space:normal!important}body.page-template-page-tin-tuc .news-hero .breadcrumb :is(a,span){display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;margin:0!important;color:inherit!important;line-height:1.35!important}body.page-template-page-tin-tuc .news-hero .breadcrumb a{color:#fff!important}@media(max-width:720px){body.page-template-page-tin-tuc .news-hero .breadcrumb{justify-content:flex-start!important;margin-right:0!important;margin-left:0!important;margin-bottom:12px!important;padding:8px 12px!important;font-size:14px!important}}

/* Dynamic news thumbnails */
.featured-img{display:block;overflow:hidden;background:linear-gradient(135deg,rgba(10,107,47,.18),rgba(255,201,40,.16))}
.featured-img img{width:100%;height:100%;object-fit:cover;display:block}
.post-img{overflow:hidden}
.post-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}

body.page-template-page-tin-tuc .news-topic-section{background:linear-gradient(180deg,#f6fbf6,#fff);border-top:1px solid rgba(10,107,47,.08);border-bottom:1px solid rgba(10,107,47,.08)}
body.page-template-page-tin-tuc .news-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.page-template-page-tin-tuc .news-topic-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:164px;background:#fff;border:1px solid rgba(10,107,47,.14);box-shadow:0 12px 30px rgba(9,55,26,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body.page-template-page-tin-tuc .news-topic-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(9,55,26,.11);border-color:rgba(10,107,47,.30)}
body.page-template-page-tin-tuc .news-topic-label{display:block;color:var(--kp-dark);font-size:18px;font-weight:950;line-height:1.25;margin-bottom:8px}
body.page-template-page-tin-tuc .news-topic-card small{display:block;color:var(--kp-muted);font-size:13px;line-height:1.55;font-weight:650;margin-bottom:14px}
body.page-template-page-tin-tuc .news-topic-card b{margin-top:auto;color:var(--kp-green);font-size:13px;font-weight:950}
body.page-template-page-tin-tuc .news-topic-list-section{background:#fff;padding-top:58px}
body.page-template-page-tin-tuc .news-topic-block{scroll-margin-top:110px;margin-bottom:46px}
body.page-template-page-tin-tuc .news-topic-block:last-child{margin-bottom:0}
body.page-template-page-tin-tuc .news-topic-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px;border-bottom:1px solid var(--kp-line);padding-bottom:16px}
body.page-template-page-tin-tuc .news-topic-head h2{color:var(--kp-dark);font-size:clamp(22px,2.4vw,30px);font-weight:950;line-height:1.25;margin:0 0 6px}
body.page-template-page-tin-tuc .news-topic-head p{color:var(--kp-muted);font-size:14px;line-height:1.65;max-width:720px;margin:0}
body.page-template-page-tin-tuc .news-topic-head a{flex:0 0 auto;color:var(--kp-green);font-size:13px;font-weight:950}
body.page-template-page-tin-tuc .news-topic-post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:1100px){body.page-template-page-tin-tuc .news-topic-grid,body.page-template-page-tin-tuc .news-topic-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.page-template-page-tin-tuc .news-topic-grid,body.page-template-page-tin-tuc .news-topic-post-grid{grid-template-columns:1fr}body.page-template-page-tin-tuc .news-topic-card{min-height:auto}body.page-template-page-tin-tuc .news-topic-head{display:block}body.page-template-page-tin-tuc .news-topic-head a{display:inline-flex;margin-top:10px}body.page-template-page-tin-tuc .news-topic-block{scroll-margin-top:88px;margin-bottom:34px}}
body.page-template-page-tin-tuc .compact-cta{background:linear-gradient(135deg,#02220f,#075426)!important;border:1px solid rgba(255,201,40,.36);box-shadow:0 20px 54px rgba(2,34,15,.24)}body.page-template-page-tin-tuc .compact-cta h2{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.35)}body.page-template-page-tin-tuc .compact-cta p{color:#f4fff7!important;font-weight:650;text-shadow:0 1px 8px rgba(0,0,0,.28)}body.page-template-page-tin-tuc .compact-cta .btn-yellow{background:#ffc928!important;color:#111!important;border:2px solid #ffc928;box-shadow:0 12px 28px rgba(255,201,40,.18)}body.page-template-page-tin-tuc .compact-cta .btn-white{background:#fff!important;color:#063a1d!important;border:2px solid rgba(255,255,255,.86)}

body.page-template-page-tin-tuc .news-category-section{background:#fff;padding-top:58px;scroll-margin-top:94px}
body.page-template-page-tin-tuc .news-category-block{scroll-margin-top:108px;padding:0 0 50px;margin:0 0 52px;border-bottom:1px solid rgba(10,107,47,.12)}
body.page-template-page-tin-tuc .news-category-block:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
body.page-template-page-tin-tuc .news-category-head{max-width:860px;margin:0 0 22px}
body.page-template-page-tin-tuc .news-category-head span{display:inline-flex;align-items:center;color:var(--kp-green);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}
body.page-template-page-tin-tuc .news-category-head h2{color:var(--kp-dark);font-size:clamp(24px,2.8vw,34px);font-weight:950;line-height:1.18;margin:0 0 8px;letter-spacing:-.3px}
body.page-template-page-tin-tuc .news-category-head h2::after{content:'';display:block;width:58px;height:3px;background:linear-gradient(90deg,var(--kp-green),#72bd20);border-radius:99px;margin:13px 0 0}
body.page-template-page-tin-tuc .news-category-head p{color:var(--kp-muted);font-size:15px;line-height:1.7;margin:0;max-width:760px}
body.page-template-page-tin-tuc .news-category-feature{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);align-items:stretch;background:#fff;border:1px solid rgba(10,107,47,.14);border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(9,55,26,.08);margin:0 0 18px}
body.page-template-page-tin-tuc .news-category-feature-img{display:block;min-height:280px;background:linear-gradient(135deg,rgba(10,107,47,.14),rgba(255,201,40,.14));overflow:hidden}
body.page-template-page-tin-tuc .news-category-feature-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
body.page-template-page-tin-tuc .news-category-feature:hover .news-category-feature-img img{transform:scale(1.035)}
body.page-template-page-tin-tuc .news-category-feature-body{padding:28px 30px;display:flex;flex-direction:column;justify-content:center;min-height:280px}
body.page-template-page-tin-tuc .news-category-feature-body h3{font-size:clamp(22px,2.4vw,30px);line-height:1.25;font-weight:950;margin:0 0 10px;color:var(--kp-dark);letter-spacing:-.25px}
body.page-template-page-tin-tuc .news-category-feature-body h3 a{color:inherit}
body.page-template-page-tin-tuc .news-category-feature-body p{color:var(--kp-muted);font-size:15px;line-height:1.72;margin:0 0 16px;max-width:680px}
body.page-template-page-tin-tuc .news-related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin-top:14px}
body.page-template-page-tin-tuc .news-related-item{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:12px;align-items:start;background:var(--kp-soft);border:1px solid var(--kp-line);border-radius:14px;padding:14px 16px;color:var(--kp-text);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
body.page-template-page-tin-tuc .news-related-item:hover{transform:translateY(-2px);background:#fff;border-color:rgba(10,107,47,.28);box-shadow:0 12px 28px rgba(9,55,26,.08)}
body.page-template-page-tin-tuc .news-related-item span{grid-row:1 / span 2;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff;color:var(--kp-green);border:1px solid rgba(10,107,47,.16);font-size:12px;font-weight:950}
body.page-template-page-tin-tuc .news-related-item strong{display:block;color:var(--kp-dark);font-size:15px;font-weight:950;line-height:1.38;margin:0 0 5px}
body.page-template-page-tin-tuc .news-related-item small{display:block;color:var(--kp-muted);font-size:13px;line-height:1.55;font-weight:600}
@media(max-width:1100px){body.page-template-page-tin-tuc .news-category-feature{grid-template-columns:1fr}body.page-template-page-tin-tuc .news-category-feature-img{min-height:300px}body.page-template-page-tin-tuc .news-category-feature-body{min-height:auto}}
@media(max-width:720px){body.page-template-page-tin-tuc .news-category-section{padding-top:42px;scroll-margin-top:82px}body.page-template-page-tin-tuc .news-category-block{scroll-margin-top:88px;padding-bottom:38px;margin-bottom:40px}body.page-template-page-tin-tuc .news-category-head{margin-bottom:18px}body.page-template-page-tin-tuc .news-category-feature{border-radius:16px;margin-bottom:14px}body.page-template-page-tin-tuc .news-category-feature-img{min-height:210px}body.page-template-page-tin-tuc .news-category-feature-body{padding:20px}body.page-template-page-tin-tuc .news-related-list{grid-template-columns:1fr;gap:10px}body.page-template-page-tin-tuc .news-related-item{grid-template-columns:40px minmax(0,1fr);padding:13px 14px}body.page-template-page-tin-tuc .news-related-item span{width:32px;height:32px;border-radius:10px}}
