/*
Theme Name: AssuranceMM
Theme URI: https://www.assurancemedicationmanagement.com
Description: Child theme of Twenty Twenty-Five for Assurance Medication Management (2026 design). Colors, fonts and spacing live in theme.json; the few styles blocks can't express are below.
Author: Assurance Medication Management
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: assurancemm
*/

/* ==========================================================================
   Design details that blocks/theme.json can't express.
   Classes (amm-*) are set in each block's "Additional CSS class(es)" field.
   ========================================================================== */
:root{ --amm-header-h:78px; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{ overflow-x:hidden; -webkit-font-smoothing:antialiased; }
@media (prefers-reduced-motion: reduce){
	html{ scroll-behavior:auto; }
	*{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
.wp-site-blocks > * + *{ margin-block-start:0; }
.amm-main .entry-content > *, .amm-main .wp-block-post-content > *{ margin-block-start:0; margin-block-end:0; }
:where(.amm-section) p, :where(.amm-section) h1, :where(.amm-section) h2, :where(.amm-section) h3, :where(.amm-section) h4, :where(.amm-section) ul{ margin:0; }
.amm-section a:where(:not(.wp-element-button)){ color:inherit; }
/* When the page is reached by a menu link, keep the sticky header from covering the section */
.amm-section[id]{ scroll-margin-top:0; }

/* ---------- sections ---------- */
.amm-section{ padding-top:96px !important; padding-bottom:96px !important; }
.amm-hero{ padding-top:78px !important; padding-bottom:78px !important; overflow:hidden; }
.amm-stats{ padding-top:44px !important; padding-bottom:44px !important; }
.amm-head{ margin-bottom:56px !important; }
.amm-head > *{ max-width:640px; }
.amm-eyebrow{ font-family:var(--wp--preset--font-family--plex-mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--wp--preset--color--magenta);
	font-weight:600; display:flex; align-items:center; gap:10px; margin:0 0 18px !important; line-height:1.6; }
.amm-eyebrow::before{ content:""; width:22px; height:1.5px; background:currentColor; display:inline-block; flex-shrink:0; }
.amm-eyebrow-light{ color:#F7B8D6; }
.amm-sub{ color:var(--wp--preset--color--muted); font-size:16.5px; margin-top:16px !important; line-height:1.6; }
.amm-light{ color:#fff !important; }

/* ---------- buttons ---------- */
.wp-block-button .wp-block-button__link{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
	transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; text-decoration:none; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(229,16,108,.28); }
.wp-block-button.is-style-outline .wp-block-button__link{ background:transparent; color:var(--wp--preset--color--plum); border:1.5px solid var(--wp--preset--color--plum);
	padding:13px 26px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover{ background:var(--wp--preset--color--plum); color:#fff; border-color:var(--wp--preset--color--plum); }

/* ---------- hero ---------- */
.amm-h1 em{ font-style:normal; color:var(--wp--preset--color--magenta); }
.amm-lede{ font-size:18px; color:var(--wp--preset--color--muted); max-width:520px; margin:24px 0 34px !important; line-height:1.65; }
.amm-hero-actions{ gap:14px; }
.amm-hero-visual{ position:relative; }
.wp-block-columns.are-vertically-aligned-center > .wp-block-column:not([class*="is-vertically-aligned-"]){ align-self:center; }
/* match the design's line breaks (parent theme uses text-wrap:pretty on headings) */
.amm-main h1, .amm-main h2, .amm-main h3, .amm-main h4{ text-wrap:wrap; }
.amm-hero-photo{ position:relative; border-radius:6px; overflow:hidden; aspect-ratio:4/3.6; box-shadow:0 30px 60px -20px rgba(58,0,55,.35); margin:0 !important; }
.amm-hero-photo img{ width:100% !important; height:100% !important; object-fit:cover; object-position:center 20%; display:block; }
.amm-hero-photo::after{ content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(160deg, rgba(58,0,55,.28), rgba(229,16,108,.05) 55%, transparent 80%); }
.amm-badge{ position:absolute !important; top:-22px; right:-14px; z-index:3; background:#fff; border-radius:6px; padding:14px 18px; box-shadow:0 18px 40px -12px rgba(58,0,55,.28);
	font-family:var(--wp--preset--font-family--plex-mono); margin:0 !important; }
.amm-badge-n{ font-size:22px; font-weight:600; color:var(--wp--preset--color--magenta); line-height:1; }
.amm-badge-l{ font-size:10.5px; color:var(--wp--preset--color--muted); letter-spacing:.06em; text-transform:uppercase; margin-top:4px !important; line-height:1.6; }
.amm-pulse{ position:absolute; left:-40px; right:-40px; bottom:-34px; height:90px; pointer-events:none; z-index:2; }
.amm-pulse svg{ width:100%; height:100%; display:block; }
.amm-pulse .pulse-line{ fill:none; stroke:var(--wp--preset--color--magenta); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; opacity:.55;
	stroke-dasharray:600; stroke-dashoffset:600; animation:amm-draw 2.2s ease-out .3s forwards; }
@keyframes amm-draw{ to{ stroke-dashoffset:0; } }

/* ---------- stats band ---------- */
.amm-stats{ color:#fff; }
.amm-stats-cols{ margin-top:0 !important; margin-bottom:0 !important; }
.amm-stat{ padding:0 20px; border-left:1px solid rgba(255,255,255,.14); }
.amm-stat:first-child{ border-left:none; padding-left:0; }
.amm-num{ font-family:var(--wp--preset--font-family--plex-mono); font-size:clamp(24px,2.4vw,32px); font-weight:600; color:#fff; letter-spacing:-0.01em; }
.amm-num mark{ color:var(--wp--preset--color--magenta); }
.amm-lbl{ font-size:13px; color:#D9C4D6; margin-top:8px !important; line-height:1.4; }

/* ---------- audience cards ---------- */
.amm-card{ background:var(--wp--preset--color--paper-alt); border:1px solid var(--wp--preset--color--line); border-radius:8px; padding:38px 34px;
	transition:transform .25s ease, box-shadow .25s ease; }
.amm-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -16px rgba(58,0,55,.16); }
.amm-card-title{ font-size:21px !important; margin-bottom:14px !important; }
.amm-card-title::before{ content:""; display:block; width:44px; height:44px; border-radius:50%; margin-bottom:22px; background:var(--wp--preset--color--plum) center / 20px 20px no-repeat; }
.amm-ic-edit::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M9 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4'/%3E%3Cpath d='M18 2l4 4-11 11H7v-4z'/%3E%3C/svg%3E"); }
.amm-ic-heart::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
ul.amm-list{ list-style:none; margin:0; padding:0 !important; display:grid; gap:11px; }
ul.amm-list li{ font-size:14.5px; color:var(--wp--preset--color--ink); display:flex; gap:10px; align-items:flex-start; line-height:1.6; margin:0; }
ul.amm-list li::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--wp--preset--color--magenta); margin-top:8px; flex-shrink:0; }
.amm-more{ margin-top:16px !important; }
.amm-section .amm-more a{ color:var(--wp--preset--color--magenta); font-weight:600; }

/* ---------- why ---------- */
.amm-why-copy .amm-lead{ font-family:var(--wp--preset--font-family--source-serif); font-size:22px; color:var(--wp--preset--color--plum-deeper); line-height:1.4; font-weight:600; margin:0 0 18px !important; }
.amm-why-copy .amm-why-p{ font-size:16.5px; line-height:1.75; margin:0 0 18px !important; }
.amm-caps{ padding-top:8px; }
.amm-cap{ position:relative; padding-left:32px; }
.amm-cap + .amm-cap{ margin-top:22px !important; }
.amm-cap .amm-cnum{ position:absolute; left:0; top:0; font-family:var(--wp--preset--font-family--plex-mono); font-size:13px; color:var(--wp--preset--color--magenta); font-weight:600; padding-top:3px; }
.amm-cap h4{ font-size:16px; margin-bottom:5px !important; }
.amm-cap p:not(.amm-cnum){ font-size:14.5px; color:var(--wp--preset--color--muted); line-height:1.55; }

/* ---------- how it works ---------- */
.amm-step{ background:#fff; border:1px solid var(--wp--preset--color--line); border-radius:8px; padding:30px 24px; }
.amm-stepnum{ font-family:var(--wp--preset--font-family--plex-mono); font-size:13px; color:#fff; background:var(--wp--preset--color--magenta); width:30px; height:30px; border-radius:50%;
	display:flex; align-items:center; justify-content:center; margin-bottom:20px !important; font-weight:600; line-height:1; }
.amm-step h4{ font-size:16.5px; margin-bottom:10px !important; }
.amm-step p:not(.amm-stepnum){ font-size:13.5px; color:var(--wp--preset--color--muted); line-height:1.55; }
.amm-flow-note{ margin-top:36px !important; background:var(--wp--preset--color--plum-deeper); color:#fff; border-radius:8px; padding:22px 28px;
	font-family:var(--wp--preset--font-family--source-serif); font-size:17px; font-style:italic; text-align:center; }
.amm-flow-note strong{ font-style:normal; color:var(--wp--preset--color--magenta); }

/* ---------- results ---------- */
.amm-results-table{ overflow-x:auto; margin:0 !important; }
.amm-results-table table{ width:100%; min-width:520px; border-collapse:collapse; font-size:14.5px; table-layout:auto; border:0; }
.amm-results-table th, .amm-results-table td{ padding:14px 16px; text-align:center; border:0; border-bottom:1px solid var(--wp--preset--color--line); }
.amm-results-table th:first-child, .amm-results-table td:first-child{ text-align:left; }
.amm-results-table thead{ border:0; }
.amm-results-table thead th{ background:var(--wp--preset--color--plum-deeper); color:#fff; font-family:var(--wp--preset--font-family--plex-mono); font-size:12px; letter-spacing:.04em;
	text-transform:uppercase; font-weight:600; }
.amm-results-table tbody tr:last-child td{ color:var(--wp--preset--color--plum); font-weight:700; background:var(--wp--preset--color--lavender-tint); }
.amm-results-note{ font-size:13px; color:var(--wp--preset--color--muted); margin-top:18px !important; }
.amm-callout{ background:var(--wp--preset--color--magenta); color:#fff; border-radius:8px; padding:38px 32px; display:flex; flex-direction:column; justify-content:center; text-align:center; }
.amm-callout p{ font-size:14.5px; margin-top:14px !important; line-height:1.5; }
.amm-callout p.amm-big{ font-family:var(--wp--preset--font-family--plex-mono); font-size:56px; font-weight:600; line-height:1; margin-top:0 !important; }

/* ---------- network ---------- */
.amm-ncard{ background:#fff; border:1px solid var(--wp--preset--color--line); border-radius:8px; padding:30px 26px; }
.amm-tag{ font-family:var(--wp--preset--font-family--plex-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--wp--preset--color--magenta); margin-bottom:14px !important; }
.amm-ncard h3{ font-size:18px; margin-bottom:12px !important; line-height:1.3; }
.amm-ncard p:not(.amm-tag){ font-size:14.5px; color:var(--wp--preset--color--muted); line-height:1.6; }
.amm-network-note{ margin-top:28px !important; background:var(--wp--preset--color--plum-deeper); color:#fff; border-radius:8px; padding:20px 26px; font-size:14.5px; line-height:1.6; }

/* ---------- FAQ (Details blocks) ---------- */
.amm-faq-label{ font-family:var(--wp--preset--font-family--plex-mono) !important; font-size:13px !important; letter-spacing:.1em !important; text-transform:uppercase;
	color:var(--wp--preset--color--magenta) !important; margin-bottom:22px !important; font-weight:600; }
details.amm-faq{ border-bottom:1px solid var(--wp--preset--color--line); margin:0 !important; }
details.amm-faq > summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 0;
	font-family:var(--wp--preset--font-family--inter); font-size:15.5px; font-weight:600; color:var(--wp--preset--color--plum-deeper); line-height:1.4; }
details.amm-faq > summary::-webkit-details-marker{ display:none; }
details.amm-faq > summary::after{ content:"+"; font-size:20px; color:var(--wp--preset--color--magenta); font-weight:400; flex-shrink:0; line-height:1; transition:transform .25s ease; }
details.amm-faq[open] > summary::after{ transform:rotate(45deg); }
details.amm-faq > p{ font-size:14.5px; color:var(--wp--preset--color--muted); line-height:1.65; margin:0 0 18px !important; }

/* ---------- testimonials ---------- */
.amm-testimonials{ color:#fff; }
.amm-testi{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:8px; padding:34px; }
.amm-quote-mark{ font-family:var(--wp--preset--font-family--source-serif); font-size:44px; color:var(--wp--preset--color--magenta); line-height:1; margin-bottom:6px !important; }
.amm-quote{ font-size:15px; line-height:1.7; color:#EFE3EE; margin-bottom:20px !important; }
.amm-who{ font-family:var(--wp--preset--font-family--plex-mono); font-size:13px; color:#D9C4D6; }
.amm-who strong{ color:#fff; font-family:var(--wp--preset--font-family--inter); }

/* ---------- contact ---------- */
.amm-h2-contact{ font-size:clamp(26px,3vw,34px) !important; margin-bottom:18px !important; }
.amm-contact-copy{ color:var(--wp--preset--color--muted); font-size:16px; line-height:1.7; margin-bottom:28px !important; }
.amm-cline{ position:relative; padding-left:52px; min-height:38px; display:flex; flex-direction:column; justify-content:center; margin:0 0 16px !important;
	font-size:15px; color:var(--wp--preset--color--ink); font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.amm-cline br{ display:none; }
.amm-cline small{ display:block; font-size:12px; color:var(--wp--preset--color--muted); font-weight:400; margin-top:2px; line-height:1.4; }
.amm-cline::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; background:var(--wp--preset--color--lavender-tint) center / 16px 16px no-repeat; }
.amm-ic-phone::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0057' stroke-width='1.8'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.amm-ic-mail::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0057' stroke-width='1.8'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.amm-ic-pin::before{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C0057' stroke-width='1.8'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.amm-form-card{ background:#fff; border:1px solid var(--wp--preset--color--line); border-radius:10px; padding:36px; box-shadow:0 30px 60px -30px rgba(58,0,55,.25); }
.amm-form-fine{ font-size:12px; color:var(--wp--preset--color--muted); margin-top:14px !important; text-align:center; }
/* WPForms styled to match the design */
.amm-form-card .wpforms-container{ margin:0 !important; }
.amm-form-card .wpforms-container .wpforms-form .wpforms-field{ padding:0 !important; margin:0 0 18px !important; }
.amm-form-card .wpforms-container .wpforms-form .wpforms-field-label{ font-family:var(--wp--preset--font-family--inter) !important; font-size:13px !important; font-weight:600 !important;
	color:var(--wp--preset--color--plum-deeper) !important; margin:0 0 7px !important; line-height:1.6 !important; }
.amm-form-card .wpforms-container .wpforms-form .wpforms-required-label{ color:var(--wp--preset--color--magenta) !important; }
.amm-form-card .wpforms-container .wpforms-form input[type=text], .amm-form-card .wpforms-container .wpforms-form input[type=email],
.amm-form-card .wpforms-container .wpforms-form select, .amm-form-card .wpforms-container .wpforms-form textarea{
	width:100% !important; max-width:100% !important; border:1.5px solid var(--wp--preset--color--line) !important; border-radius:5px !important; padding:11px 13px !important;
	font-family:var(--wp--preset--font-family--inter) !important; font-size:14.5px !important; line-height:1.4 !important; color:var(--wp--preset--color--ink) !important;
	background-color:var(--wp--preset--color--paper-alt) !important; box-shadow:none !important; height:auto !important; transition:border-color .2s ease; }
.amm-form-card .wpforms-container .wpforms-form select{ padding-right:34px !important; }
.amm-form-card .wpforms-container .wpforms-form input:focus, .amm-form-card .wpforms-container .wpforms-form select:focus, .amm-form-card .wpforms-container .wpforms-form textarea:focus{
	outline:none !important; border-color:var(--wp--preset--color--magenta) !important; background-color:#fff !important; }
.amm-form-card .wpforms-container .wpforms-form textarea{ resize:vertical; min-height:90px !important; height:90px !important; }
.amm-form-card .wpforms-container .wpforms-form ::placeholder{ color:#8a7a88 !important; opacity:1; }
.amm-form-card .wpforms-container .wpforms-form .wpforms-submit-container{ padding:0 !important; margin:6px 0 0 !important; }
.amm-form-card .wpforms-container .wpforms-form button[type=submit]{ width:100% !important; display:flex !important; justify-content:center; align-items:center; background:var(--wp--preset--color--magenta) !important;
	color:#fff !important; border:1.5px solid var(--wp--preset--color--magenta) !important; border-radius:3px !important; padding:13px 26px !important; height:auto !important;
	font-family:var(--wp--preset--font-family--inter) !important; font-size:15px !important; font-weight:600 !important; line-height:1.6 !important; box-shadow:none !important;
	transition:transform .18s ease, box-shadow .18s ease; }
.amm-form-card .wpforms-container .wpforms-form button[type=submit]:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(229,16,108,.28) !important; }
.amm-form-card .wpforms-container .wpforms-form .wpforms-error, .amm-form-card .wpforms-container .wpforms-form label.wpforms-error{ color:var(--wp--preset--color--magenta) !important; font-size:12px !important; }
.amm-form-card .wpforms-confirmation-container-full{ background:var(--wp--preset--color--lavender-tint) !important; border:1px solid var(--wp--preset--color--line) !important; color:var(--wp--preset--color--ink) !important; border-radius:5px; }

/* ---------- For Patients ---------- */
.amm-pblock{ background:#fff; border:1px solid var(--wp--preset--color--line); border-radius:8px; padding:28px 26px; margin:0 0 18px !important; }
.amm-pblock h3{ font-size:18px; margin-bottom:12px !important; line-height:1.3; }
.amm-pblock p{ font-size:14.5px; color:var(--wp--preset--color--muted); margin:0 0 12px !important; line-height:1.65; }
.amm-pblock > :last-child{ margin-bottom:0 !important; }
.amm-pblock p.amm-mt{ margin-top:14px !important; }
.amm-pblock ul.amm-list{ gap:9px; }
.amm-pblock ul.amm-list li{ line-height:1.55; }
.amm-aside{ background:var(--wp--preset--color--plum-deeper); color:#fff; border-radius:8px; padding:32px 28px; position:sticky; top:96px; }
.admin-bar .amm-aside{ top:128px; }
.amm-aside h3{ font-size:22px; color:#fff; margin-bottom:12px !important; }
.amm-aside p{ font-size:14.5px; color:#EFE3EE; line-height:1.65; margin:0 0 16px !important; }
.amm-guide{ margin-top:8px !important; }
.amm-aside p.amm-pcall{ font-family:var(--wp--preset--font-family--plex-mono); font-size:14px; color:#fff; margin:18px 0 0 !important; }
.amm-aside .amm-pcall a{ color:#fff; text-decoration:underline; }

/* ---------- columns: design breakpoints (980px / 720px) ---------- */
.amm-stats-cols, .amm-steps{ flex-wrap:nowrap !important; }
@media (max-width: 980px){
	.wp-block-columns.amm-stack-980{ flex-wrap:wrap !important; }
	.wp-block-columns.amm-stack-980 > .wp-block-column{ flex-basis:100% !important; }
	.amm-hero-visual{ order:-1; max-width:440px; }
	.amm-hero{ padding-top:40px !important; }
	.wp-block-columns.amm-stats-cols{ flex-wrap:wrap !important; row-gap:28px !important; }
	.wp-block-columns.amm-stats-cols > .wp-block-column.amm-stat{ flex-basis:50% !important; flex-grow:0 !important; box-sizing:border-box; }
	.amm-stats-cols > .amm-stat:nth-child(3){ border-left:none; padding-left:0; }
	.wp-block-columns.amm-steps{ flex-wrap:wrap !important; }
	.wp-block-columns.amm-steps > .wp-block-column.amm-step{ flex-basis:calc(50% - 11px) !important; flex-grow:0 !important; }
	.amm-aside{ position:static; }
}
@media (max-width: 720px){
	body{ --wp--style--root--padding-left:22px; --wp--style--root--padding-right:22px; }
	.amm-section{ padding-top:64px !important; padding-bottom:64px !important; }
	.amm-hero{ padding-top:40px !important; padding-bottom:78px !important; }
	.amm-stats{ padding-top:44px !important; padding-bottom:44px !important; }
	.wp-block-columns.amm-steps > .wp-block-column.amm-step{ flex-basis:100% !important; }
}

/* ==========================================================================
   HEADER (template part "Header"): logo, Navigation block, Contact + Request a Demo buttons
   ========================================================================== */
.wp-site-blocks > header.wp-block-template-part:has(.amm-header), header.amm-site-header{ position:sticky; top:0; z-index:50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part:has(.amm-header), .admin-bar header.amm-site-header{ top:32px; }
@media (max-width:782px){ .admin-bar .wp-site-blocks > header.wp-block-template-part:has(.amm-header), .admin-bar header.amm-site-header{ top:46px; } }
@media (max-width:600px){ .admin-bar .wp-site-blocks > header.wp-block-template-part:has(.amm-header), .admin-bar header.amm-site-header{ top:0; } }
.amm-header{ background:rgba(253,251,251,.92); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid transparent;
	transition:border-color .25s ease, box-shadow .25s ease; }
/* backdrop-filter makes the header the containing block for the fixed mobile-menu overlay; drop it while the menu is open so the overlay covers the screen */
.amm-header:has(.wp-block-navigation__responsive-container.is-menu-open){ -webkit-backdrop-filter:none; backdrop-filter:none; background:var(--wp--preset--color--paper); }
.amm-header.is-scrolled{ border-bottom-color:var(--wp--preset--color--line); box-shadow:0 4px 24px rgba(43,10,41,.05); }
.amm-header-row{ height:var(--amm-header-h); gap:24px !important; }
.amm-logo{ flex-shrink:0; line-height:0; }
.amm-logo img{ height:34px !important; width:auto !important; }
.amm-nav{ flex:1 1 auto; font-family:var(--wp--preset--font-family--inter); font-size:14.5px; font-weight:500; letter-spacing:.01em; }
.amm-nav .wp-block-navigation__container{ gap:34px; justify-content:center; }
.amm-nav .wp-block-navigation-item__content{ color:var(--wp--preset--color--ink); text-decoration:none !important; position:relative; padding:4px 0 !important; white-space:nowrap; }
.amm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after{ content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
	background:var(--wp--preset--color--magenta); transition:right .22s ease; }
.amm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover::after{ right:0; }
.amm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .amm-nav-mobile-only{ display:none !important; }
.amm-header-cta{ flex-shrink:0; gap:18px !important; flex-wrap:nowrap !important; }
.amm-header-cta .amm-btn-demo .wp-block-button__link{ padding:10px 20px; font-size:14px; }
/* mobile menu overlay */
.amm-nav .wp-block-navigation__responsive-container.is-menu-open{ background:var(--wp--preset--color--paper) !important; padding:24px 22px 32px !important; }
.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ padding-top:56px !important; align-items:stretch !important; }
.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ gap:6px !important; align-items:stretch !important; width:100%; }
.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{ width:100%; }
.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ display:block; width:100%; font-family:var(--wp--preset--font-family--source-serif);
	font-size:24px; font-weight:400; color:var(--wp--preset--color--plum-deeper); padding:14px 0 !important; border-bottom:1px solid var(--wp--preset--color--line); letter-spacing:0; }
.amm-nav .wp-block-navigation__responsive-container-open, .amm-nav .wp-block-navigation__responsive-container-close{ color:var(--wp--preset--color--ink); }
.amm-nav .wp-block-navigation__responsive-container-open svg{ width:30px; height:30px; }
/* 1081-1199px: tighter spacing so the desktop header never bunches */
@media (min-width: 1081px) and (max-width: 1199px){
	.amm-header-row{ gap:16px !important; }
	.amm-logo img{ height:30px !important; }
	.amm-nav{ font-size:14px; }
	.amm-nav .wp-block-navigation__container{ gap:18px; }
	.amm-header-cta{ gap:10px !important; }
	.amm-header-cta .amm-btn-contact .wp-block-button__link{ padding:9px 16px; font-size:14px; }
	.amm-header-cta .amm-btn-demo .wp-block-button__link{ padding:10px 16px; }
}
/* <=1080px: menu collapses to the burger (6 links + 2 buttons don't fit below ~1080px) (core only does this below 600px) */
@media (min-width: 600px) and (max-width: 1080px){
	.amm-nav .wp-block-navigation__responsive-container-open:not(.always-shown){ display:flex !important; }
	.amm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){ display:none !important; }
	.amm-nav .wp-block-navigation__responsive-container.is-menu-open{ display:flex !important; position:fixed !important; inset:0 !important; width:100% !important; z-index:100000 !important; }
	.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{ display:flex !important; }
	.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ flex-direction:column !important; }
	.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.amm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{ width:100%; max-width:none; }
}
@media (max-width: 1080px){
	.amm-header-row{ gap:12px !important; }
	.amm-logo{ margin-right:auto; }
	.amm-nav{ order:3; flex:0 0 auto; }
	.amm-header-cta{ order:2; gap:12px !important; }
}
@media (max-width: 600px){
	.amm-header-cta .amm-btn-contact{ display:none; }
}
@media (max-width: 480px){
	.amm-logo img{ height:26px !important; }
	.amm-header-row{ gap:8px !important; }
	.amm-header-cta .amm-btn-demo .wp-block-button__link{ padding:9px 12px; font-size:13px; }
}
@media (max-width: 359px){ .amm-header-cta{ display:none !important; } }

/* ==========================================================================
   FOOTER (template part "Footer")
   ========================================================================== */
.amm-footer{ color:#D9C4D6; padding-top:56px; padding-bottom:28px; }
.amm-footer-top{ gap:32px !important; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
.amm-footer-logo{ margin:0 !important; }
.amm-footer-logo img{ height:28px !important; width:auto !important; }
.amm-footer-links{ gap:44px !important; }
.amm-footer-col h5{ font-family:var(--wp--preset--font-family--plex-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:#fff; margin:0 0 14px; font-weight:600; line-height:1.4; }
.amm-footer-col p{ margin:0; }
.amm-footer-col br{ display:none; }
.amm-footer-col a{ display:block; font-size:14px; color:#D9C4D6; text-decoration:none; margin-bottom:10px; }
.amm-footer-col a:hover{ color:#fff; }
.amm-footer-bottom{ padding-top:24px; font-size:12.5px; color:#9C7F98; gap:12px !important; }
.amm-footer-bottom p{ margin:0; }
@media (max-width: 720px){
	.amm-footer-top{ flex-direction:column; }
}
