/* Start with Max: NewseBlog child styles. Direction: Ink & Signal Orange. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
	/* Palette */
	--swm-ink: #0E1116;          /* dark surfaces, headings */
	--swm-ink-2: #171B22;        /* raised dark surfaces */
	--swm-ink-3: #232833;        /* dark borders */
	--swm-bg: #F6F4EF;           /* page */
	--swm-stone: #EDEAE3;        /* alternate sections */
	--swm-card: #FFFFFF;
	--swm-line: #E3DED3;
	--swm-text: #14161A;
	--swm-muted: #5F636A;
	--swm-on-dark: #F6F4EF;
	--swm-on-dark-muted: #A7ABB3;
	--swm-accent: #FF5A1F;       /* signal orange: fills, accents on dark */
	--swm-accent-hover: #FF7A45;
	--swm-accent-ink: #B8380A;   /* orange for small text on light */

	/* Legacy aliases used by templates */
	--swm-navy: var(--swm-ink);
	--swm-blue: var(--swm-accent);
	--swm-soft: var(--swm-stone);

	--swm-radius: 18px;
	--swm-radius-sm: 12px;
	--swm-pill: 999px;
	--swm-shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px -12px rgba(14, 17, 22, .18);
	--swm-shadow-lg: 0 2px 4px rgba(14, 17, 22, .05), 0 30px 60px -20px rgba(14, 17, 22, .35);
	--swm-font: "Manrope", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
	--swm-display: "Sora", "Manrope", -apple-system, system-ui, sans-serif;
	--swm-ease: cubic-bezier(.2, .7, .2, 1);
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.swm { background: var(--swm-bg); font-family: var(--swm-font); color: var(--swm-text); font-size: 16.5px; line-height: 1.65; }
body.swm :where(button, input, select, textarea) { font-family: var(--swm-font); }
body.swm :where(h1, h2, h3, h4, h5, h6) { font-family: var(--swm-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: inherit; }
body.swm :where(h1) { letter-spacing: -.035em; }
body.swm ::selection { background: var(--swm-accent); color: var(--swm-ink); }
:where(body.swm) a { color: var(--swm-text); text-decoration-color: var(--swm-accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:where(body.swm) a:hover { color: var(--swm-accent-ink); }
/* Links inside dark or orange sections follow the section text colour. */
body.swm .has-background:is([style*="#0e1116"], [style*="#0E1116"]) a:not(.wp-block-button__link):not(.swm-dm__btn) { color: var(--swm-on-dark); }
body.swm .has-background:is([style*="#ff5a1f"], [style*="#FF5A1F"]) a:not(.wp-block-button__link):not(.swm-dm__btn) { color: var(--swm-ink); text-decoration-color: var(--swm-ink); }
body.swm :focus-visible { outline: 2px solid var(--swm-accent); outline-offset: 3px; }

.swm-container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; width: 100%; }
@media (min-width: 1240px) { .swm-container { padding-inline: 0; } }

html body.swm:not([class*=elementor-page-]) .main-section { max-width: 1180px; padding-inline: 20px; box-sizing: border-box; margin-block: 2.5rem 4rem; }
@media (min-width: 1240px) { html body.swm:not([class*=elementor-page-]) .main-section { padding-inline: 0; } }

.swm-ico { flex: none; vertical-align: middle; }

/* ---------- Top bar ---------- */
.swm-topbar { background: var(--swm-ink); color: var(--swm-on-dark-muted); font-size: 13.5px; }
.swm-topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.swm-topbar__label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; background: var(--swm-accent); color: var(--swm-ink); font-weight: 700; border-radius: var(--swm-pill); font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; }
.swm-ticker { flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.swm-ticker__track { display: inline-flex; gap: 56px; white-space: nowrap; animation: swm-ticker 55s linear infinite; }
.swm-ticker:hover .swm-ticker__track, .swm-ticker:focus-within .swm-ticker__track { animation-play-state: paused; }
body.swm .swm-ticker__item { color: var(--swm-on-dark); text-decoration: none; opacity: .85; }
body.swm .swm-ticker__item::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--swm-accent); margin-right: 12px; vertical-align: middle; }
body.swm .swm-ticker__item:hover { color: var(--swm-accent); opacity: 1; }
@keyframes swm-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .swm-ticker__track { animation: none; } }
.swm-topbar__date { white-space: nowrap; }
.swm-topbar__social { display: inline-flex; gap: 14px; padding-left: 18px; border-left: 1px solid var(--swm-ink-3); }
body.swm .swm-topbar__social a { color: var(--swm-on-dark-muted); display: inline-flex; }
body.swm .swm-topbar__social a:hover { color: var(--swm-accent); }

/* ---------- Header ---------- */
.swm-header { background: var(--swm-bg); padding-bottom: 18px; position: relative; z-index: 30; }
.swm-brandrow { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 22px; }
.swm-brand { flex: none; }
body.swm .swm-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--swm-ink); }
.swm-logo__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--swm-ink); color: var(--swm-accent); font-family: var(--swm-display); font-weight: 700; font-size: 19px; letter-spacing: -.04em; position: relative; }
.swm-logo__badge::after { content: ""; position: absolute; right: -3px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--swm-accent); box-shadow: 0 0 0 3px var(--swm-bg); }
.swm-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.swm-logo__name { white-space: nowrap; font-family: var(--swm-display); font-size: 27px; font-weight: 700; letter-spacing: -.04em; color: var(--swm-ink); }
.swm-logo__tag { font-size: 13.5px; color: var(--swm-muted); margin-top: 5px; letter-spacing: .01em; }
.swm-brand .custom-logo { max-height: 72px; width: auto; }

body.swm .swm-banner {
	flex: 0 1 660px; min-height: 86px; border-radius: var(--swm-radius); text-decoration: none; color: var(--swm-on-dark);
	display: flex; flex-direction: column; justify-content: center; padding: 14px 26px; position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(95deg, var(--swm-ink) 0%, var(--swm-ink) 48%, rgba(14, 17, 22, .55) 72%, rgba(14, 17, 22, .1) 100%), var(--swm-banner-img) right 30% / 46% auto no-repeat, var(--swm-ink);
	box-shadow: var(--swm-shadow);
	transition: transform .35s var(--swm-ease), box-shadow .35s var(--swm-ease);
}
body.swm .swm-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 0% 0%, rgba(255, 90, 31, .28), transparent 60%); }
body.swm .swm-banner:hover { transform: translateY(-2px); box-shadow: var(--swm-shadow-lg); color: var(--swm-on-dark); }
.swm-banner__kicker { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--swm-accent); }
.swm-banner__kicker::after { content: ""; width: 70px; height: 1px; background: currentColor; opacity: .6; }
.swm-banner__title { font-family: var(--swm-display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }

/* ---------- Nav bar ---------- */
.swm-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--swm-ink); border-radius: var(--swm-pill); min-height: 60px; padding: 6px 6px 6px 8px; box-shadow: var(--swm-shadow); }
.swm-menu { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.swm-menu::-webkit-scrollbar { display: none; }
.swm-menu > li { display: flex; position: relative; }
body.swm .swm-menu > li > a { display: flex; align-items: center; min-height: 46px; padding: 0 18px; color: var(--swm-on-dark-muted); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border-radius: var(--swm-pill); transition: color .2s ease, background .2s ease; }
body.swm .swm-menu > li > a:hover { color: var(--swm-on-dark); background: var(--swm-ink-2); }
body.swm .swm-menu > li.current-menu-item > a, body.swm .swm-menu > li.current_page_item > a, body.swm .swm-menu > li.current-page-ancestor > a { background: var(--swm-on-dark); color: var(--swm-ink); }
.swm-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--swm-card); list-style: none; margin: 0; padding: 8px; border-radius: var(--swm-radius-sm); box-shadow: var(--swm-shadow-lg); z-index: 20; }
.swm-menu li:hover > .sub-menu, .swm-menu li:focus-within > .sub-menu { display: block; }
body.swm .swm-menu .sub-menu a { display: block; padding: 8px 12px; color: var(--swm-text); text-decoration: none; border-radius: 8px; }
.swm-nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.swm-search { position: relative; }
.swm-search summary { list-style: none; cursor: pointer; color: var(--swm-on-dark-muted); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; transition: background .2s ease, color .2s ease; }
.swm-search summary:hover, .swm-search[open] summary { background: var(--swm-ink-2); color: var(--swm-on-dark); }
.swm-search summary::-webkit-details-marker { display: none; }
.swm-search summary .swm-ico { width: 18px; height: 18px; }
.swm-search form { position: absolute; right: 0; top: calc(100% + 14px); z-index: 30; background: var(--swm-card); padding: 10px; border-radius: var(--swm-radius-sm); box-shadow: var(--swm-shadow-lg); }
.swm-search input { width: 260px; border: 1px solid var(--swm-line); padding: 10px 14px; border-radius: var(--swm-pill); background: var(--swm-bg); }

/* ---------- Badges & meta ---------- */
.swm-badge { display: inline-flex; align-items: center; align-self: flex-start; background: var(--swm-accent); color: var(--swm-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; padding: 7px 11px; border-radius: var(--swm-pill); }
.swm-badge--hot { background: rgba(246, 244, 239, .14); color: var(--swm-on-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(246, 244, 239, .25); }
.swm-card__meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.swm-card__meta .swm-ico { width: 14px; height: 14px; }

/* ---------- Feature grid ---------- */
.swm-home { padding-top: 22px; }
.swm-feature { display: grid; grid-template-columns: 1fr 2.05fr 1fr; gap: 22px; align-items: stretch; }
.swm-feature__col { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; min-width: 0; }

body.swm .swm-card { display: flex; flex-direction: column; text-decoration: none; color: var(--swm-text); border-radius: var(--swm-radius); overflow: hidden; min-width: 0; }
.swm-card__title { font-family: var(--swm-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swm-card__media { display: block; background: var(--swm-ink) center / cover no-repeat; transition: transform .8s var(--swm-ease); }

body.swm .swm-card--overlay { position: relative; min-height: 250px; justify-content: flex-end; color: var(--swm-on-dark); box-shadow: var(--swm-shadow); isolation: isolate; }
.swm-card--overlay .swm-card__media { position: absolute; inset: 0; z-index: -2; }
.swm-card--overlay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 17, 22, 0) 25%, rgba(14, 17, 22, .88) 100%); }
.swm-card--overlay .swm-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.swm-card--overlay:hover .swm-card__media { transform: scale(1.06); }
body.swm .swm-card--overlay:hover { color: var(--swm-on-dark); }

body.swm .swm-card--stack { background: var(--swm-card); box-shadow: var(--swm-shadow); padding: 10px; }
.swm-card--stack .swm-card__media { aspect-ratio: 16 / 10; border-radius: var(--swm-radius-sm); position: relative; overflow: hidden; }
.swm-card--stack .swm-card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 8px 8px; }
.swm-card--stack .swm-card__meta { color: var(--swm-muted); }
.swm-card--stack:hover .swm-card__media { transform: scale(1.03); }
body.swm .swm-card--stack:hover .swm-card__title { color: var(--swm-accent-ink); }

.swm-card--art .swm-card__media { display: grid; place-items: center; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 90, 31, .55) 0%, var(--swm-ink) 60%); }
.swm-card--art-about .swm-card__media { background: radial-gradient(120% 120% at 0% 100%, rgba(255, 90, 31, .45) 0%, var(--swm-ink) 60%); }
.swm-art { display: flex; flex-direction: column; align-items: center; color: var(--swm-on-dark); }
.swm-art__big { font-family: var(--swm-display); font-size: 54px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.swm-art__small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--swm-accent); margin-top: 10px; font-weight: 700; }

/* Centre hero card */
.swm-hero { position: relative; border-radius: calc(var(--swm-radius) + 6px); min-height: 540px; display: flex; align-items: flex-end; background: var(--swm-ink) center 30% / cover no-repeat; color: var(--swm-on-dark); box-shadow: var(--swm-shadow-lg); isolation: isolate; }
.swm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(14, 17, 22, .1) 0%, rgba(14, 17, 22, .45) 30%, rgba(14, 17, 22, .9) 62%, rgba(14, 17, 22, .98) 100%), radial-gradient(80% 60% at 0% 100%, rgba(255, 90, 31, .35), transparent 70%); }
.swm-hero__body { display: flex; flex-direction: column; gap: 16px; padding: 40px 44px; }
.swm-hero__title { margin: 0; color: var(--swm-on-dark); font-size: 50px; line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }
.swm-hero__intro { margin: 0; font-size: 17px; line-height: 1.55; max-width: 32em; color: rgba(246, 244, 239, .82); }
.swm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.swm .swm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--swm-pill); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s var(--swm-ease); }
body.swm .swm-btn--blue { background: var(--swm-accent); color: var(--swm-ink); }
body.swm .swm-btn--blue:hover { background: var(--swm-accent-hover); color: var(--swm-ink); transform: translateY(-1px); }
body.swm .swm-btn--ghost { color: var(--swm-on-dark); box-shadow: inset 0 0 0 1.5px rgba(246, 244, 239, .35); }
body.swm .swm-btn--ghost:hover { background: var(--swm-on-dark); color: var(--swm-ink); }
.swm-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--swm-accent); color: var(--swm-ink); font-size: 13px; font-weight: 700; }
.swm-hero__meta { color: rgba(246, 244, 239, .8); }

/* Step strip */
.swm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-block: 28px 8px; padding: 14px; background: var(--swm-card); border-radius: calc(var(--swm-radius) + 6px); box-shadow: var(--swm-shadow); box-sizing: border-box; }
body.swm .swm-step { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--swm-text); min-width: 0; padding: 12px; border-radius: var(--swm-radius-sm); transition: background .2s ease; }
body.swm .swm-step:hover { background: var(--swm-bg); color: var(--swm-text); }
.swm-step__num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--swm-accent); font-family: var(--swm-display); font-size: 18px; font-weight: 700; background: var(--swm-ink); transition: transform .3s var(--swm-ease), background .3s ease, color .3s ease; }
.swm-step__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.swm-step__title { font-family: var(--swm-display); font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.swm-step .swm-card__meta { color: var(--swm-muted); font-size: 12.5px; font-weight: 500; }
.swm-step:hover .swm-step__num { background: var(--swm-accent); color: var(--swm-ink); transform: rotate(-6deg); }

.swm-home__content { padding-block: 28px 64px; }
.swm-home__content > *:first-child { margin-top: 0; }

/* ---------- Page content polish (block editor sections) ---------- */
body.swm .main-section > .wp-block-group, body.swm .swm-home__content > .wp-block-group { margin-bottom: 22px !important; }
body.swm :is(.main-section, .swm-home__content, .entry-content) :is(h2.wp-block-heading) { font-size: clamp(28px, 3.2vw, 40px); }
body.swm :is(.main-section, .swm-home__content) h1.wp-block-heading { font-size: clamp(34px, 4.6vw, 56px) !important; }
body.swm .wp-block-button__link { border-radius: var(--swm-pill) !important; padding: 13px 24px; font-weight: 700; transition: transform .2s var(--swm-ease), filter .2s ease; }
body.swm .wp-block-button__link:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.swm .wp-block-details { padding-block: 16px !important; }
body.swm .wp-block-details summary { font-family: var(--swm-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
body.swm .wp-block-details summary::-webkit-details-marker { display: none; }
body.swm .wp-block-details summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--swm-ink); color: var(--swm-accent); font-size: 20px; font-weight: 400; transition: transform .3s var(--swm-ease); }
body.swm .wp-block-details[open] summary::after { transform: rotate(45deg); }
body.swm .wp-block-details p { color: var(--swm-muted); margin-top: 12px; }
body.swm .wp-block-list li::marker { color: var(--swm-accent-ink); }
body.swm ol.wp-block-list li::marker { font-family: var(--swm-display); font-weight: 700; }
.wp-block-columns .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--swm-radius-sm); }
body.swm .wp-block-image img { border-radius: var(--swm-radius-sm); }

/* Blog list and single posts (parent theme markup) */
body.swm .newseblog-blog-post { background: var(--swm-card); border-radius: var(--swm-radius); padding: 14px 14px 22px; box-shadow: var(--swm-shadow); }
body.swm .newseblog-blog-post img { border-radius: var(--swm-radius-sm); }
body.swm .newseblog-blog-post .newseblog-title a { text-decoration: none; }
body.swm .newseblog-blog-category a { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--swm-accent-ink); text-decoration: none; margin-right: 8px; }
body.swm .newseblog-blog-post a.read-more { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--swm-pill); background: var(--swm-ink); color: var(--swm-on-dark); font-weight: 700; text-decoration: none; text-transform: none; transition: background .2s ease, color .2s ease; }
body.swm .newseblog-blog-post a.read-more::after { content: "\2192"; margin-left: 8px; color: var(--swm-accent); transition: transform .2s var(--swm-ease); }
body.swm .newseblog-blog-post a.read-more:hover { background: var(--swm-accent); color: var(--swm-ink); }
body.swm .newseblog-blog-post a.read-more:hover::after { color: var(--swm-ink); transform: translateX(3px); }
body.swm .newseblog-blog-post .newseblog-title { font-size: clamp(22px, 2.4vw, 28px); }
body.swm .post-meta, body.swm .post-meta a { color: var(--swm-muted); }
body.swm.single .main-section, body.swm.blog .main-section { max-width: 860px; }

/* Forms (WPForms + comments) */
body.swm :is(.wpforms-container, .comment-form) :is(input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea) { background: var(--swm-card) !important; border: 1px solid var(--swm-line) !important; border-radius: var(--swm-radius-sm) !important; padding: 12px 14px !important; min-height: 48px; font-size: 16px !important; color: var(--swm-text) !important; box-shadow: none !important; transition: border-color .2s ease, box-shadow .2s ease; }
body.swm :is(.wpforms-container, .comment-form) :is(input, select, textarea):focus { border-color: var(--swm-ink) !important; box-shadow: 0 0 0 4px rgba(255, 90, 31, .18) !important; outline: none; }
body.swm .wpforms-container .wpforms-field-label { font-weight: 700 !important; color: var(--swm-text) !important; }
body.swm .wpforms-container .wpforms-required-label { color: var(--swm-accent-ink) !important; }
body.swm :is(.wpforms-container button[type=submit], .comment-form input[type=submit], .comment-form .submit) { background: var(--swm-accent) !important; color: var(--swm-ink) !important; border: 0 !important; border-radius: var(--swm-pill) !important; min-height: 52px; padding: 0 28px !important; font-weight: 700 !important; font-size: 16px !important; cursor: pointer; transition: background .2s ease, transform .2s var(--swm-ease); }
body.swm :is(.wpforms-container button[type=submit], .comment-form input[type=submit]):hover { background: var(--swm-accent-hover) !important; transform: translateY(-1px); }
body.swm .wpforms-confirmation-container-full { background: var(--swm-card) !important; border: 1px solid var(--swm-line) !important; border-radius: var(--swm-radius-sm) !important; color: var(--swm-text) !important; }

/* ---------- Footer ---------- */
.swm-footer { background: var(--swm-ink); color: var(--swm-on-dark-muted); margin-top: 0; position: relative; overflow: hidden; }
.swm-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .22), transparent 65%); pointer-events: none; }
body.swm .swm-footer a { color: var(--swm-on-dark); }
.swm-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-block: 64px 44px; }
.swm-footer__brand p { max-width: 32em; line-height: 1.7; margin-top: 18px; }
.swm-logo--light .swm-logo__name { color: var(--swm-on-dark); }
.swm-logo--light .swm-logo__tag { color: var(--swm-on-dark-muted); }
.swm-logo--light .swm-logo__badge { background: var(--swm-accent); color: var(--swm-ink); }
.swm-logo--light .swm-logo__badge::after { background: var(--swm-on-dark); box-shadow: 0 0 0 3px var(--swm-ink); }
.swm-footer__title { color: var(--swm-on-dark); font-size: 16px; margin: 0 0 16px; }
.swm-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.swm .swm-footer__links a { text-decoration: none; color: var(--swm-on-dark-muted); }
body.swm .swm-footer__links a:hover { color: var(--swm-accent); }
.swm-footer__place { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.swm-footer__bar { position: relative; border-top: 1px solid var(--swm-ink-3); padding-block: 20px; font-size: 13px; text-align: center; }

/* ---------- DM buttons & menus ---------- */
.swm-dm { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1rem 0; }
.swm-dm--center { justify-content: center; }
body.swm .swm-dm__btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: var(--swm-pill); font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2; transition: background .2s ease, color .2s ease, transform .2s var(--swm-ease), box-shadow .2s ease; }
body.swm .swm-dm__btn:hover { transform: translateY(-1px); }
.swm-dm__btn .swm-ico { width: 18px; height: 18px; }
body.swm .swm-dm--light .swm-dm__btn { background: var(--swm-ink); color: var(--swm-on-dark); }
body.swm .swm-dm--light .swm-dm__btn:first-of-type, body.swm .swm-dm--light .swm-dm__label + .swm-dm__btn { background: var(--swm-accent); color: var(--swm-ink); }
body.swm .swm-dm--light .swm-dm__btn:hover { background: var(--swm-accent); color: var(--swm-ink); }
body.swm .swm-dm--light .swm-dm__btn--email { background: transparent; color: var(--swm-text); box-shadow: inset 0 0 0 1.5px var(--swm-line); }
body.swm .swm-dm--light .swm-dm__btn--email:hover { box-shadow: inset 0 0 0 1.5px var(--swm-ink); background: transparent; }
body.swm .swm-dm--dark .swm-dm__btn { background: var(--swm-ink-2); color: var(--swm-on-dark); box-shadow: inset 0 0 0 1px var(--swm-ink-3); }
body.swm .swm-dm--dark .swm-dm__btn:first-of-type { background: var(--swm-accent); color: var(--swm-ink); box-shadow: none; }
body.swm .swm-dm--dark .swm-dm__btn:hover { background: var(--swm-on-dark); color: var(--swm-ink); }
body.swm .swm-dm--dark .swm-dm__btn--email { background: transparent; }
.swm-footer .swm-dm { margin: 0 0 16px; }
body.swm .swm-footer .swm-dm__btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.swm-dm--compact { gap: 8px; align-items: center; }
body.swm .swm-dm--compact .swm-dm__btn, body.swm .swm-dm--compact .swm-dm__btn:first-of-type, body.swm .swm-dm--compact .swm-dm__label + .swm-dm__btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; background: var(--swm-card); color: var(--swm-text); box-shadow: inset 0 0 0 1px var(--swm-line); }
body.swm .swm-dm--compact .swm-dm__btn .swm-ico { color: var(--swm-accent-ink); }
body.swm .swm-dm--compact .swm-dm__btn:hover { background: var(--swm-ink); color: var(--swm-on-dark); box-shadow: none; }
body.swm .swm-dm--compact .swm-dm__btn:hover .swm-ico { color: var(--swm-accent); }
.swm-dm--compact .swm-dm__label { flex-basis: 100%; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--swm-muted); margin: 0 0 2px; }
.swm-dm--compact .swm-dm__btn .swm-ico { width: 15px; height: 15px; }
.swm-dm__label { font-family: var(--swm-display); font-weight: 700; color: var(--swm-text); margin-right: 4px; font-size: 14.5px; }

.swm-clist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
body.swm .swm-clist__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--swm-card); border: 1px solid var(--swm-line); border-radius: var(--swm-radius-sm); text-decoration: none; color: var(--swm-text); transition: border-color .2s ease, transform .2s var(--swm-ease), box-shadow .2s ease; }
body.swm .swm-clist__item:hover { border-color: var(--swm-ink); color: var(--swm-text); transform: translateY(-1px); box-shadow: var(--swm-shadow); }
.swm-clist__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--swm-ink); color: var(--swm-accent); flex: none; }
.swm-clist__icon .swm-ico { width: 20px; height: 20px; }
.swm-clist__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.swm-clist__text strong { font-family: var(--swm-display); letter-spacing: -.01em; }
.swm-clist__text span { color: var(--swm-muted); font-size: 14px; overflow-wrap: anywhere; }
.swm-clist__item > .swm-ico { color: var(--swm-accent-ink); transition: transform .2s var(--swm-ease); }
.swm-clist__item:hover > .swm-ico { transform: translateX(3px); }

.swm-dmm { position: relative; }
.swm-dmm > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; user-select: none; transition: background .2s ease, color .2s ease, transform .2s var(--swm-ease); }
.swm-dmm > summary::-webkit-details-marker { display: none; }
.swm-dmm--nav > summary { background: var(--swm-accent); color: var(--swm-ink); min-height: 48px; padding: 0 20px; border-radius: var(--swm-pill); font-size: 15px; }
.swm-dmm--nav > summary:hover, .swm-dmm--nav[open] > summary { background: var(--swm-accent-hover); }
.swm-dmm--hero > summary { background: var(--swm-accent); color: var(--swm-ink); min-height: 48px; padding: 0 22px; border-radius: var(--swm-pill); font-size: 15px; }
.swm-dmm--hero > summary:hover, .swm-dmm--hero[open] > summary { background: var(--swm-accent-hover); transform: translateY(-1px); }
.swm-dmm__panel { position: absolute; z-index: 40; right: 0; top: calc(100% + 12px); width: 290px; background: var(--swm-card); color: var(--swm-text); border-radius: var(--swm-radius); box-shadow: var(--swm-shadow-lg); padding: 10px; border: 1px solid var(--swm-line); }
.swm-dmm--hero .swm-dmm__panel { left: 0; right: auto; top: auto; bottom: calc(100% + 12px); }
.swm-dmm__title { margin: 6px 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--swm-muted); }
body.swm .swm-dmm__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--swm-radius-sm); text-decoration: none; color: var(--swm-text); }
body.swm .swm-dmm__item:hover { background: var(--swm-bg); color: var(--swm-text); }
.swm-dmm__item .swm-ico { width: 20px; height: 20px; flex: none; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--swm-ink); color: var(--swm-accent); }
.swm-dmm__item span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.swm-dmm__item strong { font-family: var(--swm-display); letter-spacing: -.01em; }
.swm-dmm__item small { color: var(--swm-muted); font-size: 12.5px; overflow-wrap: anywhere; }

.swm-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.swm-dmm--float > summary { background: var(--swm-ink); color: var(--swm-on-dark); min-height: 54px; padding: 0 22px 0 18px; border-radius: var(--swm-pill); box-shadow: 0 14px 34px -8px rgba(14, 17, 22, .5), inset 0 0 0 1px var(--swm-ink-3); font-size: 15px; }
.swm-dmm--float > summary .swm-ico { width: 20px; height: 20px; color: var(--swm-accent); }
.swm-dmm--float > summary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); order: 3; }
.swm-dmm--float[open] > summary { background: var(--swm-ink-2); }
.swm-dmm--float .swm-dmm__panel { top: auto; bottom: calc(100% + 12px); }

/* ---------- Mobile menu ---------- */
.swm-nav__toggle { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.swm-feature { grid-template-columns: 1fr 1fr; }
	.swm-hero { grid-column: 1 / -1; grid-row: 1; min-height: 480px; }
	.swm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.swm .swm-banner { flex-basis: 480px; }
	.swm-footer__grid { grid-template-columns: 1fr 1fr; }
	.swm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	body.swm { font-size: 16px; }
	.swm-topbar__date { display: none; }
	.swm-brandrow { flex-direction: column; align-items: stretch; gap: 16px; padding-block: 18px; }
	body.swm .swm-banner { flex-basis: auto; width: 100%; box-sizing: border-box; background-size: auto, 60% auto, auto; }
	.swm-banner__title { font-size: 19px; }
	.swm-logo__name { font-size: 24px; }
	.swm-logo__badge { width: 46px; height: 46px; font-size: 17px; border-radius: 14px; }
	.swm-nav { border-radius: 26px; }
	.swm-nav--js { flex-wrap: wrap; }
	.swm-nav--js .swm-nav__toggle, .swm-nav--js .swm-nav__toggle:hover, .swm-nav--js .swm-nav__toggle:focus { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; box-shadow: none; border-radius: var(--swm-pill); color: var(--swm-on-dark); font: 700 15px/1 var(--swm-font); padding: 0 14px; min-height: 46px; cursor: pointer; }
	.swm-burger, .swm-burger::before, .swm-burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
	.swm-burger::before, .swm-burger::after { content: ""; position: absolute; left: 0; }
	.swm-burger::before { top: -6px; } .swm-burger::after { top: 6px; }
	.swm-nav--js .swm-menu { display: none; order: 3; flex-basis: 100%; flex-direction: column; overflow: visible; padding: 6px 2px 8px; }
	.swm-nav--js.is-open .swm-menu { display: flex; }
	.swm-feature { grid-template-columns: 1fr; gap: 16px; }
	.swm-feature__col { grid-template-rows: none; gap: 16px; }
	.swm-hero { min-height: 500px; }
	.swm-hero::before { background: linear-gradient(180deg, rgba(14, 17, 22, .5) 0%, rgba(14, 17, 22, .85) 35%, rgba(14, 17, 22, .98) 100%), radial-gradient(80% 60% at 0% 100%, rgba(255, 90, 31, .35), transparent 70%); }
	.swm-hero__body { padding: 120px 22px 26px; }
	.swm-hero__title { font-size: 36px; }
	body.swm .swm-card--overlay { min-height: 230px; }
	.swm-steps { grid-template-columns: 1fr 1fr; }
	.swm-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
	.swm-float { right: 14px; bottom: 14px; }
	.swm-dmm--float > summary span { display: none; }
	.swm-dmm--float > summary { padding: 0 16px; }
	.swm-dmm__panel { width: min(290px, calc(100vw - 28px)); }
}
@media (max-width: 480px) {
	.swm-steps { grid-template-columns: 1fr; }
	.swm-topbar__social { display: none; }
}
@media (max-width: 380px) { .swm-dmm--nav > summary span { display: none; } }

/* More from the blog */
.swm-more { margin-top: 36px; }
.swm-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.swm-more__title { margin: 0; font-size: clamp(26px, 3vw, 36px); }
body.swm .swm-more__all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--swm-text); white-space: nowrap; }
body.swm .swm-more__all .swm-ico { color: var(--swm-accent-ink); transition: transform .2s var(--swm-ease); }
body.swm .swm-more__all:hover .swm-ico { transform: translateX(3px); }
.swm-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .swm-more__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .swm-more__grid { grid-template-columns: 1fr; } }

body.swm .swm-dmm__item--book { background: var(--swm-bg); margin-bottom: 4px; }
.swm-dmm__item--book .swm-ico { background: var(--swm-accent) !important; color: var(--swm-ink) !important; }
.swm-clist__item--book .swm-clist__icon { background: var(--swm-accent); color: var(--swm-ink); }

/* ---------- Archive header (blog, categories, search) ---------- */
.swm-archive-head { padding: 0 0 22px; max-width: none; }
.swm-archive-head__title { font-family: var(--swm-display); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.035em; color: var(--swm-ink); margin: 0; }
.swm-archive-head__intro { max-width: 720px; margin: 12px 0 0; color: var(--swm-muted); font-size: 17px; line-height: 1.6; }
.swm-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin-bottom: 12px; color: var(--swm-muted); }
body.swm .swm-crumbs a { color: var(--swm-accent-ink); text-decoration: none; font-weight: 600; }
body.swm .swm-crumbs a:hover { text-decoration: underline; }

/* Visible links inside lists and tables in posts */
body.swm .wp-block-list a, body.swm .wp-block-table a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Hero photo: show the whole width so every face is visible ---------- */
.swm-hero { background-size: 100% auto; background-position: center top; }
.swm-hero::before { background: linear-gradient(180deg, rgba(14, 17, 22, 0) 0%, rgba(14, 17, 22, .12) 34%, rgba(14, 17, 22, .78) 52%, rgba(14, 17, 22, .97) 64%, rgba(14, 17, 22, .98) 100%), radial-gradient(80% 50% at 0% 100%, rgba(255, 90, 31, .3), transparent 70%); }
@media (max-width: 1100px) and (min-width: 783px) {
	.swm-hero { background-size: auto 100%; background-position: right center; }
	.swm-hero::before { background: linear-gradient(90deg, rgba(14, 17, 22, .98) 0%, rgba(14, 17, 22, .95) 36%, rgba(14, 17, 22, .45) 50%, rgba(14, 17, 22, 0) 60%), radial-gradient(60% 60% at 0% 100%, rgba(255, 90, 31, .3), transparent 70%); }
	.swm-hero__body { max-width: 50%; }
	.swm-hero__title { font-size: 42px; }
}
@media (max-width: 782px) {
	.swm-hero::before { background: linear-gradient(180deg, rgba(14, 17, 22, 0) 0%, rgba(14, 17, 22, .1) 26%, rgba(14, 17, 22, .85) 40%, rgba(14, 17, 22, .98) 50%, rgba(14, 17, 22, .98) 100%), radial-gradient(80% 50% at 0% 100%, rgba(255, 90, 31, .3), transparent 70%); }
	.swm-hero__body { padding-top: calc((100vw - 40px) * .5); }
}
