/* Lifestyle Metro theme
   Tokens are CSS variables so Customizer colours and Elementor designs can override them. */

:root {
	--lm-accent: #D13A22;
	--lm-accent-text: #B8301B;
	--lm-ink: #141414;
	--lm-text: #2B2B2B;
	--lm-muted: #5C5C5C;
	--lm-line: #E6E1DC;
	--lm-soft: #FAF7F4;
	--lm-tint: #FCE9E4;
	--lm-photo: #EFE8E2;
	--lm-bg: #FFFFFF;
	--lm-ok: #1F7A4D;
	--lm-radius: 16px;
	--lm-radius-sm: 10px;
	--lm-container: 1240px;
	--lm-gutter: 24px;
	--lm-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--lm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--lm-bg);
	color: var(--lm-ink);
	font-family: var(--lm-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--lm-accent-text); text-underline-offset: 2px; }
a:hover { color: #8F2412; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--lm-accent);
	outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--lm-font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--lm-ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.lmt-skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--lm-ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.lmt-skip-link:focus { top: 12px; color: #fff; }
.lmt-main:focus { outline: none; }

/* Layout */
.lmt-container { width: 100%; max-width: var(--lm-container); margin: 0 auto; padding-left: var(--lm-gutter); padding-right: var(--lm-gutter); }
.lmt-section { padding-top: 40px; padding-bottom: 64px; }
.lmt-grid { display: grid; gap: 24px; }
.lmt-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* Type */
.lmt-h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.02em; line-height: 1.06; }
.lmt-h2 { font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; }
.lmt-lead { font-size: 18px; color: var(--lm-text); max-width: 760px; }
.lmt-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lm-accent-text); text-decoration: none; margin-bottom: 8px; }
.lmt-page-head { margin-bottom: 28px; }

/* Buttons */
.lmt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
	font: 600 15px/1 var(--lm-font-body); text-decoration: none; cursor: pointer;
}
.lmt-btn--accent { background: var(--lm-accent); color: #fff; }
.lmt-btn--accent:hover { background: #B32F1A; color: #fff; }
.lmt-btn--dark { background: var(--lm-ink); color: #fff; }
.lmt-btn--dark:hover { background: #333; color: #fff; }
.lmt-btn--ghost { background: #fff; color: var(--lm-ink); border-color: var(--lm-line); }
.lmt-btn--ghost:hover { border-color: var(--lm-ink); color: var(--lm-ink); }

/* Header */
.lmt-header { background: #fff; border-bottom: 1px solid var(--lm-line); position: relative; z-index: 50; }
.lmt-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.lmt-logo { display: inline-flex; align-items: center; text-decoration: none; }
.lmt-logo__img { height: 30px; width: auto; }
.lmt-logo--text { font-family: var(--lm-font-display); font-weight: 800; font-size: 22px; color: var(--lm-ink); }
.lmt-nav { flex: 1 1 auto; }
.lmt-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.lmt-nav__list a { color: var(--lm-ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; display: inline-block; }
.lmt-nav__list a:hover, .lmt-nav__list .current-menu-item > a, .lmt-nav__list .current-menu-ancestor > a { color: var(--lm-accent-text); }
.lmt-nav__list li { position: relative; }
.lmt-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: -8px; top: 100%; min-width: 220px;
	background: #fff; border: 1px solid var(--lm-line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.08);
	display: none;
}
.lmt-nav__list li:hover > .sub-menu, .lmt-nav__list li:focus-within > .sub-menu { display: block; }
.lmt-nav__list .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.lmt-nav__list .sub-menu a:hover { background: var(--lm-soft); }
.lmt-header__actions { display: flex; align-items: center; gap: 10px; }
.lmt-header-search { display: flex; align-items: center; border: 1px solid var(--lm-line); border-radius: 22px; padding-left: 14px; height: 44px; background: #fff; }
.lmt-header-search input { border: 0; outline: none; font: 400 14px var(--lm-font-body); width: 150px; background: transparent; }
.lmt-header-search button { border: 0; background: transparent; width: 44px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--lm-ink); }
.lmt-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--lm-line); border-radius: 22px; background: #fff; color: var(--lm-ink); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 960px) {
	.lmt-menu-toggle { display: inline-flex; }
	.lmt-nav { flex-basis: 100%; display: none; order: 3; }
	.lmt-nav.is-open { display: block; }
	.lmt-nav__list { flex-direction: column; gap: 0; }
	.lmt-nav__list a { padding: 12px 0; border-bottom: 1px solid var(--lm-line); display: block; }
	.lmt-nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.lmt-header__actions { flex-basis: 100%; order: 4; }
	.lmt-header-search { flex: 1 1 auto; }
	.lmt-header-search input { width: 100%; }
}

/* Breadcrumbs (also used by Rank Math / Yoast output) */
.lmt-breadcrumbs, .rank-math-breadcrumb, #breadcrumbs { font-size: 14px; color: var(--lm-muted); margin-bottom: 20px; }
.lmt-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lmt-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #B5ADA6; }
.lmt-breadcrumbs [aria-current] { color: var(--lm-ink); }

/* Cards */
.lmt-card { display: flex; flex-direction: column; gap: 12px; }
.lmt-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--lm-radius); overflow: hidden; background: var(--lm-photo); }
.lmt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.lmt-card:hover .lmt-card__media img { transform: scale(1.03); }
.lmt-card__placeholder { display: block; width: 100%; height: 100%; }
.lmt-card__title { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.3; }
.lmt-card__title a { color: var(--lm-ink); text-decoration: none; }
.lmt-card__title a:hover { color: var(--lm-accent-text); }
.lmt-card__meta { margin: 0; font-size: 13px; color: var(--lm-muted); }

/* Articles */
.lmt-article__head { padding-top: 32px; max-width: 900px; }
.lmt-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--lm-muted); }
.lmt-article__hero { margin-top: 28px; margin-bottom: 0; }
.lmt-article__hero img { width: 100%; border-radius: 20px; }
.lmt-article__hero figcaption { font-size: 13px; color: var(--lm-muted); margin-top: 8px; }
.lmt-article__body { max-width: 820px; padding-top: 32px; padding-bottom: 32px; }
.lmt-prose { font-size: 18px; line-height: 1.75; color: var(--lm-text); }
.lmt-prose h2 { font-size: 30px; font-weight: 800; margin-top: 1.6em; }
.lmt-prose h3 { font-size: 22px; font-weight: 600; margin-top: 1.4em; }
.lmt-prose img { border-radius: 14px; }
.lmt-prose figure { margin: 1.6em 0; }
.lmt-prose figcaption { font-size: 14px; color: var(--lm-muted); }
.lmt-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lm-accent); font-size: 20px; }
.lmt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.lmt-prose th, .lmt-prose td { border-bottom: 1px solid var(--lm-line); padding: 10px 12px; text-align: left; }
.lmt-tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lmt-tags a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--lm-soft); color: var(--lm-ink); text-decoration: none; font-size: 14px; }

/* Forms */
.lmt-search-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; margin: 20px 0; }
.lmt-search-form input[type="search"] { flex: 1 1 240px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid #D8D2CC; border-radius: 12px; font: 400 16px var(--lm-font-body); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
	font-family: var(--lm-font-body);
	font-size: 16px;
}

/* Comments */
.lmt-comment-list { padding-left: 0; list-style: none; }
.lmt-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--lm-line); }

/* Pagination */
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--lm-line); border-radius: 10px; color: var(--lm-ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--lm-ink); border-color: var(--lm-ink); color: #fff; }

/* Footer */
.lmt-footer { margin-top: 64px; background: var(--lm-ink); color: #D9D4CF; font-size: 14px; }
.lmt-footer a { color: #D9D4CF; text-decoration: none; }
.lmt-footer a:hover { color: #fff; text-decoration: underline; }
.lmt-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.lmt-footer__logo { display: inline-flex; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; }
.lmt-footer__logo .lmt-logo__img { height: 24px; }
.lmt-footer .lmt-footer__logo .lmt-logo--text { color: var(--lm-ink); font-size: 18px; }
.lmt-footer__brand p { margin: 0; line-height: 1.6; max-width: 320px; }
.lmt-footer-widget__title { font-family: var(--lm-font-body); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.lmt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lmt-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid #333; }
.lmt-footer__legal { flex-direction: row !important; flex-wrap: wrap; gap: 8px 20px !important; }

/* Misc */
.lmt-empty { padding: 40px; border-radius: var(--lm-radius); background: var(--lm-soft); }
.lmt-404 { text-align: left; max-width: 760px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--lm-muted); }
.sticky, .bypostauthor { position: relative; }

/* Elementor: let full-width Elementor pages run edge to edge */
.lmt-elementor-page .lmt-main > .elementor { width: 100%; }
