/*
 * Single prediction redesign.
 * Shared hero and content styles used by the single prediction layout.
 */

.prediction-page {
	padding: 0;
	background: #f3f6f4;
}

.prediction-page-hero {
	position: relative;
	color: #fff;
	background:
		radial-gradient(circle at 12% 100%, rgba(109, 201, 0, 0.16), transparent 34%),
		linear-gradient(115deg, #061310 0%, #0b2118 58%, #071510 100%);
	border: 0;
}

.prediction-page-hero::before {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(90deg, #000, transparent 58%);
}

.prediction-page-hero__inner {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
	min-height: 410px;
}

.prediction-page-hero__content {
	padding: 3.25rem 4.25rem 3.25rem 0;
}

.prediction-page-hero__back {
	display: inline-flex;
	gap: 0.45rem;
	align-items: center;
	width: fit-content;
	margin-bottom: 1.65rem;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.7rem;
	font-weight: 750;
	text-decoration: none;
	transition: color 160ms ease;
}

.prediction-page-hero__back svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.prediction-page-hero__back:hover,
.prediction-page-hero__back:focus-visible {
	color: var(--accent);
}

.prediction-page-hero__eyebrow {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.8rem;
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.prediction-page-hero__eyebrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.prediction-page-hero__title {
	max-width: 720px;
	color: #fff;
	font-size: clamp(1.75rem, 2.4vw, 2.5rem);
	font-weight: 880;
	line-height: 1.16;
	letter-spacing: 0.01em;
	text-wrap: balance;
	text-shadow: 0 12px 35px rgba(0, 0, 0, 0.26);
}

.prediction-page-hero__summary {
	max-width: 650px;
	margin-top: 1.15rem;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.85rem;
	line-height: 1.65;
}

.prediction-page-hero__meta {
	gap: 0.85rem 0;
	margin-top: 1.65rem;
}

.prediction-page-hero__meta > div {
	padding-right: 1.15rem;
	margin-right: 1.15rem;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.13);
}

.prediction-page-hero__meta svg {
	color: var(--accent);
}

.prediction-page-hero__meta-value small {
	color: rgba(255, 255, 255, 0.43);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.prediction-page-hero__meta-value strong {
	font-size: 0.78rem;
}

.prediction-page-hero__image {
	position: relative;
	min-height: 410px;
	overflow: hidden;
	background: #07150f;
}

.prediction-page-hero__image::before {
	z-index: 2;
	inset: 0 auto 0 0;
	width: 34%;
	height: auto;
	background: linear-gradient(90deg, #0a1f17 0%, rgba(10, 31, 23, 0.78) 30%, transparent 100%);
}

.prediction-page-hero__image::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: "";
	pointer-events: none;
	background: linear-gradient(180deg, transparent 48%, rgba(3, 12, 8, 0.72) 100%);
}

.prediction-page-hero__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prediction-page-hero__image-badge {
	position: absolute;
	z-index: 3;
	right: 1.5rem;
	bottom: 1.5rem;
	left: 1.5rem;
	padding: 1rem 1.1rem;
	background: rgba(5, 18, 11, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(7px);
}

.prediction-page-hero__image-badge span,
.prediction-page-hero__image-badge strong {
	display: block;
}

.prediction-page-hero__image-badge span {
	margin-bottom: 0.25rem;
	color: var(--accent);
	font-size: 0.61rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.prediction-page-hero__image-badge strong {
	overflow: hidden;
	font-size: 1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.prediction-page__body {
	padding-block: 2rem 3rem;
}

.prediction-detail-layout {
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 1.5rem;
}

.prediction-detail-main {
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dfe6e1;
	border-radius: 11px;
	box-shadow: 0 10px 34px rgba(19, 54, 31, 0.06);
}

.prediction-match-overview,
.prediction-analysis,
.prediction-detail-main > .post-navigation,
.prediction-detail-main > .comments-area {
	padding: clamp(1.25rem, 2.3vw, 2rem);
}

.prediction-match-overview {
	background: linear-gradient(120deg, #fbfcfb 0%, #f4f8f5 100%);
	border-bottom: 1px solid #e4eae6;
}

.prediction-section-heading {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	margin-bottom: 1.25rem;
}

.prediction-section-heading__icon,
.tip-summary__header-icon {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	color: #47a91b;
	background: #edf8e8;
	border: 1px solid #d4ebca;
	border-radius: 9px;
}

.prediction-section-heading__icon svg,
.tip-summary__header-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.prediction-section-heading small,
.tip-summary__header small,
.related-predictions__header small {
	display: block;
	margin-bottom: 0.1rem;
	color: #87908b;
	font-size: 0.59rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.prediction-section-heading .ui-title,
.tip-summary__header .ui-title,
.related-predictions__header .ui-title {
	margin: 0;
	color: #18201b;
	font-size: 1.05rem;
	line-height: 1.25;
}

.prediction-match-facts {
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e8e4;
	border-radius: 8px;
}

.prediction-match-facts > div {
	min-height: 74px;
	padding: 0.9rem 1rem;
}

.prediction-match-facts > div:first-child {
	border-left: 0;
}

.prediction-match-facts svg {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	color: #4aac20;
}

.prediction-match-facts small {
	margin-bottom: 0.18rem;
	letter-spacing: 0.06em;
}

.prediction-match-facts strong {
	font-size: 0.74rem;
}

.prediction-analysis {
	padding-top: 1.8rem;
}

.prediction-analysis > .ui-title {
	margin: 0;
}

.prediction-analysis .entry-content {
	color: #4d5751;
	font-size: 0.94rem;
	line-height: 1.85;
}

.prediction-analysis .entry-content > :first-child {
	margin-top: 0;
}

.prediction-analysis .entry-content > :last-child {
	margin-bottom: 0;
}

.prediction-analysis .entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding-top: 1.15rem;
	margin-top: 1.5rem;
	color: #77807b;
	font-size: 0.72rem;
	border-top: 1px solid #e7ece9;
}

.prediction-analysis .entry-footer a {
	color: #378f14;
	font-weight: 750;
	text-decoration: none;
}

.prediction-detail-sidebar {
	position: sticky;
	top: 1rem;
	gap: 1.15rem;
}

.tip-summary,
.related-predictions {
	padding: 1.15rem;
	border-radius: 11px;
	box-shadow: 0 9px 30px rgba(19, 54, 31, 0.06);
}

.tip-summary {
	overflow: hidden;
	border-top: 3px solid var(--accent);
}

.tip-summary__header {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e5eae7;
}

.tip-summary__header-icon {
	width: 36px;
	height: 36px;
	flex-basis: 36px;
	border-radius: 50%;
}

.tip-summary__pick {
	margin-top: 1rem;
	background: #f6fbf4;
	border-color: #d5eacb;
	border-radius: 8px;
}

.tip-summary__pick small {
	padding: 0.6rem 0.75rem;
}

.tip-summary__pick strong {
	padding: 0.85rem 0.75rem;
	font-size: 0.84rem;
	background: #fff;
}

.tip-summary__row {
	padding-block: 0.85rem;
}

.tip-summary__text {
	font-size: 0.76rem;
	line-height: 1.7;
}

.tip-summary__button {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	background: linear-gradient(90deg, #389d13, #54b925);
	border-radius: 7px;
	box-shadow: 0 8px 18px rgba(54, 146, 20, 0.18);
}

.tip-summary__button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.prediction-detail-responsible {
	position: relative;
	min-height: 175px;
	padding: 1.25rem;
	overflow: hidden;
	border-radius: 11px;
}

.prediction-detail-responsible::after {
	position: absolute;
	right: -38px;
	bottom: -48px;
	width: 145px;
	aspect-ratio: 1;
	content: "";
	pointer-events: none;
	border: 1px solid rgba(109, 201, 0, 0.2);
	border-radius: 50%;
	box-shadow: 0 0 0 25px rgba(109, 201, 0, 0.04), 0 0 0 50px rgba(109, 201, 0, 0.025);
}

.responsible-banner__label {
	display: inline-flex;
	padding: 0.28rem 0.5rem;
	margin-bottom: 0.75rem;
	color: #c9d1cd;
	font-size: 0.56rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
}

.prediction-detail-responsible .ui-title {
	font-size: 1.65rem;
}

.prediction-detail-responsible a {
	position: relative;
	z-index: 1;
}

.related-predictions__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #e5eae7;
}

.related-predictions__header > a {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	color: #399714;
	background: #eff8eb;
	border-radius: 50%;
}

.related-predictions > .ui-title {
	border: 0;
}

.related-predictions li:last-child a {
	padding-bottom: 0;
}

.prediction-detail-main > .post-navigation {
	border-top: 1px solid #e6ebe8;
}

.prediction-detail-main > .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.prediction-detail-main > .post-navigation a {
	display: block;
	padding: 0.8rem;
	color: #37413b;
	font-size: 0.72rem;
	text-decoration: none;
	background: #f6f8f7;
	border: 1px solid #e2e7e4;
	border-radius: 7px;
}

.prediction-detail-main > .post-navigation a:hover,
.prediction-detail-main > .post-navigation a:focus-visible {
	color: #348d12;
	border-color: #b9dba9;
}

.prediction-detail-main > .comments-area {
	border-top: 1px solid #e6ebe8;
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
	margin: 0 0 0.75rem;
	color: #1b231e;
	font-size: 1.15rem;
}

.comments-area .comment-notes,
.comments-area .logged-in-as {
	color: #727c76;
	font-size: 0.76rem;
}

.comments-area .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.comments-area .comment-form > p {
	margin: 0;
}

.comments-area .comment-form-comment,
.comments-area .comment-notes,
.comments-area .logged-in-as,
.comments-area .comment-form-cookies-consent,
.comments-area .form-submit {
	grid-column: 1 / -1;
}

.comments-area .comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	color: #59635d;
	font-size: 0.7rem;
	font-weight: 750;
}

.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	color: #1d251f;
	font: inherit;
	font-size: 0.82rem;
	background: #fafbfa;
	border: 1px solid #dce3de;
	border-radius: 7px;
	outline: 0;
}

.comments-area .comment-form textarea {
	min-height: 135px;
	resize: vertical;
}

.comments-area .comment-form input:focus,
.comments-area .comment-form textarea:focus {
	background: #fff;
	border-color: #62b83a;
	box-shadow: 0 0 0 3px rgba(98, 184, 58, 0.12);
}

.comments-area .comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	color: #69736d;
	font-size: 0.7rem;
}

.comments-area .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 500;
}

.comments-area .submit {
	min-height: 42px;
	padding: 0.7rem 1.15rem;
	color: #fff;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	background: #3d9f18;
	border: 0;
	border-radius: 7px;
	cursor: pointer;
}

.comments-area .submit:hover,
.comments-area .submit:focus-visible {
	background: #2e8310;
}

@media (max-width: 1100px) {
	.prediction-page-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
	}

	.prediction-page-hero__content {
		padding-right: 2.5rem;
	}

	.prediction-detail-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

@media (max-width: 960px) {
	.prediction-page-hero__inner {
		grid-template-columns: 1fr;
	}

	.prediction-page-hero__content {
		padding: 2.5rem 0;
	}

	.prediction-page-hero__image {
		min-height: 285px;
		margin-inline: -1rem;
	}

	.prediction-page-hero__image::before {
		inset: 0 0 auto;
		width: 100%;
		height: 25%;
		background: linear-gradient(180deg, #0a1f17 0%, transparent 100%);
	}

	.prediction-detail-layout {
		grid-template-columns: 1fr;
	}

	.prediction-detail-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-predictions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.prediction-page-hero__content {
		padding-block: 2rem;
	}

	.prediction-page-hero__back {
		margin-bottom: 1.25rem;
	}

	.prediction-page-hero__title {
		font-size: clamp(1.65rem, 7vw, 2rem);
	}

	.prediction-page-hero__meta {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		padding: 0.3rem 0;
		background: rgba(255, 255, 255, 0.04);
		border: 1px solid rgba(255, 255, 255, 0.09);
		border-radius: 8px;
	}

	.prediction-page-hero__meta > div,
	.prediction-page-hero__meta > div:last-child {
		min-height: 59px;
		padding: 0.7rem;
		margin: 0;
		border: 0;
	}

	.prediction-page-hero__image {
		min-height: 230px;
	}

	.prediction-page-hero__image-badge {
		right: 1rem;
		bottom: 1rem;
		left: 1rem;
	}

	.prediction-page__body {
		padding-block: 1rem 2rem;
	}

	.prediction-detail-main {
		border-radius: 9px;
	}

	.prediction-match-overview,
	.prediction-analysis,
	.prediction-detail-main > .post-navigation,
	.prediction-detail-main > .comments-area {
		padding: 1rem;
	}

	.prediction-match-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.prediction-match-facts > div {
		min-height: 68px;
		border-left: 0;
	}

	.prediction-match-facts > div:nth-child(even) {
		border-left: 1px solid #e5eae7;
	}

	.prediction-match-facts > div:nth-child(n + 3) {
		border-top: 1px solid #e5eae7;
	}

	.prediction-detail-sidebar {
		grid-template-columns: 1fr;
	}

	.related-predictions {
		grid-column: auto;
	}

	.comments-area .comment-form {
		grid-template-columns: 1fr;
	}

	.comments-area .comment-form > p {
		grid-column: 1;
	}
}

@media (max-width: 420px) {
	.prediction-page-hero__title {
		font-size: 1.65rem;
	}

	.prediction-page-hero__summary {
		font-size: 0.8rem;
	}

	.prediction-page-hero__image {
		min-height: 200px;
	}

	.prediction-section-heading__icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.prediction-match-facts {
		grid-template-columns: 1fr;
	}

	.prediction-match-facts > div,
	.prediction-match-facts > div:nth-child(even) {
		border-left: 0;
	}

	.prediction-match-facts > div + div {
		border-top: 1px solid #e5eae7;
	}
}
