/**
 * Frontend Styles for Agency Models Manager
 * Editorial, minimalist, fashion-agency aesthetic.
 * All selectors STRICTLY prefixed with .am-
 *
 * @package Agency_Models
 */

:root {
	--am-bg-primary: #ffffff;
	--am-bg-subtle: #f9fafb;
	--am-text-main: #111827;
	--am-text-muted: #6b7280;
	--am-text-light: #9ca3af;
	--am-border-color: #e5e7eb;
	--am-accent: #000000;
	--am-accent-hover: #262626;
	--am-font-serif: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
	--am-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--am-radius-sm: 4px;
	--am-radius-md: 8px;
	--am-radius-lg: 12px;
	--am-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Model Catalog Grid
   ========================================================================== */
.am-models-catalog-wrap {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px 20px;
	box-sizing: border-box;
	font-family: var(--am-font-sans);
}

.am-catalog-header {
	text-align: center;
	margin-bottom: 48px;
}

.am-catalog-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--am-text-main);
	margin: 0 0 10px 0;
}

.am-catalog-subtitle {
	font-size: 15px;
	color: var(--am-text-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
}

/* ==========================================================================
   Category Filter Tabs (Todos | Feminino | Masculino)
   ========================================================================== */
.am-category-filters {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.am-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--am-border-color);
	background: var(--am-bg-subtle);
	color: var(--am-text-muted);
	cursor: pointer;
	transition: var(--am-transition);
}

.am-filter-btn:hover {
	background: #e5e7eb;
	color: var(--am-text-main);
}

.am-filter-btn.am-active {
	background: var(--am-accent);
	color: #ffffff;
	border-color: var(--am-accent);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.am-model-grid {
	display: grid;
	gap: 24px 20px;
	margin-bottom: 48px;
}

.am-model-grid.am-cols-1 { grid-template-columns: 1fr; }
.am-model-grid.am-cols-2 { grid-template-columns: repeat(2, 1fr); }
.am-model-grid.am-cols-3 { grid-template-columns: repeat(3, 1fr); }
.am-model-grid.am-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
	.am-model-grid.am-cols-4 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.am-model-grid.am-cols-4,
	.am-model-grid.am-cols-3 {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
	}
}

@media (max-width: 480px) {
	.am-model-grid.am-cols-4,
	.am-model-grid.am-cols-3,
	.am-model-grid.am-cols-2 {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ==========================================================================
   Model Card & Black & White to Color Hover Effect
   ========================================================================== */
.am-model-card {
	display: block;
	text-decoration: none;
	color: var(--am-text-main);
	background: var(--am-bg-primary);
	transition: var(--am-transition);
	position: relative;
}

.am-card-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: #f3f4f6;
	border-radius: var(--am-radius-sm);
}

.am-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	filter: grayscale(100%);
	transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-model-card:hover .am-card-image {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.am-card-category-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 2;
}

/* ==========================================================================
   Cover Image Banner (Horizontal 16:9)
   ========================================================================== */
.am-profile-cover-banner {
	width: 100%;
	aspect-ratio: 16/9;
	max-height: 480px;
	overflow: hidden;
	border-radius: var(--am-radius-md);
	margin-bottom: 32px;
	position: relative;
	background: #111827;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.am-profile-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.am-profile-cover-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
	display: flex;
	align-items: flex-end;
	padding: 32px;
	box-sizing: border-box;
}

.am-profile-cover-caption {
	color: #ffffff;
}

.am-profile-cover-category {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(4px);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.am-profile-cover-title {
	font-size: clamp(24px, 4vw, 44px);
	font-weight: 300;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0;
	color: #ffffff;
}

.am-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f4f6;
	color: #9ca3af;
}

.am-card-meta-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 16px 14px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
	color: #ffffff;
	opacity: 0;
	transform: translateY(6px);
	transition: var(--am-transition);
}

.am-model-card:hover .am-card-meta-overlay {
	opacity: 1;
	transform: translateY(0);
}

.am-overlay-measures {
	font-size: 12px;
	letter-spacing: 0.05em;
	display: flex;
	gap: 10px;
	font-weight: 400;
}

.am-card-info {
	padding: 14px 0 4px 0;
	text-align: center;
}

.am-card-name {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 4px 0;
	color: var(--am-text-main);
	transition: color 0.2s ease;
}

.am-model-card:hover .am-card-name {
	color: var(--am-accent-hover);
}

.am-card-brief-measures {
	font-size: 13px;
	color: var(--am-text-muted);
	letter-spacing: 0.03em;
}

/* ==========================================================================
   Single Model Profile Page & Hero Banner (Photo 1 & Photo 2)
   ========================================================================== */
.am-model-profile-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 80px 20px;
	box-sizing: border-box;
	font-family: var(--am-font-sans);
}

/* Agency Top Header Bar */
.am-profile-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid var(--am-border-color);
	margin-bottom: 24px;
	font-size: 13px;
}

.am-back-catalog-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--am-text-muted);
	text-decoration: none;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: color 0.2s ease;
}

.am-back-catalog-link:hover {
	color: var(--am-text-main);
}

.am-topbar-brand {
	font-family: var(--am-font-serif, "Playfair Display", Georgia, serif);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--am-text-main);
}

.am-topbar-slug {
	font-size: 12px;
	color: var(--am-text-muted);
	font-family: monospace;
}

@media (max-width: 640px) {
	.am-topbar-slug {
		display: none;
	}
}

/* 1. Cinematic Cover Image Hero Banner (Photo 1) */
.am-profile-cover-banner {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	min-height: 380px;
	max-height: 520px;
	border-radius: var(--am-radius-md);
	overflow: hidden;
	margin-bottom: 40px;
	background: #000000;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.am-profile-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-profile-cover-banner:hover .am-profile-cover-img {
	transform: scale(1.02);
}

.am-cover-banner-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 3;
	color: #ffffff;
	background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.am-cover-nav-icon,
.am-cover-menu-icon {
	color: #ffffff;
	opacity: 0.85;
	transition: opacity 0.2s ease;
	cursor: pointer;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.am-cover-nav-icon:hover,
.am-cover-menu-icon:hover {
	opacity: 1;
}

.am-cover-brand-title {
	font-family: var(--am-font-serif, "Playfair Display", Georgia, serif);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.am-profile-cover-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.2) 100%);
	display: flex;
	align-items: flex-end;
	padding: 36px 36px 28px 36px;
	box-sizing: border-box;
	z-index: 2;
}

.am-profile-cover-caption {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.am-profile-cover-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 10px;
}

.am-profile-cover-title {
	font-family: var(--am-font-serif, "Playfair Display", Georgia, serif);
	font-size: clamp(32px, 5.5vw, 60px);
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 20px 0;
	line-height: 1.05;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* In-Hero Tabs (Photo 1) */
.am-hero-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
	justify-content: center;
	flex-wrap: wrap;
}

.am-hero-tabs .am-tab-btn {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.am-hero-tabs .am-tab-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

.am-hero-tabs .am-tab-btn.am-tab-active {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 2. Model Profile Technical Info & Featured Portrait (Photo 2) */
.am-profile-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 56px;
	padding: 32px 0 40px 0;
	border-bottom: 1px solid var(--am-border-color);
}

@media (max-width: 860px) {
	.am-profile-header {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.am-profile-header-photo {
		order: 1;
	}
	.am-profile-header-info {
		order: 2;
	}
}

.am-profile-eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--am-text-muted);
	margin-bottom: 8px;
}

.am-profile-title {
	font-family: var(--am-font-serif, "Playfair Display", Georgia, serif);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 24px 0;
	line-height: 1.15;
	color: var(--am-text-main);
}

.am-measures-table {
	width: 100%;
	max-width: 460px;
	margin-bottom: 28px;
	border-top: 1px solid var(--am-border-color);
}

.am-measures-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--am-border-color);
	font-size: 14px;
}

.am-measures-key {
	color: var(--am-text-muted);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 500;
}

.am-measures-val {
	color: var(--am-text-main);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.am-category-tag {
	background: var(--am-bg-subtle, #f3f4f6);
	padding: 2px 10px;
	border-radius: 4px;
	font-size: 12px;
	letter-spacing: 0.08em;
}

/* Action Buttons */
.am-profile-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.am-profile-main-photo-wrap {
	position: relative;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: #f3f4f6;
	border-radius: var(--am-radius-md);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--am-border-color);
}

.am-profile-main-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.am-photo-badge {
	position: absolute;
	bottom: 16px;
	left: 16px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(6px);
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 9999px;
}

/* ==========================================================================
   Dynamic Tabs Navigation
   ========================================================================== */
.am-profile-tabs-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--am-border-color);
	padding-bottom: 16px;
	flex-wrap: wrap;
}

.am-tab-btn {
	background: transparent;
	border: none;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--am-text-muted);
	cursor: pointer;
	position: relative;
	transition: var(--am-transition);
	border-radius: 20px;
}

.am-tab-btn:hover {
	color: var(--am-text-main);
	background: var(--am-bg-subtle);
}

.am-tab-btn.am-tab-active {
	color: #ffffff;
	background: var(--am-accent);
}

.am-tab-panel {
	display: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.am-tab-panel.am-panel-active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Composite PDF Download & Instagram Section
   ========================================================================== */
.am-composite-pdf-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px dashed var(--am-border-color);
}

.am-pdf-filename-hint {
	font-size: 12px;
	color: var(--am-text-muted);
	margin-top: 10px;
}

.am-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 24px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--am-radius-sm);
	cursor: pointer;
	transition: var(--am-transition);
	border: 1px solid transparent;
}

.am-button-large {
	padding: 16px 32px;
	font-size: 13px;
}

.am-button-primary {
	background: var(--am-accent);
	color: #ffffff;
}

.am-button-primary:hover {
	background: var(--am-accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.am-button-outline {
	background: transparent;
	border-color: var(--am-border-color);
	color: var(--am-text-main);
}

.am-button-outline:hover {
	border-color: var(--am-text-main);
	background: var(--am-bg-subtle);
}

.am-btn-icon {
	flex-shrink: 0;
}

.am-instagram-card {
	text-align: center;
	padding: 60px 20px;
	background: var(--am-bg-subtle);
	border: 1px solid var(--am-border-color);
	border-radius: var(--am-radius-md);
	max-width: 500px;
	margin: 0 auto;
}

.am-instagram-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px auto;
	display: block;
	color: #e1306c;
}

.am-instagram-handle {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.04em;
	margin: 0 0 20px 0;
	color: var(--am-text-main);
}

/* ==========================================================================
   Pagination & Empty State
   ========================================================================== */
.am-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.am-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--am-border-color);
	border-radius: var(--am-radius-sm);
	text-decoration: none;
	font-size: 14px;
	color: var(--am-text-main);
	transition: var(--am-transition);
}

.am-pagination .page-numbers.current,
.am-pagination .page-numbers:hover {
	background: var(--am-accent);
	color: #ffffff;
	border-color: var(--am-accent);
}

.am-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--am-text-muted);
}

/* ========================================================================== 
   Editorial Profile V2 — reference-preview layout
   The profile stage is a single interchangeable surface: Perfil OR one album.
   ========================================================================== */
.am-editorial-profile {
	max-width: 920px;
	padding-bottom: 56px;
	color: #222;
}

.am-editorial-profile .am-profile-topbar {
	padding: 10px 0 12px;
	margin-bottom: 12px;
	font-size: 9px;
	border-bottom: 1px solid #e6e6e6;
}
.am-editorial-profile .am-back-catalog-link {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: .14em;
}
.am-editorial-profile .am-topbar-brand {
	font-family: var(--am-font-sans);
	font-size: 10px;
	letter-spacing: .18em;
}
.am-editorial-profile .am-topbar-slug { font-size: 9px; }

.am-editorial-tabs {
	justify-content: flex-start;
	gap: 5px;
	margin: 0 0 14px;
	padding: 0 0 7px;
	border-bottom: 1px solid #dedede;
}
.am-editorial-tab-btn {
	padding: 4px 9px;
	min-height: 18px;
	border: 1px solid #ef5579;
	border-radius: 2px;
	background: #fff;
	color: #ef5579;
	font-size: 7px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .14em;
}
.am-editorial-tab-btn:hover {
	background: #fff4f7;
	color: #b92852;
}
.am-editorial-tab-btn.am-tab-active {
	background: #7c0e36;
	border-color: #7c0e36;
	color: #fff;
}

.am-editorial-stage {
	position: relative;
	min-height: 360px;
}
.am-editorial-panel {
	display: none;
	width: 100%;
	animation: amEditorialPanelIn .22s ease both;
}
.am-editorial-panel.am-editorial-panel-active {
	display: block;
}
@keyframes amEditorialPanelIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* The initial profile surface shown before an album is selected. */
.am-editorial-profile-panel .am-profile-header {
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 42px;
	align-items: center;
	margin: 0;
	padding: 14px 0 26px;
	border-bottom: 1px solid #dedede;
}
.am-editorial-profile-panel .am-profile-eyebrow {
	font-size: 7px;
	letter-spacing: .18em;
	margin-bottom: 9px;
}
.am-editorial-profile-panel .am-profile-title {
	font-family: var(--am-font-sans);
	font-size: clamp(24px, 4vw, 30px);
	font-weight: 300;
	letter-spacing: .11em;
	line-height: 1.1;
	margin: 0 0 18px;
}
.am-editorial-profile-panel .am-measures-table {
	max-width: 310px;
	margin: 0 0 15px;
	border-top: 1px solid #e3e3e3;
}
.am-editorial-profile-panel .am-measures-row {
	padding: 6px 0;
	font-size: 7px;
	line-height: 1.1;
}
.am-editorial-profile-panel .am-measures-key {
	font-size: 7px;
	letter-spacing: .08em;
}
.am-editorial-profile-panel .am-measures-val {
	font-size: 7px;
}
.am-editorial-profile-panel .am-profile-actions {
	gap: 7px;
}
.am-editorial-profile-panel .am-button {
	padding: 5px 8px;
	gap: 5px;
	font-size: 6px;
	letter-spacing: .08em;
	border-radius: 1px;
}
.am-editorial-profile-panel .am-profile-main-photo-wrap {
	max-width: 260px;
	aspect-ratio: 3 / 4;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
}
.am-editorial-profile-panel .am-profile-main-photo {
	object-fit: cover;
}
.am-editorial-profile-panel .am-photo-badge {
	bottom: 7px;
	left: 7px;
	font-size: 6px;
	padding: 3px 6px;
	border-radius: 2px;
}

/* When an album is selected, it owns the entire profile stage. */
.am-editorial-album-panel {
	padding: 2px 0 0;
}
.am-editorial-album-panel .am-gallery-section {
	margin: 0;
}
.am-editorial-album-panel .am-gallery-header-info {
	text-align: left;
	margin: 0 0 10px;
}
.am-editorial-album-panel .am-gallery-section-title {
	font-family: var(--am-font-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
}
.am-editorial-album-panel .am-gallery-section-desc {
	font-size: 8px;
}
.am-editorial-album-panel .am-carousel-container {
	padding: 0 18px;
}
.am-editorial-album-panel .am-carousel-card {
	border-radius: 2px;
	box-shadow: none;
}
.am-editorial-album-panel .am-carousel-track {
	gap: 12px;
}
.am-editorial-album-panel .am-carousel-slide {
	flex-basis: calc(33.333% - 8px);
}
.am-editorial-album-panel .am-carousel-nav-btn {
	width: 28px;
	height: 28px;
	box-shadow: none;
}
.am-editorial-album-panel .am-carousel-nav-btn.am-carousel-prev { left: -1px; }
.am-editorial-album-panel .am-carousel-nav-btn.am-carousel-next { right: -1px; }
.am-editorial-album-panel .am-carousel-bottom-meta {
	margin-top: 9px;
}
.am-editorial-album-panel .am-carousel-counter {
	font-size: 7px;
	padding: 2px 7px;
	border: 0;
	background: transparent;
}

@media (max-width: 760px) {
	.am-editorial-profile-panel .am-profile-header {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.am-editorial-profile-panel .am-profile-header-photo {
		order: -1;
	}
	.am-editorial-profile-panel .am-profile-main-photo-wrap {
		max-width: 300px;
	}
	.am-editorial-album-panel .am-carousel-slide {
		flex-basis: calc(50% - 6px);
	}
}
@media (max-width: 480px) {
	.am-editorial-profile {
		padding-left: 14px;
		padding-right: 14px;
	}
	.am-editorial-tabs {
		gap: 4px;
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: 8px;
	}
	.am-editorial-tab-btn {
		flex: 0 0 auto;
	}
	.am-editorial-album-panel .am-carousel-slide {
		flex-basis: 100%;
	}
}

/* ========================================================================== 
   2.1 Universal Elementor customization hooks
   ========================================================================== */
.am-header-navigator .am-editorial-stage{position:relative;}
.am-header-navigator .am-editorial-panel{display:none;}
.am-header-navigator .am-editorial-panel-active{display:block;animation:amPanelIn .25s ease both;}
.am-tab-btn-profile{order:-1;}
.am-instagram-panel{display:flex;justify-content:center;padding:40px 0;}
.am-editorial-profile .am-profile-header{border:1px solid transparent;border-radius:0;padding:28px;}
.am-editorial-profile .am-profile-main-photo-wrap{border:1px solid var(--am-border-color);overflow:hidden;}
.am-editorial-profile .am-profile-actions .am-button{border:1px solid currentColor;border-radius:4px;}
.am-editorial-profile .am-measures-row{border:1px solid transparent;border-radius:0;padding:8px 0;}
.am-model-grid .am-model-card-item{min-width:0;}
.am-model-grid .am-model-card{border:1px solid transparent;border-radius:0;overflow:hidden;}
.am-model-grid .am-card-image-wrap{border-radius:0;}
.am-model-grid .am-card-info{padding:14px;}
.am-model-grid .am-card-profile-button{display:inline-flex;margin-top:8px;align-items:center;justify-content:center;padding:8px 14px;border:1px solid currentColor;border-radius:4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;}
@keyframes amPanelIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* ========================================================================== 
   2.0.3 Catalog hover cards — editorial reference layout
   ========================================================================== */
.am-model-grid .am-model-card-item { min-width: 0; }
.am-model-grid .am-model-card {
	position: relative;
	display: block;
	border: 1px solid transparent;
	border-radius: 0;
	overflow: hidden;
	background: transparent;
}
.am-model-grid .am-card-image-wrap {
	position: relative;
	aspect-ratio: 3/4;
	overflow: hidden;
	border-radius: 0;
	background: #f1f1f1;
}
.am-model-grid .am-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	filter: grayscale(100%);
	transition: transform .45s ease, filter .35s ease;
}
.am-model-grid .am-model-card:hover .am-card-image {
	filter: grayscale(0%);
	transform: scale(1.035);
}
.am-model-grid .am-card-hover-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,0) 78%);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
	z-index: 3;
}
.am-model-grid .am-model-card:hover .am-card-hover-overlay,
.am-model-grid .am-model-card:focus-visible .am-card-hover-overlay {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.am-model-grid .am-card-hover-info {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 16px 16px;
	color: #fff;
}
.am-model-grid .am-card-hover-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-size: 11px;
	line-height: 1.25;
}
.am-model-grid .am-card-hover-label {
	font-size: 9px;
	letter-spacing: .13em;
	text-transform: uppercase;
	opacity: .72;
}
.am-model-grid .am-card-hover-value { font-weight: 600; }
.am-model-grid .am-card-profile-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	margin-top: 5px;
	padding: 10px 14px;
	border: 1px solid rgba(255,255,255,.85);
	border-radius: 3px;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.am-model-grid .am-model-card:hover .am-card-profile-button { background: #fff; color: #111; }
.am-model-grid .am-card-info { padding: 13px 4px 4px; text-align: center; }
.am-model-grid .am-card-name { margin: 0; }
.am-model-grid .am-card-category-badge { z-index: 5; }

/* ========================================================================== 
   2.0.3 Header/profile widget defaults and Elementor customization targets
   ========================================================================== */
.am-header-navigator .am-profile-header {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
	gap: 64px;
	padding: 28px 0 40px;
}
.am-header-navigator .am-profile-header-info { min-width: 0; }
.am-header-navigator .am-profile-main-photo-wrap { max-width: 440px; }
.am-header-navigator .am-measures-table { max-width: 560px; }
.am-header-navigator .am-measures-row { font-size: 14px; padding: 13px 0; }
.am-header-navigator .am-measures-key { font-size: 12px; }
.am-header-navigator .am-measures-val { font-size: 14px; }
.am-header-navigator .am-profile-title { font-size: clamp(34px, 4vw, 52px); }
.am-header-navigator .am-profile-tabs-nav { justify-content: flex-start; }
.am-header-navigator .am-editorial-tabs { justify-content: flex-start; }
.am-header-navigator .am-editorial-tab-btn { cursor: pointer; }
.am-header-navigator .am-editorial-panel { width: 100%; }
.am-header-navigator .am-gallery-grid-masonry { width: 100%; }

/* Make every gallery navigation target easy to style from Elementor. */
.am-editorial-profile .am-carousel-nav-btn,
.am-header-navigator .am-carousel-nav-btn {
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.am-editorial-profile .am-gallery-grid-card { transition: border-color .2s ease, border-radius .2s ease, box-shadow .2s ease; }

@media (max-width: 860px) {
	.am-header-navigator .am-profile-header { grid-template-columns: 1fr; gap: 34px; }
	.am-header-navigator .am-profile-header-photo { order: -1; }
	.am-header-navigator .am-profile-main-photo-wrap { max-width: 520px; }
}

/* 2.0.3 — larger editorial profile scale, matching the requested reference */
.am-editorial-profile-panel .am-profile-header {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	gap: 56px;
	align-items: center;
}
.am-editorial-profile-panel .am-profile-title {
	font-size: clamp(34px, 4.5vw, 48px);
	font-weight: 300;
	letter-spacing: .08em;
	margin-bottom: 24px;
}
.am-editorial-profile-panel .am-profile-eyebrow { font-size: 9px; }
.am-editorial-profile-panel .am-measures-table { max-width: 520px; }
.am-editorial-profile-panel .am-measures-row { padding: 10px 0; font-size: 11px; line-height: 1.35; }
.am-editorial-profile-panel .am-measures-key { font-size: 10px; letter-spacing: .1em; }
.am-editorial-profile-panel .am-measures-val { font-size: 12px; font-weight: 600; }
.am-editorial-profile-panel .am-profile-main-photo-wrap { max-width: 420px; }
.am-editorial-profile-panel .am-profile-actions .am-button { font-size: 8px; padding: 8px 12px; }

@media (max-width: 760px) {
	.am-editorial-profile-panel .am-profile-header { grid-template-columns: 1fr; gap: 28px; }
	.am-editorial-profile-panel .am-profile-main-photo-wrap { max-width: 420px; }
}


/* ========================================================================== 
   2.0.4 — Portrait fit, responsive tabs, cover sizing and PDF UX
   ========================================================================== */
.am-editorial-profile .am-profile-main-photo-wrap {
	line-height: 0;
	align-self: start;
}
.am-editorial-profile .am-profile-main-photo {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	vertical-align: top !important;
	object-fit: contain !important;
}
.am-header-navigator .am-profile-main-photo-wrap,
.am-editorial-profile-panel .am-profile-main-photo-wrap {
	height: auto;
	aspect-ratio: auto;
}
.am-header-navigator .am-profile-header-photo,
.am-editorial-profile-panel .am-profile-header-photo {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
}

/* Content alignment — works with the native Elementor responsive alignment control. */
.am-elementor-model-header-widget-wrap.am-profile-content-align-left .am-profile-header-info { text-align: left; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-center .am-profile-header-info { text-align: center; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-right .am-profile-header-info { text-align: right; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-left .am-measures-table { margin-left: 0; margin-right: auto; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-center .am-measures-table { margin-left: auto; margin-right: auto; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-right .am-measures-table { margin-left: auto; margin-right: 0; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-left .am-profile-actions { justify-content: flex-start; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-center .am-profile-actions { justify-content: center; }
.am-elementor-model-header-widget-wrap.am-profile-content-align-right .am-profile-actions { justify-content: flex-end; }

.am-elementor-model-header-widget-wrap .am-profile-cover-banner { box-sizing: border-box; }

/* Tabs: touch-friendly and horizontally scrollable only when they actually overflow. */
.am-editorial-tabs {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x proximity;
	padding-inline: 2px;
}
.am-editorial-tabs::-webkit-scrollbar { display: none; }
.am-editorial-tab-btn {
	flex: 0 0 auto;
	min-height: 38px;
	white-space: nowrap;
	scroll-snap-align: start;
}
.am-editorial-tab-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.am-editorial-tabs.is-overflowing { justify-content: flex-start !important; }

/* Composite PDF action — explicit and resistant to theme/template overrides. */
.am-editorial-profile .am-composite-download-action,
.am-header-navigator .am-composite-download-action {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	margin: 24px auto 0;
	padding: 20px 0 0;
	border-top: 1px dashed var(--am-border-color);
}
.am-editorial-profile .am-composite-download-action .am-pdf-download-btn,
.am-header-navigator .am-composite-download-action .am-pdf-download-btn {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 3;
	margin: 0;
	text-decoration: none;
}
.am-pdf-file-meta {
	max-width: 100%;
	font-size: 11px;
	line-height: 1.4;
	color: var(--am-text-muted);
	text-align: center;
	word-break: break-word;
}

@media (max-width: 760px) {
	.am-editorial-profile .am-profile-header,
	.am-header-navigator .am-profile-header {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.am-header-navigator .am-profile-main-photo-wrap,
	.am-editorial-profile-panel .am-profile-main-photo-wrap {
		width: min(100%, 420px);
		max-width: 420px;
	}
	.am-editorial-tabs {
		justify-content: flex-start;
		gap: 6px;
		margin-bottom: 18px;
		padding-bottom: 9px;
	}
	.am-editorial-tab-btn {
		min-height: 42px;
		padding-inline: 14px;
	}
	.am-editorial-profile .am-composite-download-action,
	.am-header-navigator .am-composite-download-action { padding-top: 16px; }
}
@media (max-width: 480px) {
	.am-editorial-profile .am-profile-main-photo-wrap,
	.am-editorial-profile-panel .am-profile-main-photo-wrap,
	.am-header-navigator .am-profile-main-photo-wrap {
		width: 100%;
		max-width: 100%;
	}
	.am-editorial-tab-btn {
		min-height: 44px;
		font-size: max(10px, 0.75rem);
		letter-spacing: .08em;
		padding-inline: 13px;
	}
	.am-editorial-profile .am-composite-download-action .am-pdf-download-btn,
	.am-header-navigator .am-composite-download-action .am-pdf-download-btn { width: min(100%, 360px); }
}


/* ========================================================================== 
   2.0.5 — Precise ficha/photo block alignment
   The previous text-alignment controls changed text/table alignment but did
   not change the actual grid item's position. These rules align the blocks
   themselves, which is what the editorial layout needs.
   ========================================================================== */
.am-elementor-model-header-widget-wrap .am-profile-header-info {
	box-sizing: border-box;
	width: 100%;
	justify-self: start;
	margin-inline: 0;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-left .am-profile-header-info {
	justify-self: start;
	margin-left: 0;
	margin-right: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-center .am-profile-header-info {
	justify-self: center;
	margin-left: auto;
	margin-right: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-right .am-profile-header-info {
	justify-self: end;
	margin-left: auto;
	margin-right: 0;
}

.am-elementor-model-header-widget-wrap .am-profile-header-photo {
	justify-self: stretch;
	width: 100%;
	min-width: 0;
}
.am-elementor-model-header-widget-wrap .am-profile-header-photo .am-profile-main-photo-wrap {
	margin-left: 0;
	margin-right: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-left .am-profile-header-photo {
	justify-self: start;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-left .am-profile-main-photo-wrap {
	margin-left: 0;
	margin-right: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-center .am-profile-header-photo {
	justify-self: center;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-center .am-profile-main-photo-wrap {
	margin-left: auto;
	margin-right: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-right .am-profile-header-photo {
	justify-self: end;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-right .am-profile-main-photo-wrap {
	margin-left: auto;
	margin-right: 0;
}

/* When the widget is stacked on smaller screens, both blocks default to the
   center because this is the least error-prone editorial/mobile composition. */
@media (max-width: 860px) {
	.am-elementor-model-header-widget-wrap .am-profile-header-info,
	.am-elementor-model-header-widget-wrap .am-profile-header-photo {
		justify-self: center;
		margin-left: auto;
		margin-right: auto;
	}
	.am-elementor-model-header-widget-wrap .am-profile-header-info {
		text-align: center;
	}
	.am-elementor-model-header-widget-wrap .am-measures-table {
		margin-left: auto;
		margin-right: auto;
	}
	.am-elementor-model-header-widget-wrap .am-profile-actions {
		justify-content: center;
	}
}


/* ========================================================================== 
   2.0.6 — Cover fill, true editorial centering and carousel arrow placement
   ========================================================================== */
/* Cover: the image owns the entire banner box. Absolute positioning prevents
   theme/Elementor image rules from creating a residual strip below it. */
.am-elementor-model-header-widget-wrap .am-profile-cover-banner,
.am-header-navigator .am-profile-cover-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
	box-sizing: border-box;
	line-height: 0;
	background: transparent;
}
.am-elementor-model-header-widget-wrap .am-profile-cover-banner .am-profile-cover-img,
.am-header-navigator .am-profile-cover-banner .am-profile-cover-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	object-fit: cover !important;
	vertical-align: top !important;
}

/* Header widget: center the actual blocks, matching the Editorial Profile
   composition. Text-align alone is intentionally not used as the positioning
   mechanism. */
.am-elementor-model-header-widget-wrap .am-profile-header-info {
	box-sizing: border-box;
	min-width: 0;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-center .am-profile-header-info {
	width: fit-content;
	max-width: 100%;
	justify-self: center;
	margin-inline: auto;
	text-align: center;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-left .am-profile-header-info {
	width: fit-content;
	max-width: 100%;
	justify-self: start;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-right .am-profile-header-info {
	width: fit-content;
	max-width: 100%;
	justify-self: end;
	margin-left: auto;
	margin-right: 0;
	text-align: right;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-center .am-measures-table {
	width: min(100%, 560px);
	margin-inline: auto;
}
.am-elementor-model-header-widget-wrap.am-profile-info-align-center .am-profile-actions {
	justify-content: center;
}
.am-elementor-model-header-widget-wrap .am-profile-header-photo {
	display: grid;
	place-items: start center;
	width: 100%;
	min-width: 0;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-center .am-profile-header-photo {
	justify-self: center;
}
.am-elementor-model-header-widget-wrap.am-profile-photo-align-center .am-profile-main-photo-wrap {
	margin-inline: auto;
}

/* Carousel arrows: always above images, overlays and theme layers. */
.am-carousel-container {
	position: relative;
	isolation: isolate;
	overflow: visible;
}
.am-carousel-nav-btn,
.am-editorial-profile .am-carousel-nav-btn,
.am-header-navigator .am-carousel-nav-btn {
	z-index: 3 !important;
	pointer-events: auto;
}
.am-carousel-viewport {
	position: relative;
	z-index: 1;
}

/* Inside = over the left/right edges of the visible image area. */
.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-prev {
	left: 10px;
}
.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-next {
	right: 10px;
}

/* Outside = sit beside the viewport. Extra gutter keeps the arrow from
   touching the image and allows the button to remain fully clickable. */
.am-carousel-arrows-outside .am-carousel-container {
	padding-left: 54px;
	padding-right: 54px;
}
.am-carousel-arrows-outside .am-carousel-nav-btn.am-carousel-prev {
	left: 4px;
}
.am-carousel-arrows-outside .am-carousel-nav-btn.am-carousel-next {
	right: 4px;
}

@media (max-width: 768px) {
	.am-carousel-arrows-outside .am-carousel-container {
		padding-left: 44px;
		padding-right: 44px;
	}
	.am-carousel-arrows-outside .am-carousel-nav-btn.am-carousel-prev {
		left: 2px;
	}
	.am-carousel-arrows-outside .am-carousel-nav-btn.am-carousel-next {
		right: 2px;
	}
	.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-prev,
	.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-next {
		left: auto;
		right: auto;
	}
	.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-prev { left: 8px; }
	.am-carousel-arrows-inside .am-carousel-nav-btn.am-carousel-next { right: 8px; }
}

@media (max-width: 860px) {
	.am-elementor-model-header-widget-wrap .am-profile-header-info,
	.am-elementor-model-header-widget-wrap.am-profile-info-align-left .am-profile-header-info,
	.am-elementor-model-header-widget-wrap.am-profile-info-align-center .am-profile-header-info,
	.am-elementor-model-header-widget-wrap.am-profile-info-align-right .am-profile-header-info {
		width: min(100%, 720px);
		justify-self: center;
		margin-inline: auto;
		text-align: center;
	}
	.am-elementor-model-header-widget-wrap .am-measures-table {
		margin-inline: auto;
	}
	.am-elementor-model-header-widget-wrap .am-profile-actions {
		justify-content: center;
	}
}


/* ========================================================================== 
   2.0.7 — Responsive editorial navigation and Instagram icon styling hooks
   ========================================================================== */
.am-profile-cover-category {
	display: inline-block;
	box-sizing: border-box;
	max-width: min(100%, 900px);
	word-break: break-word;
}
.am-editorial-tabs {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
}
.am-editorial-tabs-list {
	display: flex;
	align-items: center;
	justify-content: inherit;
	gap: inherit;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	flex-wrap: wrap;
}
.am-tabs-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid var(--am-border-color, #ddd);
	border-radius: 8px;
	background: var(--am-bg, #fff);
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}
.am-tabs-menu-toggle-icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.am-tabs-menu-toggle-icon span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.am-tabs-menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.am-editorial-tab-btn { min-height: 40px; flex: 0 0 auto; white-space: nowrap; }

.am-tabs-mobile-mode-menu .am-tabs-menu-toggle { display: inline-flex; }
.am-tabs-mobile-mode-menu .am-editorial-tabs-list { display: none; flex-direction: column; align-items: stretch; gap: 6px; }
.am-tabs-mobile-mode-menu .am-editorial-tabs.am-tabs-menu-open .am-editorial-tabs-list {
	display: flex; position: absolute; top: calc(100% + 8px); left: 0; z-index: 100;
	padding: 8px; border: 1px solid var(--am-border-color, #ddd); border-radius: 10px;
	background: var(--am-bg, #fff); box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.am-tabs-mobile-mode-menu .am-editorial-tab-btn { width: 100%; text-align: left; }

.am-tabs-compact .am-tabs-menu-toggle { display: inline-flex !important; }
.am-tabs-compact .am-editorial-tabs-list { display: flex; flex-wrap: wrap; }
.am-tabs-compact.am-tabs-needs-menu .am-editorial-tabs-list { display: none; flex-direction: column; align-items: stretch; gap: 6px; }
.am-tabs-compact.am-tabs-needs-menu.am-tabs-menu-open .am-editorial-tabs-list {
	display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: auto; z-index: 100;
	width: min(100%, 360px); max-height: min(70vh, 420px); overflow-y: auto;
	padding: 8px; border: 1px solid var(--am-border-color, #ddd); border-radius: 10px;
	background: var(--am-bg, #fff); box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.am-tabs-compact.am-tabs-needs-menu .am-editorial-tab-btn { width: 100%; text-align: left; }
.am-tabs-mobile-mode-wrap .am-editorial-tabs-list { display: flex; flex-wrap: wrap; }
.am-tabs-mobile-mode-wrap .am-tabs-menu-toggle { display: none !important; }
@media (max-width: 480px) {
	.am-tabs-compact.am-tabs-needs-menu.am-tabs-menu-open .am-editorial-tabs-list { width: calc(100vw - 32px); max-width: 360px; }
}

.am-profile-actions .am-icon-instagram { flex: 0 0 auto; }
