/*
 * /youtube-music-promotion/ only (home-music.php), enqueued from functions.php.
 *
 * 1. Mobile-first hero: at phone widths the explainer poster sits between the
 *    subhead and the CTA (Brandon's rule: a visual in the first screen, never
 *    a wall of text). Done with display: contents so the existing hero markup
 *    and the intent-layer hooks stay untouched.
 * 2. The question-form section labels (the blue h2 pill) may wrap.
 * 3. The deep-content blocks added 2026-09-10: targeting cards, budget table,
 *    data tiles, the YouTube Studio header and the "Updated" line.
 */

/* ---- Updated line under the hero ---- */
.page-template-home-music .mp-updated {
	max-width: 1490px;
	margin: 18px auto 0;
	padding: 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
	text-align: center;
}
.page-template-home-music .mp-updated time {
	font-weight: 600;
	color: #222;
}

/* ---- Question labels (existing blue pill) can wrap ---- */
.page-template-home-music .site-main .section h2 {
	white-space: normal;
	line-height: 1.3;
	padding: 7px 12px 5px;
	max-width: 100%;
	box-sizing: border-box;
}

/* ---- Deep-content sections ---- */
.page-template-home-music .mp-section {
	max-width: 1490px;
	margin: 130px auto 0;
	padding: 0 20px;
	box-sizing: border-box;
}
.page-template-home-music .mp-tag {
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	background: #0042ff;
	color: #fff;
	padding: 7px 12px 5px;
	border-radius: 3px;
	letter-spacing: -0.4px;
	line-height: 1.3;
	margin: 0;
	max-width: 100%;
	box-sizing: border-box;
}
.page-template-home-music .mp-title {
	font-size: 50px;
	letter-spacing: -1.96px;
	line-height: 1.02;
	color: #000;
	margin: 18px 0 0;
	max-width: 860px;
}
.page-template-home-music .mp-lead {
	font-size: 19px;
	line-height: 1.5;
	color: #222;
	margin: 18px 0 0;
	max-width: 860px;
}
.page-template-home-music .mp-section a,
.page-template-home-music .mp-studio a,
.page-template-home-music .section-audience .p_inner a {
	color: #0042ff;
	text-decoration: underline;
}
.page-template-home-music .mp-note {
	font-size: 13px;
	line-height: 1.5;
	color: #666;
	margin: 16px 0 0;
	max-width: 860px;
}

/* Genre cards */
.page-template-home-music .mp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px;
}
.page-template-home-music .mp-card {
	background: #F7F6F6;
	border-radius: 12px;
	padding: 26px 24px;
}
.page-template-home-music .mp-card h4 {
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.6px;
	margin: 0 0 10px;
	color: #000;
}
.page-template-home-music .mp-card p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	color: #222;
}

/* Budget table */
.page-template-home-music .mp-table-wrap {
	overflow-x: auto;
	margin-top: 36px;
	-webkit-overflow-scrolling: touch;
}
.page-template-home-music .mp-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.45;
}
.page-template-home-music .mp-table th,
.page-template-home-music .mp-table td {
	text-align: left;
	padding: 14px 12px;
	border-bottom: 1px solid #e3e3e3;
	vertical-align: top;
	color: #222;
}
.page-template-home-music .mp-table th {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #666;
}
.page-template-home-music .mp-table td:first-child,
.page-template-home-music .mp-table td:nth-child(2) {
	font-weight: 600;
	color: #000;
	white-space: nowrap;
}

/* Data tiles */
.page-template-home-music .mp-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px;
}
.page-template-home-music .mp-stat {
	background: #000;
	color: #fff;
	border-radius: 12px;
	padding: 26px 24px;
}
.page-template-home-music .mp-stat strong {
	display: block;
	font-size: 44px;
	line-height: 1;
	letter-spacing: -1.5px;
}
.page-template-home-music .mp-stat span {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	margin-top: 10px;
	opacity: 0.85;
}

/* YouTube Studio section header (reuses .section-promotion's three feature columns) */
.page-template-home-music .mp-studio .mp-head {
	margin-bottom: 10px;
}
.page-template-home-music .mp-studio .features .feature h3 {
	font-size: 23px;
	line-height: 1.1;
}

@media (max-width: 1024px) {
	.page-template-home-music .mp-section {
		margin-top: 90px;
	}
	.page-template-home-music .mp-title {
		font-size: 40px;
		letter-spacing: -1.4px;
	}
	.page-template-home-music .mp-grid,
	.page-template-home-music .mp-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.page-template-home-music .mp-section {
		margin-top: 70px;
		padding: 0 15px;
	}
	.page-template-home-music .mp-title {
		font-size: 32px;
		letter-spacing: -1.1px;
	}
	.page-template-home-music .mp-lead {
		font-size: 17px;
	}
	.page-template-home-music .mp-grid {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 26px;
	}
	.page-template-home-music .mp-stats {
		gap: 12px;
		margin-top: 26px;
	}
	.page-template-home-music .mp-stat {
		padding: 20px 18px;
	}
	.page-template-home-music .mp-stat strong {
		font-size: 34px;
	}
	.page-template-home-music .mp-updated {
		font-size: 13px;
		padding: 0 15px;
	}

	/* Budget table as stacked cards (the theme's global table rules break cells at phone widths) */
	.page-template-home-music .mp-table-wrap {
		overflow: visible;
		margin-top: 26px;
	}
	.page-template-home-music .mp-table,
	.page-template-home-music .mp-table tbody,
	.page-template-home-music .mp-table tr,
	.page-template-home-music .mp-table td {
		display: block;
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}
	.page-template-home-music .mp-table thead {
		display: none;
	}
	.page-template-home-music .mp-table tr {
		background: #F7F6F6;
		border-radius: 12px;
		padding: 16px 18px;
		margin-bottom: 12px;
	}
	.page-template-home-music .mp-table td {
		border: 0;
		padding: 4px 0;
		white-space: normal;
		font-weight: 400;
		color: #222;
	}
	.page-template-home-music .mp-table td:first-child {
		white-space: normal;
		font-size: 20px;
		font-weight: 700;
		letter-spacing: -0.5px;
		color: #000;
		padding-bottom: 8px;
	}
	.page-template-home-music .mp-table td:nth-child(2) {
		font-weight: 600;
		color: #000;
	}
	.page-template-home-music .mp-table td:not(:first-child)::before {
		content: attr(data-label) ": ";
		font-size: 12px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.4px;
		color: #666;
		display: block;
		margin-bottom: 2px;
	}

	/* ---- Mobile hero order: headline, subhead, explainer, CTA, points, ratings ---- */
	.page-template-home-music .site-main .hero .inner-width {
		display: flex;
		flex-direction: column;
	}
	.page-template-home-music .site-main .hero .left,
	.page-template-home-music .site-main .hero .left .inner,
	.page-template-home-music .site-main .hero .left .google-button-wrap {
		display: contents;
	}
	.page-template-home-music .site-main .hero .left .inner h3 {
		order: 1;
		margin: 0 15px;
		padding-top: 28px;
		width: calc(100% - 30px);
		max-width: none;
		box-sizing: border-box;
	}
	.page-template-home-music .site-main .hero .left .inner > p {
		order: 2;
		margin: 12px 15px 0;
		width: calc(100% - 30px);
		max-width: none;
		box-sizing: border-box;
	}
	.page-template-home-music .site-main .hero .right.single-video {
		order: 3;
		height: auto;
		width: 100%;
		max-width: none;
		margin: 16px 0 0;
		padding: 0;
	}
	.page-template-home-music .site-main .hero .single-video {
		padding: 0 15px;
		box-sizing: border-box;
	}
	.page-template-home-music .site-main .hero .single-video .video_wrapper {
		height: auto;
	}
	.page-template-home-music .site-main .hero .left .google-button {
		order: 4;
		margin: 16px 15px 0;
	}
	.page-template-home-music .site-main .hero .left .features {
		order: 5;
		margin: 14px 15px 0;
	}
	.page-template-home-music .site-main .hero .left .reviews {
		order: 6;
		position: static;
		margin: 18px 15px 26px;
		scale: none;
	}
}
