/*
 * Bombdiggity — main stylesheet.
 * Mobile-first. Pure white, #111 type, one hot pink signature.
 * No cream, no pill shapes, no shadows, no circle buttons.
 * The only retro on the page: the current Totally The Bomb logo and the
 * hot pink starburst before section titles.
 */

@font-face {
	font-family: "Cooper Black";
	src: url("../fonts/cooper-black.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #ffffff;
	--ink: #111111;
	--ink-2: #3d3d3d;
	--gray: #6f6f6f;
	--line: #e9e9e9;
	--pink: #ff2e8a;
	--pink-deep: #c2186b; /* same pink, dark enough for small text on white */
	--ad-bg: #f5f5f5;
	--header-h: 58px;
	--tab-h: 58px;
	--wrap: 1200px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	/* Room for the fixed mobile tab bar. */
	padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
	body {
		padding-bottom: 0;
	}
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ink);
	text-decoration: none;
}

a:hover {
	color: var(--pink-deep);
}

:focus-visible {
	outline: 2px solid var(--pink);
	outline-offset: 2px;
}

.wrap {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 760px) {
	.wrap {
		padding-inline: 24px;
	}
}

/* ---------- Type helpers ---------- */

.kicker,
.status {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--pink-deep);
	margin: 0;
}

.status--large {
	font-size: 12.5px;
}

.meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--gray);
	margin: 0;
}

.dot {
	color: var(--pink);
	font-weight: 800;
}

/* ---------- Logo lockup ---------- */

.lockup {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.lockup-img {
	display: block;
	width: auto;
	max-width: 100%;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.header-in {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 16px;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 10px;
}

.brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.brand-lockup .lockup-img {
	height: 28px;
}

@media (min-width: 760px) {
	.brand-lockup .lockup-img {
		height: 34px;
	}
}

@media (min-width: 1100px) {
	.brand-lockup .lockup-img {
		height: 38px;
	}
}

.header-nav {
	display: none;
}

@media (min-width: 900px) {
	.header-nav {
		display: flex;
		gap: 26px;
		margin-left: 34px;
	}

	.header-nav li {
		list-style: none;
	}

	.header-nav a {
		font-size: 14px;
		font-weight: 700;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
}

.header-spacer {
	flex: 1;
}

/* Bare icons — no circles, no backgrounds, no borders. */
.icon-btn {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	cursor: pointer;
}

.icon-btn svg {
	width: 21px;
	height: 21px;
}

.search-bar {
	border-top: 1px solid var(--line);
	padding: 12px 16px;
	max-width: var(--wrap);
	margin-inline: auto;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
}

.search-submit {
	min-height: 44px;
	padding: 10px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	color: #ffffff;
	background: var(--ink);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

.mobile-menu {
	border-top: 1px solid var(--line);
}

.mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 8px 16px 14px;
	max-width: var(--wrap);
	margin-inline: auto;
}

.mobile-menu-list a {
	display: block;
	padding: 11px 0;
	font-size: 17px;
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}

.mobile-menu-list li:last-child a {
	border-bottom: 0;
}

/* ---------- Hero ---------- */

.hero {
	padding-top: 14px;
}

.hero-photo {
	display: block;
	position: relative;
}

.hero-photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 14px;
}

.hero-tag {
	display: block;
	margin-top: 12px;
}

.hero-tag .kicker {
	display: block;
	margin-bottom: 4px;
}

.hero-title {
	display: block;
	font-size: clamp(24px, 6.4vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

@media (min-width: 900px) {
	.hero-photo img {
		aspect-ratio: 16 / 8;
	}
}

/* ---------- Jamie strip ---------- */

.jamie-strip {
	margin-top: 20px;
	padding: 14px 0 4px;
	border-top: 1px solid var(--line);
}

.jamie-strip-main {
	display: flex;
	align-items: center;
	gap: 13px;
}

.jamie-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}

.jamie-headline {
	margin: 2px 0 0;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
}

.jamie-picks {
	margin-top: 12px;
}

.pick-row {
	margin: 4px 0 0;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.7;
}

.pick-row a {
	text-decoration: underline;
	text-decoration-color: var(--pink);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.pick-row .dot {
	margin-inline: 4px;
	text-decoration: none;
}

/* ---------- Sections ---------- */

.block,
.guide {
	margin-top: 38px;
}

.sec-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
	margin-bottom: 16px;
}

.sec-head h2 {
	margin: 0;
	font-size: clamp(21px, 5.6vw, 30px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.sec-head h2 em {
	font-style: normal;
	color: var(--pink-deep);
}

.sec-head .burst {
	display: inline-block;
	width: 0.56em;
	height: 0.56em;
	margin-right: 0.34em;
	vertical-align: -0.02em;
}

.see-all {
	margin-left: auto;
	flex: none;
	font-size: 13px;
	font-weight: 800;
	color: var(--pink-deep);
	min-height: 40px;
	display: inline-flex;
	align-items: center;
}

.sec-sub {
	margin: -6px 0 16px;
	font-size: 14.5px;
	color: var(--ink-2);
	max-width: 62ch;
}

/* ---------- Cards ---------- */

.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media (min-width: 620px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
}

@media (min-width: 1024px) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card-link {
	display: flex;
	gap: 13px;
	align-items: flex-start;
}

@media (min-width: 620px) {
	.card-link {
		flex-direction: column;
		gap: 10px;
	}
}

.card-img {
	flex: none;
	width: 118px;
}

@media (min-width: 620px) {
	.card-img {
		width: 100%;
	}
}

.card-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.card-body {
	display: block;
	min-width: 0;
}

.card-title {
	margin: 3px 0 0;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.3;
}

@media (min-width: 620px) {
	.card-title {
		font-size: 17.5px;
	}
}

/* ---------- Watch list / hub cards ---------- */

.watch-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 760px) {
	.watch-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}
}

@media (min-width: 1100px) {
	.watch-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hub-card-link {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 14px;
	height: 100%;
}

.hub-card-img {
	flex: none;
	width: 96px;
}

.hub-card-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
}

.hub-card-body {
	display: block;
	min-width: 0;
}

.hub-card-title {
	margin: 3px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.hub-card-meta {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pink-deep);
}

/* ---------- Gift guide collage ---------- */

.collage {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

@media (min-width: 900px) {
	.collage {
		grid-template-columns: repeat(4, 1fr);
		gap: 18px;
	}
}

.collage-item {
	display: block;
}

.collage-item img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
}

.collage-item--lead {
	grid-column: span 2;
	grid-row: span 2;
}

.collage-item--lead img {
	height: 100%;
	aspect-ratio: auto;
	min-height: 100%;
}

.c-num {
	display: block;
	font-size: 15px;
	font-weight: 900;
	color: var(--pink-deep);
	margin-bottom: 5px;
}

.collage-title {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Most read ---------- */

.most-read {
	list-style: none;
	counter-reset: mostread;
	margin: 0;
	padding: 0;
}

.most-read-item {
	counter-increment: mostread;
	border-bottom: 1px solid var(--line);
}

.most-read-item:last-child {
	border-bottom: 0;
}

.most-read-item a {
	display: flex;
	gap: 14px;
	align-items: baseline;
	padding: 13px 0;
}

.most-read-item a::before {
	content: counter(mostread);
	font-size: 22px;
	font-weight: 900;
	color: var(--pink);
	line-height: 1;
	flex: none;
	min-width: 26px;
}

.most-read-item .kicker {
	display: block;
}

.most-read-title {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Ad slots ---------- */

.ad-slot {
	max-width: var(--wrap);
	margin: 30px auto 0;
	padding-inline: 16px;
	min-height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--ad-bg);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ad-slot-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gray);
}

.ad-slot--in-article {
	margin: 26px 0;
	padding-inline: 0;
}

/* ---------- Single / page / hub ---------- */

.single-post,
.page-content,
.hub-page {
	padding-top: 22px;
}

.post-head {
	max-width: 760px;
}

.post-title,
.hub-title {
	margin: 8px 0 0;
	font-size: clamp(29px, 7.4vw, 46px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.byline,
.hub-checked {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--gray);
	font-weight: 600;
}

.byline a {
	color: var(--ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-photo,
.hub-photo {
	margin-top: 18px;
}

.post-photo img,
.hub-photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 14px;
}

.hub-hero .status {
	margin-top: 4px;
}

.entry-content {
	max-width: 720px;
	margin-top: 22px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	overflow-wrap: break-word;
}

.entry-content p {
	margin: 0 0 1.15em;
}

.entry-content h2,
.entry-content h3 {
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 1.5em 0 0.5em;
}

.entry-content h2 {
	font-size: 26px;
}

.entry-content h3 {
	font-size: 21px;
}

.entry-content a {
	color: var(--pink-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: 10px;
	margin: 1.2em 0;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.15em;
	padding-left: 1.3em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding-left: 16px;
	border-left: 3px solid var(--pink);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.5;
}

/* Recipe cards and plugin blocks keep their own styling — the theme only
   guarantees they are never wider than the content column. */
.entry-content .wprm-recipe-container,
.entry-content .wp-block-kadence-rowlayout {
	max-width: 100%;
}

.post-tags {
	margin-top: 26px;
	font-size: 14px;
	color: var(--ink-2);
	max-width: 720px;
}

.post-tags a {
	font-weight: 600;
}

.post-nav {
	display: grid;
	gap: 12px;
	margin-top: 34px;
	max-width: 720px;
}

@media (min-width: 700px) {
	.post-nav {
		grid-template-columns: 1fr 1fr;
	}
}

.post-nav-link {
	display: block;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.post-nav-link--next {
	text-align: right;
}

.post-nav-title {
	display: block;
	margin-top: 4px;
	font-weight: 700;
	line-height: 1.3;
}

.page-links {
	margin-top: 20px;
	font-weight: 700;
}

.related,
.hub-feed,
.hub-related {
	margin-top: 40px;
}

.widget {
	margin-top: 30px;
	max-width: 720px;
}

.widget-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 10px;
}

/* Comments — quiet defaults. */
.comments-area {
	margin-top: 44px;
	max-width: 720px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.comment-form .submit {
	min-height: 44px;
	padding: 10px 20px;
	font: inherit;
	font-weight: 800;
	color: #ffffff;
	background: var(--ink);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

/* ---------- Archives / search / 404 ---------- */

.archive-page {
	padding-top: 24px;
}

.archive-head {
	margin-bottom: 22px;
}

.archive-title {
	margin: 6px 0 0;
	font-size: clamp(27px, 6.8vw, 40px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.archive-desc {
	margin: 10px 0 0;
	color: var(--ink-2);
	max-width: 62ch;
}

.archive-head .search-form {
	margin-top: 18px;
	max-width: 520px;
}

.empty-note {
	font-size: 16.5px;
	color: var(--ink-2);
	max-width: 52ch;
}

.pagination {
	margin-top: 30px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 13px;
	font-weight: 700;
	font-size: 14.5px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #ffffff;
}

.not-found {
	padding-top: 34px;
	text-align: left;
}

.not-found-mark .bomb-404 {
	width: 84px;
	height: 81px;
}

.not-found-title {
	margin: 14px 0 0;
	font-size: clamp(30px, 8vw, 48px);
	font-weight: 800;
	letter-spacing: -0.015em;
}

.not-found-text {
	margin: 12px 0 0;
	font-size: 16.5px;
	color: var(--ink-2);
	max-width: 54ch;
}

.not-found .search-form {
	margin-top: 20px;
	max-width: 520px;
}

.not-found .hub-related {
	text-align: left;
}

/* ---------- Footer ---------- */

.site-footer {
	margin-top: 56px;
	border-top: 1px solid var(--line);
	padding: 30px 0 40px;
}

.f-brand {
	display: flex;
	justify-content: center;
}

.f-brand a {
	display: inline-flex;
}

.f-lockup .lockup-img {
	height: 40px;
	max-width: 84vw;
}

@media (min-width: 760px) {
	.f-lockup .lockup-img {
		height: 54px;
	}
}

.site-footer .tagline {
	font-size: 13.5px;
	color: var(--gray);
	margin: 10px 0 14px;
	text-align: center;
}

.foot-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 22px;
}

.foot-links li {
	list-style: none;
}

.foot-links a {
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink-2);
}

.foot-fine {
	margin: 14px auto 0;
	font-size: 12.5px;
	color: var(--gray);
	line-height: 1.6;
	max-width: 62ch;
	text-align: center;
}

/* ---------- Bottom tab bar (mobile) ---------- */

.bottomnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 900px) {
	.bottomnav {
		display: none;
	}
}

.bottomnav a,
.bottomnav button {
	min-height: var(--tab-h);
	border: 0;
	background: transparent;
	color: var(--gray);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	font-family: inherit;
}

.bottomnav svg {
	width: 21px;
	height: 21px;
}

.bottomnav .on {
	color: var(--ink);
}

.bottomnav .on svg {
	color: var(--pink-deep);
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto;
	}
}
