/*
Theme Name: Thân Thiện Shop - Xanh Tươi
Template: twentytwentyfive
Version: 1.0.1
Text Domain: tts-xanh-tuoi
Description: Theme con của Twenty Twenty-Five theo mẫu Xanh Tươi (chủ dự án chọn 2026-12-04 22:25).
*/

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

/* Đầu trang */
.tts-header { background: #FFFFFF; border-bottom: 1px solid #DCE6DD; }
.tts-header-in { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding: 14px 24px; box-sizing: border-box; gap: 16px; align-items: center; }
.tts-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wp--preset--color--contrast); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.tts-logo:hover { color: var(--wp--preset--color--contrast); }
.tts-nav { font-size: 15px; font-weight: 500; gap: 4px 24px; }
.tts-nav a { text-decoration: none; color: var(--wp--preset--color--contrast); }
.tts-nav a:hover { color: var(--wp--preset--color--accent-1); }

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

/* Trang chủ */
.tts-main .wp-block-post-content > * { margin-block-start: 0; }
.tts-hero { padding: 64px 0 48px; }
.tts-hero > .wp-block-columns { gap: 48px; align-items: center; }
.tts-pill { display: inline-block; background: var(--wp--preset--color--accent-2); color: #1F5C34; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin: 0; }
.tts-hero h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 20px 0; }
.tts-lead { font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--accent-4); max-width: 520px; }
.tts-hero-img { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tts-hero-img > * { margin: 0 !important; }
.tts-hero-img .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; display: block; }
.tts-hero-img > :first-child { grid-row: span 2; }
.tts-hero-img > :first-child img { aspect-ratio: auto; }

.tts-sp { background: #FFFFFF; border-top: 1px solid #DCE6DD; border-bottom: 1px solid #DCE6DD; padding: 56px 0; }
.tts-sp h2 { font-size: 32px; margin: 0 0 8px; }
.tts-sp .tts-xem { margin: 0 0 28px; font-weight: 600; }
.tts-sp .wp-block-columns { gap: 20px; flex-wrap: wrap !important; }
.tts-sp .wp-block-column.tts-sp-the { flex: 1 1 200px !important; box-sizing: border-box; background: var(--wp--preset--color--base); border-radius: 20px; padding: 12px; }
.tts-sp-the .wp-block-image { margin: 0; }
.tts-sp-the .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.tts-sp-the p { font-weight: 600; font-size: 16px; margin: 12px 4px 6px; }

.tts-dv { padding: 56px 0; }
.tts-dv .wp-block-columns { gap: 20px; }
.tts-dv .wp-block-column.tts-the { background: #FFFFFF; border: 1px solid #DCE6DD; border-radius: 20px; padding: 28px; }
.tts-the::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--wp--preset--color--accent-1); margin-bottom: 18px; }
.tts-the h3 { font-size: 20px; margin: 0 0 10px; }
.tts-the p { font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--accent-4); margin: 0; }

.tts-cta { padding-bottom: 56px; }
.tts-cta .wp-block-columns.tts-cta-in { background: var(--wp--preset--color--accent-1); color: #FFFFFF; border-radius: 28px; padding: 44px; gap: 24px; align-items: center; margin: 0; }
.tts-cta-in h2 { color: #FFFFFF; font-size: 30px; margin: 0 0 8px; }
.tts-cta-in p { color: #E6F2E9; font-size: 17px; line-height: 1.6; margin: 0; }
.tts-cta-in .wp-block-buttons { justify-content: flex-end; }
.tts-cta-in .wp-block-button__link { background: #FFFFFF; color: var(--wp--preset--color--contrast); font-weight: 700; font-size: 18px; padding: 16px 28px; }

/* Chân trang */
.tts-footer { background: #1C2B22; color: #C9D6CC; }
.tts-footer-in { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding: 36px 24px; box-sizing: border-box; gap: 16px; font-size: 15px; }
.tts-footer p { margin: 0; }
.tts-footer .tts-ten { color: #FFFFFF; font-weight: 700; }
.tts-footer a { color: #C9D6CC; }
.tts-footer a:hover { color: #FFFFFF; }

@media (max-width: 781px) {
	.tts-hero { padding: 40px 0 32px; }
	.tts-cta .wp-block-columns.tts-cta-in { padding: 28px; }
	.tts-cta-in .wp-block-buttons { justify-content: flex-start; }
}
