/*
 * The shared header and footer (SSM_Site_Chrome). Everything is scoped to .ssc so the
 * theme's styles can't change it, and it can't change the page around it.
 */

.ssc {
	--ssc-ink: #0f1d33;
	--ssc-ink-2: #33415a;
	--ssc-muted: #5d6b82;
	--ssc-line: #e3e8f0;
	--ssc-soft: #f5f7fb;
	--ssc-pink: #e8508a;
	--ssc-pink-dark: #d7417b;
	--ssc-shadow: 0 1px 2px rgba(15, 29, 51, .06), 0 10px 30px rgba(15, 29, 51, .08);
	font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ssc-ink);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.ssc *, .ssc *::before, .ssc *::after { box-sizing: border-box; }
.ssc a { color: inherit; text-decoration: none; }
.ssc img { display: block; max-width: 100%; }
.ssc nav { display: flex; }
.ssc-wrap { width: min(1120px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 24px; }

/* Header */
.ssc-header { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ssc-line); }
.ssc-header .ssc-wrap { height: 72px; }
.ssc-header .ssc-logo img { height: 40px; width: auto; }
.ssc-nav { gap: 28px; margin-left: auto; }
.ssc-nav a { color: var(--ssc-ink-2); font-weight: 500; font-size: 15px; padding: 0; }
.ssc-nav a:hover { color: var(--ssc-ink); }
.ssc-actions { display: flex; gap: 10px; align-items: center; }
.ssc-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; border: 1.5px solid transparent; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.ssc-btn:hover { transform: translateY(-1px); }
.ssc-btn-primary { background: var(--ssc-pink); color: #fff !important; }
.ssc-btn-primary:hover { background: var(--ssc-pink-dark); }
.ssc-btn-ghost { background: #fff; border-color: var(--ssc-line); color: var(--ssc-ink) !important; }
.ssc-btn-ghost:hover { border-color: #c9d2df; }
.ssc a:focus-visible, .ssc summary:focus-visible { outline: 3px solid rgba(26, 127, 193, .35); outline-offset: 2px; border-radius: 6px; }
.ssc-menu { display: none; margin-left: auto; position: relative; }
.ssc-menu summary { list-style: none; cursor: pointer; padding: 10px; border-radius: 10px; border: 1px solid var(--ssc-line); line-height: 0; }
.ssc-menu summary::-webkit-details-marker { display: none; }
.ssc-menu summary svg { width: 22px; height: 22px; }
.ssc-menu nav { position: absolute; right: 0; top: 52px; z-index: 1000; flex-direction: column; background: #fff; border: 1px solid var(--ssc-line); border-radius: 12px; box-shadow: var(--ssc-shadow); padding: 8px; min-width: 220px; }
.ssc-menu nav a { padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.ssc-menu nav a:hover { background: var(--ssc-soft); }
.ssc-menu nav a.ssc-strong { font-weight: 700; color: var(--ssc-pink); }

/* Footer */
.ssc-footer { padding: 48px 0 40px; border-top: 1px solid var(--ssc-line); background: #fff; }
.ssc-footer .ssc-wrap { justify-content: space-between; flex-wrap: wrap; }
.ssc-footer .ssc-logo img { height: 32px; width: auto; }
.ssc-footer nav { gap: 22px; flex-wrap: wrap; }
.ssc-footer nav a { color: var(--ssc-ink-2); font-size: 15px; }
.ssc-footer small { color: var(--ssc-muted); font-size: 13px; }

@media (max-width: 980px) {
	.ssc .ssc-nav, .ssc .ssc-actions { display: none; }
	.ssc .ssc-menu { display: block; }
}
@media (max-width: 600px) {
	.ssc-header .ssc-logo img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.ssc-btn { transition: none; }
}

/* Inside Divi's Theme Builder: no section padding, and the header stays at the top. */
.et-l--header .ssm-chrome-wrap, .et-l--footer .ssm-chrome-wrap,
.ssm-chrome-wrap .et_pb_row, .ssm-chrome-wrap .et_pb_column, .ssm-chrome-wrap .et_pb_code { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; }
.ssm-chrome-wrap .et_pb_code_inner > p:empty { display: none; }
.et-l--header { position: sticky; top: 0; z-index: 999; }
body.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .et-l--header { top: 46px; }
}
/* The standalone homepage keeps its own sticky header. */
.ssc-standalone { position: sticky; top: 0; z-index: 10; }
