/*
Theme Name: Bao Bì Thắng Thảo - Xưởng Sạch
Template: twentytwentyfive
Version: 1.0.1
Text Domain: tt-xuong-sach
Description: Theme con của Twenty Twenty-Five theo mẫu Xưởng Sạch (chủ dự án chọn 2026-12-04 22:25).
*/

.wp-site-blocks > main,
.wp-site-blocks > footer { margin-block-start: 0; }
.tt-wrap { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* Dải trên cùng */
.tt-topbar { background: #0F2440; color: #C9D5E6; font-size: 13px; }
.tt-topbar-in { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding: 8px 24px; box-sizing: border-box; gap: 8px; }
.tt-topbar p { margin: 0; }
.tt-topbar a { color: #FFFFFF; font-weight: 600; text-decoration: none; }

/* Đầu trang */
.tt-header { background: #FFFFFF; border-bottom: 1px solid #E2E8F0; }
.tt-header-in { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding: 16px 24px; box-sizing: border-box; gap: 16px; align-items: center; }
.tt-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wp--preset--color--contrast); }
.tt-logo:hover { color: var(--wp--preset--color--contrast); }
.tt-logo span { display: flex; flex-direction: column; line-height: 1.15; }
.tt-logo b { font-weight: 700; font-size: 19px; }
.tt-logo small { font-size: 12px; color: #5A6B85; }
.tt-nav { font-size: 15px; font-weight: 500; gap: 4px 26px; }
.tt-nav a { text-decoration: none; color: var(--wp--preset--color--contrast); }
.tt-nav a:hover { color: var(--wp--preset--color--accent-1); }

/* Nút */
.wp-block-button__link { padding: 14px 24px; font-size: 16px; }
.wp-block-button.is-style-outline .wp-block-button__link { background: #FFFFFF; color: var(--wp--preset--color--contrast); border: 1px solid #C5D0DE; }

/* Trang chủ */
.tt-main .wp-block-post-content > * { margin-block-start: 0; }
.tt-nen { background: var(--wp--preset--color--accent-2); }
.tt-hero { padding: 72px 0; }
.tt-hero > .wp-block-columns { gap: 48px; align-items: center; }
.tt-hero h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 20px; }
.tt-lead { font-size: 18px; line-height: 1.65; color: var(--wp--preset--color--accent-4); max-width: 580px; }
.tt-hop { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; padding: 28px; }
.tt-nhan { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5A6B85; margin: 0 0 12px; }
.tt-hop ul { list-style: none; padding: 0; margin: 0; }
.tt-hop li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.tt-hop li:last-child { margin-bottom: 0; }
.tt-hop li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 12px; border: solid var(--wp--preset--color--accent-1); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.tt-sp { padding: 72px 0; }
.tt-sp h2 { font-size: 34px; margin: 0 0 8px; }
.tt-sp .tt-phu { font-size: 17px; color: var(--wp--preset--color--accent-4); margin: 0 0 32px; }
.tt-sp .wp-block-columns { gap: 20px; flex-wrap: wrap !important; }
.tt-sp .wp-block-column.tt-the { flex: 1 1 220px !important; box-sizing: border-box; border: 1px solid #E2E8F0; border-top: 4px solid var(--wp--preset--color--accent-1); border-radius: 8px; padding: 26px; }
.tt-the h3 { font-size: 20px; margin: 0 0 10px; }
.tt-the p { font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--accent-4); margin: 0; }

.tt-dat { padding: 72px 0; }
.tt-dat > .wp-block-columns { gap: 48px; }
.tt-dat h2 { font-size: 34px; margin: 0 0 16px; }
.tt-dat .tt-lead { margin-bottom: 20px; }
.tt-bang { margin: 0; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; }
.tt-bang table { border-collapse: collapse; width: 100%; }
.tt-bang td { border: 0; border-bottom: 1px solid #E2E8F0; padding: 14px 18px; font-size: 15px; line-height: 1.5; vertical-align: top; }
.tt-bang tr:last-child td { border-bottom: 0; }
.tt-bang td:first-child { width: 150px; background: #F8FAFC; color: #5A6B85; font-size: 14px; }

/* Chân trang */
.tt-footer { background: #0F2440; color: #C9D5E6; }
.tt-footer-in { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding: 32px 24px; box-sizing: border-box; gap: 12px; font-size: 14px; }
.tt-footer p { margin: 0; }
.tt-footer .tt-ten { color: #FFFFFF; font-weight: 600; }
.tt-footer a { color: #C9D5E6; }
.tt-footer a:hover { color: #FFFFFF; }

@media (max-width: 781px) {
	.tt-hero, .tt-sp, .tt-dat { padding: 44px 0; }
	.tt-bang td:first-child { width: 110px; }
}
