/* ==========================================================================
   EdBrandWorks — Susun atur
   Header, navigasi, hero, seksyen, footer dan komponen tema.
   ========================================================================== */

/* --------------------------------------------------------- Pengumuman --- */

.ebw-announce {
	background: var(--ebw-ink);
	color: #fff;
	font-size: 0.85rem;
}

.ebw-announce__inner {
	display: flex;
	justify-content: center;
	padding-block: 9px;
	text-align: center;
}

.ebw-announce a,
.ebw-announce span {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.ebw-announce a:hover {
	color: var(--ebw-accent);
}

/* ------------------------------------------------------------- Header --- */

.ebw-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ebw-line);
	transition: box-shadow 0.2s var(--ebw-ease);
}

.ebw-header.is-stuck {
	box-shadow: 0 10px 30px -22px rgba(11, 18, 32, 0.55);
}

body.admin-bar .ebw-header {
	top: 32px;
}

.ebw-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--ebw-header-h);
}

.ebw-header__brand {
	flex: 0 0 auto;
}

.ebw-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}

/* Logo */

.ebw-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.ebw-logo__mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--ebw-ink);
	color: var(--ebw-accent);
}

.ebw-logo__mark .ebw-i {
	width: 20px;
	height: 20px;
}

.ebw-logo__text {
	font-family: var(--ebw-font-display);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--ebw-ink);
}

.custom-logo-link img {
	max-height: 44px;
	width: auto;
}

/* Butang ikon */

.ebw-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--ebw-ink);
	text-decoration: none;
	cursor: pointer;
}

.ebw-icon-btn:hover {
	background: var(--ebw-surface-2);
	color: var(--ebw-ink);
}

.ebw-icon-btn .ebw-i {
	width: 20px;
	height: 20px;
}

.ebw-cart__count {
	position: absolute;
	top: 1px;
	right: 0;
	display: grid;
	place-items: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ebw-accent);
	color: #17120a;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.ebw-cart__count:empty {
	display: none;
}

.ebw-burger {
	display: none;
}

/* ---------------------------------------------------------- Navigasi --- */

.ebw-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.ebw-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebw-menu > li {
	position: relative;
}

.ebw-menu > li > a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ebw-ink);
	text-decoration: none;
}

.ebw-menu > li > a:hover,
.ebw-menu > li.current-menu-item > a {
	background: var(--ebw-surface-2);
	color: var(--ebw-ink);
}

.ebw-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius);
	box-shadow: var(--ebw-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s var(--ebw-ease), transform 0.18s var(--ebw-ease), visibility 0.18s;
}

.ebw-menu > li:hover > .sub-menu,
.ebw-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ebw-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 0.92rem;
	color: var(--ebw-ink);
	text-decoration: none;
}

.ebw-menu .sub-menu a:hover {
	background: var(--ebw-surface-2);
}

.ebw-nav__head,
.ebw-nav__foot {
	display: none;
}

/* Panel carian */

.ebw-search {
	padding-block: 18px;
	border-top: 1px solid var(--ebw-line);
	background: #fff;
}

.ebw-search[hidden] {
	display: none;
}

.ebw-search__hint {
	margin: 12px 0 0;
	font-size: 0.82rem;
	color: var(--ebw-muted);
}

.ebw-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 720px;
	margin-inline: auto;
	padding: 6px;
	border: 1px solid var(--ebw-line-strong);
	border-radius: 999px;
	background: var(--ebw-paper);
}

.ebw-search-form > .ebw-i {
	margin-left: 14px;
	color: var(--ebw-muted);
	width: 19px;
	height: 19px;
}

.ebw-search-form__field {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	padding: 10px 4px;
	font-size: 1rem;
}

.ebw-search-form__field:focus {
	box-shadow: none;
}

.ebw-search-form .ebw-btn {
	border-radius: 999px;
	padding: 11px 22px;
}

/* Latar gelap di belakang menu mobile */

.ebw-backdrop {
	position: fixed;
	inset: 0;
	z-index: 65;
	background: rgba(11, 18, 32, 0.52);
	opacity: 0;
	transition: opacity 0.28s var(--ebw-ease);
}

.ebw-backdrop[hidden] {
	display: none;
}

.ebw-backdrop.is-open {
	opacity: 1;
}

body.ebw-lock {
	overflow: hidden;
}

/* -------------------------------------------------------------- Hero --- */

.ebw-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
	background: linear-gradient(180deg, #ffffff 0%, var(--ebw-surface) 100%);
}

.ebw-hero__glow {
	position: absolute;
	top: -180px;
	right: -140px;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0) 62%);
	pointer-events: none;
}

.ebw-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.ebw-hero__title {
	margin-bottom: 18px;
	font-size: clamp(2.2rem, 5.2vw, 3.9rem);
}

.ebw-hero__text {
	max-width: 54ch;
	margin-bottom: 30px;
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	color: var(--ebw-muted);
}

.ebw-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 34px;
}

.ebw-hero__points {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebw-hero__points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.94rem;
	color: var(--ebw-ink-soft);
}

.ebw-hero__points .ebw-i {
	color: var(--ebw-success);
}

.ebw-hero__visual {
	position: relative;
}

.ebw-hero__img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--ebw-radius-lg);
	box-shadow: var(--ebw-shadow-lg);
	background: var(--ebw-surface-2);
}

.ebw-hero__card {
	position: absolute;
	left: -18px;
	bottom: 26px;
	display: flex;
	gap: 12px;
	align-items: center;
	max-width: 290px;
	padding: 14px 18px;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius);
	background: #fff;
	box-shadow: var(--ebw-shadow);
}

.ebw-hero__card-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(245, 158, 11, 0.16);
	color: var(--ebw-accent-600);
}

.ebw-hero__card strong {
	display: block;
	font-family: var(--ebw-font-display);
	font-size: 0.9rem;
}

.ebw-hero__card span {
	font-size: 0.8rem;
	color: var(--ebw-muted);
}

/* ------------------------------------------------------------ Tunjang --- */

.ebw-strip {
	padding-block: 26px;
	border-block: 1px solid var(--ebw-line);
	background: #fff;
}

.ebw-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.ebw-strip__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ebw-strip__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ebw-surface-2);
	color: var(--ebw-ink);
}

.ebw-strip__item strong {
	display: block;
	font-size: 0.92rem;
	font-family: var(--ebw-font-display);
}

.ebw-strip__item span {
	font-size: 0.83rem;
	color: var(--ebw-muted);
}

/* ----------------------------------------------------------- Seksyen --- */

.ebw-section {
	padding-block: var(--ebw-section-y);
}

.ebw-section--tint {
	background: var(--ebw-surface);
}

.ebw-section--narrow {
	max-width: var(--ebw-container-narrow);
}

.ebw-section__head {
	max-width: 660px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.ebw-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}

.ebw-section__title {
	margin: 0;
}

.ebw-grid {
	display: grid;
	gap: clamp(16px, 2.4vw, 28px);
}

.ebw-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ebw-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Tiga cara pesan */

.ebw-way {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2.6vw, 32px);
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius-lg);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.22s var(--ebw-ease), box-shadow 0.22s var(--ebw-ease), border-color 0.22s var(--ebw-ease);
}

.ebw-way:hover {
	transform: translateY(-4px);
	border-color: var(--ebw-line-strong);
	box-shadow: var(--ebw-shadow);
	color: inherit;
}

.ebw-way__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--ebw-ink);
	color: var(--ebw-accent);
}

.ebw-way__title {
	margin: 0 0 10px;
}

.ebw-way__text {
	margin: 0 0 18px;
	font-size: 0.95rem;
	color: var(--ebw-muted);
}

.ebw-way .ebw-link {
	margin-top: auto;
}

/* Langkah */

.ebw-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(18px, 2.4vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebw-step {
	padding-top: 26px;
	border-top: 2px solid var(--ebw-line);
}

.ebw-step__num {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ebw-font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--ebw-accent-600);
}

.ebw-step__title {
	margin: 0 0 8px;
	font-size: 1.08rem;
}

.ebw-step__text {
	margin: 0;
	font-size: 0.93rem;
	color: var(--ebw-muted);
}

/* Jalur CTA */

.ebw-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(44px, 6vw, 84px);
	background: var(--ebw-ink);
	color: #fff;
}

.ebw-cta::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.28), transparent 65%);
	pointer-events: none;
}

.ebw-cta__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.ebw-cta__title {
	margin-bottom: 10px;
	color: #fff;
}

.ebw-cta__text {
	max-width: 62ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.ebw-cta__copy {
	flex: 1 1 420px;
}

.ebw-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ebw-cta .ebw-btn--outline {
	border-color: rgba(255, 255, 255, 0.36);
	color: #fff;
}

.ebw-cta .ebw-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* -------------------------------------------------------------- Kad --- */

.ebw-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius-lg);
	background: #fff;
	transition: transform 0.22s var(--ebw-ease), box-shadow 0.22s var(--ebw-ease);
}

.ebw-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ebw-shadow);
}

.ebw-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ebw-surface-2);
}

.ebw-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ebw-ease);
}

.ebw-card:hover .ebw-card__media img {
	transform: scale(1.04);
}

.ebw-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: clamp(18px, 2vw, 26px);
}

.ebw-card__title {
	margin: 0;
	font-size: 1.15rem;
}

.ebw-card__title a {
	text-decoration: none;
}

.ebw-card__text {
	margin: 0 0 10px;
	font-size: 0.93rem;
	color: var(--ebw-muted);
}

.ebw-card__body .ebw-link {
	margin-top: auto;
}

/* ------------------------------------------------------- Kepala halaman --- */

.ebw-page-head {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.ebw-page-head__title {
	margin: 0 0 8px;
}

.ebw-page-head__text {
	color: var(--ebw-muted);
}

/* ------------------------------------------------------- Entri / blog --- */

.ebw-entry__media {
	margin-bottom: 32px;
	overflow: hidden;
	border-radius: var(--ebw-radius-lg);
}

.ebw-entry__media img {
	width: 100%;
}

.ebw-entry__content {
	font-size: 1.03rem;
}

.ebw-entry__content h2,
.ebw-entry__content h3 {
	margin-top: 1.7em;
}

.ebw-entry__content ul,
.ebw-entry__content ol {
	padding-left: 1.35em;
}

.ebw-entry__content li + li {
	margin-top: 0.4em;
}

.ebw-entry__content img {
	border-radius: var(--ebw-radius);
}

.ebw-entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.ebw-entry__tags a {
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--ebw-surface);
	font-size: 0.82rem;
	color: var(--ebw-muted);
	text-decoration: none;
}

.ebw-entry__tags a:hover {
	background: var(--ebw-surface-2);
	color: var(--ebw-ink);
}

.ebw-post-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: clamp(32px, 5vw, 56px);
}

.ebw-post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius);
	text-decoration: none;
}

.ebw-post-nav__item:hover {
	border-color: var(--ebw-line-strong);
	background: var(--ebw-surface);
}

.ebw-post-nav__item--next {
	align-items: flex-end;
	text-align: right;
}

.ebw-post-nav__label {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ebw-muted);
}

.ebw-post-nav__title {
	font-family: var(--ebw-font-display);
	font-weight: 600;
	color: var(--ebw-ink);
}

/* ---------------------------------------------------------- Komen --- */

.ebw-comments {
	margin-top: clamp(36px, 5vw, 64px);
}

.ebw-comments__title {
	font-size: 1.35rem;
}

.ebw-comments__list {
	display: grid;
	gap: 18px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.ebw-comments__list .comment-body {
	padding: 18px 20px;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius);
	background: #fff;
}

.ebw-comments__list .children {
	display: grid;
	gap: 18px;
	margin: 18px 0 0;
	padding-left: 24px;
	list-style: none;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 0.85rem;
	color: var(--ebw-muted);
}

.comment-meta img {
	border-radius: 50%;
}

.comment-form .form-submit {
	margin-top: 16px;
}

/* ------------------------------------------------------- Susun halaman --- */

.pagination,
.woocommerce-pagination {
	margin-top: clamp(28px, 4vw, 48px);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--ebw-line);
	border-radius: var(--ebw-radius-sm);
	background: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ebw-ink);
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: var(--ebw-ink);
	color: var(--ebw-ink);
}

.pagination .page-numbers.current {
	border-color: var(--ebw-ink);
	background: var(--ebw-ink);
	color: #fff;
}

.pagination .ebw-i {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------- Keadaan kosong --- */

.ebw-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 620px;
	margin-inline: auto;
	padding-block: clamp(30px, 6vw, 70px);
	text-align: center;
}

.ebw-empty__code {
	font-family: var(--ebw-font-display);
	font-size: clamp(3rem, 10vw, 6rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ebw-surface-2);
}

.ebw-empty__search {
	width: 100%;
	max-width: 520px;
	margin-top: 10px;
}

.ebw-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 8px;
}

.ebw-notice-admin {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	border: 1px dashed var(--ebw-line-strong);
	border-radius: var(--ebw-radius);
	background: #fff;
	color: var(--ebw-muted);
}

.ebw-notice-admin p {
	margin: 0;
}

.ebw-notice-admin .ebw-i {
	width: 26px;
	height: 26px;
	color: var(--ebw-accent-600);
}

/* ---------------------------------------------------------- Footer --- */

.ebw-footer {
	padding-top: clamp(44px, 6vw, 76px);
	background: var(--ebw-ink);
	color: rgba(255, 255, 255, 0.72);
}

.ebw-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(24px, 3vw, 48px);
	padding-bottom: clamp(36px, 5vw, 60px);
}

.ebw-footer__note {
	max-width: 34ch;
	margin-top: 14px;
	font-size: 0.92rem;
}

.ebw-logo--footer .ebw-logo__mark {
	background: var(--ebw-accent);
	color: var(--ebw-ink);
}

.ebw-logo--footer .ebw-logo__text {
	color: #fff;
}

.ebw-footer a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.ebw-footer a:hover {
	color: #fff;
}

.ebw-footer .ebw-widget__title--footer {
	margin: 0 0 16px;
	font-family: var(--ebw-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.ebw-footer__links,
.ebw-footer__contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.93rem;
}

.ebw-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ebw-footer__contact .ebw-i {
	margin-top: 3px;
	color: var(--ebw-accent);
}

.ebw-socials {
	display: flex;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ebw-socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff;
}

.ebw-socials a:hover {
	border-color: var(--ebw-accent);
	background: var(--ebw-accent);
	color: #17120a;
}

.ebw-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ebw-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px;
	font-size: 0.85rem;
}

.ebw-footer__copy,
.ebw-footer__pay {
	margin: 0;
}

.ebw-footer__pay {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ebw-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Butang terapung WhatsApp */

.ebw-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 55;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 16px 32px -14px rgba(37, 211, 102, 0.9);
	transition: transform 0.2s var(--ebw-ease);
}

.ebw-fab:hover {
	transform: translateY(-3px);
	color: #fff;
}

.ebw-fab .ebw-i {
	width: 26px;
	height: 26px;
}

/* ------------------------------------------------------ Responsif --- */

@media screen and (max-width: 1080px) {
	.ebw-grid--4 {
		grid-template-columns: repeat(3, 1fr);
	}

	.ebw-strip__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ebw-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.ebw-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 979px) {
	.ebw-burger {
		display: inline-grid;
	}

	.ebw-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 70;
		flex-direction: column;
		justify-content: flex-start;
		width: min(88vw, 360px);
		padding: 18px;
		overflow-y: auto;
		background: #fff;
		box-shadow: var(--ebw-shadow-lg);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform 0.32s var(--ebw-ease), visibility 0.32s;
	}

	.ebw-nav.is-open {
		transform: none;
		visibility: visible;
	}

	.ebw-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
	}

	.ebw-nav__title {
		font-family: var(--ebw-font-display);
		font-size: 0.82rem;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: var(--ebw-muted);
	}

	.ebw-nav__foot {
		display: block;
		margin-top: auto;
		padding-top: 22px;
	}

	.ebw-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.ebw-menu > li > a {
		padding: 13px 12px;
		font-size: 1.02rem;
		font-weight: 600;
	}

	.ebw-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0 0 6px 12px;
		border: 0;
		box-shadow: none;
	}

	.ebw-hero__grid {
		grid-template-columns: 1fr;
	}

	.ebw-hero__img {
		aspect-ratio: 4 / 3;
	}

	.ebw-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar .ebw-header {
		top: 46px;
	}
}

@media screen and (max-width: 720px) {
	.ebw-grid--3,
	.ebw-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.ebw-strip__grid,
	.ebw-steps,
	.ebw-footer__grid {
		grid-template-columns: 1fr;
	}

	.ebw-post-nav {
		grid-template-columns: 1fr;
	}

	.ebw-post-nav__item--next {
		align-items: flex-start;
		text-align: left;
	}

	.ebw-hero__card {
		position: static;
		max-width: none;
		margin-top: 14px;
	}

	.ebw-hero__card-icon {
		width: 34px;
		height: 34px;
	}

	.ebw-section__head--row {
		flex-direction: column;
		align-items: flex-start;
	}

	.ebw-search-form {
		border-radius: var(--ebw-radius);
	}

	.ebw-announce__inner {
		font-size: 0.78rem;
	}
}

@media screen and (max-width: 520px) {
	.ebw-grid--3,
	.ebw-grid--4 {
		grid-template-columns: 1fr;
	}

	.ebw-hero__cta .ebw-btn {
		width: 100%;
	}

	.ebw-fab {
		right: 14px;
		bottom: 14px;
		width: 50px;
		height: 50px;
	}
}
