/* ==========================================================================
   Thelma's Treats — Press page
   Featured coverage as grandma's-fridge "clippings": cream cards, a strip
   of tape, and a slight alternating tilt that straightens on hover.
   ========================================================================== */

/* ---- Marquee variant (structure/animation inherited from .tt-marquee) ---- */
.tt-press-marquee .tt-marquee-group span {
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.tt-press-marquee .tt-press-dot {
	padding: 0 0.8rem;
	opacity: 0.45;
}
.tt-press-marquee .tt-press-outlet-link {
	display: inline-block;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	transition: transform 0.2s ease;
}

.tt-press-marquee .tt-press-outlet-link:hover {
	transform: scale(1.08);
	color: white;
}
/* ---- Featured clipping cards ---- */
.tt-press-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem 2.5rem;
}
.social-intro {
	text-align: center;
	margin-bottom: 4rem;
}

#tt-home .social-intro h3.tt-press-archive-title {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin-bottom: 1.5rem;
	color: white;
	font-weight: bold;
	text-transform: none;
	letter-spacing: normal;
}
@media (max-width: 820px) {
	.tt-press-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.tt-press-card {
	position: relative;
	box-sizing: border-box;
	/* Gingham lives on the card's own background, not a border-image —
	   border-radius doesn't reliably clip border-image across browsers,
	   but it always clips a regular background correctly. */
	background: url('../img/gingham-header.png') repeat, var(--tt-cream);
	border-radius: 10px;
	padding: 2.25rem 2rem 2rem;
	filter: drop-shadow(6px 8px 12px rgba(0, 0, 0, 0.35));
	transform: rotate(-1.2deg);
	transition: transform 0.3s ease;
}
.tt-press-card:nth-child(even) { transform: rotate(1.2deg); }
.tt-press-card:hover,
.tt-press-card:focus-within { transform: rotate(0deg) scale(1.02); }

/* Cream "matting" inset from the edge — leaves a 16px ring of gingham
   showing around the outside, with its own (smaller) radius so it nests
   cleanly inside the card's rounded corner instead of squaring it off. */
.tt-press-card::after {
	content: "";
	position: absolute;
	inset: 16px;
	background: var(--tt-cream);
	border-radius: 4px;
	z-index: 0;
}

/* Tape strip */
.tt-press-card::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 50%;
	width: 110px;
	height: 28px;
	transform: translateX(-50%) rotate(-2deg);
	background: rgba(255, 255, 255, 0.55);
	border-left: 1px dashed rgba(0, 0, 0, 0.08);
	border-right: 1px dashed rgba(0, 0, 0, 0.08);
	z-index: 2;
}

#tt-home .tt-press-card p,
#tt-home .tt-press-card blockquote {
	position: relative;
	z-index: 1;
	color: var(--tt-red);
	margin: 0;
}

.tt-press-meta {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
#tt-home .tt-press-meta .tt-press-date {
	font-weight: 500;
	opacity: 0.65;
	letter-spacing: 0.06em;
}

#tt-home .tt-press-quote {
	font-family: var(--tt-font-display);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	border: 0;
	padding: 0;
	margin: 0 0 1.5rem;
}

.tt-press-link {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tt-red);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}
.tt-press-link:hover,
.tt-press-link:focus-visible { opacity: 0.7; }

/* ---- Archive list ---- */
.tt-press-archive { margin-top: 5rem; }

#tt-home .tt-press-archive-title {
	font-family: var(--tt-font-display);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
} 
.tt-press-archive ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tt-press-archive li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.tt-press-archive li:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.tt-press-archive a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding: 1rem 0.25rem;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s ease;
}
.tt-press-archive a:hover,
.tt-press-archive a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
}
.tt-press-row-headline { font-size: 1.05rem; line-height: 1.4; }
.tt-press-row-meta {
	flex-shrink: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
	white-space: nowrap;
}
@media (max-width: 820px) {
	.tt-press-archive a { flex-direction: column; gap: 0.35rem; }
	.tt-press-row-meta { white-space: normal; }
}

/* ---- Press contact strip ---- */
.tt-press-contact {
	margin-top: 5rem;
	text-align: center;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
	.tt-press-card,
	.tt-press-card:nth-child(even) { transform: none; transition: none; }
	.tt-press-card:hover,
	.tt-press-card:focus-within { transform: none; }
}
/* ==========================================================================
   Social tier — "The internet found us too"
   Polaroid-style cards: cream frame, screenshot inset, handle caption,
   tape strip, alternating tilt (mirrored from the article cards).
   ========================================================================== */

.tt-press-social { margin-top: 5rem; }

.tt-press-social-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2.5rem 2rem;
	align-items: start;
}

.tt-press-social-card {
	position: relative;
	display: block;
	background: var(--tt-cream);
	border-radius: 6px;
	padding: 12px 12px 0.9rem;
	text-decoration: none;
	filter: drop-shadow(5px 6px 10px rgba(0, 0, 0, 0.35));
	transform: rotate(1.4deg);
	transition: transform 0.3s ease;
}
.tt-press-social-card:nth-child(even) { transform: rotate(-1.4deg); }
.tt-press-social-card:hover,
.tt-press-social-card:focus-visible { transform: rotate(0deg) scale(1.03); }

/* Tape strip (same treatment as the article cards) */
.tt-press-social-card::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 84px;
	height: 24px;
	transform: translateX(-50%) rotate(2deg);
	background: rgba(255, 255, 255, 0.55);
	border-left: 1px dashed rgba(0, 0, 0, 0.08);
	border-right: 1px dashed rgba(0, 0, 0, 0.08);
	z-index: 2;
}

.tt-press-social-thumb {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 3px;
	background: var(--tt-berry);
}
.tt-press-social-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* No-screenshot placeholder: platform name on berry */
.tt-press-social-thumb .tt-press-social-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--tt-font-display);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

/* Play badge for video posts */
.tt-press-social-card.is-video .tt-press-social-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 249, 242, 0.9);
}
.tt-press-social-card.is-video .tt-press-social-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent var(--tt-red);
	transform: translateX(3px);
	z-index: 1;
}

#tt-home .tt-press-social-caption {
	display: block;
	margin-top: 0.75rem;
	text-align: center;
}
#tt-home .tt-press-social-handle {
	display: block;
	font-family: var(--tt-font-display);
	font-weight: 700;
	color: var(--tt-red);
	font-size: 1.05rem;
	line-height: 1.3;
}
#tt-home .tt-press-social-meta {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tt-red);
	opacity: 0.65;
	margin-top: 0.2rem;
}

@media (max-width: 820px) {
	.press-snickerdoodle {
		display: block;
		position: absolute;
		top: 70px;
		left: 40%;
		width: 140px;
		filter: drop-shadow(6px 8px 12px rgba(0, 0, 0, 0.15));
	}
	.tt-finder-banner {
		min-height: 370px;
	}
	#tt-home .tt-finder-banner-copy {
		padding: 5rem 4vw 2rem !important;
	}
	#tt-home .tt-finder-banner-copy h1 {
		font-size: clamp(2rem, 4vw, 2rem);
		padding: 0;
	}
	.tt-finder-banner-copy p {
		display: none;
	}
	.tt-press-social {
		max-width: 100%;
	}
	#tt-home .tt-press-social-handle {
		font-size: 0.95rem;
	}
	.tt-story-block.tt-press-social-section .tt-wrap {
		padding-top: 3rem;
		padding-bottom: 4rem;
	}
	.tt-press-social-grid { display: flex; flex-wrap: wrap; margin: 0 auto; min-width: 0px; width: 100%; max-width: 100%; gap: 2rem 1.25rem; }
	.tt-press-social-card {
		width: 45%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tt-press-social-card,
	.tt-press-social-card:nth-child(even) { transform: none; transition: none; }
	.tt-press-social-card:hover,
	.tt-press-social-card:focus-visible { transform: none; }
}

/* ---- Social section (own chapter after the blue section) ---- */
.tt-press-social-section .tt-press-social { margin-top: 0; }
.tt-press-social-section .tt-wrap { padding-top: 7rem; padding-bottom: 7rem; }