/*
Theme Name: Hello Elementor Child - Asia Halal
Theme URI: https://talos.my/AHO/
Description: Editorial child theme for Asia Halal, built on Hello Elementor.
Author: Asia Halal
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
*/

:root {
	--asme-ink: #151515;
	--asme-ink-soft: #232323;
	--asme-paper: #f3efe7;
	--asme-surface: #fffdf8;
	--asme-gold: #b08b28;
	--asme-gold-deep: #8d6b16;
	--asme-gold-wash: #e8dcc0;
	--asme-body: #45443f;
	--asme-muted: #77736b;
	--asme-line: #ded8cb;
	--asme-line-dark: rgba(255, 255, 255, 0.14);
	--asme-white: #fffdf8;
	--asme-radius: 2px;
	--asme-shell: 1280px;
	--asme-shadow: 0 20px 52px rgba(65, 55, 32, 0.11);
	--asme-shadow-dark: 0 20px 52px rgba(0, 0, 0, 0.28);
	--asme-display: Georgia, 'Times New Roman', serif;
	--asme-sans: Arial, Helvetica, sans-serif;
	--asme-mono: 'Courier New', Courier, monospace;
}

html {
	scroll-behavior: smooth;
}

body.asme-site {
	margin: 0;
	color: var(--asme-ink);
	background: var(--asme-paper);
	font-family: var(--asme-sans);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.asme-site * {
	box-sizing: border-box;
}

body.asme-site a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.asme-site img {
	display: block;
	max-width: 100%;
}

body.asme-site button,
body.asme-site input,
body.asme-site textarea,
body.asme-site select {
	font: inherit;
}

body.asme-site button,
body.asme-site a,
body.asme-site input,
body.asme-site textarea,
body.asme-site select {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.asme-site a:focus-visible,
body.asme-site button:focus-visible,
body.asme-site input:focus-visible,
body.asme-site textarea:focus-visible,
body.asme-site select:focus-visible {
	outline: 3px solid rgba(176, 139, 40, 0.72);
	outline-offset: 3px;
}

.asme-shell {
	width: min(var(--asme-shell), calc(100% - 56px));
	margin-inline: auto;
}

.asme-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 14px;
	color: var(--asme-ink);
	background: var(--asme-gold);
	font-weight: 700;
	transform: translateY(-160%);
}

.asme-skip-link:focus {
	transform: translateY(0);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.asme-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Header */
.asme-site-header {
	position: relative;
	z-index: 20;
	color: var(--asme-white);
	background: var(--asme-ink);
}

.asme-topbar {
	color: var(--asme-ink);
	background: var(--asme-gold);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.asme-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 32px;
}

.asme-current-datetime {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--asme-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
	text-transform: none;
}

.asme-topbar-note {
	font-size: 9px;
	letter-spacing: 0.16em;
}

.asme-masthead {
	background: var(--asme-ink);
	border-bottom: 1px solid var(--asme-line-dark);
}

.asme-masthead-inner {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	min-height: 94px;
}

.asme-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 128px;
	height: 128px;
	padding: 13px;
	margin-top: 20px;
	background: transparent;
	box-shadow: none;
	transform: rotate(-1deg);
}

.asme-brand:hover,
.asme-brand:focus-visible {
	transform: rotate(0deg) translateY(-2px);
}

.asme-brand img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.asme-header-search {
	display: flex;
	align-items: center;
	justify-self: end;
	width: min(300px, 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.asme-header-search input,
.asme-sidebar-search input {
	min-width: 0;
	width: 100%;
	padding: 9px 2px;
	color: var(--asme-white);
	background: transparent;
	border: 0;
	font-size: 12px;
}

.asme-sidebar-search input {
	color: var(--asme-ink);
}

.asme-header-search input::placeholder,
.asme-sidebar-search input::placeholder {
	color: rgba(255, 253, 248, 0.66);
}

.asme-sidebar-search input::placeholder {
	color: var(--asme-muted);
}

.asme-header-search input:focus,
.asme-sidebar-search input:focus {
	outline: 0;
}

.asme-header-search:focus-within {
	border-color: var(--asme-gold);
}

.asme-header-search button,
.asme-sidebar-search button {
	flex: 0 0 auto;
	padding: 8px 2px 8px 12px;
	color: var(--asme-gold);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.asme-sidebar-search button {
	padding-right: 0;
}

.asme-header-search button:hover,
.asme-header-search button:focus-visible,
.asme-sidebar-search button:hover,
.asme-sidebar-search button:focus-visible {
	color: var(--asme-white);
	transform: translateY(-1px);
}

.asme-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
}

.asme-social-link,
.asme-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	color: var(--asme-white);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	font-size: 11px;
	text-decoration: none;
}

.asme-social-link:hover,
.asme-social-link:focus-visible,
.asme-menu-toggle:hover,
.asme-menu-toggle:focus-visible {
	color: var(--asme-ink);
	background: var(--asme-gold);
	border-color: var(--asme-gold);
	transform: translateY(-1px);
}

.asme-menu-toggle {
	display: none;
	gap: 8px;
	width: auto;
	padding-inline: 10px;
	border-radius: var(--asme-radius);
	font-size: 11px;
	cursor: pointer;
}

.asme-primary-nav {
	background: var(--asme-ink-soft);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.asme-menu,
.asme-mobile-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2.3vw, 32px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.asme-menu {
	min-height: 52px;
}

.asme-menu li,
.asme-mobile-menu li {
	position: relative;
}

.asme-menu a,
.asme-mobile-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	color: rgba(255, 253, 248, 0.82);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.asme-menu a::after,
.asme-mobile-menu a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--asme-gold);
	content: '';
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.asme-menu a:hover,
.asme-menu a:focus-visible,
.asme-menu .current-menu-item > a,
.asme-menu .current_page_item > a,
.asme-mobile-menu a:hover,
.asme-mobile-menu a:focus-visible,
.asme-mobile-menu .current-menu-item > a,
.asme-mobile-menu .current_page_item > a {
	color: var(--asme-gold);
}

.asme-menu a:hover::after,
.asme-menu a:focus-visible::after,
.asme-menu .current-menu-item > a::after,
.asme-menu .current_page_item > a::after,
.asme-mobile-menu a:hover::after,
.asme-mobile-menu a:focus-visible::after,
.asme-mobile-menu .current-menu-item > a::after,
.asme-mobile-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.asme-mobile-nav {
	background: var(--asme-ink);
	border-bottom: 1px solid var(--asme-line-dark);
}

.asme-mobile-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
	justify-content: start;
	padding-block: 12px 20px;
}

.asme-mobile-menu a {
	width: 100%;
	min-height: 44px;
	font-size: 11px;
}

/* Shared surfaces and Elementor bridge */
.asme-main {
	min-height: 50vh;
	overflow: clip;
}

.asme-reveal {
	opacity: 0;
	transform: translateY(18px);
}

.asme-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 560ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.asme-main > .elementor,
.asme-main > .elementor-page,
.asme-main > .elementor-section-wrap {
	background: var(--asme-paper);
}

.asme-eyebrow {
	display: inline-block;
	padding-bottom: 7px;
	margin: 0 0 14px;
	color: var(--asme-gold-deep);
	border-bottom: 1px solid var(--asme-gold);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.asme-button,
.asme-main .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	color: var(--asme-ink) !important;
	background: var(--asme-gold) !important;
	border: 1px solid var(--asme-gold) !important;
	border-radius: var(--asme-radius);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: uppercase;
}

.asme-button:hover,
.asme-button:focus-visible,
.asme-main .elementor-button:hover,
.asme-main .elementor-button:focus-visible {
	color: var(--asme-white) !important;
	background: var(--asme-gold-deep) !important;
	border-color: var(--asme-gold-deep) !important;
	transform: translateY(-2px);
}

.asme-button:active,
.asme-main .elementor-button:active {
	transform: translateY(1px) scale(0.98);
}

.asme-main .elementor-heading-title,
.asme-main h1,
.asme-main h2,
.asme-main h3,
.asme-main h4,
.asme-main h5,
.asme-main h6 {
	font-family: var(--asme-display);
	font-weight: 700;
	letter-spacing: -0.035em;
}

.asme-main .elementor-widget-text-editor,
.asme-main .elementor-widget-text-editor p {
	color: var(--asme-body);
}

.asme-main .elementor-widget-image img {
	box-shadow: var(--asme-shadow);
}

/* Elementor-authored homepage support */
.asme-main .asme-home-hero,
.asme-home-hero {
	position: relative;
	background: var(--asme-ink);
	color: var(--asme-white);
}

.asme-main .asme-home-hero::after,
.asme-home-hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0.12));
	content: '';
	pointer-events: none;
}

.asme-home-hero > * {
	position: relative;
	z-index: 1;
}

/* Page and archive headers */
.asme-page-banner {
	position: relative;
	padding: clamp(74px, 10vw, 132px) 0 90px;
	color: var(--asme-white);
	background: var(--asme-ink);
	overflow: hidden;
}

.asme-page-banner::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(21, 21, 21, 0.95) 0%, rgba(21, 21, 21, 0.78) 45%, rgba(21, 21, 21, 0.28) 100%),
		url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=84') center / cover;
	content: '';
	opacity: 0.92;
}

.asme-page-banner--image::after {
	position: absolute;
	right: -7vw;
	bottom: -15vw;
	width: 42vw;
	height: 42vw;
	border: 1px solid rgba(176, 139, 40, 0.38);
	content: '';
	transform: rotate(45deg);
}

.asme-page-banner-image {
	position: absolute;
	inset: 0;
	background: transparent;
}

.asme-page-banner-image--archive,
.asme-page-banner-image--category {
	background: linear-gradient(90deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0.28));
}

.asme-page-banner-content {
	position: relative;
	z-index: 1;
}

.asme-page-banner h1 {
	max-width: 780px;
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(42px, 6vw, 84px);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-wrap: balance;
}

.asme-page-banner p:not(.asme-eyebrow) {
	max-width: 560px;
	margin: 22px 0 0;
	color: rgba(255, 253, 248, 0.78);
	font-size: 16px;
}

.asme-content-section,
.asme-archive-section,
.asme-article-section,
.asme-related-section,
.asme-elementor-content {
	padding: clamp(64px, 8vw, 112px) 0 120px;
	background: var(--asme-paper);
}

.asme-content-section {
	background: var(--asme-surface);
}

.asme-page-content,
.asme-elementor-content {
	max-width: 940px;
}

.asme-page-content > *:first-child,
.asme-elementor-content > *:first-child {
	margin-top: 0;
}

.asme-page-content > *:last-child,
.asme-elementor-content > *:last-child {
	margin-bottom: 0;
}

.asme-page-content h2,
.asme-page-content h3,
.asme-page-content h4,
.asme-elementor-content h2,
.asme-elementor-content h3,
.asme-elementor-content h4 {
	margin-top: 2.4em;
	font-family: var(--asme-display);
	line-height: 1.1;
}

.asme-page-content p,
.asme-elementor-content p,
.asme-article-content p,
.asme-article-content li {
	max-width: 70ch;
	color: var(--asme-body);
}

.asme-page-content blockquote,
.asme-elementor-content blockquote,
.asme-article-content blockquote {
	padding: 12px 0 12px 24px;
	margin: 2.5em 0;
	border-left: 3px solid var(--asme-gold);
	font-family: var(--asme-display);
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.2;
}

/* Editorial archive system */
.asme-archive-layout,
.asme-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(40px, 6vw, 92px);
	align-items: start;
}

.asme-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-section-heading--archive {
	align-items: end;
}

.asme-section-heading h2,
.asme-category-intro h2 {
	max-width: 650px;
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(32px, 4vw, 58px);
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-wrap: balance;
}

.asme-section-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--asme-gold-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.asme-section-link:hover,
.asme-section-link:focus-visible {
	color: var(--asme-ink);
	transform: translateX(3px);
}

.asme-blog-grid,
.asme-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}

.asme-home-news-grid,
.asme-shortcode-posts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.asme-blog-grid .asme-story-card:first-child {
	grid-column: 1 / -1;
}

.asme-blog-grid .asme-story-card:first-child .asme-story-media {
	aspect-ratio: 16 / 7;
}

.asme-shortcode-posts--list,
.asme-shortcode-posts--mini {
	grid-template-columns: 1fr;
}

.asme-shortcode-posts--list .asme-story-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
	align-items: stretch;
}

.asme-shortcode-posts--list .asme-story-body {
	padding: 26px 28px;
}

/* Homepage latest-news cards: four-up editorial row on desktop. */
.asme-shortcode-posts--grid .asme-story-media,
.asme-home-news-grid .asme-story-media {
	aspect-ratio: 16 / 9;
}

.asme-shortcode-posts--grid .asme-story-body,
.asme-home-news-grid .asme-story-body {
	padding: 18px 18px 20px;
}

.asme-shortcode-posts--grid .asme-story-title,
.asme-home-news-grid .asme-story-title {
	font-size: clamp(17px, 1.45vw, 23px);
	line-height: 1.12;
}

.asme-shortcode-posts--grid .asme-story-body > p,
.asme-home-news-grid .asme-story-body > p {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.5;
}

.asme-story-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	border-radius: var(--asme-radius);
	box-shadow: 0 8px 24px rgba(65, 55, 32, 0.04);
	overflow: hidden;
}

.asme-story-card:hover {
	box-shadow: var(--asme-shadow);
	transform: translateY(-4px);
}

.asme-story-media,
.asme-editor-pick-media,
.asme-mini-media {
	display: block;
	background: var(--asme-ink);
	overflow: hidden;
}

.asme-story-media {
	aspect-ratio: 4 / 3;
}

.asme-story-card--list .asme-story-media {
	aspect-ratio: 16 / 10;
}

.asme-story-image,
.asme-editor-pick-image,
.asme-mini-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.asme-story-media:hover .asme-story-image,
.asme-story-media:focus-visible .asme-story-image,
.asme-editor-pick-media:hover .asme-editor-pick-image,
.asme-editor-pick-media:focus-visible .asme-editor-pick-image,
.asme-mini-media:hover .asme-mini-image,
.asme-mini-media:focus-visible .asme-mini-image {
	filter: saturate(1.08);
	transform: scale(1.045);
}

.asme-story-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 26px;
}

.asme-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--asme-muted);
	font-family: var(--asme-mono);
	font-size: 10px;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.asme-post-category {
	color: var(--asme-gold-deep);
	font-family: var(--asme-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.asme-story-title {
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(21px, 2vw, 29px);
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-wrap: balance;
}

.asme-story-title a,
.asme-mini-title {
	text-decoration: none;
}

.asme-story-title a:hover,
.asme-story-title a:focus-visible,
.asme-mini-title:hover,
.asme-mini-title:focus-visible {
	color: var(--asme-gold-deep);
}

.asme-story-body > p {
	margin: 16px 0 0;
	color: var(--asme-body);
	font-size: 13px;
	line-height: 1.6;
}

.asme-shortcode-empty {
	grid-column: 1 / -1;
	padding: 24px 0;
	margin: 0;
	color: var(--asme-muted);
	border-top: 1px solid var(--asme-line);
	border-bottom: 1px solid var(--asme-line);
}

.asme-category-intro {
	padding-bottom: 30px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-category-listing {
	display: grid;
	gap: 0;
}

.asme-category-listing .asme-story-card {
	display: grid;
	grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1fr);
	border-width: 0 0 1px;
	border-radius: 0;
	box-shadow: none;
}

.asme-category-listing .asme-story-card:first-child {
	border-top: 1px solid var(--asme-line);
}

.asme-category-listing .asme-story-card:hover {
	box-shadow: none;
	transform: none;
}

.asme-category-listing .asme-story-body {
	padding: 26px 28px 26px 28px;
}

.asme-empty-state {
	padding: 44px 0;
	border-top: 1px solid var(--asme-line);
	border-bottom: 1px solid var(--asme-line);
}

.asme-empty-state h2 {
	margin: 0;
	font-family: var(--asme-display);
	font-size: 32px;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.asme-empty-state p {
	max-width: 46ch;
	color: var(--asme-body);
}

.asme-pagination {
	padding-top: 32px;
}

.asme-pagination ul {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.asme-pagination a,
.asme-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	color: var(--asme-ink);
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	font-size: 11px;
	text-decoration: none;
}

.asme-pagination a:hover,
.asme-pagination a:focus-visible,
.asme-pagination .current {
	color: var(--asme-ink);
	background: var(--asme-gold);
	border-color: var(--asme-gold);
}

/* Sidebar */
.asme-sidebar {
	position: sticky;
	top: 24px;
}

.asme-sidebar-block {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-sidebar-block h2,
.asme-footer-column h2,
.asme-footer-newsletter h2 {
	margin: 0 0 16px;
	font-family: var(--asme-display);
	font-size: 23px;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.asme-sidebar-search {
	display: flex;
	align-items: center;
	padding: 5px 10px 5px 13px;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
}

.asme-sidebar-search:focus-within {
	border-color: var(--asme-gold);
	box-shadow: 0 0 0 3px rgba(176, 139, 40, 0.12);
}

.asme-category-list,
.asme-mini-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.asme-category-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
}

.asme-category-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	color: var(--asme-body);
	font-size: 12px;
	text-decoration: none;
}

.asme-category-list a::before {
	width: 5px;
	height: 5px;
	background: var(--asme-gold);
	content: '';
	transform: rotate(45deg);
}

.asme-category-list a:hover,
.asme-category-list a:focus-visible {
	color: var(--asme-gold-deep);
	transform: translateX(3px);
}

.asme-mini-list {
	display: grid;
	gap: 17px;
}

.asme-mini-post {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.asme-mini-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.asme-mini-media .asme-mini-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.asme-mini-title {
	display: block;
	font-family: var(--asme-display);
	font-size: 16px;
	line-height: 1.12;
}

.asme-mini-post time {
	display: block;
	margin-top: 8px;
	color: var(--asme-muted);
	font-family: var(--asme-mono);
	font-size: 9px;
}

.asme-newsletter {
	padding: 28px;
	color: var(--asme-white);
	background: var(--asme-ink);
	box-shadow: var(--asme-shadow-dark);
}

.asme-newsletter .asme-eyebrow {
	color: var(--asme-gold);
	border-color: var(--asme-gold);
}

.asme-newsletter h2 {
	margin: 0;
	font-family: var(--asme-display);
	font-size: 27px;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.asme-newsletter > p:not(.asme-eyebrow) {
	color: rgba(255, 253, 248, 0.7);
	font-size: 13px;
}

.asme-newsletter-form,
.asme-footer-form {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.asme-newsletter-form,
.asme-footer-form {
	grid-template-columns: 1fr;
}

.asme-newsletter-form input,
.asme-footer-form input {
	min-width: 0;
	padding: 11px 12px;
	color: var(--asme-ink);
	background: var(--asme-surface);
	border: 1px solid var(--asme-surface);
	font-size: 12px;
}

.asme-newsletter-form input::placeholder,
.asme-footer-form input::placeholder {
	color: var(--asme-muted);
}

.asme-newsletter-form input:focus,
.asme-footer-form input:focus {
	outline: 0;
	border-color: var(--asme-gold);
	box-shadow: 0 0 0 3px rgba(176, 139, 40, 0.22);
}

.asme-newsletter-form button,
.asme-footer-form button {
	padding: 10px 14px;
	color: var(--asme-ink);
	background: var(--asme-gold);
	border: 1px solid var(--asme-gold);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.asme-newsletter-form button,
.asme-footer-form button {
	width: 100%;
}

.asme-newsletter-form button:hover,
.asme-newsletter-form button:focus-visible,
.asme-footer-form button:hover,
.asme-footer-form button:focus-visible {
	color: var(--asme-white);
	background: var(--asme-gold-deep);
	border-color: var(--asme-gold-deep);
	transform: translateY(-1px);
}

.asme-newsletter-form button:active,
.asme-footer-form button:active {
	transform: translateY(1px) scale(0.98);
}

.asme-form-message {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	color: var(--asme-gold-wash);
	font-size: 11px;
}

/* Homepage shortcode featured story */
.asme-editor-pick {
	position: relative;
	display: flex;
	height: clamp(360px, 30vw, 430px);
	min-height: 0;
	flex-direction: column;
	align-self: start;
	padding: 24px;
	overflow: hidden;
	background: var(--asme-ink);
	color: var(--asme-white);
}

.asme-editor-pick .asme-eyebrow {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	color: var(--asme-gold);
	border-color: var(--asme-gold);
}

.asme-editor-pick-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.asme-editor-pick-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.asme-editor-pick-media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(21, 21, 21, 0.2) 0%, rgba(21, 21, 21, 0.32) 34%, rgba(21, 21, 21, 0.94) 100%);
	content: '';
}

.asme-editor-pick-copy {
	position: absolute;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 0;
}

.asme-editor-pick-copy .asme-post-meta {
	color: rgba(255, 253, 248, 0.6);
}

.asme-editor-pick-copy .asme-post-category {
	color: var(--asme-gold);
}

.asme-editor-pick-copy h2 {
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(22px, 1.8vw, 30px);
	letter-spacing: -0.05em;
	line-height: 1.02;
}

.asme-editor-pick h2 a {
	text-decoration: none;
}

.asme-editor-pick h2 a:hover,
.asme-editor-pick h2 a:focus-visible {
	color: var(--asme-gold);
}

.asme-editor-pick .asme-editor-pick-copy > p:last-child {
	display: block;
	align-self: stretch;
	width: 100%;
	max-width: none;
	margin: 14px 0 0;
	color: rgba(255, 253, 248, 0.72);
	font-size: 13px;
	line-height: 1.5;
}

/* Keep the featured article and its companion list visually balanced. */
.asme-shortcode-mini-list {
	flex: 1 1 auto;
	height: 100%;
	min-height: 0;
	align-content: stretch;
	grid-auto-rows: minmax(0, 1fr);
}

/* Single article */
.asme-breadcrumbs {
	padding: 17px 0;
	color: var(--asme-muted);
	background: var(--asme-surface);
	border-bottom: 1px solid var(--asme-line);
	font-size: 11px;
}

.asme-breadcrumbs .asme-shell {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}

.asme-breadcrumbs a {
	color: var(--asme-body);
	text-decoration: none;
}

.asme-breadcrumbs a:hover,
.asme-breadcrumbs a:focus-visible {
	color: var(--asme-gold-deep);
}

.asme-article {
	min-width: 0;
}

.asme-article-header {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-article-header h1 {
	max-width: 860px;
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(42px, 6vw, 82px);
	letter-spacing: -0.06em;
	line-height: 0.96;
	text-wrap: balance;
}

.asme-article-byline {
	margin: 20px 0 0;
	color: var(--asme-muted);
	font-family: var(--asme-mono);
	font-size: 11px;
}

.asme-article-image {
	width: 100%;
	max-height: 680px;
	margin-top: 30px;
	object-fit: cover;
	background: var(--asme-ink);
}

.asme-article-content {
	padding-top: 38px;
}

.asme-article-content > *:first-child {
	margin-top: 0;
}

.asme-article-content > *:last-child {
	margin-bottom: 0;
}

.asme-article-content h2,
.asme-article-content h3,
.asme-article-content h4 {
	margin-top: 2.2em;
	font-family: var(--asme-display);
	line-height: 1.1;
}

.asme-article-content img {
	height: auto;
	margin-block: 28px;
}

.asme-share {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 28px;
	margin-top: 42px;
	border-top: 1px solid var(--asme-line);
}

.asme-share strong {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 8px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.asme-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--asme-ink);
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	border-radius: 50%;
	text-decoration: none;
}

.asme-share a:hover,
.asme-share a:focus-visible {
	color: var(--asme-ink);
	background: var(--asme-gold);
	border-color: var(--asme-gold);
	transform: translateY(-2px);
}

.asme-related-section {
	background: var(--asme-surface);
	border-top: 1px solid var(--asme-line);
}

/* Contact and user-authored Elementor forms */
.asme-contact-form,
.asme-main .elementor-form {
	padding: clamp(24px, 4vw, 44px);
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: var(--asme-shadow);
}

.asme-contact-form label,
.asme-main .elementor-form label {
	display: block;
	margin-bottom: 7px;
	color: var(--asme-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.asme-contact-form input,
.asme-contact-form textarea,
.asme-main .elementor-form input,
.asme-main .elementor-form textarea,
.asme-main .elementor-form select {
	width: 100%;
	padding: 12px 13px;
	color: var(--asme-ink);
	background: var(--asme-paper);
	border: 1px solid var(--asme-line);
}

.asme-contact-form input:focus,
.asme-contact-form textarea:focus,
.asme-main .elementor-form input:focus,
.asme-main .elementor-form textarea:focus,
.asme-main .elementor-form select:focus {
	outline: 0;
	border-color: var(--asme-gold);
	box-shadow: 0 0 0 3px rgba(176, 139, 40, 0.12);
}

/* Footer */
.asme-site-footer {
	color: rgba(255, 253, 248, 0.78);
	background: var(--asme-ink);
	border-top: 1px solid var(--asme-gold);
}

.asme-footer-inner {
	padding: 72px 0 24px;
}

.asme-footer-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(120px, 0.7fr)) minmax(230px, 1.25fr);
	gap: 34px;
}

.asme-footer-brand {
	padding-right: 18px;
}

.asme-footer-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 84px;
	margin-bottom: 20px;
}

.asme-footer-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.asme-footer-brand p,
.asme-footer-newsletter p {
	max-width: 31ch;
	margin: 0;
	font-size: 12px;
	line-height: 1.65;
}

.asme-footer-social {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}

.asme-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--asme-white);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	font-size: 11px;
	text-decoration: none;
}

.asme-footer-social a:hover,
.asme-footer-social a:focus-visible {
	color: var(--asme-ink);
	background: var(--asme-gold);
	border-color: var(--asme-gold);
	transform: translateY(-2px);
}

.asme-footer-column h2,
.asme-footer-newsletter h2 {
	color: var(--asme-white);
	font-family: var(--asme-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.asme-footer-column ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.asme-footer-column li + li {
	margin-top: 8px;
}

.asme-footer-column a {
	color: rgba(255, 253, 248, 0.66);
	font-size: 12px;
	text-decoration: none;
}

.asme-footer-column a:hover,
.asme-footer-column a:focus-visible {
	color: var(--asme-gold);
	transform: translateX(2px);
}

.asme-footer-newsletter {
	padding: 22px;
	background: var(--asme-ink-soft);
	border: 1px solid var(--asme-line-dark);
}

.asme-footer-newsletter p {
	margin-bottom: 18px;
	color: rgba(255, 253, 248, 0.68);
}

.asme-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	margin-top: 66px;
	border-top: 1px solid var(--asme-line-dark);
	font-size: 10px;
}

.asme-footer-bottom p {
	margin: 0;
	color: rgba(255, 253, 248, 0.52);
}

.asme-footer-bottom a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--asme-gold);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.asme-footer-bottom a:hover,
.asme-footer-bottom a:focus-visible {
	color: var(--asme-white);
	transform: translateY(-1px);
}

@media (max-width: 1120px) {
	.asme-masthead-inner {
		grid-template-columns: 150px minmax(0, 1fr) auto;
		gap: 20px;
	}

	.asme-brand {
		width: 112px;
		height: 112px;
	}

	.asme-menu {
		gap: 17px;
	}

	.asme-menu a {
		font-size: 9px;
	}

	.asme-footer-grid {
		grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(120px, 0.75fr)) minmax(230px, 1.25fr);
	}

	.asme-footer-newsletter {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.asme-shell {
		width: min(var(--asme-shell), calc(100% - 40px));
	}

	.asme-masthead-inner {
		grid-template-columns: 120px minmax(0, 1fr) auto;
		min-height: 82px;
	}

	.asme-brand {
		width: 94px;
		height: 94px;
		padding: 10px;
		margin-top: 13px;
	}

	.asme-header-search {
		width: min(240px, 100%);
	}

	.asme-header-actions .asme-social-link {
		display: none;
	}

	.asme-menu-toggle {
		display: inline-flex;
	}

	.asme-primary-nav {
		display: none;
	}

	.asme-archive-layout,
	.asme-article-layout {
		grid-template-columns: 1fr;
	}

	.asme-home-news-grid,
	.asme-shortcode-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.asme-shortcode-posts--list,
	.asme-shortcode-posts--mini {
		grid-template-columns: 1fr;
	}

	.asme-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 28px;
	}

	.asme-sidebar .asme-newsletter {
		grid-column: 1 / -1;
	}

	.asme-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.asme-footer-brand,
	.asme-footer-newsletter {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.asme-shell {
		width: min(var(--asme-shell), calc(100% - 32px));
	}

	.asme-topbar-note {
		display: none;
	}

	.asme-masthead-inner {
		grid-template-columns: 82px minmax(0, 1fr) auto;
		gap: 14px;
	}

	.asme-brand {
		width: 78px;
		height: 78px;
		padding: 8px;
		margin-top: 8px;
	}

	.asme-header-search {
		width: auto;
	}

	.asme-header-search input {
		font-size: 11px;
	}

	.asme-menu-toggle {
		min-width: 36px;
		padding: 0;
	}

	.asme-menu-toggle span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.asme-page-banner {
		padding: 64px 0 70px;
	}

	.asme-page-banner h1 {
		font-size: clamp(42px, 15vw, 64px);
	}

	.asme-page-banner p:not(.asme-eyebrow) {
		font-size: 14px;
	}

	.asme-content-section,
	.asme-archive-section,
	.asme-article-section,
	.asme-related-section,
	.asme-elementor-content {
		padding: 60px 0 80px;
	}

	.asme-blog-grid,
	.asme-related-grid,
	.asme-home-news-grid,
	.asme-shortcode-posts,
	.asme-sidebar {
		grid-template-columns: 1fr;
	}

	.asme-blog-grid .asme-story-card:first-child {
		grid-column: auto;
	}

	.asme-blog-grid .asme-story-card:first-child .asme-story-media {
		aspect-ratio: 4 / 3;
	}

	.asme-shortcode-posts--list .asme-story-card,
	.asme-category-listing .asme-story-card {
		grid-template-columns: 1fr;
	}

	.asme-shortcode-posts--list .asme-story-body,
	.asme-category-listing .asme-story-body {
		padding: 20px 0 24px;
	}

	.asme-category-listing .asme-story-media {
		aspect-ratio: 16 / 10;
	}

	.asme-section-heading {
		display: block;
	}

	.asme-section-link {
		margin-top: 18px;
	}

	.asme-editor-pick {
		height: 380px;
		padding: 22px;
	}

	.asme-editor-pick-media {
		margin-bottom: 0;
	}

	.asme-editor-pick-copy {
		display: flex;
		right: 22px;
		bottom: 22px;
		left: 22px;
		padding-top: 0;
	}

	.asme-editor-pick h2 {
		font-size: clamp(23px, 7vw, 32px);
		line-height: 1.02;
	}

	.asme-editor-pick-copy > p:last-child {
		max-width: none;
	}

	.asme-shortcode-mini-list {
		height: auto;
		grid-auto-rows: auto;
	}

	.asme-sidebar .asme-sidebar-block {
		margin-bottom: 22px;
	}

	.asme-newsletter-form,
	.asme-footer-form {
		grid-template-columns: 1fr;
	}

	.asme-newsletter-form button,
	.asme-footer-form button {
		min-height: 42px;
	}

	.asme-footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.asme-footer-brand,
	.asme-footer-newsletter {
		grid-column: auto;
	}

	.asme-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 13px;
		margin-top: 42px;
	}

	.asme-share {
		align-items: flex-start;
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	body.asme-site *,
	body.asme-site *::before,
	body.asme-site *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.asme-reveal,
	.asme-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}
