/*
Theme Name: La Manutrizionista
Description: Tema figlio professionale per il sito della D.ssa Anna Lama.
Author: La Manutrizionista
Template: nextawards
Version: 1.0.1
Text Domain: lamanutrizionista
*/

:root {
  --lm-ink: #20332d;
  --lm-muted: #607069;
  --lm-sage: #789786;
  --lm-sage-dark: #44695b;
  --lm-cream: #f8f4ec;
  --lm-paper: #fffdf9;
  --lm-peach: #d8896d;
  --lm-line: rgba(32, 51, 45, .13);
  --lm-shadow: 0 22px 60px rgba(45, 67, 59, .12);
}

html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { max-width: 100%; background: var(--lm-paper); color: var(--lm-ink); font-family: "Helvetica Neue", Arial, sans-serif; overflow-x: clip; }
body.home .spacer { display: none; }
a { color: var(--lm-sage-dark); }
.header { background: rgba(255, 250, 242, .97); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(70, 87, 78, .07); }
.header__content { border-color: rgba(216, 137, 109, .28); }
.menu li a { color: var(--lm-ink); letter-spacing: .02em; }
.menu li a:hover { color: var(--lm-peach); }
.menu .lm-menu-booking a { margin-left: 8px; padding: 11px 17px; border-radius: 999px; background: var(--lm-sage-dark); color: #fff; }
.menu .lm-menu-booking a:hover { background: var(--lm-ink); color: #fff; }
.header__logo-img, .header__logo_white-img { max-height: 64px; object-fit: contain; }

.lm-home { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.lm-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.lm-section { padding: clamp(72px, 9vw, 118px) 0; }
.lm-kicker { color: var(--lm-peach); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lm-title { max-width: 780px; margin: 12px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 5vw, 4.4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.lm-section-title { margin: 10px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.lm-lead { max-width: 690px; color: var(--lm-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; }
.lm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid var(--lm-sage-dark); border-radius: 999px; background: var(--lm-sage-dark); color: #fff; font-weight: 700; transition: .2s ease; }
.lm-button:hover { background: var(--lm-ink); color: #fff; transform: translateY(-2px); }
.lm-button--ghost { background: transparent; color: var(--lm-ink); }
.lm-button--ghost:hover { background: var(--lm-cream); color: var(--lm-ink); }
.lm-button:focus-visible, .menu a:focus-visible, .icon-hamburger:focus-visible, .lm-breadcrumb a:focus-visible, .lm-section-links a:focus-visible, .footer-container a:focus-visible, .lm-contact-form input:focus-visible, .lm-contact-form textarea:focus-visible { outline: 3px solid var(--lm-peach); outline-offset: 4px; }
[id] { scroll-margin-top: 105px; }

.lm-hero { position: relative; min-height: 760px; display: grid; align-items: center; padding: 170px 0 100px; background: radial-gradient(circle at 88% 10%, rgba(216,137,109,.18), transparent 28%), linear-gradient(135deg, #fffdf9 0%, #f8f4ec 100%); }
.lm-hero::after { content: ""; position: absolute; right: -10vw; bottom: -25vw; width: 54vw; height: 54vw; border: 1px solid rgba(68,105,91,.13); border-radius: 50%; }
.lm-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.lm-hero__content { max-width: 720px; }
.lm-hero__portrait { position: relative; width: min(100%, 450px); justify-self: end; padding: 0 14px 14px 0; }
.lm-hero__portrait img { position: relative; z-index: 2; display: block; width: 100%; aspect-ratio: 4/5; border: 8px solid rgba(255,253,249,.9); border-radius: 26px; object-fit: cover; object-position: center 28%; box-shadow: var(--lm-shadow); }
.lm-hero__shape { position: absolute; z-index: 1; inset: 18px 0 0 18px; border-radius: 26px; background: #cbdcd1; }
.lm-hero__credential { position: absolute; z-index: 3; right: -12px; bottom: -16px; width: 200px; padding: 15px 18px; border: 1px solid rgba(216,137,109,.2); border-radius: 14px; background: rgba(255,253,249,.96); box-shadow: 0 12px 30px rgba(32,51,45,.14); backdrop-filter: blur(10px); }
.lm-hero__credential span { display: block; margin-bottom: 4px; color: var(--lm-peach); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lm-hero__credential strong { font-family: Georgia, serif; font-size: 1rem; font-weight: 400; line-height: 1.3; }
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lm-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; color: var(--lm-muted); }
.lm-trust li::before { content: "✓"; margin-right: 8px; color: var(--lm-peach); font-weight: 800; }

.lm-intro { position: relative; z-index: 2; background: var(--lm-cream); }
.lm-intro__header { max-width: 920px; margin-bottom: clamp(36px, 5vw, 58px); }
.lm-intro__header .lm-section-title { margin-bottom: 0; }
.lm-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 8vw, 110px); align-items: start; }
.lm-intro__content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 90px); align-items: center; }
.lm-intro__copy { max-width: 590px; }
.lm-quote { padding-left: 28px; border-left: 2px solid var(--lm-peach); color: var(--lm-muted); font-size: 1.18rem; line-height: 1.75; }
.lm-quote + p { margin-top: 25px; color: var(--lm-muted); line-height: 1.75; }
.lm-approach-image { position: relative; margin: 0; }
.lm-approach-image::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 22px; background: #dce7df; }
.lm-approach-image img { position: relative; display: block; width: 100%; aspect-ratio: 4/3; border-radius: 22px; object-fit: cover; object-position: center 58%; box-shadow: 0 14px 34px rgba(45,67,59,.12); }
.lm-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lm-tags span { padding: 9px 14px; border: 1px solid var(--lm-line); border-radius: 999px; background: rgba(255,255,255,.55); font-size: .9rem; }
.lm-context-link { margin-top: 28px; font-weight: 700; }
.lm-context-link a, .lm-section-links a { text-underline-offset: 4px; }

.lm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lm-card { overflow: hidden; border: 1px solid var(--lm-line); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(32,51,45,.03); }
.lm-card__image { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; transition: transform .45s ease; }
.lm-card:hover .lm-card__image { transform: scale(1.025); }
.lm-card__body { padding: 28px 30px 32px; }
.lm-card__number { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 24px; border-radius: 50%; background: var(--lm-cream); color: var(--lm-peach); font-weight: 800; }
.lm-card h3 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.lm-card p { margin: 0; color: var(--lm-muted); line-height: 1.65; }
.lm-section-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-weight: 700; }

.lm-approach { background: var(--lm-sage-dark); color: #fff; }
.lm-approach .lm-kicker { color: #efb09a; }
.lm-approach .lm-lead { color: rgba(255,255,255,.76); }
.lm-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.18); }
.lm-step { padding: 36px; background: var(--lm-sage-dark); }
.lm-step strong { color: #efb09a; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.lm-step h3 { margin: 18px 0 10px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.lm-step p { color: rgba(255,255,255,.72); line-height: 1.65; }

.lm-booking { background: #f3f7f2; }
.lm-booking__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(42px, 8vw, 100px); align-items: center; }
.lm-booking__widget { min-height: 330px; display: grid; place-items: center; padding: clamp(22px, 4vw, 42px); border: 1px solid rgba(64,88,78,.12); border-radius: 26px; background: #fff; box-shadow: var(--lm-shadow); }
.lm-booking__widget > iframe, .lm-booking__widget > div { max-width: 100% !important; }
.lm-booking__widget .zl-url { display: inline-flex; min-height: 52px; align-items: center; padding: 13px 24px; border-radius: 999px; background: var(--lm-sage-dark); color: #fff; font-weight: 700; text-align: center; }

.lm-posts { background: var(--lm-cream); }
.lm-post-card { overflow: hidden; border-radius: 20px; background: #fff; }
.lm-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lm-post-card__body { padding: 25px; }
.lm-post-card h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.lm-post-card h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.lm-post-card p { color: var(--lm-muted); }
.lm-post-meta { margin-bottom: 9px !important; color: var(--lm-peach) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lm-read-more { font-weight: 700; }

.lm-page { width: 100vw; min-height: 65vh; margin-left: calc(50% - 50vw); background: var(--lm-paper); }
.lm-page-hero { padding: 64px 0 52px; background: radial-gradient(circle at 85% 20%, rgba(216,137,109,.16), transparent 30%), var(--lm-cream); }
.lm-page-hero .lm-section-title { max-width: 820px; }
.lm-breadcrumb { margin-bottom: 25px; color: var(--lm-muted); font-size: .88rem; }
.lm-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lm-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--lm-peach); }
.lm-breadcrumb a { color: inherit; text-underline-offset: 3px; }
.lm-page > .lm-section { padding-top: 72px; }
.lm-contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.lm-contact-note { padding: 32px; border-radius: 22px; background: #e8efe8; }
.lm-contact-note h2, .lm-contact-form h2 { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.lm-contact-note p { color: var(--lm-muted); line-height: 1.7; }
.lm-contact-note .lm-contact-related { margin-top: 26px; font-size: .95rem; }
.lm-contact-form { padding: clamp(28px, 5vw, 50px); border: 1px solid var(--lm-line); border-radius: 22px; background: #fff; box-shadow: var(--lm-shadow); }
.lm-contact-form label { display: block; color: var(--lm-ink); font-weight: 700; }
.lm-contact-form input:not([type="submit"]), .lm-contact-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid rgba(64,88,78,.25); border-radius: 10px; background: #fffdf9; font: inherit; }
.lm-contact-form input:focus, .lm-contact-form textarea:focus { border-color: var(--lm-sage-dark); outline: 3px solid rgba(68,105,91,.12); }
.lm-contact-form input[type="submit"] { min-height: 50px; padding: 12px 25px; border: 0; border-radius: 999px; background: var(--lm-sage-dark); color: #fff; font-weight: 700; cursor: pointer; }
.lm-contact-form input[type="submit"]:hover { background: var(--lm-ink); }
.lm-archive-grid { align-items: stretch; }
.lm-archive-page .lm-page-hero { padding-bottom: 40px; }
.lm-archive-page .lm-posts { padding-top: 44px; }
.lm-archive-grid .lm-post-card { display: flex; flex-direction: column; }
.lm-archive-grid .lm-post-card__body { flex: 1; display: flex; flex-direction: column; }
.lm-archive-grid .lm-read-more { margin-top: auto; }
.lm-pagination { margin-top: 45px; }
.lm-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-pagination .page-numbers { display: inline-grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border: 1px solid var(--lm-line); border-radius: 50px; background: #fff; }
.lm-pagination .current { background: var(--lm-sage-dark); color: #fff; }
.lm-article-meta { color: var(--lm-muted); font-size: .92rem; }
.lm-author-box { margin: 34px 0 20px; padding: 24px 26px; border: 1px solid var(--lm-line); border-left: 4px solid var(--lm-sage-dark); border-radius: 14px; background: var(--lm-cream); }
.lm-author-box h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.lm-author-box p { margin: 0; color: var(--lm-muted); }
.lm-medical-note { margin: 18px 0 30px; color: var(--lm-muted); font-size: .9rem; line-height: 1.65; }
.lm-prose { max-width: 820px; }
.lm-prose h2 { margin: 48px 0 16px; font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 400; }
.lm-prose h2:first-child { margin-top: 0; }
.lm-prose p, .lm-prose li { color: var(--lm-muted); font-size: 1.08rem; line-height: 1.8; }
.lm-prose ul { display: grid; gap: 9px; padding-left: 22px; }
.lm-info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--lm-line); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.wrapper > .footer-container { width: 100vw; margin: 0 calc(50% - 50vw); padding: 42px max(4vw, 24px); background-color: #e8efe8 !important; color: #40584e; }
.footer-container hr { border-color: rgba(64, 88, 78, .2); }
.footer-container h4, .footer-container .lm-footer-title { color: #29483c; }
.footer-container .lm-footer-title { font-family: inherit; font-size: 1rem; font-weight: 700; }
.footer-container a { color: #355f50; }
.footer-container a:hover { color: #b8664f; }
.lm-footer-icon { display: inline-grid; width: 22px; height: 22px; place-items: center; margin-right: 5px; border-radius: 50%; background: var(--lm-sage-dark); vertical-align: -6px; }
.lm-footer-icon svg { width: 14px; height: 14px; fill: #fff; }
.footer-container p { font-size: .9rem; }

@media (max-width: 900px) {
	.lm-hero { min-height: auto; padding: 145px 0 90px; }
	.lm-hero__grid { grid-template-columns: 1fr; }
	.lm-hero__content { max-width: 760px; }
	.lm-hero__portrait { width: min(82%, 430px); justify-self: center; margin-top: 20px; }
	.lm-split, .lm-grid, .lm-process, .lm-booking__layout { grid-template-columns: 1fr; }
	.lm-booking__widget { min-height: 280px; }
	.lm-contact-layout { grid-template-columns: 1fr; }
	.menu .lm-menu-booking a { margin: 8px 0 0; text-align: center; }
  .lm-process { gap: 1px; }
}

@media (max-width: 560px) {
	.lm-container { width: min(100% - 28px, 1180px); }
	.lm-hero { padding-top: 120px; }
	.lm-title { font-size: clamp(2.15rem, 11vw, 2.45rem); line-height: 1.06; }
	.lm-section { padding: 64px 0; }
	.lm-section-title { font-size: 2rem; }
	.lm-lead { font-size: 1rem; line-height: 1.65; }
	.lm-hero__actions .lm-button { width: 100%; }
	.lm-hero__portrait { width: calc(100% - 18px); padding: 0 10px 10px 0; }
	.lm-hero__credential { right: -2px; bottom: -28px; width: 180px; }
	.lm-card__body, .lm-step { padding: 26px; }
	.lm-booking__widget { min-height: 0; padding: 18px 12px; }
	.lm-contact-form, .lm-contact-note { padding: 24px 20px; }
	.lm-page-hero { padding: 44px 0 34px; }
	.lm-page > .lm-section { padding-top: 50px; }
	.lm-archive-page .lm-page-hero { padding-bottom: 28px; }
	.lm-archive-page .lm-posts { padding-top: 30px; }
	.lm-info-actions .lm-button { width: 100%; }
	.footer-container .grid { gap: 4px; }
	.header__logo-img, .header__logo_white-img { max-width: 120px; }
}

@media (max-width: 360px) {
	.lm-container { width: min(100% - 22px, 1180px); }
	.lm-title { font-size: 2.05rem; }
	.lm-hero__credential { position: relative; right: auto; bottom: auto; width: calc(100% - 18px); margin: -14px auto 0; }
}
