/* ==========================================================================
   AQF Digital – main stylesheet (Hello Elementor child theme)
   --------------------------------------------------------------------------
   1. Tokens & base
   2. Header
   3. Footer
   4. Elementor page sections (hooked to CSS classes set in the template)
   5. [aqf_latest_posts] shortcode cards
   Styles here are deliberately low-specificity: anything you change in the
   Elementor panel (colours, sizes, spacing) overrides them.
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--aqf-dark: #07090e;
	--aqf-slate-950: #020617;
	--aqf-slate-900: #0f172a;
	--aqf-slate-800: #1e293b;
	--aqf-slate-700: #334155;
	--aqf-slate-400: #94a3b8;
	--aqf-slate-300: #cbd5e1;
	--aqf-slate-200: #e2e8f0;
	--aqf-slate-100: #f1f5f9;
	--aqf-blue-400: #60a5fa;
	--aqf-blue-500: #3b82f6;
	--aqf-blue-600: #2563eb;
	--aqf-header-h: 80px;
	--aqf-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--aqf-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--aqf-max: 1280px;
}

html.aqf-smooth { scroll-behavior: smooth; }

body.aqf-site {
	margin: 0;
	background: var(--aqf-dark);
	color: #f1f5f9;
	font-family: var(--aqf-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.aqf-site ::selection { background: var(--aqf-blue-600); color: #fff; }

/* Anchor jumps land below the fixed header */
.aqf-site [id] { scroll-margin-top: calc(var(--aqf-header-h) + 8px); }

.aqf-site .skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100000;
	padding: 10px 16px; background: #fff; color: #000; border-radius: 6px;
	clip: auto; width: auto; height: auto;
}

/* Shared button look (header + footer) */
.aqf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 999px; font-family: var(--aqf-font); font-weight: 600;
	text-decoration: none; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.aqf-btn--sm { padding: 10px 20px; font-size: 14px; line-height: 1.2; }
.aqf-btn--white { background: #fff; color: var(--aqf-slate-950); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.aqf-btn--white:hover, .aqf-btn--white:focus { background: var(--aqf-slate-200); color: var(--aqf-slate-950); }

/* 2. Header -------------------------------------------------------------- */
.aqf-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 999;
	background: rgba(7, 9, 14, .8);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	transition: background-color .3s ease, box-shadow .3s ease;
}
.aqf-header.is-scrolled { background: rgba(7, 9, 14, .95); box-shadow: 0 10px 15px -3px rgba(0,0,0,.3); }
.admin-bar .aqf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .aqf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .aqf-header { top: 0; } }

.aqf-header__inner {
	max-width: var(--aqf-max); margin: 0 auto; height: var(--aqf-header-h);
	padding: 0 32px; box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.aqf-logo { display: inline-flex; align-items: center; text-decoration: none; }
.aqf-logo__img { width: 100px; height: auto; display: block; }
.aqf-logo--text {
	font-family: var(--aqf-font-head); font-weight: 800; font-size: 24px;
	letter-spacing: -.02em; color: #fff;
}
.aqf-logo--text span { color: var(--aqf-blue-500); margin-left: .25em; }
.aqf-logo--text:hover { color: #fff; }

.aqf-header__nav { display: flex; }
.aqf-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.aqf-menu a {
	color: var(--aqf-slate-300); font-size: 14px; font-weight: 500;
	text-decoration: none; transition: color .2s ease;
}
.aqf-menu a:hover, .aqf-menu a:focus, .aqf-menu .current-menu-item > a { color: #fff; }

.aqf-header__cta { display: flex; align-items: center; }

.aqf-header__toggle {
	display: none; background: transparent; border: 0; padding: 8px; margin: 0;
	color: var(--aqf-slate-300); cursor: pointer; border-radius: 8px; line-height: 0;
}
.aqf-header__toggle:hover, .aqf-header__toggle:focus { color: #fff; background: transparent; }
.aqf-header__toggle svg { width: 20px; height: 20px; }
.aqf-header__toggle .aqf-icon--close { display: none; }
.aqf-header.menu-open .aqf-icon--open { display: none; }
.aqf-header.menu-open .aqf-icon--close { display: inline; }

.aqf-mobile-menu {
	background: rgba(7, 9, 14, .95);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	padding: 24px;
}
.aqf-mobile-menu[hidden] { display: none; }
.aqf-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.aqf-mobile-menu__list li + li { margin-top: 16px; }
.aqf-mobile-menu__list a {
	display: block; color: var(--aqf-slate-200); font-size: 18px; font-weight: 500;
	text-decoration: none; transition: color .2s ease;
}
.aqf-mobile-menu__list a:hover { color: var(--aqf-blue-400); }
.aqf-mobile-menu__cta { margin-top: 24px; padding: 12px 24px; }

@media (max-width: 1023px) { .aqf-header__inner { padding: 0 24px; } }
@media (max-width: 767px) {
	.aqf-header__nav { display: none; }
	.aqf-header__toggle { display: inline-flex; }
	.aqf-header__inner { padding: 0 16px; }
}
@media (max-width: 639px) { .aqf-header__cta { display: none; } }
@media (min-width: 768px) { .aqf-mobile-menu { display: none !important; } }

/* 3. Footer -------------------------------------------------------------- */
.aqf-footer {
	background: var(--aqf-dark); color: var(--aqf-slate-400);
	padding: 48px 0; border-top: 1px solid var(--aqf-slate-900);
}
.aqf-footer__inner { max-width: var(--aqf-max); margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.aqf-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.aqf-footer .aqf-logo__img { width: 120px; }

.aqf-footer-menu {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 24px; list-style: none; margin: 0; padding: 0;
}
.aqf-footer-menu a { color: var(--aqf-slate-400); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.aqf-footer-menu a:hover { color: #fff; }

.aqf-footer__social { display: flex; align-items: center; gap: 16px; }
.aqf-footer__social a { color: var(--aqf-slate-400); line-height: 0; transition: color .2s ease; }
.aqf-footer__social a:hover { color: #fff; }
.aqf-footer__social svg { width: 18px; height: 18px; }

.aqf-footer__bottom {
	margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--aqf-slate-900);
	text-align: center; font-size: 12px; color: #64748b;
}
@media (max-width: 1023px) { .aqf-footer__inner { padding: 0 24px; } }
@media (max-width: 767px) {
	.aqf-footer__top { flex-direction: column; }
	.aqf-footer__inner { padding: 0 16px; }
}

/* 4. Elementor sections -------------------------------------------------- */

/* Typography helpers */
.aqf-gradient-text {
	background: linear-gradient(90deg, #38bdf8, #818cf8);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.aqf-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.aqf-site .elementor-heading-title a { color: inherit; }
.aqf-section .elementor-button { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.aqf-shadow .elementor-button { box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); }
.aqf-shadow .elementor-button:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }

/* Text-link style buttons with arrow */
.aqf-link-btn .elementor-button { padding: 0; background: transparent; }
.aqf-link-btn .elementor-button-content-wrapper { align-items: center; }
.aqf-link-btn .elementor-button-icon { transition: transform .2s ease; }
.aqf-link-btn .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.aqf-link-lg .elementor-button-icon svg, .aqf-link-lg .elementor-button-icon i { font-size: 22px; width: 22px; }

/* Feature video */
.aqf-feature-video { position: relative; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.aqf-feature-video__player { width: 100%; }
.aqf-feature-video__player video { display: block; width: 100%; height: auto; max-height: 100vh; object-fit: cover; }
.e-con > .aqf-sound-toggle {
	position: absolute !important; right: 24px; bottom: 24px; z-index: 20;
	width: auto !important; margin: 0;
}
.aqf-sound-toggle .elementor-button {
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 20px 25px -5px rgba(0,0,0,.3);
}
.aqf-sound-toggle .elementor-button:hover { transform: scale(1.05); }
.aqf-sound-toggle .elementor-button-icon { color: var(--aqf-blue-400); fill: var(--aqf-blue-400); }
.aqf-feature-video.is-unmuted .aqf-sound-toggle .elementor-button-icon { color: #34d399; fill: #34d399; }
@media (max-width: 639px) { .e-con > .aqf-sound-toggle { right: 16px; bottom: 16px; } }

/* Hero */
.aqf-hero { overflow: hidden; }
.aqf-hero__inner {
	background:
		radial-gradient(circle at 50% 15%, rgba(37,99,235,.25) 0%, rgba(99,102,241,.08) 30%, rgba(0,0,0,0) 55%),
		radial-gradient(circle at 85% 40%, rgba(56,189,248,.18) 0%, rgba(14,165,233,.05) 25%, rgba(0,0,0,0) 45%);
}
.aqf-pill .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3);
}
.aqf-hero-text { max-width: 768px; margin-left: auto; margin-right: auto; }

/* Statement & client logos */
.aqf-logo-grid .elementor-widget-image img,
.aqf-client-logo img { width: 100%; height: auto; max-height: 96px; object-fit: contain; }
.aqf-logo-bg-black img { background: #000; padding: 10px; border-radius: 11px; box-sizing: border-box; }
.aqf-logo-bg-navy img { background: #263b8c; padding: 10px; border-radius: 11px; box-sizing: border-box; }

/* CSS-grid fallbacks (Elementor grid settings take priority when present) */
.aqf-grid { display: grid; }
.aqf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aqf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aqf-grid > .elementor-element { width: auto; min-width: 0; }

/* Featured work (project video cards) */
.aqf-project { cursor: pointer; }
.aqf-project__media { position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); transition: border-color .3s ease; margin-bottom: 12px; }
.aqf-project:hover .aqf-project__media { border-color: var(--aqf-slate-700) !important; }
.aqf-project__media > .aqf-cover-video {
	position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0; z-index: 0;
}
.aqf-cover-video .elementor-widget-container,
.aqf-cover-video .elementor-wrapper { height: 100%; }
.aqf-cover-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aqf-project:hover .aqf-project__title .elementor-heading-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.e-con > .aqf-award-badge { position: absolute !important; top: 16px; left: 16px; z-index: 2; width: auto !important; }
.aqf-award-badge .elementor-icon-list-items {
	padding: 6px 14px !important; margin: 0 !important; border-radius: 8px;
	background: rgba(15,23,42,.7); border: 1px solid rgba(255,255,255,.2);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 10px 15px -3px rgba(0,0,0,.3);
}
.aqf-award-badge .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.aqf-award-badge .elementor-icon-list-item::after { display: none; }

/* Testimonials */
.aqf-testimonial-track {
	overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
	flex-wrap: nowrap !important; scrollbar-width: none; -ms-overflow-style: none;
}
.aqf-testimonial-track::-webkit-scrollbar { display: none; }
.aqf-testimonial-track > .aqf-t-card {
	flex: 0 0 416px !important; width: 416px !important; max-width: none; height: 520px;
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
@media (max-width: 1023px) { .aqf-testimonial-track > .aqf-t-card { flex-basis: 350px !important; width: 350px !important; } }
@media (max-width: 639px)  { .aqf-testimonial-track > .aqf-t-card { flex-basis: 300px !important; width: 300px !important; height: 480px; } }

.e-con .aqf-arrow { width: auto !important; }
.aqf-arrow .elementor-button {
	width: 48px; height: 48px; padding: 0 !important;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.aqf-arrow .elementor-button-text:empty { display: none; }
.aqf-arrow .elementor-button-icon { margin: 0 !important; }

.aqf-video-card { position: relative; cursor: pointer; }
.aqf-video-card > .aqf-t-video {
	position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0;
	z-index: 1; opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.aqf-t-video .elementor-widget-container,
.aqf-t-video .elementor-wrapper { height: 100%; }
.aqf-t-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aqf-video-card.is-playing > .aqf-t-video { opacity: 1; }

.aqf-video-card > .aqf-t-caption {
	position: absolute !important; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%);
}
.aqf-video-card > .aqf-play {
	position: absolute !important; top: 50%; left: 50%; z-index: 3; width: auto !important;
	transform: translate(-50%, -50%); transition: transform .3s ease, opacity .2s ease; pointer-events: none;
}
.aqf-play .elementor-icon { box-shadow: 0 20px 25px -5px rgba(0,0,0,.3); }
.aqf-video-card:hover > .aqf-play { transform: translate(-50%, -50%) scale(.9); }
.aqf-video-card.is-playing > .aqf-play { opacity: 0; }

.e-con > .aqf-quote-icon { width: auto !important; }
.aqf-quote-icon img { width: auto; max-height: 48px; }

.e-con > .aqf-avatar {
	width: 44px !important; height: 44px; flex: 0 0 44px; border-radius: 50%; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.e-con > .aqf-avatar--sm { width: 28px !important; height: 28px; flex-basis: 28px; }
.aqf-avatar > .elementor-widget-container {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 50%;
}

/* Stats (Counter widget) */
/* Title position "After" is set in the widget, so the number sits on top */
.aqf-stat .elementor-counter { display: flex; align-items: flex-start; gap: 16px; }
.aqf-stat .elementor-counter-number-wrapper { justify-content: flex-start; }
.aqf-stat .elementor-counter-number-prefix,
.aqf-stat .elementor-counter-number-suffix { flex-grow: 0 !important; }
.aqf-stat .elementor-counter-title {
	width: 100%; text-align: left; padding-top: 16px; border-top: 1px solid var(--aqf-slate-300);
}
.aqf-inline-link { color: var(--aqf-blue-600); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; transition: color .2s ease; }
.aqf-inline-link:hover { color: #1d4ed8; }
.aqf-cert { border-radius: 12px; overflow: hidden; }
.aqf-cert img { width: 100%; height: auto; display: block; }

/* Selected work (case study cards) */
.aqf-case { transition: border-color .3s ease; }
.aqf-case:hover { border-color: var(--aqf-slate-700) !important; }
.aqf-case__img { overflow: hidden; margin: 0 !important; }
.aqf-case__img img { width: 100%; height: 192px; object-fit: cover; display: block; transition: transform .5s ease; }
.aqf-case:hover .aqf-case__img img { transform: scale(1.05); }

/* Why choose us */
@media (min-width: 1025px) {
	.aqf-sticky { position: sticky !important; top: 112px; }
}
.aqf-awards > .elementor-widget { width: auto !important; flex: 0 1 130px; }
.aqf-awards img { filter: invert(1); width: 100%; max-width: 130px; height: auto; }

.aqf-service-card { box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: box-shadow .3s ease; }
.aqf-service-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.aqf-service-card__head .elementor-icon-box-wrapper {
	display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; text-align: left !important;
}
.aqf-service-card__head .elementor-icon-box-icon { margin: 0 !important; display: inline-flex; flex: 0 0 auto; }
.aqf-service-card__head .elementor-icon { border-radius: 12px !important; border: 1px solid #dbeafe; }
.aqf-service-card__head .elementor-icon-box-title { margin: 0 !important; }
.aqf-service-card__head .elementor-icon-box-description:empty { display: none; }

/* Insights (blog cards) */
.aqf-blog-card { box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); transition: transform .3s ease, border-color .3s ease; }
.aqf-blog-card:hover { transform: translateY(-4px); }
.aqf-accent-blue:hover   { border-color: rgba(59,130,246,.5) !important; }
.aqf-accent-purple:hover { border-color: rgba(168,85,247,.5) !important; }
.aqf-accent-green:hover  { border-color: rgba(16,185,129,.5) !important; }
.aqf-accent-blue:hover .aqf-blog-title .elementor-heading-title   { color: #60a5fa !important; }
.aqf-accent-purple:hover .aqf-blog-title .elementor-heading-title { color: #c084fc !important; }
.aqf-accent-green:hover .aqf-blog-title .elementor-heading-title  { color: #34d399 !important; }
.aqf-blog-title .elementor-heading-title { transition: color .2s ease; }
.aqf-blog-media { transition: background-size .5s ease; }
.e-con > .aqf-blog-badge {
	width: auto !important; align-self: flex-start; border-radius: 999px; overflow: hidden;
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.aqf-blog-badge .elementor-heading-title { padding: 4px 12px; }
.aqf-blog-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aqf-blog-meta .elementor-icon-list-item::after { display: none; }
.aqf-blog-card:hover .aqf-blog-read .elementor-button-icon { transform: translateX(4px); }
.aqf-blog-read .elementor-button-icon svg, .aqf-blog-read .elementor-button-icon i { font-size: 10px; width: 10px; }

/* FAQ */
.aqf-faq-card { position: relative; }
.aqf-faq-card > * { position: relative; z-index: 1; }
.aqf-faq-card > .aqf-faq-card__img {
	position: absolute !important; top: 0; right: 0; z-index: 0;
	width: 192px !important; height: 144px; margin: 0; overflow: hidden; border-bottom-left-radius: 28px;
}
.aqf-faq-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.aqf-faq-card__title { max-width: 320px; }
@media (max-width: 639px) { .aqf-faq-card > .aqf-faq-card__img { width: 160px !important; height: 128px; } }

.aqf-faq-q {
	background: var(--aqf-slate-100); cursor: pointer; margin: 0 !important;
	transition: background-color .25s ease, color .25s ease;
}
.aqf-faq-q .elementor-heading-title {
	position: relative; padding: 28px 80px 28px 32px;
}
.aqf-faq-q .elementor-heading-title::after {
	content: "+"; position: absolute; right: 32px; top: 50%;
	font-size: 32px; font-weight: 300; line-height: 1; margin-top: -16px;
	transition: transform .25s ease;
}
.aqf-faq-item.is-open .aqf-faq-q { background: #61a5fa; }
.aqf-faq-item.is-open .aqf-faq-q .elementor-heading-title::after { transform: rotate(45deg); }
.aqf-faq-q:focus-visible { outline: 2px solid var(--aqf-blue-600); outline-offset: 2px; }

.aqf-faq-a {
	background: #f8fafc; max-height: 0; overflow: hidden; margin: 0 !important;
	transition: max-height .35s ease;
}
.aqf-faq-item.is-open .aqf-faq-a { max-height: 800px; }
.elementor-editor-active .aqf-faq-a { max-height: none; }
.aqf-faq-a p { margin: 0; padding: 0 32px 16px; }
.aqf-faq-a p:first-child { padding-top: 28px; }
.aqf-faq-a p:last-child { padding-bottom: 28px; }
@media (max-width: 639px) {
	.aqf-faq-q .elementor-heading-title { padding: 24px 64px 24px 24px; }
	.aqf-faq-q .elementor-heading-title::after { right: 24px; }
	.aqf-faq-a p { padding-left: 24px; padding-right: 24px; }
}

/* CTA */
@media (max-width: 767px) {
	.aqf-cta .aqf-cta__text .elementor-heading-title,
	.aqf-cta .aqf-cta__text .elementor-widget-text-editor { text-align: center; }
	.aqf-cta .elementor-widget-button .elementor-button { width: 100%; }
}

/* 5. [aqf_latest_posts] shortcode ---------------------------------------- */
.aqf-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1023px) { .aqf-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .aqf-posts-grid { grid-template-columns: 1fr; } }

.aqf-post-card {
	--acc: #60a5fa; --acc-bg: rgba(37,99,235,.9);
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--aqf-slate-950); border: 1px solid var(--aqf-slate-800); border-radius: 16px;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); transition: transform .3s ease, border-color .3s ease;
}
.aqf-post-card.aqf-accent-purple { --acc: #c084fc; --acc-bg: rgba(147,51,234,.9); }
.aqf-post-card.aqf-accent-green  { --acc: #34d399; --acc-bg: rgba(5,150,105,.9); }
.aqf-post-card:hover { transform: translateY(-4px); border-color: var(--acc); }
.aqf-post-card__media { position: relative; display: block; height: 208px; overflow: hidden; background: var(--aqf-slate-900); }
.aqf-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.aqf-post-card:hover .aqf-post-card__media img { transform: scale(1.05); }
.aqf-post-card__badge {
	position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 999px;
	background: var(--acc-bg); color: #fff; font-size: 12px; font-weight: 700;
}
.aqf-post-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px; }
.aqf-post-card__meta { display: flex; gap: 12px; font-size: 12px; color: var(--aqf-slate-400); margin-bottom: 12px; }
.aqf-post-card__title { margin: 0; font-family: var(--aqf-font-head); font-size: 20px; line-height: 1.35; font-weight: 700; }
.aqf-post-card__title a { color: #fff; text-decoration: none; transition: color .2s ease; }
.aqf-post-card:hover .aqf-post-card__title a { color: var(--acc); }
.aqf-post-card__excerpt {
	margin: 12px 0 0; color: var(--aqf-slate-400); font-size: 14px; line-height: 1.65;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.aqf-post-card__foot {
	margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(30,41,59,.8);
	display: flex; align-items: center; justify-content: space-between;
}
.aqf-post-card__body > .aqf-post-card__excerpt + .aqf-post-card__foot { margin-top: 24px; }
.aqf-post-card__author { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--aqf-slate-300); }
.aqf-post-card__avatar {
	width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
}
.aqf-post-card__read { font-size: 12px; font-weight: 700; color: var(--acc); text-decoration: none; }

/* Hero inner width */
.aqf-hero__inner { max-width: 1024px; margin-left: auto; margin-right: auto; }
