/* Style Italiano Endodontics — new header and footer on pages that stay on Oxygen.
   Everything is scoped under .si-chrome so the Oxygen page content is untouched. Generated from site.css. */
:root {
	--green: #013733;
	--green-2: #0b4a45;
	--green-soft: #e3ebe8;
	--red: #df051a;
	--paper: #fafaf7;
	--paper-2: #f1f0ea;
	--line: #d9dbd3;
	--line-strong: #b9c0b9;
	--ink: #013733;
	--muted: #4a5c59;          /* 6.6:1 on paper */
	--on-green: #fafaf7;
	--on-green-muted: #b9cdc8; /* 8.9:1 on green */

	--display: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--wrap: 1360px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 2px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}
.si-chrome, .si-chrome * { box-sizing: border-box; }
.si-chrome { font: 400 16px/1.6 var(--text); color: var(--ink); -webkit-font-smoothing: antialiased; }
.si-chrome a { color: inherit; }
.si-chrome img { display: block; max-width: 100%; height: auto; }
.si-chrome ul { list-style: none; margin: 0; padding: 0; }
.si-chrome h2 { margin: 0; }
.si-chrome p { margin: 0 0 1em; }
.si-chrome svg { display: inline-block; }
.si-chrome .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.si-chrome :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.si-chrome .site-footer :focus-visible { outline-color: var(--paper); }
.admin-bar .si-chrome .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.si-chrome .logo { display: flex; align-items: center; gap: 14px; flex: none; line-height: 0; text-decoration: none; }
.si-chrome .logo img { height: 60px; width: auto; }
.si-chrome .logo--footer img { height: 80px; }
.si-chrome .logo-name { font: 600 17px/1.15 var(--display); letter-spacing: -0.01em; color: var(--green); padding-left: 14px; border-left: 1px solid var(--line-strong); }
.si-chrome .logo-name span { display: block; }
@media (min-width: 1081px) and (max-width: 1279px) { .si-chrome .site-header .logo-name { display: none; } }
/* ---------- header ---------- */
.admin-bar .si-chrome .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.si-chrome .site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.si-chrome .site-header .wrap { display: flex; align-items: center; gap: 32px; height: 84px; }
.si-chrome .logo { display: flex; align-items: center; gap: 14px; flex: none; line-height: 0; text-decoration: none; }
.si-chrome .logo img { height: 60px; width: auto; }
.si-chrome .logo--footer img { height: 80px; }
.si-chrome .wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.si-chrome .wordmark b { font: 600 25px/1 var(--display); letter-spacing: -0.01em; }
.si-chrome .wordmark span { font: 600 11px/1 var(--text); letter-spacing: .32em; margin-top: 5px; color: var(--muted); }
.si-chrome .wordmark i { display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 7px; transform: translateY(-1px); }
.si-chrome .nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.si-chrome .nav a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 0; position: relative; white-space: nowrap; }
.si-chrome .nav a[aria-current="page"]::after, .si-chrome .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.si-chrome .nav a.ext::after { display: none; }
.si-chrome .nav a.ext svg { width: 11px; height: 11px; margin-left: 4px; vertical-align: 1px; }
.si-chrome .icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--green); cursor: pointer; flex: none; }
.si-chrome .icon-btn:hover { background: var(--green-soft); }
.si-chrome .icon-btn svg { width: 18px; height: 18px; }
.si-chrome .menu-btn { display: none; }
@media (max-width: 1080px) {
	.si-chrome .nav { display: none; }
	.si-chrome .menu-btn { display: inline-grid; }
	.si-chrome .site-header .icon-btn[href] { margin-left: auto; }
	.si-chrome .site-header .wrap { gap: 10px; height: 64px; }
	body.menu-open .si-chrome .nav { display: flex; position: fixed; inset: 64px 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px var(--gutter) 40px; overflow-y: auto; }
	body.menu-open .si-chrome .nav a { font: 600 28px/1.2 var(--display); padding: 16px 0; border-bottom: 1px solid var(--line); }
	body.menu-open .si-chrome .nav a::after { display: none; }
}

/* ---------- footer ---------- */
.si-chrome .site-footer { background: var(--green); color: var(--on-green); padding: clamp(56px, 7vw, 88px) 0 32px; }
.si-chrome .site-footer .top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.si-chrome .site-footer .wordmark span { color: var(--on-green-muted); }
.si-chrome .site-footer .wordmark i { background: var(--on-green-muted); }
/* Never red on green: focus ring turns paper on the green fields. */
.si-chrome .site-footer :focus-visible { outline-color: var(--paper); }
.si-chrome .site-footer .about { color: var(--on-green-muted); font-size: 15px; margin: 22px 0 0; max-width: 34ch; }
.si-chrome .site-footer h2 { font: 600 13px/1 var(--text); letter-spacing: .02em; color: var(--on-green-muted); margin: 6px 0 18px; }
.si-chrome .site-footer ul { list-style: none; margin: 0; padding: 0; }
.si-chrome .site-footer li { margin: 0 0 11px; }
.si-chrome .site-footer a { text-decoration: none; font-size: 15px; }
.si-chrome .site-footer a:hover { text-decoration: underline; }
.si-chrome .site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid rgb(250 250 247 / .16); margin-top: 56px; padding-top: 24px; font-size: 13.5px; color: var(--on-green-muted); }
.si-chrome .social { display: flex; gap: 8px; }
.si-chrome .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(250 250 247 / .25); border-radius: var(--radius); }
.si-chrome .social a:hover { background: rgb(250 250 247 / .08); }
.si-chrome .social svg { width: 17px; height: 17px; }

@media (max-width: 1080px) {
	.si-chrome .site-footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.si-chrome .site-footer .top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.si-chrome .logo img { height: 46px; }
	.si-chrome .logo { gap: 12px; }
	.si-chrome .logo-name { font-size: 15px; padding-left: 12px; }
	.si-chrome .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Hide Oxygen's own header, the Family ticker and the footer of the "Main" template. */
body.si-chrome-on #_header-47-3162, body.si-chrome-on #link-23-12358, body.si-chrome-on #section-26-12358 { display: none !important; }
body.si-chrome-on { padding-top: 0 !important; }

/* Sticky header on Oxygen pages. Two things blocked it: the wrapper div is only as tall as the header (sticky
   stays inside its parent), and Oxygen sets overflow-x: hidden on html/body (which turns them into scroll
   containers). The wrapper steps out of the layout; clip hides horizontal overflow without breaking sticky. */
.si-chrome:has(> .site-header) { display: contents; }
html:has(body.si-chrome-on), body.si-chrome-on { overflow-x: clip !important; }
