/**
 * ACCBAOHANH Editorial Author Portfolio Stylesheet
 *
 * Strictly isolated to .ap-portfolio rendered inside author.php.
 * Aesthetic: High-contrast editorial portfolio on light gallery paper (#FCFAF8),
 * deep ACCBAOHANH navy ink (#0A172E), brand cobalt accent (#1769E8 / #1255BE),
 * monumental display scale contrast, crisp 1px hairlines, alternating large/small
 * article showcase, and restrained GPU motion.
 */

.ap-portfolio {
	--ap-ground: #FCFAF8;
	--ap-tint: #F3F6FB;
	--ap-paper: #FFFFFF;
	--ap-ink: #0A172E;
	--ap-ink-2: #24334C;
	--ap-muted: #4D5B6E;
	--ap-subtle: #64748B;
	--ap-accent: #1769E8;
	--ap-accent-text: #1255BE;
	--ap-accent-soft: rgba(23, 105, 232, 0.08);
	--ap-rule: rgba(10, 23, 46, 0.13);
	--ap-rule-strong: rgba(10, 23, 46, 0.28);
	--ap-font-display: var(--font-heading, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--ap-font-serif: "Times New Roman", "Noto Serif", Times, Georgia, serif;
	--ap-font-body: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--ap-ease: cubic-bezier(0.16, 1, 0.3, 1);

	position: relative;
	background-color: var(--ap-ground);
	color: var(--ap-ink);
	font-family: var(--ap-font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	color-scheme: light;
}

.ap-portfolio *,
.ap-portfolio *::before,
.ap-portfolio *::after {
	box-sizing: border-box;
}

.ap-portfolio button {
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
	min-height: 0;
	line-height: inherit;
	font-weight: inherit;
}

.ap-portfolio ::selection {
	background: rgba(23, 105, 232, 0.16);
	color: var(--ap-ink);
}

.ap-portfolio :focus-visible {
	outline: 2px solid var(--ap-accent);
	outline-offset: 3px;
}

.ap-shell {
	width: min(1364px, calc(100% - 124px));
	margin-inline: auto;
}

@media (max-width: 1120px) {
	.ap-shell {
		width: min(1364px, calc(100% - 64px));
	}
}

@media (max-width: 768px) {
	.ap-shell {
		width: calc(100% - 32px);
	}
}

/* ==========================================================================
   Motion Primitives (Already-Visible Defaults + Reduced Motion Respect)
   ========================================================================== */

.ap-reveal {
	transition: transform 0.65s var(--ap-ease), opacity 0.65s var(--ap-ease);
}

.js-ap-motion .ap-reveal:not(.is-revealed) {
	opacity: 0.92;
	transform: translate3d(0, 14px, 0);
}

.js-ap-motion .ap-reveal.is-revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	.ap-reveal,
	.js-ap-motion .ap-reveal:not(.is-revealed) {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.ap-portrait-frame__img,
	.ap-story__img,
	.ap-story__arrow,
	.ap-beat-row__arrow {
		transition: none !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Top Editorial Running Bar
   ========================================================================== */

.ap-running-bar {
	border-bottom: 1px solid var(--ap-rule);
	background-color: var(--ap-ground);
}

.ap-running-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
}

.ap-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ap-ink) !important;
	text-decoration: none !important;
	transition: color 0.18s ease, transform 0.18s ease;
}

.ap-back-link svg {
	transition: transform 0.2s var(--ap-ease);
}

.ap-back-link:hover {
	color: var(--ap-accent-text) !important;
}

.ap-back-link:hover svg {
	transform: translateX(-3px);
}

.ap-running-bar__meta {
	font-size: 13px;
	color: var(--ap-muted);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

/* ==========================================================================
   Zone 1: Asymmetric Editorial Masthead Hero
   ========================================================================== */

.ap-hero {
	padding: clamp(36px, 5vw, 68px) 0 clamp(44px, 6vw, 80px);
	border-bottom: 1px solid var(--ap-ink);
}

.ap-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7.6fr) minmax(280px, 4.4fr);
	gap: clamp(32px, 5.2vw, 84px);
	align-items: end;
}

.ap-hero__main {
	min-width: 0;
}

.ap-hero__heading-lockup {
	margin-bottom: clamp(22px, 3vw, 34px);
}

.ap-hero__name {
	font-family: var(--ap-font-display);
	font-size: clamp(2.75rem, 7.4vw, 5.75rem);
	font-weight: 800;
	line-height: 0.94;
	letter-spacing: -0.04em;
	color: var(--ap-ink);
	margin: 0;
	overflow-wrap: break-word;
}

.ap-hero__role-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 12px;
	margin-top: 16px;
}

.ap-hero__role-text {
	font-family: var(--ap-font-serif);
	font-style: italic;
	font-size: clamp(1.125rem, 1.55vw, 1.4rem);
	line-height: 1.3;
	color: var(--ap-accent-text);
	font-weight: 400;
}

.ap-hero__role-sep {
	color: var(--ap-rule-strong);
	font-size: 14px;
}

.ap-hero__role-since {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--ap-muted);
	font-variant-numeric: tabular-nums;
}

.ap-hero__statement {
	font-size: clamp(1.03rem, 1.32vw, 1.2rem);
	line-height: 1.68;
	color: var(--ap-ink-2);
	max-width: 56ch;
	margin: 0 0 clamp(28px, 3.6vw, 40px);
}

/* Hairline Editorial Ledger (Strictly Truthful Numbers) */
.ap-hero__ledger {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--ap-rule-strong);
	border-bottom: 1px solid var(--ap-rule);
	margin: 0 0 clamp(26px, 3.2vw, 36px);
}

.ap-hero__ledger-item {
	padding: 16px 20px 16px 0;
	border-right: 1px solid var(--ap-rule);
}

.ap-hero__ledger-item + .ap-hero__ledger-item {
	padding-left: 20px;
}

.ap-hero__ledger-item:last-child {
	border-right: none;
	padding-right: 0;
}

.ap-hero__ledger-label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ap-muted);
	margin-bottom: 6px;
}

.ap-hero__ledger-val {
	display: block;
	margin: 0;
	font-family: var(--ap-font-display);
	font-size: clamp(1.25rem, 1.9vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ap-ink);
	font-variant-numeric: tabular-nums;
}

/* Hero Actions */
.ap-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
}

.ap-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	background-color: var(--ap-ink);
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid var(--ap-ink);
	transition: background-color 0.2s var(--ap-ease), border-color 0.2s var(--ap-ease), transform 0.2s var(--ap-ease);
	white-space: nowrap;
}

.ap-btn-primary:hover {
	background-color: var(--ap-accent);
	border-color: var(--ap-accent);
	transform: translateY(-1px);
}

.ap-btn-primary:active {
	transform: translateY(0) scale(0.99);
}

.ap-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background-color: transparent;
	color: var(--ap-ink) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid var(--ap-rule-strong);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.ap-btn-outline:hover {
	border-color: var(--ap-accent);
	color: var(--ap-accent-text) !important;
	background-color: var(--ap-accent-soft);
}

.ap-link-editorial {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ap-accent-text) !important;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(18, 85, 190, 0.35);
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.ap-link-editorial:hover {
	color: var(--ap-ink) !important;
	text-decoration-color: var(--ap-ink);
}

/* Portrait Column */
.ap-hero__portrait-col {
	display: flex;
	justify-content: flex-end;
}

.ap-portrait-frame {
	position: relative;
	width: 100%;
	max-width: 396px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: #E6ECF5;
	border: 1px solid var(--ap-rule);
	box-shadow: 0 24px 48px -22px rgba(10, 23, 46, 0.2);
}

.ap-portrait-frame__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transform: translate3d(0, var(--ap-parallax-y, 0px), 0) scale(1.05);
	transition: transform 0.12s linear;
	will-change: transform;
}

/* Native-res Specimen Fallback (Prevents Upscaling Small Avatars) */
.ap-portrait-specimen {
	width: 100%;
	max-width: 340px;
	aspect-ratio: 3 / 4;
	background-color: var(--ap-tint);
	border: 1px solid var(--ap-rule);
	display: grid;
	place-items: center;
	padding: 36px;
}

.ap-portrait-specimen__mat {
	padding: 20px;
	background-color: var(--ap-paper);
	border: 1px solid var(--ap-rule);
	box-shadow: 0 10px 24px -12px rgba(10, 23, 46, 0.14);
}

.ap-portrait-specimen__img {
	display: block;
	width: 100px;
	height: auto;
	object-fit: cover;
}

/* ==========================================================================
   Zone 2: Editorial Dossier (Writing Beats & Featured Topics)
   ========================================================================== */

.ap-dossier {
	background-color: var(--ap-tint);
	border-bottom: 1px solid var(--ap-rule);
	padding: clamp(44px, 5.5vw, 76px) 0;
}

.ap-dossier__grid {
	display: grid;
	grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.ap-dossier__title {
	font-family: var(--ap-font-display);
	font-size: clamp(1.5rem, 2.5vw, 2.15rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.025em;
	color: var(--ap-ink);
	margin: 0 0 14px;
}

.ap-dossier__lead {
	font-size: 15px;
	line-height: 1.65;
	color: var(--ap-muted);
	max-width: 42ch;
	margin: 0;
}

.ap-beats-list {
	border-top: 1px solid var(--ap-ink);
}

.ap-beat-row {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 4px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ap-rule);
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, padding-inline 0.2s var(--ap-ease);
}

.ap-beat-row:hover {
	background-color: rgba(23, 105, 232, 0.04);
	border-bottom-color: var(--ap-accent);
	padding-inline: 10px;
}

.ap-beat-row__main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ap-beat-row__name {
	font-family: var(--ap-font-display);
	font-size: clamp(1.05rem, 1.45vw, 1.25rem);
	font-weight: 600;
	color: var(--ap-ink);
	line-height: 1.3;
	transition: color 0.18s ease;
}

.ap-beat-row:hover .ap-beat-row__name {
	color: var(--ap-accent-text);
}

.ap-beat-row__tags {
	font-size: 13.5px;
	color: var(--ap-muted);
	line-height: 1.45;
}

.ap-beat-row__right {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	color: var(--ap-muted);
}

.ap-beat-row__count {
	font-size: 13.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--ap-ink-2);
}

.ap-beat-row__arrow {
	transition: transform 0.2s var(--ap-ease), color 0.2s ease;
}

.ap-beat-row:hover .ap-beat-row__arrow {
	transform: translateX(4px);
	color: var(--ap-accent);
}

/* Slash-Separated Plain Editorial Topics (Zero Badge Clutter) */
.ap-topics-index {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
}

.ap-topics-index__label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ap-ink);
	flex-shrink: 0;
}

.ap-topics-index__links {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
}

.ap-topic-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--ap-ink-2) !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.ap-topic-link:hover {
	color: var(--ap-accent-text) !important;
	border-bottom-color: var(--ap-accent-text);
}

.ap-topic-sep {
	color: var(--ap-rule-strong);
	font-size: 13px;
	user-select: none;
}

/* ==========================================================================
   Zone 3: Non-Repetitive Alternating Editorial Showcase (#author-works)
   ========================================================================== */

.ap-works {
	padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 68px);
	background-color: var(--ap-ground);
}

.ap-works__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ap-ink);
}

.ap-works__title-group {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
}

.ap-works__title {
	font-family: var(--ap-font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ap-ink);
	margin: 0;
}

.ap-works__total {
	font-family: var(--ap-font-serif);
	font-style: italic;
	font-size: 16px;
	color: var(--ap-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Minimal Hairline Filter Tabs (No Badge Pills) */
.ap-works__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

.ap-filter-tab {
	position: relative;
	width: auto;
	padding: 8px 2px;
	background: transparent;
	border: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--ap-muted);
	cursor: pointer;
	transition: color 0.18s ease;
}

.ap-filter-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background-color: var(--ap-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ap-ease);
}

.ap-filter-tab:hover {
	color: var(--ap-ink);
}

.ap-filter-tab.is-active {
	color: var(--ap-ink);
	font-weight: 600;
}

.ap-filter-tab.is-active::after {
	transform: scaleX(1);
}

/* Showcase Alternating Editorial Grid */
.ap-showcase {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ap-story.is-hidden {
	display: none !important;
}

.ap-story__link {
	display: flex;
	color: inherit !important;
	text-decoration: none !important;
	height: 100%;
}

.ap-story__media {
	position: relative;
	overflow: hidden;
	background-color: var(--ap-tint);
	border: 1px solid var(--ap-rule);
}

.ap-story__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--ap-ease);
}

.ap-story__img--contain {
	object-fit: contain;
	padding: 24px;
	background-color: #FFFFFF;
}

.ap-story__img--banner-contain {
	object-fit: contain;
	padding: 10px;
	background-color: #131626;
}

.ap-story:hover .ap-story__img {
	transform: scale(1.03);
}

.ap-story__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ap-story__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 13px;
	color: var(--ap-muted);
	margin-bottom: 10px;
	font-variant-numeric: tabular-nums;
}

.ap-story__cat {
	font-weight: 600;
	color: var(--ap-accent-text);
}

.ap-story__sep {
	color: var(--ap-rule-strong);
}

.ap-story__title {
	font-family: var(--ap-font-display);
	font-weight: 700;
	color: var(--ap-ink);
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	text-decoration: none;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
	transition: color 0.18s ease;
}

.ap-story:hover .ap-story__title {
	color: var(--ap-accent-text);
	text-decoration: underline !important;
}

.ap-story__excerpt {
	font-size: 15px;
	line-height: 1.62;
	color: var(--ap-muted);
	margin: 0 0 18px;
}

.ap-story__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ap-ink);
	transition: color 0.18s ease;
}

.ap-story__arrow {
	transition: transform 0.25s var(--ap-ease);
}

.ap-story:hover .ap-story__action {
	color: var(--ap-accent-text);
}

.ap-story:hover .ap-story__arrow {
	transform: translateX(4px);
}

/* Pattern A: Lead Split (Full-width Hero Feature, Large Image Left) */
.ap-story--lead-split {
	grid-column: 1 / -1;
	padding: 38px 0;
	border-bottom: 1px solid var(--ap-rule);
}

.ap-story--lead-split .ap-story__link {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.ap-story--lead-split .ap-story__media {
	aspect-ratio: 16 / 9;
}

.ap-story--lead-split .ap-story__title {
	font-size: clamp(1.45rem, 2.25vw, 2rem);
	line-height: 1.24;
}

/* Pattern B: Diptych Wide (7 cols, Large Image Top) */
.ap-story--diptych-wide {
	grid-column: span 7;
	padding: 36px 36px 36px 0;
	border-right: 1px solid var(--ap-rule);
	border-bottom: 1px solid var(--ap-rule);
}

.ap-story--diptych-wide .ap-story__link {
	flex-direction: column;
}

.ap-story--diptych-wide .ap-story__media {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 20px;
}

.ap-story--diptych-wide .ap-story__title {
	font-size: clamp(1.25rem, 1.75vw, 1.55rem);
	line-height: 1.3;
}

/* Pattern C: Diptych Compact (5 cols, Smaller Inset Specimen Frame on Paper Mat) */
.ap-story--diptych-compact {
	grid-column: span 5;
	padding: 36px 0 36px 36px;
	border-bottom: 1px solid var(--ap-rule);
}

.ap-story--diptych-compact .ap-story__link {
	flex-direction: column;
}

.ap-story--diptych-compact .ap-story__media {
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 20px;
	background-color: var(--ap-tint);
	margin-bottom: 20px;
}

.ap-story--diptych-compact .ap-story__img {
	box-shadow: 0 10px 24px -14px rgba(10, 23, 46, 0.25);
}

.ap-story--diptych-compact .ap-story__title {
	font-size: clamp(1.15rem, 1.5vw, 1.35rem);
	line-height: 1.34;
}

/* Pattern D: Reversed Split (Full-width Feature, Text Left + Large Visual Right) */
.ap-story--reversed-split {
	grid-column: 1 / -1;
	padding: 38px 0;
	border-bottom: 1px solid var(--ap-rule);
}

.ap-story--reversed-split .ap-story__link {
	display: grid;
	grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.ap-story--reversed-split .ap-story__body {
	order: 1;
}

.ap-story--reversed-split .ap-story__media {
	order: 2;
	aspect-ratio: 16 / 9;
}

.ap-story--reversed-split .ap-story__title {
	font-size: clamp(1.38rem, 2.05vw, 1.8rem);
	line-height: 1.26;
}

/* Pattern E: Compact Editorial Index Row (Small Thumbnail Left + Typographic Row Right) */
.ap-story--index-row {
	grid-column: 1 / -1;
	padding: 26px 0;
	border-bottom: 1px solid var(--ap-rule);
}

.ap-story--index-row .ap-story__link {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: clamp(20px, 3vw, 36px);
	align-items: center;
}

.ap-story--index-row .ap-story__media {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.ap-story--index-row .ap-story__media .ap-story__img--contain {
	padding: 12px;
}

.ap-story--index-row .ap-story__title {
	font-size: clamp(1.12rem, 1.45vw, 1.32rem);
	line-height: 1.32;
	margin-bottom: 8px;
}

.ap-story--index-row .ap-story__excerpt {
	margin-bottom: 12px;
	max-width: 68ch;
}

/* Empty State */
.ap-empty {
	padding: 56px 0;
	text-align: left;
}

.ap-empty__text {
	font-size: 16px;
	color: var(--ap-muted);
	margin: 0 0 20px;
}

/* ==========================================================================
   Zone 4: Editorial Colophon Band
   ========================================================================== */

.ap-colophon {
	background-color: var(--ap-tint);
	border-top: 1px solid var(--ap-rule);
	padding: clamp(40px, 5vw, 60px) 0;
}

.ap-colophon__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.ap-colophon__title {
	font-family: var(--ap-font-display);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ap-ink);
	margin: 0 0 6px;
}

.ap-colophon__desc {
	font-size: 14.5px;
	color: var(--ap-muted);
	margin: 0;
}

.ap-colophon__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints (1024px Tablet, 768px & 390px Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
	.ap-hero__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
		gap: 32px;
	}
	.ap-dossier__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ap-story--diptych-wide {
		grid-column: span 6;
		padding-right: 24px;
	}
	.ap-story--diptych-compact {
		grid-column: span 6;
		padding-left: 24px;
	}
	.ap-story--diptych-compact .ap-story__media {
		width: 100%;
		padding: 16px;
	}
}

@media (max-width: 768px) {
	.ap-running-bar__inner {
		padding: 12px 0;
	}
	.ap-hero__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ap-hero__portrait-col {
		justify-content: flex-start;
	}
	.ap-portrait-frame {
		max-width: 300px;
	}
	.ap-hero__ledger {
		grid-template-columns: 1fr;
	}
	.ap-hero__ledger-item {
		border-right: none;
		border-bottom: 1px solid var(--ap-rule);
		padding: 12px 0 !important;
		display: flex;
		align-items: baseline;
		justify-content: space-between;
	}
	.ap-hero__ledger-item:last-child {
		border-bottom: none;
	}
	.ap-hero__ledger-label {
		margin-bottom: 0;
	}
	.ap-works__header {
		align-items: flex-start;
		gap: 16px;
	}
	.ap-works__filters {
		gap: 4px 16px;
	}
	.ap-filter-tab {
		padding: 6px 0;
		font-size: 13.5px;
	}
	.ap-story--lead-split .ap-story__link,
	.ap-story--reversed-split .ap-story__link {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.ap-story--reversed-split .ap-story__media {
		order: 1;
	}
	.ap-story--reversed-split .ap-story__body {
		order: 2;
	}
	.ap-story--diptych-wide,
	.ap-story--diptych-compact {
		grid-column: 1 / -1;
		padding: 28px 0;
		border-right: none;
	}
	.ap-story--diptych-compact .ap-story__media {
		width: 100%;
		padding: 0;
		background-color: var(--ap-tint);
	}
	.ap-story--index-row .ap-story__link {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ap-colophon__inner {
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.ap-hero__actions,
	.ap-colophon__actions {
		width: 100%;
	}
	.ap-hero__actions .ap-btn-primary,
	.ap-colophon__actions .ap-btn-primary,
	.ap-colophon__actions .ap-btn-outline {
		width: 100%;
	}
	.ap-beat-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
