/* ==========================================================================
   Social page (/social) — Pop look, works with or without the Pop skin.
   ========================================================================== */

.awl-social {
	--s-ink: #111;
	--s-paper: #fff8ec;
	--s-yellow: #ffe14d;
	--s-pink: #ff5fa8;
	--s-blue: #2f4bff;
	--s-mint: #3edb9b;
	--s-line: 3px solid var(--s-ink);
	--s-shadow: 6px 6px 0 var(--s-ink);
	--s-head: 'Archivo Black', 'Arial Black', Impact, sans-serif;
	--s-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--s-ig: #e1306c;
	--s-fb: #1877f2;
	--s-yt: #ff0033;
	background: var(--s-paper);
	color: var(--s-ink);
	font-family: var(--s-body);
}
.awl-social .awl-social-ico { display: block; flex: 0 0 auto; }

/* ---------- Hero ---------- */
.awl-social-hero { background: var(--s-pink); border-bottom: var(--s-line); overflow: hidden; }
.awl-social-hero-inner { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.awl-social-kicker {
	display: inline-block; margin: 0 0 18px; padding: 6px 14px;
	background: var(--s-yellow); border: var(--s-line); border-radius: 999px;
	font: 700 15px var(--s-body); letter-spacing: 0.04em; transform: rotate(-3deg);
}
.awl-social-title {
	margin: 0 auto 14px !important; max-width: 14em;
	font: 400 clamp(42px, 7vw, 92px)/0.92 var(--s-head) !important;
	letter-spacing: -0.04em !important; text-transform: uppercase; color: var(--s-ink);
}
.awl-social-intro { max-width: 34em; margin: 0 auto 30px; font: 500 clamp(16px, 1.5vw, 19px)/1.5 var(--s-body); }
.awl-social-follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.awl-social-follow-btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 20px;
	background: #fff; color: var(--s-ink); border: var(--s-line); border-radius: 14px;
	box-shadow: var(--s-shadow); text-decoration: none !important;
	font: 700 16px/1.05 var(--s-body); transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.awl-social-follow-btn span { display: flex; flex-direction: column; text-align: left; }
.awl-social-follow-btn small { font: 500 12px var(--s-body); opacity: 0.75; }
.awl-social-follow-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--s-ink); color: var(--s-ink); }
.awl-social-follow-btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--s-ink); }
.awl-social-follow-btn.is-instagram .awl-social-ico { color: var(--s-ig); }
.awl-social-follow-btn.is-facebook .awl-social-ico { color: var(--s-fb); }
.awl-social-follow-btn.is-youtube { background: var(--s-yellow); }
.awl-social-follow-btn.is-youtube .awl-social-ico { color: var(--s-yt); }

/* ---------- Tabs ---------- */
.awl-social-body { padding: 44px 0 80px; }
.awl-social-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.awl-social-tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
	background: #fff; color: var(--s-ink); border: var(--s-line); border-radius: 999px;
	font: 700 15px var(--s-body); cursor: pointer; box-shadow: 3px 3px 0 var(--s-ink);
}
.awl-social-tab span { padding: 1px 8px; border-radius: 999px; background: var(--s-paper); border: 2px solid var(--s-ink); font-size: 12px; }
.awl-social-tab .awl-social-ico { width: 18px; height: 18px; }
.awl-social-tab.is-active { background: var(--s-ink); color: #fff; }
.awl-social-tab.is-active span { background: var(--s-yellow); color: var(--s-ink); }
.awl-social-tab:focus-visible { outline: 3px solid var(--s-blue); outline-offset: 3px; }

/* ---------- Grid ---------- */
.awl-social-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px; list-style: none; margin: 0; padding: 0; align-items: start;
}
.awl-social-card {
	display: flex; flex-direction: column; background: #fff; border: var(--s-line);
	border-radius: 18px; overflow: hidden; box-shadow: var(--s-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.awl-social-card:hover { transform: translate(-3px, -3px) rotate(-0.4deg); box-shadow: 9px 9px 0 var(--s-ink); }
.awl-social-card.is-hidden, .awl-social-card.is-noimg { display: none; }
.awl-social-card.is-instagram { --s-tint: #ffe6f1; }
.awl-social-card.is-facebook { --s-tint: #e6ebff; }
.awl-social-card.is-youtube { --s-tint: #fff3c4; }

.awl-social-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--s-tint, #eee); border-bottom: var(--s-line); overflow: hidden; }
.awl-social-card.is-youtube .awl-social-media { aspect-ratio: 16 / 9; }
.awl-social-card.is-tall .awl-social-media { aspect-ratio: 4 / 5; }
.awl-social-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.awl-social-card:hover .awl-social-media img { transform: scale(1.04); }

.awl-social-badge {
	position: absolute; top: 10px; left: 10px; display: grid; place-items: center;
	width: 38px; height: 38px; border: var(--s-line); border-radius: 50%; background: #fff;
}
.awl-social-card.is-instagram .awl-social-badge { color: var(--s-ig); }
.awl-social-card.is-facebook .awl-social-badge { color: var(--s-fb); }
.awl-social-card.is-youtube .awl-social-badge { color: var(--s-yt); }
.awl-social-badge .awl-social-ico { width: 20px; height: 20px; }

.awl-social-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 64px; height: 64px;
	background: var(--s-yellow); border: var(--s-line); border-radius: 50%; box-shadow: 4px 4px 0 var(--s-ink);
	transition: transform 0.15s ease;
}
.awl-social-play .awl-social-ico { width: 30px; height: 30px; margin-left: 3px; }
.awl-social-media:hover .awl-social-play { transform: translate(-50%, -50%) scale(1.08); }
.awl-social-multi { position: absolute; top: 12px; right: 12px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }

.awl-social-meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.awl-social-text { margin: 0; font: 500 15px/1.45 var(--s-body); overflow-wrap: anywhere; }
.awl-social-card.is-youtube .awl-social-text { font-weight: 700; }
.awl-social-foot { display: flex; justify-content: space-between; gap: 10px; margin: 0; font: 600 13px var(--s-body); }
.awl-social-foot time { opacity: 0.65; }
.awl-social-foot a { color: var(--s-ink); text-decoration: none; border-bottom: 2px solid var(--s-ink); white-space: nowrap; }

.awl-social-empty { padding: 40px; text-align: center; background: #fff; border: var(--s-line); border-radius: 18px; box-shadow: var(--s-shadow); font: 600 18px var(--s-body); }

/* ---------- Closing CTA ---------- */
.awl-social-cta {
	margin-top: 56px; padding: 40px 28px; text-align: center; color: #fff;
	background: var(--s-blue); border: var(--s-line); border-radius: 24px; box-shadow: var(--s-shadow);
}
.awl-social-cta p { margin: 0 0 18px; font: 500 17px var(--s-body); }
.awl-social-cta .awl-social-cta-title { margin-bottom: 8px; font: 400 clamp(28px, 4vw, 48px)/1 var(--s-head); text-transform: uppercase; letter-spacing: -0.03em; }
.awl-social-btn {
	display: inline-flex; align-items: center; min-height: 54px; padding: 14px 28px;
	background: var(--s-yellow); color: var(--s-ink) !important; border: 3px solid #fff; border-radius: 14px;
	box-shadow: 6px 6px 0 #fff; font: 700 17px var(--s-body); text-decoration: none !important;
}
.awl-social-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #fff; }

/* ---------- YouTube player ---------- */
.awl-social-player { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px; background: rgba(17, 17, 17, 0.82); }
.awl-social-player[hidden] { display: none; }
.awl-social-player-box { position: relative; width: min(960px, 100%); }
.awl-social-player-box.is-short { width: min(400px, 100%); }
.awl-social-player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: var(--s-line); border-color: #fff; border-radius: 16px; overflow: hidden; }
.awl-social-player-box.is-short .awl-social-player-frame { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; }
.awl-social-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.awl-social-player-close {
	position: absolute; top: -18px; right: -10px; z-index: 2; width: 44px; height: 44px;
	background: var(--s-yellow); color: var(--s-ink); border: var(--s-line); border-radius: 50%;
	font: 700 26px/1 var(--s-body); cursor: pointer; box-shadow: 3px 3px 0 var(--s-ink);
}
body.awl-social-lock { overflow: hidden; }

@media (max-width: 700px) {
	.awl-social-hero-inner { padding-top: 40px; padding-bottom: 40px; }
	.awl-social-follow-btn { min-height: 48px; padding: 8px 14px; font-size: 15px; box-shadow: 4px 4px 0 var(--s-ink); }
	.awl-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.awl-social-card { border-radius: 14px; box-shadow: 4px 4px 0 var(--s-ink); }
	.awl-social-meta { padding: 10px 11px 12px; gap: 6px; }
	.awl-social-text { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.awl-social-foot { flex-direction: column; gap: 4px; font-size: 12px; }
	.awl-social-play { width: 48px; height: 48px; }
	.awl-social-badge { width: 32px; height: 32px; top: 8px; left: 8px; }
	.awl-social-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }
	.awl-social-tab { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.awl-social-card, .awl-social-media img, .awl-social-follow-btn, .awl-social-play { transition: none; }
}
