/* Shared native layout for the EN/VI pages previously built with Elementor. */
.gs-native-page { color: #1d2a23; font-size: 17px; line-height: 1.7; }
.gs-native-inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.gs-native-hero { padding: clamp(32px, 6vw, 72px) 0; background: #edf7df; border-bottom: 1px solid #dceacb; }
.gs-native-hero nav { font-size: 14px; margin-bottom: 14px; }
.gs-native-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.25; color: #254715; overflow-wrap: anywhere; }
.gs-native-content { padding-block: 36px 56px; overflow-wrap: anywhere; }
.gs-native-content h2 { margin: 24px 0 16px; font-size: clamp(23px, 3vw, 32px); line-height: 1.35; }
.gs-native-content h3 { font-size: 21px; line-height: 1.4; }
.gs-native-section { margin-block: 24px; padding: clamp(16px, 3vw, 28px); border: 1px solid #e1e9dc; border-radius: 16px; background: #fff; }
.gs-native-section .gs-native-section { padding: 0; border: 0; margin-block: 16px; }
.gs-native-row { display: grid; grid-template-columns: repeat(var(--gs-columns, 1), minmax(0, 1fr)); gap: 24px; }
.gs-native-column { min-width: 0; }
.gs-native-content img { max-width: 100%; height: auto; }
.gs-native-image { margin: 16px 0; }
.gs-native-image img { display: block; margin-inline: auto; border-radius: 12px; }
.gs-native-content iframe, .gs-native-content video { max-width: 100%; }
.gs-native-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.gs-native-content .gs-native-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; margin: 8px 0; border-radius: 10px; background: #8bc53f; color: #14220b; font-weight: 700; text-decoration: none; }
.gs-native-content .gs-native-button:hover { background: #b2e86a; box-shadow: 0 5px 22px #8bc53f55; }
.gs-native-quote { margin: 18px 0; padding: 22px; border-left: 4px solid #8bc53f; background: #f5f9ef; border-radius: 0 12px 12px 0; }
.gs-native-quote img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.gs-native-quote cite { display: block; font-style: normal; font-weight: 700; }
.gs-native-social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.gs-native-social a { display: inline-flex; min-height: 48px; align-items: center; padding: 8px 16px; border: 1px solid #8bc53f; border-radius: 8px; }
.gs-native-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gs-native-post { min-width: 0; padding: 20px; border: 1px solid #e1e9dc; border-radius: 14px; background: #fff; }
.gs-native-post img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.gs-native-post h2 { font-size: 21px; margin-top: 16px; }
.gs-native-post time { font-size: 14px; color: #60715f; }
.gs-native-more { display: inline-flex; min-height: 48px; align-items: center; color: #345e15; font-weight: 700; }
.gs-native-pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 24px 0; }
.gs-native-pagination a, .gs-native-pagination span { min-width: 48px; min-height: 48px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid #dceacb; border-radius: 8px; }
.gs-native-pagination .current { background: #8bc53f; color: #14220b; }
.gs-native-content input:not([type=checkbox]):not([type=radio]), .gs-native-content select, .gs-native-content textarea { max-width: 100%; font-size: 16px; }
.gs-native-content :is(input[type=submit], button) { min-height: 48px; }
.gs-native-content a:focus-visible { outline: 3px solid #345e15; outline-offset: 3px; }
@media (max-width: 900px) { .gs-native-row { grid-template-columns: 1fr; } .gs-native-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gs-native-inner { width: calc(100% - 32px); } .gs-native-posts { grid-template-columns: 1fr; } .gs-native-section { padding: 16px; } }
/* Ô bố cục trống còn sót từ Elementor: không hiện khung */
.gs-native-section:not(:has(.gs-native-column > *)) { display: none; }

/* Thẻ bài viết (blog VI/EN kiểu native): bỏ gạch chân đậm của trình duyệt, hover chỉ đổi màu + gạch mảnh */
.gs-native-post a { text-decoration: none; }
.gs-native-post h2 a:hover, .gs-native-post h2 a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Xuống dòng đẹp cho VI/EN: tiêu đề chia đều các dòng (không rớt 1 chữ), đoạn văn tránh dòng cuối 1 chữ */
:is(h1, h2, h3, h4) { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }
