/* ASC Member Directory 1.7. Every color and effect comes from ASC Members > Appearance (CSS variables). */
:root {
	--asc-md-accent: #d97719;
	--asc-md-accent-hover: #b95e0e;
	--asc-md-button-text: #fff;
	--asc-md-text: #1f2328;
	--asc-md-muted: #5f6670;
	--asc-md-border: #e6e8eb;
	--asc-md-card-bg: #fff;
	--asc-md-bg: #fff;
	--asc-md-panel-bg: #fff;
	--asc-md-page-bg: #f5f4f7;
	--asc-md-pin: #d97719;
	--asc-md-pin-active: #b95e0e;
	--asc-md-placeholder: #eef0f2;
	--asc-md-radius: 14px;
	--asc-md-radius-sm: calc(var(--asc-md-radius) * .6);
	--asc-md-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
	--asc-md-shadow-hover: 0 2px 6px rgba(16, 24, 40, .06), 0 14px 32px rgba(16, 24, 40, .12);
	--asc-md-lift: -3px;
	--asc-md-tint: color-mix(in srgb, var(--asc-md-accent) 10%, transparent);
	--asc-md-pin-border: #fff;
	/* One background per part (ASC Members > Appearance > Fine-tune each part). */
	--asc-md-p-directory: var(--asc-md-bg);
	--asc-md-p-filterbar: var(--asc-md-card-bg);
	--asc-md-p-fields: transparent;
	--asc-md-p-cards: var(--asc-md-card-bg);
	--asc-md-p-pagination: var(--asc-md-card-bg);
	--asc-md-p-profile: var(--asc-md-bg);
	--asc-md-p-profile_buttons: var(--asc-md-card-bg);
	--asc-md-p-map_header: var(--asc-md-card-bg);
	--asc-md-p-map_panel: var(--asc-md-panel-bg);
	--asc-md-p-map_stats: var(--asc-md-tint);
	--asc-md-p-map_chips: var(--asc-md-tint);
	--asc-md-p-map_tooltip: #1f2328;
	--asc-md-p-map_zoom: #fff;
	--asc-md-p-map_cluster: var(--asc-md-pin);
}

/* ---------- Directory ---------- */
.asc-md-directory { width: 100%; margin: 0 auto; padding: clamp(20px, 3vw, 40px); border-radius: var(--asc-md-radius); color: var(--asc-md-text); background: var(--asc-md-p-directory); font-family: inherit; }
.asc-md-directory, .asc-md-directory *, .asc-md-single-wrap, .asc-md-single-wrap * { box-sizing: border-box; }
.asc-md-header h2 { margin: 0 0 24px; color: var(--asc-md-text); font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }

/* Filter bar: one floating card */
.asc-md-filters { display: grid; grid-template-columns: minmax(220px, 1.6fr) minmax(150px, .8fr) minmax(170px, .9fr) auto; gap: 10px; margin: 0 0 44px; padding: 10px; border: 1px solid var(--asc-md-border); border-radius: var(--asc-md-radius); background: var(--asc-md-p-filterbar); box-shadow: var(--asc-md-shadow); }
.asc-md-filters input, .asc-md-filters select { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 10px 14px; border: 1px solid var(--asc-md-border); border-radius: var(--asc-md-radius-sm); background: var(--asc-md-p-fields); color: var(--asc-md-text); font: inherit; font-size: 14px; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.asc-md-filters input.asc-md-search { padding-left: 40px; background: var(--asc-md-p-fields) no-repeat 14px 50% / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380868f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.asc-md-filters select, .asc-md-map-filters select { color-scheme: var(--asc-md-scheme, light); accent-color: var(--asc-md-accent); }
.asc-md-filters select option, .asc-md-map-filters select option { background-color: var(--asc-md-option-bg, #fff); color: var(--asc-md-text); }
.asc-md-filters input:focus, .asc-md-filters select:focus { border-color: var(--asc-md-accent); outline: 0; box-shadow: 0 0 0 3px var(--asc-md-tint); }
.asc-md-filters button { min-height: 46px; margin: 0; padding: 10px 24px; border: 0; border-radius: var(--asc-md-radius-sm); background: var(--asc-md-accent); color: var(--asc-md-button-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.asc-md-filters button:hover, .asc-md-filters button:focus-visible { background: var(--asc-md-accent-hover); color: var(--asc-md-button-text); }
.asc-md-filters button:active { transform: translateY(1px); }

/* Sections */
.asc-md-member-section { margin: 0 0 56px; }
.asc-md-member-section:last-child { margin-bottom: 0; }
.asc-md-section-title { position: relative; margin: 0 0 26px; padding: 0 0 12px; color: var(--asc-md-text); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.asc-md-section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--asc-md-accent); }

/* Cards */
.asc-md-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.asc-md-grid-executives { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asc-md-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--asc-md-border); border-radius: var(--asc-md-radius); background: var(--asc-md-p-cards); box-shadow: var(--asc-md-shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.asc-md-card:hover, .asc-md-card:focus-within { transform: translateY(var(--asc-md-lift)); box-shadow: var(--asc-md-card-hover, var(--asc-md-shadow-hover)); border-color: var(--asc-md-hover-border, color-mix(in srgb, var(--asc-md-accent) 30%, var(--asc-md-border))); }
.asc-md-card.is-executive::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 3px; background: var(--asc-md-accent); }
.asc-md-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--asc-md-placeholder); line-height: 0; }
.asc-md-photo img { position: absolute; z-index: 1; inset: 0; opacity: 1 !important; visibility: visible !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover !important; object-position: center 18%; border: 0; border-radius: 0; transition: transform .45s ease; }
@supports not (aspect-ratio: 1 / 1) { .asc-md-photo { height: 0; padding-top: 75%; } }
.asc-md-card:hover .asc-md-photo img { transform: scale(1.04); }
.asc-md-photo-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--asc-md-accent); background: var(--asc-md-tint); font-size: 44px; font-weight: 700; line-height: 1; }
.asc-md-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 18px 18px; }
.asc-md-card h3 { margin: 0 0 6px; padding: 0; color: var(--asc-md-text); font-size: 17px; font-weight: 700; letter-spacing: -.005em; line-height: 1.35; }
.asc-md-directory .asc-md-country, .asc-md-directory .asc-md-role, .asc-md-organizations { margin: 0 0 4px; color: var(--asc-md-muted); font-size: 13px; line-height: 1.5; }
.asc-md-directory .asc-md-role { color: var(--asc-md-text); font-weight: 500; }
.asc-md-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--asc-md-accent); font-size: 13px; font-weight: 650; text-decoration: none; }
.asc-md-read-more span { transition: transform .2s ease; }
.asc-md-read-more:hover, .asc-md-read-more:focus-visible { color: var(--asc-md-accent-hover); }
.asc-md-card:hover .asc-md-read-more span { transform: translateX(3px); }
.asc-md-empty { margin: 20px 0; padding: 28px; border: 1px dashed var(--asc-md-border); border-radius: var(--asc-md-radius); color: var(--asc-md-muted); font-size: 15px; text-align: center; }
.asc-md-loading .asc-md-results { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* Pagination: pills, current page uses the button colors */
.asc-md-pagination { margin: 40px 0 0; }
.asc-md-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.asc-md-pagination a, .asc-md-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--asc-md-border); border-radius: 999px; background: var(--asc-md-p-pagination); color: var(--asc-md-text); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.asc-md-pagination a:hover, .asc-md-pagination a:focus-visible { border-color: var(--asc-md-accent); color: var(--asc-md-accent); }
.asc-md-pagination .current { border-color: var(--asc-md-accent); background: var(--asc-md-accent); color: var(--asc-md-button-text); box-shadow: 0 4px 12px color-mix(in srgb, var(--asc-md-accent) 35%, transparent); }
.asc-md-pagination .asc-md-gap { min-width: 24px; border-color: transparent; background: transparent; }

@media (max-width: 1024px) {
	.asc-md-directory { padding: 24px; }
	.asc-md-grid, .asc-md-grid-executives { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
	.asc-md-filters { grid-template-columns: 1fr 1fr; }
	.asc-md-filters input { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.asc-md-directory { padding: 18px 14px 28px; }
	.asc-md-filters { gap: 8px; margin-bottom: 32px; padding: 8px; }
	.asc-md-filters button { grid-column: 1 / -1; }
	.asc-md-grid, .asc-md-grid-executives { gap: 14px 12px; }
	.asc-md-card-content { padding: 12px 12px 14px; }
	.asc-md-card h3 { font-size: 15px; }
	.asc-md-directory .asc-md-country, .asc-md-directory .asc-md-role, .asc-md-organizations, .asc-md-read-more { font-size: 12px; }
	.asc-md-member-section { margin-bottom: 42px; }
	.asc-md-pagination a, .asc-md-pagination span { min-width: 38px; height: 38px; }
}
@media (max-width: 360px) {
	.asc-md-grid, .asc-md-grid-executives { grid-template-columns: 1fr; }
}

/* ---------- Member profile (theme-neutral wrapper) ---------- */
body.single-asc_member { background: var(--asc-md-page-bg); }
body.single-asc_member .site-content, body.single-asc_member .content-area, body.single-asc_member #primary { width: 100%; max-width: 100%; float: none; margin: 0; }
.asc-md-single-wrap { display: block; width: min(100% - 48px, 1180px); margin: 36px auto 64px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--asc-md-border); border-radius: calc(var(--asc-md-radius) * 1.4); background: var(--asc-md-p-profile); box-shadow: var(--asc-md-shadow); }
.asc-md-single { color: var(--asc-md-text); }
.asc-md-single-wrap > .asc-md-single { max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.asc-md-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 28px; padding: 7px 14px; border: 1px solid var(--asc-md-border); border-radius: 999px; background: var(--asc-md-p-profile_buttons); color: var(--asc-md-text); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.asc-md-back:hover, .asc-md-back:focus-visible { border-color: var(--asc-md-accent); color: var(--asc-md-accent); }
.asc-md-profile-heading { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; margin: 0 0 44px; }
.asc-md-profile-image { max-width: 380px; overflow: hidden; border-radius: var(--asc-md-radius); background: var(--asc-md-placeholder); box-shadow: var(--asc-md-shadow); }
.asc-md-profile-image img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center top; }
.asc-md-profile-image-placeholder { display: flex; min-height: 340px; align-items: center; justify-content: center; color: var(--asc-md-accent); background: var(--asc-md-tint); font-size: 64px; font-weight: 700; }
.asc-md-profile-details { min-width: 0; padding-top: 6px; }
.asc-md-profile-details h1 { margin: 0 0 16px; color: var(--asc-md-text); font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.asc-md-profile-details .asc-md-country, .asc-md-profile-details .asc-md-role { margin: 0 0 10px; color: var(--asc-md-muted); font-size: 17px; line-height: 1.55; }
.asc-md-profile-details .asc-md-role { color: var(--asc-md-text); font-weight: 500; }
.asc-md-profile-organizations { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--asc-md-radius-sm); background: var(--asc-md-tint); color: var(--asc-md-text); font-size: 15px; line-height: 1.6; }
.asc-md-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.asc-md-social-links a { padding: 9px 16px; border: 1px solid var(--asc-md-border); border-radius: 999px; background: var(--asc-md-p-profile_buttons); color: var(--asc-md-text); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.asc-md-social-links a:hover, .asc-md-social-links a:focus-visible { border-color: var(--asc-md-accent); background: var(--asc-md-accent); color: var(--asc-md-button-text); }
.asc-md-biography-section { padding-top: 30px; border-top: 1px solid var(--asc-md-border); }
.asc-md-biography-section h2 { position: relative; margin: 0 0 20px; padding-bottom: 12px; color: var(--asc-md-text); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; }
.asc-md-biography-section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--asc-md-accent); }
.asc-md-biography { max-width: 72ch; color: var(--asc-md-text); font-size: 17px; line-height: 1.8; }
.asc-md-biography p { margin: 0 0 18px; }
.asc-md-biography a { color: var(--asc-md-accent); }
.asc-md-biography img { max-width: 100%; height: auto; border-radius: var(--asc-md-radius-sm); }
@media (max-width: 760px) {
	.asc-md-single-wrap { width: calc(100% - 24px); margin: 12px auto 36px; padding: 22px 18px 36px; }
	.asc-md-profile-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
	.asc-md-profile-details { padding-top: 0; }
	.asc-md-profile-details h1 { font-size: clamp(28px, 8vw, 40px); }
	.asc-md-profile-details .asc-md-country, .asc-md-profile-details .asc-md-role, .asc-md-biography { font-size: 16px; }
}

/* ---------- Organizations map [asc_member_map] ---------- */
.asc-md-map { --asc-md-map-height: 560px; position: relative; overflow: hidden; border: 1px solid var(--asc-md-border); border-radius: calc(var(--asc-md-radius) * 1.2); background: transparent; box-shadow: var(--asc-md-map-shadow, var(--asc-md-shadow-hover)); color: var(--asc-md-text); font-family: inherit; }
.asc-md-map * { box-sizing: border-box; }
.asc-md-map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-bottom: 1px solid var(--asc-md-border); background: var(--asc-md-p-map_header); }
.asc-md-map-title { margin: 0; color: var(--asc-md-map-heading-color, var(--asc-md-text)); font-size: var(--asc-md-map-heading-size, clamp(19px, 2vw, 24px)); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.asc-md-map-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.asc-md-map-filters select { min-width: 190px; min-height: 42px; margin: 0; padding: 8px 34px 8px 14px; border: 1px solid var(--asc-md-border); border-radius: 999px; background-color: var(--asc-md-p-fields); color: var(--asc-md-text); font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.asc-md-map-filters select:focus { border-color: var(--asc-md-accent); outline: 0; box-shadow: 0 0 0 3px var(--asc-md-tint); }
.asc-md-map-stage { position: relative; height: var(--asc-md-map-height); background: var(--asc-md-placeholder); }
.asc-md-map-canvas { position: absolute; inset: 0; z-index: 1; background: var(--asc-md-placeholder); font: inherit; }
.asc-md-map.is-loading .asc-md-map-canvas::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid var(--asc-md-border); border-top-color: var(--asc-md-accent); border-radius: 50%; animation: asc-md-spin .8s linear infinite; }
@keyframes asc-md-spin { to { transform: rotate(360deg); } }
.asc-md-map.is-soft .leaflet-tile-pane { filter: saturate(.45) brightness(1.04) contrast(.92); }

/* Pins and clusters */
.asc-md-pin span { position: absolute; left: 2px; top: 1px; width: 22px; height: 22px; border: 3px solid var(--asc-md-pin-border); border-radius: 50% 50% 50% 0; background: var(--asc-md-pin); box-shadow: 0 3px 8px rgba(0, 0, 0, .28); transform: rotate(-45deg); transition: transform .18s ease, background .18s ease; }
.asc-md-pin:hover span, .asc-md-pin:focus span { transform: rotate(-45deg) scale(1.15); }
.asc-md-pin.is-hq span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--asc-md-pin) 35%, transparent), 0 3px 8px rgba(0, 0, 0, .28); }
.asc-md-pin.is-active { z-index: 1000 !important; }
.asc-md-pin.is-active span { background: var(--asc-md-pin-active); transform: rotate(-45deg) scale(1.3); box-shadow: 0 0 0 5px color-mix(in srgb, var(--asc-md-pin-active) 25%, transparent), 0 4px 12px rgba(0, 0, 0, .3); }
.asc-md-cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--asc-md-p-map_cluster) 26%, transparent); }
.asc-md-cluster span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border: 2px solid var(--asc-md-pin-border); border-radius: 50%; background: var(--asc-md-p-map_cluster); color: var(--asc-md-button-text); font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.asc-md-tip { padding: 6px 10px; border: 0; border-radius: 8px; background: var(--asc-md-p-map_tooltip); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.asc-md-tip small { font-weight: 400; opacity: .8; }
.asc-md-tip::before { border-top-color: var(--asc-md-p-map_tooltip) !important; }
.asc-md-map .leaflet-control-zoom { overflow: hidden; border: 0 !important; border-radius: var(--asc-md-radius-sm) !important; box-shadow: var(--asc-md-shadow-hover) !important; }
.asc-md-map .leaflet-bar a { background: var(--asc-md-p-map_zoom); color: var(--asc-md-text); border-bottom-color: var(--asc-md-border); }
.asc-md-map .leaflet-bar a:hover, .asc-md-map .leaflet-bar a:focus { background: var(--asc-md-tint); color: var(--asc-md-accent); }
.asc-md-map .leaflet-control-attribution { font-size: 10px; border-top-left-radius: 6px; }

/* Side panel (floating card) */
.asc-md-map-panel { position: absolute; z-index: 500; top: 14px; right: 14px; bottom: 14px; width: 340px; max-width: calc(100% - 28px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid color-mix(in srgb, var(--asc-md-border) 70%, transparent); border-radius: var(--asc-md-radius); background: var(--asc-md-p-map_panel); box-shadow: 0 10px 34px rgba(16, 24, 40, .18); animation: asc-md-in .22s ease; }
@keyframes asc-md-in { from { opacity: 0; transform: translateY(6px); } }
.asc-md-map-panel:empty { display: none; }
.asc-md-map-panel.is-intro { bottom: auto; }
.asc-md-map-intro { padding: 18px; }
.asc-md-map-intro p { margin: 14px 0 0; color: var(--asc-md-muted); font-size: 14px; line-height: 1.55; }
.asc-md-map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.asc-md-map-stats div { padding: 12px 6px; border-radius: var(--asc-md-radius-sm); background: var(--asc-md-p-map_stats); text-align: center; }
.asc-md-map-stats strong { display: block; color: var(--asc-md-accent); font-size: 22px; font-weight: 800; line-height: 1.1; }
.asc-md-map-stats span { display: block; margin-top: 3px; color: var(--asc-md-muted); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.asc-md-map-org-head { position: sticky; top: 0; z-index: 1; padding: 18px 48px 14px 20px; border-bottom: 1px solid var(--asc-md-border); background: var(--asc-md-p-map_panel); }
.asc-md-map-org-head h3 { margin: 0 0 4px; color: var(--asc-md-text); font-size: 18px; font-weight: 700; line-height: 1.3; }
.asc-md-map-place { margin: 0 0 4px; color: var(--asc-md-muted); font-size: 13px; }
.asc-md-map-meta { margin: 0; color: var(--asc-md-muted); font-size: 13px; }
.asc-md-map-meta a { color: var(--asc-md-accent); font-weight: 600; text-decoration: none; }
.asc-md-map-meta a:hover { color: var(--asc-md-accent-hover); text-decoration: underline; }
.asc-md-map-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--asc-md-muted); font-size: 24px; line-height: 1; cursor: pointer; transition: background .15s; }
.asc-md-map-close:hover, .asc-md-map-close:focus-visible { background: var(--asc-md-tint); color: var(--asc-md-text); }
.asc-md-map-hq { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--asc-md-p-map_chips); color: var(--asc-md-accent); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.asc-md-map-also { margin: 2px 0 6px; color: var(--asc-md-muted); font-size: 13px; line-height: 1.9; }
.asc-md-map-also button { margin: 0 2px 0 0; padding: 2px 10px; border: 1px solid var(--asc-md-border); border-radius: 999px; background: var(--asc-md-p-map_chips); color: var(--asc-md-text); font: inherit; font-size: 12px; cursor: pointer; transition: border-color .15s, color .15s; }
.asc-md-map-also button:hover, .asc-md-map-also button:focus-visible { border-color: var(--asc-md-accent); color: var(--asc-md-accent); }
.asc-md-map-group { margin: 0; padding: 14px 18px 2px; color: var(--asc-md-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.asc-md-map-group span { margin-left: 4px; color: var(--asc-md-accent); }
.asc-md-map-members { margin: 0; padding: 6px 8px 10px; list-style: none; }
.asc-md-map-members li { margin: 0; padding: 0; }
.asc-md-map-members a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--asc-md-radius-sm); color: var(--asc-md-text); text-decoration: none; transition: background .12s ease; }
.asc-md-map-members a:hover, .asc-md-map-members a:focus-visible { background: var(--asc-md-tint); }
.asc-md-map-members img, .asc-md-map-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.asc-md-map-avatar { display: flex; align-items: center; justify-content: center; background: var(--asc-md-tint); color: var(--asc-md-accent); font-weight: 700; }
.asc-md-map-who { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.asc-md-map-who strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.asc-md-map-who small { color: var(--asc-md-muted); font-size: 12px; line-height: 1.4; }
.asc-md-map-go { color: var(--asc-md-accent); font-size: 22px; transition: transform .15s; }
.asc-md-map-members a:hover .asc-md-map-go { transform: translateX(3px); }

@media (max-width: 719px) {
	.asc-md-map { border-radius: var(--asc-md-radius); }
	.asc-md-map-bar { padding: 14px; }
	.asc-md-map-title { font-size: min(var(--asc-md-map-heading-size, 22px), 8vw); }
	.asc-md-map-filters, .asc-md-map-filters select { width: 100%; }
	.asc-md-map-filters select { min-width: 0; flex: 1 1 140px; }
	/* Bottom sheet */
	.asc-md-map-panel { top: auto; right: 8px; bottom: 8px; left: 8px; width: auto; max-width: none; max-height: 62%; }
	.asc-md-map-panel.is-intro { bottom: 8px; }
	.asc-md-map-intro { padding: 12px; }
	.asc-md-map-intro p { display: none; }
	.asc-md-map-stats strong { font-size: 18px; }
}

/* ---------- Executives block [asc_executives] ---------- */
.asc-md-team { width: 100%; margin: 0 auto; padding: clamp(20px, 3vw, 40px); border-radius: var(--asc-md-radius); background: var(--asc-md-p-team); color: var(--asc-md-text); font-family: inherit; }
.asc-md-team, .asc-md-team * { box-sizing: border-box; }
.asc-md-team .asc-md-grid-executives { grid-template-columns: repeat(var(--asc-md-cols, 3), minmax(0, 1fr)); }
.asc-md-team-photo { position: relative; }
/* Photo shape and fit (Appearance > Homepage executives, or shape="" fit="" in the shortcode). */
.asc-md-team.is-shape-portrait .asc-md-photo { aspect-ratio: 3 / 4; }
.asc-md-team.is-shape-square .asc-md-photo { aspect-ratio: 1 / 1; }
.asc-md-team.is-shape-original .asc-md-photo { aspect-ratio: auto; }
.asc-md-team.is-shape-original .asc-md-photo img { position: relative; height: auto !important; }
.asc-md-team.is-shape-original .asc-md-photo-placeholder { position: relative; min-height: 220px; }
.asc-md-photo:has(img) .asc-md-photo-placeholder { display: none; }
.asc-md-team.is-fit-whole .asc-md-photo { background: transparent; }
.asc-md-team.is-fit-whole .asc-md-photo img { object-fit: contain !important; object-position: center; }
.asc-md-team.is-fit-whole .asc-md-card:hover .asc-md-photo img { transform: none; }
@supports not (aspect-ratio: 1 / 1) {
	.asc-md-team.is-shape-portrait .asc-md-photo { padding-top: 133.33%; }
	.asc-md-team.is-shape-square .asc-md-photo { padding-top: 100%; }
	.asc-md-team.is-shape-original .asc-md-photo { height: auto; padding-top: 0; }
}
.asc-md-team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 14, 24, .55), rgba(10, 14, 24, 0) 55%); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.asc-md-team-card.has-social:hover .asc-md-team-photo::after, .asc-md-team-card.has-social:focus-within .asc-md-team-photo::after { opacity: 1; }
.asc-md-team-social { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.asc-md-team-card:hover .asc-md-team-social, .asc-md-team-card:focus-within .asc-md-team-social { opacity: 1; transform: none; }
.asc-md-team-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--asc-md-p-team_social); color: var(--asc-md-text); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.asc-md-team-social a:hover, .asc-md-team-social a:focus-visible { background: var(--asc-md-accent); color: var(--asc-md-button-text); transform: translateY(-2px); outline: 0; }
.asc-md-team-social svg { display: block; width: 18px; height: 18px; }
.asc-md-team-card h3 a { color: inherit; text-decoration: none; }
.asc-md-team-card h3 a:hover, .asc-md-team-card h3 a:focus-visible { color: var(--asc-md-accent); }
.asc-md-team .asc-md-role { margin: 0 0 6px; color: var(--asc-md-text); font-size: 13px; font-weight: 500; line-height: 1.5; }
.asc-md-team .asc-md-country { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: var(--asc-md-muted); font-size: 13px; line-height: 1.5; }
.asc-md-team .asc-md-country::before { content: ""; flex: none; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain; }
.asc-md-team-more { margin: 36px 0 0; text-align: center; }
.asc-md-team-more a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px; background: var(--asc-md-p-team_button); color: var(--asc-md-button-text); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--asc-md-accent) 30%, transparent); transition: background .15s, transform .15s; }
.asc-md-team-more a:hover, .asc-md-team-more a:focus-visible { background: var(--asc-md-accent-hover); transform: translateY(-1px); }
.asc-md-team-more a span { transition: transform .2s ease; }
.asc-md-team-more a:hover span { transform: translateX(3px); }
/* Touch screens cannot hover: keep the icons visible. */
@media (hover: none) {
	.asc-md-team-social { opacity: 1; transform: none; }
	.asc-md-team-card.has-social .asc-md-team-photo::after { opacity: 1; }
}
@media (max-width: 1024px) {
	.asc-md-team { padding: 24px; }
	.asc-md-team .asc-md-grid-executives { grid-template-columns: repeat(var(--asc-md-cols-tablet, 2), minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.asc-md-team { padding: 18px 14px 28px; }
	.asc-md-team .asc-md-grid-executives { grid-template-columns: 1fr; gap: 18px; }
	.asc-md-team .asc-md-card-content { padding: 16px 18px 18px; }
	.asc-md-team .asc-md-card h3 { font-size: 17px; }
	.asc-md-team-social { bottom: 10px; gap: 8px; }
	.asc-md-team-social a { width: 34px; height: 34px; }
	.asc-md-team-social svg { width: 16px; height: 16px; }
}
@media (max-width: 360px) {
	.asc-md-team .asc-md-grid-executives { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.asc-md-card, .asc-md-photo img, .asc-md-map-panel, .asc-md-read-more span, .asc-md-team-social, .asc-md-team-photo::after, .asc-md-team-more a, .asc-md-team-more a span { transition: none; animation: none; }
	.asc-md-card:hover { transform: none; }
}
