/* lyhi — Site-wide header & footer (regular pages, not wedding invitation templates) */
:root { --lyhi-ink:#26221d; --lyhi-red:#b5342a; --lyhi-muted:#7a7168; --lyhi-cream:#faf7f2; --lyhi-line:#e8e1d6; }

* { box-sizing: border-box; }
body { margin: 0; color: var(--lyhi-ink); background: var(--lyhi-cream); font-family: Georgia, 'Times New Roman', serif; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; top: -999px; left: 0; z-index: 999; padding: 12px 18px; background: var(--lyhi-ink); color: #fff; }
.skip-link:focus { top: 0; }

.button, .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--lyhi-red); border-radius: 999px; padding: 10px 22px; color: #fff; background: var(--lyhi-red); font: 700 12px Arial, sans-serif; letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--lyhi-line); background: #fff; }
.site-header-inner { max-width: 1080px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-branding { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.site-branding .custom-logo { display: block; max-height: 60px; width: auto; height: auto; }
/* Đã có logo (body.wp-custom-logo) -> ẩn dòng mô tả bằng mắt (logo đã có "Thiệp cưới online"), vẫn giữ trong HTML cho SEO / trình đọc màn hình. */
.wp-custom-logo .site-tagline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.site-logo-text { color: var(--lyhi-ink); font-size: 22px; font-weight: 400; text-decoration: none; }
.site-tagline { margin: 0; color: var(--lyhi-muted); font: 12px/1.4 Arial, sans-serif; max-width: 320px; }

.main-navigation { display: flex; align-items: center; }
.main-navigation ul { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: var(--lyhi-ink); font: 13px Arial, sans-serif; letter-spacing: .03em; text-decoration: none; }
.main-navigation a:hover, .main-navigation a:focus { color: var(--lyhi-red); }
.main-navigation ul ul { display: none; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; border: 1px solid var(--lyhi-line); border-radius: 8px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--lyhi-ink); }

@media (max-width: 800px) {
	.site-branding .custom-logo { max-height: 52px; }
	.menu-toggle { display: flex; }
	.main-navigation { width: 100%; order: 3; }
	.main-navigation ul { display: none; flex-direction: column; gap: 0; width: 100%; }
	.main-navigation.toggled ul { display: flex; }
	.main-navigation ul li { border-top: 1px solid var(--lyhi-line); }
	.main-navigation ul a { display: block; padding: 12px 4px; }
	.header-cta { order: 2; }
}

/* Container dùng chung cho toàn bộ nội dung trang (giữa header và footer) */
.site-content-container { max-width: 1080px; margin: 0 auto; padding: 40px 24px; }
.site-content-container:empty { padding: 0; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--lyhi-line); background: #fff; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand .site-logo-text { font-size: 20px; }
.footer-logo-link { display: inline-block; }
.footer-logo { display: block; max-height: 56px; width: auto; height: auto; }
@media (min-width: 801px) {
	.footer-logo { width: 300px; max-width: 100%; max-height: none; height: auto; }
}
.footer-brand p { margin: 10px 0 0; max-width: 340px; color: var(--lyhi-muted); font: 13px/1.6 Arial, sans-serif; }
.footer-heading { margin: 0 0 12px; color: var(--lyhi-muted); font: 700 11px Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: var(--lyhi-ink); font: 13px Arial, sans-serif; text-decoration: none; }
.footer-contact a:hover { color: var(--lyhi-red); }
.footer-social-links { display: flex; gap: 12px; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--lyhi-line); border-radius: 50%; color: var(--lyhi-ink); text-decoration: none; }
.footer-social-links a:hover { border-color: var(--lyhi-red); color: var(--lyhi-red); }

.site-info { max-width: 1080px; margin: 0 auto; padding: 18px 24px; border-top: 1px solid var(--lyhi-line); color: var(--lyhi-muted); font: 12px Arial, sans-serif; text-align: center; }

@media (max-width: 800px) {
	.footer-inner { grid-template-columns: 1fr; }
}
