/*
Theme Name: Hello Elementor Child - MalayMails
Theme URI: https://talos.my/ASME/
Description: Editorial child theme for MalayMails, built on Hello Elementor.
Author: MalayMails
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
*/

:root {
	--asme-ink: #14233f;
	--asme-ink-deep: #071d3b;
	--asme-navy: #0d2b53;
	--asme-red: #cf252c;
	--asme-red-dark: #a91d24;
	--asme-paper: #f7f4ed;
	--asme-paper-deep: #eee7da;
	--asme-surface: #fffdf8;
	--asme-body: #34415a;
	--asme-muted: #728096;
	--asme-line: #d9d1c4;
	--asme-line-dark: rgba(255, 255, 255, 0.18);
	--asme-white: #ffffff;
	--asme-shell: 1240px;
	--asme-radius: 12px;
	--asme-radius-small: 6px;
	--asme-shadow: 0 18px 42px rgba(18, 39, 70, 0.11);
	--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-body);
	background: var(--asme-paper);
	font-family: var(--asme-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.asme-site *,
body.asme-site *::before,
body.asme-site *::after {
	box-sizing: border-box;
}

body.asme-site h1,
body.asme-site h2,
body.asme-site h3,
body.asme-site h4,
body.asme-site p {
	margin-top: 0;
}

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(207, 37, 44, 0.46);
	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-white);
	background: var(--asme-red);
	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;
	background: var(--asme-surface);
}

.asme-topbar {
	color: var(--asme-white);
	background: var(--asme-ink-deep);
	font-size: 11px;
}

.asme-topbar-inner,
.asme-topbar-branding,
.asme-topbar-right,
.asme-topbar-links,
.asme-topbar-social {
	display: flex;
	align-items: center;
}

.asme-topbar-inner {
	justify-content: space-between;
	min-height: 36px;
	gap: 20px;
}

.asme-topbar-branding,
.asme-topbar-right {
	gap: 18px;
}

.asme-topbar-branding strong {
	font-size: 11px;
	font-weight: 700;
}

.asme-current-datetime {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--asme-mono);
	font-size: 10px;
	font-variant-numeric: tabular-nums;
}

.asme-topbar-links {
	gap: 12px;
}

.asme-topbar-links a,
.asme-topbar-social a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.asme-topbar-links a {
	font-size: 10px;
}

.asme-topbar-links a + a::before {
	content: '|';
	margin-right: 12px;
	color: rgba(255, 255, 255, 0.38);
}

.asme-topbar-links a:hover,
.asme-topbar-links a:focus,
.asme-topbar-social a:hover,
.asme-topbar-social a:focus {
	color: var(--asme-white);
}

.asme-topbar-social {
	gap: 13px;
	font-size: 13px;
}

.asme-masthead {
	background: var(--asme-surface);
	border-bottom: 1px solid var(--asme-line);
}

.asme-masthead-inner {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 86px;
}

.asme-brand {
	display: inline-flex;
	align-items: center;
	width: 230px;
	text-decoration: none;
}

.asme-brand img {
	width: 100%;
	height: auto;
	max-height: 66px;
	object-fit: contain;
	object-position: left center;
}

.asme-primary-nav {
	min-width: 0;
}

.asme-menu,
.asme-mobile-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asme-menu .menu-item,
.asme-mobile-menu .menu-item {
	position: relative;
}

.asme-menu a,
.asme-mobile-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	color: var(--asme-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.asme-menu a:hover,
.asme-menu a:focus,
.asme-menu .current-menu-item > a,
.asme-menu .current_page_item > a {
	color: var(--asme-red);
}

.asme-menu .current-menu-item > a::after,
.asme-menu .current_page_item > a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 3px;
	background: var(--asme-red);
	content: '';
}

.asme-menu .menu-item-has-children > a::after {
	margin-left: 7px;
	font-family: 'Font Awesome 6 Free';
	font-size: 9px;
	font-weight: 900;
	content: '\f078';
}

.asme-menu .menu-item-has-children .sub-menu {
	position: absolute;
	top: calc(100% + 1px);
	left: -12px;
	z-index: 30;
	display: grid;
	min-width: 210px;
	margin: 0;
	padding: 8px 0;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: var(--asme-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(5px);
}

.asme-menu .menu-item-has-children:hover .sub-menu,
.asme-menu .menu-item-has-children:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.asme-menu .sub-menu a {
	width: 100%;
	padding: 9px 14px;
	font-weight: 600;
}

.asme-menu .sub-menu a::after {
	display: none;
}

.asme-header-actions,
.asme-header-search {
	display: flex;
	align-items: center;
}

.asme-header-actions {
	gap: 10px;
}

.asme-header-search {
	width: 42px;
	border-bottom: 1px solid var(--asme-ink);
}

.asme-header-search input {
	width: 0;
	min-width: 0;
	padding: 8px 0;
	color: var(--asme-ink);
	background: transparent;
	border: 0;
	opacity: 0;
}

.asme-header-search:focus-within,
.asme-header-search:hover {
	width: 170px;
}

.asme-header-search:focus-within input,
.asme-header-search:hover input {
	width: 100%;
	opacity: 1;
}

.asme-header-search input::placeholder {
	color: var(--asme-muted);
}

.asme-header-search input:focus {
	outline: 0;
}

.asme-header-search button,
.asme-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--asme-ink);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.asme-header-search button:hover,
.asme-header-search button:focus,
.asme-menu-toggle:hover,
.asme-menu-toggle:focus {
	color: var(--asme-red);
}

.asme-menu-toggle {
	display: none;
}

.asme-mobile-nav {
	background: var(--asme-surface);
	border-bottom: 1px solid var(--asme-line);
}

.asme-mobile-menu {
	display: grid;
	justify-content: stretch;
	gap: 0;
	padding: 9px 0 14px;
}

.asme-mobile-menu a {
	width: 100%;
	padding: 11px 0;
	border-bottom: 1px solid var(--asme-line);
}

/* Shared editorial elements */
.asme-main {
	min-height: 20rem;
}

.asme-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
	color: var(--asme-red);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.asme-eyebrow::before {
	display: inline-block;
	width: 5px;
	height: 18px;
	background: var(--asme-red);
	content: '';
}

.asme-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 26px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-section-heading h2 {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(27px, 3vw, 43px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: balance;
}

.asme-section-link,
.asme-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 9px 16px;
	color: var(--asme-white) !important;
	background: var(--asme-red);
	border: 1px solid var(--asme-red);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.asme-section-link:hover,
.asme-section-link:focus,
.asme-button:hover,
.asme-button:focus {
	color: var(--asme-white) !important;
	background: var(--asme-red-dark);
	border-color: var(--asme-red-dark);
	transform: translateY(-2px);
}

.asme-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 11px;
	color: var(--asme-muted);
	font-size: 11px;
	line-height: 1.3;
}

.asme-post-category {
	color: var(--asme-red);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.asme-post-meta time,
.asme-article-byline,
.asme-mini-post time {
	font-variant-numeric: tabular-nums;
}

.asme-reveal {
	opacity: 0;
	transform: translateY(14px);
}

.asme-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Default homepage composition */
.asme-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 520px;
	overflow: hidden;
	color: var(--asme-white);
	background: var(--asme-ink-deep);
}

.asme-home-hero-art,
.asme-home-facts-art {
	position: absolute;
	inset: 0;
}

.asme-home-hero-art::after,
.asme-home-facts-art::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 29, 59, 0.94) 0%, rgba(7, 29, 59, 0.7) 42%, rgba(7, 29, 59, 0.2) 100%);
	content: '';
}

.asme-home-hero-art img,
.asme-home-facts-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.asme-home-hero-content,
.asme-home-facts-content {
	position: relative;
	z-index: 1;
}

.asme-home-hero-content {
	padding-top: 82px;
	padding-bottom: 86px;
}

.asme-home-hero .asme-eyebrow {
	color: #ffcf52;
}

.asme-home-hero .asme-eyebrow::before,
.asme-home-facts .asme-eyebrow::before {
	background: var(--asme-red);
}

.asme-home-hero h1 {
	max-width: 660px;
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(46px, 6.2vw, 79px);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-wrap: balance;
}

.asme-home-hero-content > p:not(.asme-eyebrow) {
	max-width: 500px;
	margin: 21px 0 27px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.5;
}

.asme-home-topics {
	position: relative;
	z-index: 2;
	background: var(--asme-surface);
	border-bottom: 1px solid var(--asme-line);
}

.asme-home-topic-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asme-home-topic {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	min-height: 145px;
	padding: 18px 20px;
	color: var(--asme-ink);
	border-right: 1px solid var(--asme-line);
	text-align: center;
	text-decoration: none;
}

.asme-home-topic:first-child {
	border-left: 1px solid var(--asme-line);
}

.asme-home-topic:hover,
.asme-home-topic:focus {
	color: var(--asme-red);
	background: var(--asme-paper);
}

.asme-home-topic > i {
	margin-bottom: 11px;
	color: var(--asme-red);
	font-size: 30px;
}

.asme-home-topic-label {
	font-family: var(--asme-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.1;
}

.asme-home-topic-description {
	margin-top: 5px;
	color: var(--asme-body);
	font-size: 12px;
	line-height: 1.35;
}

.asme-home-section {
	padding: 76px 0 86px;
	background: var(--asme-paper);
}

.asme-home-section-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	align-items: end;
	margin-bottom: 30px;
	padding-bottom: 23px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-home-section-intro h2,
.asme-home-facts-content h2 {
	max-width: 650px;
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(34px, 4.3vw, 58px);
	letter-spacing: -0.045em;
	line-height: 1;
	text-wrap: balance;
}

.asme-home-section-intro > div > p:not(.asme-eyebrow) {
	max-width: 560px;
	margin: 14px 0 0;
	font-size: 16px;
}

.asme-home-story-grid .asme-shortcode-posts--grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asme-home-facts {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 390px;
	overflow: hidden;
	color: var(--asme-white);
	background: var(--asme-ink-deep);
}

.asme-home-facts-art::after {
	background: linear-gradient(90deg, rgba(7, 29, 59, 0.96) 0%, rgba(7, 29, 59, 0.7) 48%, rgba(7, 29, 59, 0.24) 100%);
}

.asme-home-facts-content {
	padding-top: 78px;
	padding-bottom: 82px;
}

.asme-home-facts .asme-eyebrow {
	color: #ffcf52;
}

.asme-home-facts-content h2 {
	color: var(--asme-white);
}

.asme-home-facts-content > p:not(.asme-eyebrow) {
	max-width: 510px;
	margin: 16px 0 24px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
}

.asme-home-facts-stories {
	background: var(--asme-paper-deep);
}

/* Page and archive surfaces */
.asme-page-banner {
	position: relative;
	display: flex;
	align-items: end;
	min-height: 300px;
	overflow: hidden;
	color: var(--asme-white);
	background: var(--asme-navy);
}

.asme-page-banner--image {
	background: var(--asme-ink-deep);
}

.asme-page-banner-image {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.9) 0%, rgba(7, 29, 59, 0.62) 48%, rgba(7, 29, 59, 0.25) 100%), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=82');
	background-position: center;
	background-size: cover;
	opacity: 0.94;
}

.asme-page-banner-image--category {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.9) 0%, rgba(7, 29, 59, 0.58) 52%, rgba(7, 29, 59, 0.24) 100%), url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=82');
}

.asme-page-banner-image--archive {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.9) 0%, rgba(7, 29, 59, 0.58) 52%, rgba(7, 29, 59, 0.24) 100%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=82');
}

.asme-page-banner-content {
	position: relative;
	z-index: 1;
	padding-top: 74px;
	padding-bottom: 68px;
}

.asme-page-banner .asme-eyebrow {
	color: #ffcf52;
}

.asme-page-banner .asme-eyebrow::before {
	background: var(--asme-red);
}

.asme-page-banner h1 {
	max-width: 800px;
	margin: 0;
	font-family: var(--asme-display);
	font-size: clamp(42px, 6vw, 78px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
	text-wrap: balance;
}

.asme-page-banner p:not(.asme-eyebrow) {
	max-width: 620px;
	margin: 19px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
}

.asme-breadcrumbs {
	color: var(--asme-muted);
	background: var(--asme-surface);
	border-bottom: 1px solid var(--asme-line);
	font-size: 12px;
}

.asme-breadcrumbs .asme-shell {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 46px;
}

.asme-breadcrumbs a {
	color: var(--asme-ink);
	font-weight: 700;
	text-decoration: none;
}

.asme-breadcrumbs a:hover,
.asme-breadcrumbs a:focus {
	color: var(--asme-red);
}

.asme-archive-section,
.asme-content-section,
.asme-article-section,
.asme-related-section,
.asme-elementor-content {
	padding: 72px 0 92px;
}

.asme-content-section,
.asme-elementor-content {
	background: var(--asme-surface);
}

.asme-archive-layout,
.asme-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 62px;
	align-items: start;
}

.asme-blog-grid,
.asme-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.asme-story-card {
	min-width: 0;
	overflow: hidden;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: 0 8px 20px rgba(18, 39, 70, 0.035);
}

.asme-story-card:hover {
	box-shadow: var(--asme-shadow);
	transform: translateY(-3px);
}

.asme-story-media,
.asme-mini-media,
.asme-editor-pick-media {
	display: block;
	overflow: hidden;
	background: var(--asme-ink-deep);
}

.asme-story-image,
.asme-editor-pick-image,
.asme-mini-media img,
.asme-mini-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 280ms ease;
}

.asme-story-media {
	aspect-ratio: 16 / 10;
}

.asme-story-media:hover .asme-story-image,
.asme-story-media:focus .asme-story-image,
.asme-editor-pick-media:hover .asme-editor-pick-image,
.asme-editor-pick-media:focus .asme-editor-pick-image {
	transform: scale(1.045);
}

.asme-story-body {
	display: flex;
	flex-direction: column;
	min-height: 178px;
	padding: 18px 18px 20px;
}

.asme-story-title {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.asme-story-title a {
	text-decoration: none;
}

.asme-story-title a:hover,
.asme-story-title a:focus {
	color: var(--asme-red);
}

.asme-story-body p {
	margin: 12px 0 0;
	color: var(--asme-body);
	font-size: 13px;
	line-height: 1.6;
}

.asme-story-card--list {
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
	gap: 0;
	margin-bottom: 22px;
}

.asme-story-card--list .asme-story-media {
	aspect-ratio: 16 / 10;
	height: 100%;
}

.asme-story-card--list .asme-story-body {
	justify-content: center;
	min-height: 0;
	padding: 20px 24px;
}

.asme-category-intro {
	margin-bottom: 24px;
	padding: 20px 24px;
	background: var(--asme-paper-deep);
	border-left: 5px solid var(--asme-red);
}

.asme-category-intro h2 {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: 27px;
	line-height: 1.1;
}

/* Sidebar */
.asme-sidebar {
	position: sticky;
	top: 20px;
	display: grid;
	gap: 28px;
}

.asme-sidebar-block {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--asme-line);
}

.asme-sidebar-block h2,
.asme-footer-column h2,
.asme-footer-newsletter h2 {
	margin: 0 0 14px;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: 24px;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.asme-sidebar-search {
	display: flex;
	align-items: center;
	min-height: 44px;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
}

.asme-sidebar-search input {
	width: 100%;
	min-width: 0;
	padding: 11px 12px;
	color: var(--asme-ink);
	background: transparent;
	border: 0;
}

.asme-sidebar-search input:focus {
	outline: 0;
}

.asme-sidebar-search input::placeholder {
	color: var(--asme-muted);
}

.asme-sidebar-search button {
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--asme-red);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.asme-category-list,
.asme-mini-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.asme-category-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.asme-category-list li {
	border-bottom: 1px solid var(--asme-line);
}

.asme-category-list a {
	display: block;
	padding: 9px 0;
	color: var(--asme-body);
	font-size: 13px;
	text-decoration: none;
}

.asme-category-list a:hover,
.asme-category-list a:focus {
	color: var(--asme-red);
	padding-left: 4px;
}

.asme-mini-list {
	display: grid;
	gap: 16px;
}

.asme-mini-post {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.asme-mini-media {
	aspect-ratio: 1 / 0.78;
}

.asme-mini-title {
	display: block;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
}

.asme-mini-title:hover,
.asme-mini-title:focus {
	color: var(--asme-red);
}

.asme-mini-post time {
	display: block;
	margin-top: 6px;
	color: var(--asme-muted);
	font-size: 10px;
}

.asme-newsletter {
	padding: 24px;
	color: var(--asme-white);
	background: var(--asme-ink-deep);
	border-top: 5px solid var(--asme-red);
}

.asme-newsletter .asme-eyebrow {
	color: #ffcf52;
}

.asme-newsletter h2 {
	margin-bottom: 11px;
	font-family: var(--asme-display);
	font-size: 28px;
	line-height: 1.08;
}

.asme-newsletter > p:not(.asme-eyebrow) {
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
}

.asme-newsletter-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.asme-newsletter-form input,
.asme-footer-form input {
	min-width: 0;
	padding: 11px 12px;
	color: var(--asme-ink);
	background: var(--asme-white);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.asme-newsletter-form button,
.asme-footer-form button {
	padding: 0 16px;
	color: var(--asme-white);
	background: var(--asme-red);
	border: 1px solid var(--asme-red);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.asme-newsletter-form button:hover,
.asme-newsletter-form button:focus,
.asme-footer-form button:hover,
.asme-footer-form button:focus {
	background: var(--asme-red-dark);
	border-color: var(--asme-red-dark);
}

.asme-form-message {
	grid-column: 1 / -1;
	margin-top: 6px;
	color: #ffcf52;
	font-size: 12px;
}

/* Single story */
.asme-article-header {
	max-width: 860px;
	margin-bottom: 26px;
}

.asme-article-header h1 {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(40px, 5.6vw, 76px);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.98;
	text-wrap: balance;
}

.asme-article-byline {
	margin: 18px 0 0;
	color: var(--asme-muted);
	font-size: 12px;
}

.asme-article-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 32px;
	object-fit: cover;
	background: var(--asme-ink-deep);
}

.asme-article-content {
	max-width: 760px;
	color: var(--asme-body);
	font-size: 17px;
	line-height: 1.85;
}

.asme-article-content > *:first-child {
	margin-top: 0;
}

.asme-article-content h2,
.asme-article-content h3,
.asme-article-content h4 {
	margin: 38px 0 13px;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	line-height: 1.08;
}

.asme-article-content h2 {
	font-size: 34px;
}

.asme-article-content h3 {
	font-size: 27px;
}

.asme-article-content a {
	color: var(--asme-red-dark);
	text-decoration-color: currentColor;
}

.asme-article-content blockquote {
	margin: 34px 0;
	padding: 7px 26px;
	color: var(--asme-ink);
	border-left: 5px solid var(--asme-red);
	font-family: var(--asme-display);
	font-size: 25px;
	line-height: 1.4;
}

.asme-article-content img {
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 28px 0;
}

.asme-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--asme-line);
}

.asme-share strong {
	margin-right: 6px;
	color: var(--asme-ink);
	font-size: 12px;
}

.asme-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--asme-white);
	background: var(--asme-navy);
	font-size: 14px;
	text-decoration: none;
}

.asme-share a:hover,
.asme-share a:focus {
	color: var(--asme-white);
	background: var(--asme-red);
	transform: translateY(-2px);
}

.asme-related-section {
	background: var(--asme-paper-deep);
	border-top: 1px solid var(--asme-line);
}

/* Elementor and page content */
.asme-page-content,
.asme-elementor-content {
	color: var(--asme-body);
}

.asme-page-content > *:first-child {
	margin-top: 0;
}

.asme-page-content h2,
.asme-page-content h3,
.asme-elementor-content h2,
.asme-elementor-content h3 {
	color: var(--asme-ink);
	font-family: var(--asme-display);
}

.asme-page-content a,
.asme-elementor-content a {
	color: var(--asme-red-dark);
}

.asme-elementor-content {
	width: min(var(--asme-shell), calc(100% - 56px));
	margin-inline: auto;
}

.asme-empty-state,
.asme-shortcode-empty {
	padding: 28px;
	color: var(--asme-body);
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
}

.asme-empty-state h2 {
	margin: 0 0 8px;
	color: var(--asme-ink);
	font-family: var(--asme-display);
}

/* Homepage shortcode system */
.asme-shortcode-posts {
	display: grid;
	gap: 24px;
}

.asme-shortcode-posts--grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asme-shortcode-posts--list {
	grid-template-columns: 1fr;
}

.asme-shortcode-posts--list .asme-story-card {
	display: grid;
	grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
	gap: 0;
}

.asme-shortcode-posts--list .asme-story-media {
	height: 100%;
}

.asme-shortcode-posts--mini {
	display: block;
}

.asme-shortcode-mini-list {
	gap: 13px;
}

.asme-editor-pick {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	min-height: 320px;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: var(--asme-shadow);
}

.asme-editor-pick-media {
	min-height: 100%;
}

.asme-editor-pick-image {
	min-height: 100%;
	object-fit: cover;
}

.asme-editor-pick-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px;
}

.asme-editor-pick-copy h2 {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(28px, 4vw, 49px);
	letter-spacing: -0.04em;
	line-height: 1.02;
	text-wrap: balance;
}

.asme-editor-pick-copy h2 a {
	text-decoration: none;
}

.asme-editor-pick-copy h2 a:hover,
.asme-editor-pick-copy h2 a:focus {
	color: var(--asme-red);
}

.asme-editor-pick-copy > p:not(.asme-eyebrow) {
	margin: 16px 0 0;
	font-size: 15px;
}

.asme-shortcode-posts .asme-story-card--list .asme-story-body,
.asme-shortcode-posts--list .asme-story-card .asme-story-body {
	justify-content: center;
}

/* Footer */
.asme-site-footer {
	color: var(--asme-white);
	background: var(--asme-ink-deep);
	border-top: 5px solid var(--asme-red);
}

.asme-footer-inner {
	padding-top: 56px;
	padding-bottom: 22px;
}

.asme-footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(260px, 1fr);
	gap: 42px;
	align-items: start;
}

.asme-footer-logo {
	display: inline-block;
	max-width: 260px;
}

.asme-footer-logo img {
	width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
	object-position: left center;
}

.asme-footer-brand > p {
	max-width: 360px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.7;
}

.asme-footer-social {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.asme-footer-social a {
	color: var(--asme-white);
	font-size: 17px;
	text-decoration: none;
}

.asme-footer-social a:hover,
.asme-footer-social a:focus {
	color: #ffcf52;
	transform: translateY(-2px);
}

.asme-footer-column h2,
.asme-footer-newsletter h2 {
	color: var(--asme-white);
	font-family: var(--asme-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: none;
}

.asme-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.asme-footer-column li {
	margin-bottom: 9px;
}

.asme-footer-column a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	text-decoration: none;
}

.asme-footer-column a:hover,
.asme-footer-column a:focus {
	color: #ffcf52;
}

.asme-footer-newsletter > p {
	max-width: 280px;
	margin: 0 0 15px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.asme-footer-form-row {
	display: flex;
	gap: 8px;
}

.asme-footer-form input {
	width: 100%;
	min-height: 42px;
}

.asme-footer-form button {
	min-width: 98px;
	min-height: 42px;
}

.asme-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 45px;
	padding-top: 18px;
	border-top: 1px solid var(--asme-line-dark);
}

.asme-footer-bottom p,
.asme-footer-bottom a {
	margin: 0;
	color: rgba(255, 255, 255, 0.56);
	font-size: 11px;
	text-decoration: none;
}

.asme-footer-bottom a:hover,
.asme-footer-bottom a:focus {
	color: #ffcf52;
}

/* Responsive layout */
@media (max-width: 1160px) {
	.asme-masthead-inner {
		grid-template-columns: 220px minmax(0, 1fr) auto;
		gap: 18px;
	}

	.asme-brand {
		width: 205px;
	}

	.asme-menu {
		gap: 4px 15px;
	}

	.asme-menu a {
		font-size: 11px;
	}

	.asme-blog-grid,
	.asme-related-grid {
		gap: 20px;
	}

	.asme-shortcode-posts--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.asme-masthead-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 76px;
	}

	.asme-primary-nav {
		display: none;
	}

	.asme-menu-toggle {
		display: inline-flex;
	}

	.asme-header-search:hover,
	.asme-header-search:focus-within {
		width: 42px;
	}

	.asme-header-search:hover input,
	.asme-header-search:focus-within input {
		width: 0;
		opacity: 0;
	}

	.asme-header-search:focus-within {
		border-color: var(--asme-red);
	}

	.asme-header-search button {
		width: 42px;
	}

	.asme-archive-layout,
	.asme-article-layout {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.asme-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 30px;
	}

	.asme-sidebar .asme-newsletter {
		align-self: start;
	}

	.asme-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.asme-footer-brand,
	.asme-footer-newsletter {
		grid-column: 1 / -1;
	}

	.asme-footer-brand > p {
		max-width: 500px;
	}
}

@media (max-width: 700px) {
	.asme-shell {
		width: min(var(--asme-shell), calc(100% - 36px));
	}

	.asme-topbar-inner,
	.asme-topbar-branding,
	.asme-topbar-right {
		align-items: flex-start;
		flex-direction: column;
	}

	.asme-topbar-inner {
		gap: 8px;
		padding-top: 9px;
		padding-bottom: 10px;
	}

	.asme-topbar-branding,
	.asme-topbar-right {
		gap: 7px;
	}

	.asme-topbar-right {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.asme-topbar-links {
		gap: 8px;
	}

	.asme-topbar-links a + a::before {
		margin-right: 8px;
	}

	.asme-brand {
		width: 170px;
	}

	.asme-brand img {
		max-height: 54px;
	}

	.asme-header-actions {
		gap: 2px;
	}

	.asme-page-banner {
		min-height: 280px;
	}

	.asme-home-hero {
		min-height: 560px;
	}

	.asme-home-hero-content {
		padding-top: 68px;
		padding-bottom: 72px;
	}

	.asme-home-hero h1 {
		font-size: clamp(43px, 12.5vw, 60px);
	}

	.asme-home-hero-content > p:not(.asme-eyebrow) {
		font-size: 16px;
	}

	.asme-home-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.asme-home-topic,
	.asme-home-topic:first-child {
		min-height: 130px;
		border-top: 1px solid var(--asme-line);
		border-left: 0;
	}

	.asme-home-topic:nth-child(odd) {
		border-left: 1px solid var(--asme-line);
	}

	.asme-home-topic-label {
		font-size: 19px;
	}

	.asme-home-section {
		padding-top: 55px;
		padding-bottom: 65px;
	}

	.asme-home-section-intro {
		grid-template-columns: 1fr;
		gap: 20px;
		align-items: start;
	}

	.asme-home-section-intro h2,
	.asme-home-facts-content h2 {
		font-size: 42px;
	}

	.asme-home-facts {
		min-height: 490px;
	}

	.asme-home-facts-content {
		padding-top: 64px;
		padding-bottom: 68px;
	}

	.asme-page-banner-content {
		padding-top: 56px;
		padding-bottom: 52px;
	}

	.asme-page-banner h1 {
		font-size: clamp(40px, 13vw, 59px);
	}

	.asme-page-banner p:not(.asme-eyebrow) {
		font-size: 15px;
	}

	.asme-archive-section,
	.asme-content-section,
	.asme-article-section,
	.asme-related-section,
	.asme-elementor-content {
		padding: 52px 0 68px;
	}

	.asme-blog-grid,
	.asme-related-grid,
	.asme-shortcode-posts--grid,
	.asme-sidebar,
	.asme-footer-grid {
		grid-template-columns: 1fr;
	}

	.asme-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.asme-section-heading h2 {
		font-size: 33px;
	}

	.asme-story-card--list,
	.asme-shortcode-posts--list .asme-story-card {
		display: block;
	}

	.asme-story-card--list .asme-story-media,
	.asme-shortcode-posts--list .asme-story-media {
		aspect-ratio: 16 / 10;
		height: auto;
	}

	.asme-story-card--list .asme-story-body {
		padding: 18px;
	}

	.asme-story-body {
		min-height: 0;
	}

	.asme-sidebar-block {
		padding-bottom: 20px;
	}

	.asme-category-list {
		grid-template-columns: 1fr;
	}

	.asme-editor-pick {
		display: block;
	}

	.asme-editor-pick-media {
		aspect-ratio: 16 / 10;
	}

	.asme-editor-pick-image {
		min-height: 0;
	}

	.asme-editor-pick-copy {
		padding: 25px 20px 28px;
	}

	.asme-editor-pick-copy h2 {
		font-size: 37px;
	}

	.asme-newsletter-form {
		grid-template-columns: 1fr;
	}

	.asme-newsletter-form button {
		min-height: 42px;
	}

	.asme-article-header h1 {
		font-size: clamp(40px, 12vw, 58px);
	}

	.asme-article-content {
		font-size: 16px;
	}

	.asme-share strong {
		width: 100%;
		margin: 0 0 3px;
	}

	.asme-footer-grid {
		gap: 30px;
	}

	.asme-footer-form-row {
		flex-direction: column;
	}

	.asme-footer-form button {
		min-height: 42px;
	}

	.asme-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-top: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::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;
	}
}

/* About and contact page fallbacks */
.asme-page-banner-image--about {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.92) 0%, rgba(7, 29, 59, 0.58) 52%, rgba(7, 29, 59, 0.18) 100%), url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?auto=format&fit=crop&w=1800&q=84');
}

.asme-page-banner-image--contact {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.9) 0%, rgba(7, 29, 59, 0.55) 52%, rgba(7, 29, 59, 0.18) 100%), url('https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=1800&q=84');
}

.asme-about-purpose,
.asme-about-cover,
.asme-contact-section {
	background: var(--asme-paper);
}

.asme-about-grid,
.asme-about-cover-grid,
.asme-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 54px;
	align-items: center;
}

.asme-about-grid h2,
.asme-about-cover h2,
.asme-contact-form-card h2 {
	margin: 0;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: clamp(32px, 4vw, 52px);
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.asme-about-grid > div > p:not(.asme-eyebrow),
.asme-about-cover-grid > div > p:not(.asme-eyebrow) {
	max-width: 560px;
	margin: 18px 0 0;
	color: var(--asme-body);
	font-size: 16px;
	line-height: 1.7;
}

.asme-about-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: var(--asme-shadow);
}

.asme-about-pillar {
	display: grid;
	gap: 7px;
	justify-items: center;
	padding: 28px 16px;
	text-align: center;
}

.asme-about-pillar + .asme-about-pillar {
	border-left: 1px solid var(--asme-line);
}

.asme-about-pillar i {
	margin-bottom: 6px;
	color: var(--asme-red);
	font-size: 30px;
}

.asme-about-pillar strong {
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: 19px;
}

.asme-about-pillar span {
	color: var(--asme-body);
	font-size: 12px;
	line-height: 1.4;
}

.asme-about-cover-grid {
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.asme-about-cover-image {
	overflow: hidden;
	border-radius: 4px;
	box-shadow: var(--asme-shadow);
}

.asme-about-cover-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.asme-check-list {
	display: grid;
	gap: 15px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.asme-check-list li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: var(--asme-body);
	font-size: 15px;
	line-height: 1.5;
}

.asme-check-list i {
	padding-top: 3px;
	color: var(--asme-red);
}

.asme-check-list strong {
	color: var(--asme-ink);
}

.asme-contact-layout {
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
}

.asme-contact-details {
	display: grid;
	gap: 0;
	padding-top: 20px;
}

.asme-contact-detail {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid var(--asme-line);
}

.asme-contact-detail:first-child {
	padding-top: 0;
}

.asme-contact-detail i {
	padding-top: 3px;
	color: var(--asme-red);
	font-size: 25px;
	text-align: center;
}

.asme-contact-detail h2 {
	margin: 0 0 5px;
	color: var(--asme-ink);
	font-family: var(--asme-display);
	font-size: 21px;
}

.asme-contact-detail p,
.asme-contact-detail a {
	margin: 0;
	color: var(--asme-body);
	font-size: 14px;
	line-height: 1.55;
	text-decoration: none;
}

.asme-contact-detail a:hover,
.asme-contact-detail a:focus {
	color: var(--asme-red);
}

.asme-contact-form-card {
	padding: 34px;
	background: var(--asme-surface);
	border: 1px solid var(--asme-line);
	box-shadow: var(--asme-shadow);
}

.asme-contact-form-card h2 {
	margin-bottom: 24px;
	font-size: clamp(30px, 3.5vw, 44px);
}

.asme-contact-form-shell .wpcf7,
.asme-contact-form-shell .wpcf7-form {
	width: 100%;
}

.asme-contact-form-shell .wpcf7-form {
	display: grid;
	gap: 15px;
}

.asme-contact-form-shell .wpcf7-form p {
	margin: 0;
}

.asme-contact-form-shell .wpcf7-form label {
	display: block;
	color: var(--asme-ink);
	font-size: 13px;
	font-weight: 700;
}

.asme-contact-form-shell .wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.asme-contact-form-shell input:not([type='submit']),
.asme-contact-form-shell select,
.asme-contact-form-shell textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	color: var(--asme-ink);
	background: var(--asme-surface);
	border: 1px solid #c9c5bc;
	border-radius: 3px;
	font: inherit;
}

.asme-contact-form-shell textarea {
	min-height: 142px;
	resize: vertical;
}

.asme-contact-form-shell input:focus,
.asme-contact-form-shell select:focus,
.asme-contact-form-shell textarea:focus {
	border-color: var(--asme-red);
	box-shadow: 0 0 0 3px rgba(207, 37, 44, 0.14);
	outline: 0;
}

.asme-contact-form-shell input[type='submit'],
.asme-contact-form-shell .wpcf7-submit {
	min-height: 46px;
	padding: 11px 23px;
	color: var(--asme-white);
	background: var(--asme-red);
	border: 1px solid var(--asme-red);
	border-radius: 3px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.asme-contact-form-shell input[type='submit']:hover,
.asme-contact-form-shell input[type='submit']:focus,
.asme-contact-form-shell .wpcf7-submit:hover,
.asme-contact-form-shell .wpcf7-submit:focus {
	background: var(--asme-ink);
	border-color: var(--asme-ink);
	transform: translateY(-1px);
}

.asme-contact-form-shell .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: #a01820;
	font-size: 12px;
}

.asme-contact-form-shell .wpcf7-response-output {
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--asme-line);
	font-size: 13px;
}

.asme-contact-form-shell .wpcf7-spinner {
	margin: 0 0 0 8px;
}

@media (max-width: 960px) {
	.asme-about-grid,
	.asme-about-cover-grid,
	.asme-contact-layout {
		gap: 30px;
	}

	.asme-about-pillars {
		grid-template-columns: 1fr;
	}

	.asme-about-pillar + .asme-about-pillar {
		border-top: 1px solid var(--asme-line);
		border-left: 0;
	}
}

@media (max-width: 700px) {
	.asme-about-grid,
	.asme-about-cover-grid,
	.asme-contact-layout {
		grid-template-columns: 1fr;
	}

	.asme-about-cover-image {
		order: 2;
	}

	.asme-contact-form-card {
		padding: 24px 18px;
	}
}

/* Reference design refinements: MalayMails visual system */
.asme-topbar {
	min-height: 30px;
	background: #0b2b52;
}

.asme-topbar-inner {
	min-height: 30px;
}

.asme-topbar-branding {
	gap: 16px;
}

.asme-topbar-branding strong {
	letter-spacing: 0.01em;
}

.asme-masthead {
	border-bottom: 1px solid #e9e5dd;
}

.asme-masthead-inner {
	min-height: 70px;
	grid-template-columns: 250px minmax(0, 1fr) auto;
	gap: 26px;
}

.asme-brand {
	width: 242px;
}

.asme-brand img {
	max-height: 59px;
}

.asme-menu {
	gap: 4px 23px;
}

.asme-menu a {
	font-size: 11px;
}

.asme-home-hero {
	min-height: 498px;
	background: #09284d;
}

.asme-home-hero-art::after {
	background: linear-gradient(90deg, rgba(7, 29, 59, 0.96) 0%, rgba(7, 29, 59, 0.82) 27%, rgba(7, 29, 59, 0.35) 56%, rgba(7, 29, 59, 0.02) 100%);
}

.asme-home-hero-art img {
	object-position: center center;
}

.asme-home-hero-content {
	padding-top: 88px;
	padding-bottom: 92px;
}

.asme-home-hero .asme-eyebrow {
	display: none;
}

.asme-home-hero h1 {
	max-width: 540px;
	font-size: clamp(44px, 5.2vw, 69px);
	line-height: 0.98;
}

.asme-home-hero-content > p:not(.asme-eyebrow) {
	max-width: 470px;
	margin-top: 18px;
	font-size: 17px;
}

.asme-button,
.asme-section-link {
	border-radius: 4px;
	box-shadow: 0 8px 16px rgba(124, 26, 31, 0.18);
}

.asme-home-topics {
	background: #fffdf8;
}

.asme-home-topic-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asme-home-topic {
	min-height: 132px;
	padding: 17px 16px 19px;
	border-color: #dfd7c8;
}

.asme-home-topic > i {
	margin-bottom: 8px;
	color: #a77b3e;
	font-size: 31px;
}

.asme-home-topic-icon {
	display: block;
	width: 76px;
	height: 56px;
	margin: 0 auto 8px;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 2px 2px rgba(52, 38, 20, 0.12));
}

.asme-home-topic:nth-child(2) > i {
	color: #bd2730;
}

.asme-home-topic:nth-child(3) > i {
	color: #8b653b;
}

.asme-home-topic:nth-child(4) > i {
	color: #c79528;
}

.asme-home-topic-label {
	font-size: 19px;
}

.asme-home-topic-description {
	font-size: 12px;
}

.asme-home-section {
	position: relative;
	overflow: hidden;
	padding: 0 0 70px;
	background: #f8f0df;
}

.asme-home-section-art {
	position: absolute;
	inset: 0 0 auto;
	height: 340px;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

.asme-home-history-art {
	background-image: linear-gradient(90deg, rgba(248, 240, 223, 0.92) 0%, rgba(248, 240, 223, 0.78) 30%, rgba(248, 240, 223, 0.08) 72%), url('assets/images/malaymails/history-generated.png');
}

.asme-home-section > .asme-shell {
	position: relative;
	z-index: 1;
}

.asme-home-section-intro {
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 302px;
	margin-bottom: 28px;
	padding: 62px 0 34px;
	align-items: center;
	border-bottom: 0;
}

.asme-home-section-intro h2,
.asme-home-facts-content h2 {
	font-size: clamp(39px, 4.5vw, 58px);
}

.asme-home-section-intro h2 {
	max-width: 560px;
}

.asme-home-section-intro > div > p:not(.asme-eyebrow) {
	max-width: 480px;
	margin-top: 13px;
	font-size: 16px;
}

.asme-home-section-intro .asme-eyebrow,
.asme-home-facts-content .asme-eyebrow {
	color: var(--asme-red);
}

.asme-home-story-grid .asme-shortcode-posts--grid,
.asme-home-facts-stories .asme-shortcode-posts--grid {
	gap: 20px;
}

.asme-home-history .asme-story-card,
.asme-home-facts-stories .asme-story-card {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.asme-home-history .asme-story-media,
.asme-home-facts-stories .asme-story-media {
	border-radius: 11px;
	box-shadow: 0 6px 16px rgba(23, 43, 64, 0.12);
}

.asme-home-history .asme-story-body,
.asme-home-facts-stories .asme-story-body {
	min-height: 0;
	padding: 12px 8px 0;
	text-align: center;
}

.asme-home-history .asme-post-meta,
.asme-home-facts-stories .asme-post-meta {
	display: none;
}

.asme-home-history .asme-story-title,
.asme-home-facts-stories .asme-story-title {
	font-size: 18px;
}

.asme-home-history .asme-story-body p,
.asme-home-facts-stories .asme-story-body p {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.35;
}

.asme-home-facts {
	min-height: 365px;
	background: #09284d;
}

.asme-home-facts-art::after {
	background: linear-gradient(90deg, rgba(7, 29, 59, 0.98) 0%, rgba(7, 29, 59, 0.83) 32%, rgba(7, 29, 59, 0.2) 74%, rgba(7, 29, 59, 0.04) 100%);
}

.asme-home-facts-art img {
	object-fit: contain;
	object-position: right center;
	background: #09284d;
}

.asme-home-facts-content {
	padding-top: 73px;
	padding-bottom: 74px;
}

.asme-home-facts-content h2 {
	max-width: 590px;
}

.asme-home-facts-content > p:not(.asme-eyebrow) {
	max-width: 420px;
	margin-top: 17px;
	font-size: 16px;
}

.asme-home-facts .asme-button {
	color: #14233f !important;
	background: #ffcf52;
	border-color: #ffcf52;
	box-shadow: none;
}

.asme-home-facts .asme-button:hover,
.asme-home-facts .asme-button:focus {
	color: #14233f !important;
	background: #f3b937;
	border-color: #f3b937;
}

.asme-home-facts-stories {
	padding-top: 44px;
	padding-bottom: 73px;
	background: #f8f0df;
}

.asme-home-facts-stories .asme-section-heading {
	margin-bottom: 20px;
	border-bottom: 0;
}

.asme-page-banner {
	min-height: 335px;
}

.asme-page-banner-image {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.91) 0%, rgba(7, 29, 59, 0.65) 47%, rgba(7, 29, 59, 0.16) 100%), url('assets/images/malaymails/home-hero-generated.png');
}

.asme-page-banner-image--category {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.91) 0%, rgba(7, 29, 59, 0.63) 48%, rgba(7, 29, 59, 0.14) 100%), url('assets/images/malaymails/facts-generated.png');
	background-color: #09284d;
	background-position: center center, right center;
	background-size: 100% 100%, auto 100%;
	background-repeat: no-repeat;
}

.asme-page-banner-image--archive {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.91) 0%, rgba(7, 29, 59, 0.63) 48%, rgba(7, 29, 59, 0.14) 100%), url('assets/images/malaymails/history-generated.png');
}

.asme-page-banner-image--about,
.asme-page-banner-image--contact {
	background-image: linear-gradient(90deg, rgba(7, 29, 59, 0.91) 0%, rgba(7, 29, 59, 0.63) 48%, rgba(7, 29, 59, 0.14) 100%), url('assets/images/malaymails/about-contact-generated.png');
}

.asme-page-banner-content {
	padding-top: 69px;
	padding-bottom: 60px;
}

.asme-page-banner h1 {
	font-size: clamp(42px, 5.2vw, 70px);
}

.asme-archive-section,
.asme-content-section,
.asme-article-section,
.asme-related-section,
.asme-elementor-content {
	padding-top: 62px;
	padding-bottom: 78px;
}

.asme-archive-section,
.asme-article-section {
	background: #f8f0df;
}

.asme-blog-grid,
.asme-related-grid {
	gap: 24px;
}

.asme-story-card {
	border-color: #e0d6c5;
	border-radius: 9px;
	box-shadow: 0 5px 14px rgba(18, 39, 70, 0.05);
}

.asme-story-media {
	aspect-ratio: 4 / 3;
}

.asme-story-body {
	min-height: 164px;
	padding: 15px 16px 17px;
}

.asme-story-title {
	font-size: clamp(19px, 1.7vw, 24px);
}

.asme-category-intro {
	margin-bottom: 20px;
	padding: 0 0 16px;
	background: transparent;
	border-left: 0;
	border-bottom: 1px solid var(--asme-line);
}

.asme-category-intro h2 {
	font-size: 24px;
}

body.category .asme-archive-layout {
	grid-template-columns: 1fr;
}

body.category .asme-sidebar {
	display: none;
}

body.category .asme-blog-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asme-article-section {
	background: #fffdf8;
}

.asme-article {
	min-width: 0;
}

.asme-article-header h1 {
	max-width: 750px;
	font-size: clamp(37px, 4.1vw, 58px);
	line-height: 1.01;
}

.asme-article-image {
	margin-top: 23px;
	border-radius: 10px;
}

.asme-share a {
	border-radius: 50%;
}

.asme-related-section {
	background: #f8f0df;
}

.asme-about-purpose,
.asme-about-cover,
.asme-contact-section {
	background: #fffdf8;
}

.asme-about-purpose {
	padding-top: 63px;
	padding-bottom: 57px;
}

.asme-about-grid,
.asme-about-cover-grid,
.asme-contact-layout {
	gap: 42px;
}

.asme-about-grid h2,
.asme-about-cover h2,
.asme-contact-form-card h2 {
	font-size: clamp(31px, 3.5vw, 45px);
}

.asme-about-pillars {
	border-radius: 8px;
	background: #f8f0df;
	box-shadow: none;
}

.asme-about-pillar {
	padding: 25px 13px;
}

.asme-about-cover {
	padding-top: 58px;
	padding-bottom: 77px;
	background: #f8f0df;
}

.asme-about-cover-image {
	border-radius: 10px;
}

.asme-contact-section {
	padding-top: 55px;
	padding-bottom: 78px;
}

.asme-contact-form-card {
	border: 0;
	border-radius: 9px;
	background: #f8f0df;
	box-shadow: none;
}

.asme-contact-form-shell input:not([type='submit']),
.asme-contact-form-shell select,
.asme-contact-form-shell textarea {
	background: #fffdf8;
	border-color: #cfc6b8;
	border-radius: 4px;
}

.asme-site-footer {
	border-top: 0;
	background: #082546;
}

.asme-footer-inner {
	padding-top: 49px;
	padding-bottom: 19px;
}

.asme-footer-grid {
	gap: 36px;
}

.asme-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 13px;
}

.asme-footer-bottom {
	margin-top: 38px;
}

@media (max-width: 960px) {
	.asme-masthead-inner {
		min-height: 72px;
	}

	.asme-brand {
		width: 220px;
	}

	body.category .asme-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.asme-topbar-inner {
		min-height: 0;
	}

	.asme-home-hero {
		min-height: 560px;
	}

	.asme-home-hero-art img {
		object-position: 61% center;
	}

	.asme-home-hero-art::after {
		background: linear-gradient(90deg, rgba(7, 29, 59, 0.96) 0%, rgba(7, 29, 59, 0.77) 58%, rgba(7, 29, 59, 0.22) 100%);
	}

	.asme-home-hero-content {
		padding-top: 82px;
		padding-bottom: 76px;
	}

	.asme-home-hero h1 {
		max-width: 350px;
		font-size: clamp(42px, 12vw, 57px);
	}

	.asme-home-section-art {
		height: 290px;
		background-position: 64% top;
	}

	.asme-home-section-intro {
		min-height: 288px;
		padding-top: 55px;
		padding-bottom: 28px;
	}

	.asme-home-section-intro h2,
	.asme-home-facts-content h2 {
		font-size: 42px;
	}

	.asme-home-facts {
		min-height: 515px;
	}

	.asme-home-facts-art img {
		object-position: right center;
	}

	.asme-home-facts-art::after {
		background: linear-gradient(90deg, rgba(7, 29, 59, 0.97) 0%, rgba(7, 29, 59, 0.78) 62%, rgba(7, 29, 59, 0.18) 100%);
	}

	body.category .asme-blog-grid {
		grid-template-columns: 1fr;
	}
}

/* Search control isolation: prevent parent-theme button styles leaking into the header. */
.asme-header-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36px;
	align-items: center;
	height: 36px;
	min-width: 42px;
	overflow: hidden;
}

.asme-header-search input {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	height: 34px;
	padding: 7px 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	opacity: 0;
}

.asme-header-search button {
	grid-column: 2;
	grid-row: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--asme-ink) !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.asme-header-search:hover,
.asme-header-search:focus-within {
	width: 170px;
	overflow: visible;
}

.asme-header-search:hover input,
.asme-header-search:focus-within input {
	width: 100%;
	opacity: 1;
}

.asme-header-search:hover button,
.asme-header-search:focus-within button,
.asme-header-search button:hover,
.asme-header-search button:focus {
	color: var(--asme-red) !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	transform: none;
}

@media (max-width: 960px) {
	.asme-header-search:hover,
	.asme-header-search:focus-within {
		width: 42px;
		overflow: hidden;
	}

	.asme-header-search:hover input,
	.asme-header-search:focus-within input {
		width: 0;
		opacity: 0;
	}
}
