/*
Theme Name: 10th Result 2027
Theme URI: https://10thresult2027.com/
Description: A lightweight, responsive GeneratePress child theme for 10th Result 2027.
Author: 10th Result 2027
Template: generatepress
Version: 1.3.0
Text Domain: tr27
*/

:root {
	--tr27-ink: #172b44;
	--tr27-ink-soft: #314b63;
	--tr27-muted: #6c7d91;
	--tr27-primary: #2f63d7;
	--tr27-primary-dark: #2149ae;
	--tr27-lavender: #eaf2ff;
	--tr27-mint: #e5f7f0;
	--tr27-mint-deep: #148568;
	--tr27-saffron: #f2a23a;
	--tr27-yellow: #ffd166;
	--tr27-page: #f7fafc;
	--tr27-surface: #ffffff;
	--tr27-border: #dce6ef;
	--tr27-footer: #173b5c;
	--tr27-footer-soft: #c1d2dd;
	--tr27-shadow: 0 14px 32px rgba(28, 61, 99, 0.09);
	--tr27-soft-shadow: 0 4px 12px rgba(28, 61, 99, 0.045);
	--tr27-radius: 15px;
	--tr27-content: 790px;
	--tr27-container: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tr27-page);
	color: var(--tr27-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
	font-size: inherit;
}

a {
	color: var(--tr27-primary);
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
	color: var(--tr27-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(242, 162, 58, 0.55);
	outline-offset: 3px;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--tr27-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--tr27-ink);
	display: block;
	font-size: 0.95rem;
	height: auto;
	left: 12px;
	margin: 0;
	padding: 12px 16px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

.tr27-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--tr27-container);
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

/* Header */

.tr27-site-header {
	background: var(--tr27-surface);
	border-bottom: 1px solid var(--tr27-border);
	position: relative;
	z-index: 20;
}

.tr27-header-row {
	align-items: center;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	min-height: 76px;
}

.tr27-brand {
	align-items: center;
	color: var(--tr27-ink);
	display: inline-flex;
	flex: 0 1 auto;
	gap: 11px;
	min-width: 0;
	text-decoration: none;
}

.tr27-brand:hover,
.tr27-brand:focus {
	color: var(--tr27-ink);
}

.tr27-brand-mark {
	align-items: center;
	background: var(--tr27-primary);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 0.78rem;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	letter-spacing: -0.08em;
	line-height: 1;
	width: 42px;
}

.tr27-brand-copy {
	display: grid;
	line-height: 1.12;
	min-width: 0;
}

.tr27-brand-logo {
	max-height: 42px;
	width: auto;
}

.tr27-brand-name {
	color: var(--tr27-ink);
	font-size: 1.05rem;
	font-weight: 850;
	letter-spacing: -0.035em;
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tr27-brand-tagline {
	color: var(--tr27-muted);
	font-size: 0.7rem;
	margin-top: 4px;
}

.tr27-primary-nav {
	display: flex;
	margin-left: auto;
}

.tr27-menu {
	align-items: center;
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr27-menu > ul {
	align-items: center;
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr27-menu li {
	margin: 0;
	position: relative;
}

.tr27-menu a {
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--tr27-muted);
	display: block;
	font-size: 0.83rem;
	font-weight: 700;
	padding: 9px 13px;
	text-decoration: none;
	white-space: nowrap;
}

.tr27-menu a:hover,
.tr27-menu a:focus,
.tr27-menu .current-menu-item > a,
.tr27-menu .current_page_item > a,
.tr27-menu .current-menu-ancestor > a,
.tr27-menu .current_page_ancestor > a {
	background: var(--tr27-lavender);
	border-color: #d9e5ff;
	color: var(--tr27-primary-dark);
}

.tr27-menu .sub-menu {
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: 10px;
	box-shadow: var(--tr27-shadow);
	list-style: none;
	margin: 0;
	min-width: 210px;
	opacity: 0;
	padding: 8px;
	position: absolute;
	top: calc(100% + 7px);
	transform: translateY(5px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: hidden;
	z-index: 40;
}

.tr27-menu li:hover > .sub-menu,
.tr27-menu li:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.tr27-menu .sub-menu a {
	color: var(--tr27-ink-soft);
	white-space: nowrap;
}

.tr27-menu .sub-menu a:hover,
.tr27-menu .sub-menu a:focus {
	background: var(--tr27-lavender);
	border-color: transparent;
	color: var(--tr27-primary-dark);
}

.tr27-menu-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--tr27-border);
	border-radius: 9px;
	color: var(--tr27-ink);
	cursor: pointer;
	display: none;
	font-size: 1.2rem;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.tr27-menu-toggle:hover,
.tr27-menu-toggle:focus {
	background: var(--tr27-lavender);
	border-color: #c5d8ff;
}

.tr27-mobile-menu {
	border-top: 1px solid var(--tr27-border);
	padding: 12px 0 18px;
}

.tr27-mobile-menu[hidden] {
	display: none;
}

.tr27-mobile-menu .tr27-menu {
	align-items: stretch;
	display: grid;
	gap: 2px;
}

.tr27-mobile-menu .tr27-menu > ul {
	align-items: stretch;
	display: grid;
	gap: 2px;
}

.tr27-mobile-menu .tr27-menu a {
	border-color: transparent;
	padding: 11px 12px;
}

/* Page frame and approved dashboard-style heading */

.tr27-main {
	min-height: 60vh;
}

.tr27-page-shell {
	padding: 52px 0 76px;
}

.tr27-section-heading {
	background: var(--tr27-lavender);
	border: 1px solid #d7e3ff;
	border-radius: 22px;
	margin: 0 auto 34px;
	max-width: var(--tr27-container);
	overflow: hidden;
	padding: clamp(28px, 5vw, 52px);
	position: relative;
}

.tr27-section-heading::after {
	background: var(--tr27-mint);
	border-radius: 50%;
	content: "";
	height: 230px;
	position: absolute;
	right: -82px;
	top: -108px;
	width: 230px;
}

.tr27-section-heading h1,
.tr27-page-header h1 {
	color: var(--tr27-ink);
	font-size: clamp(2.1rem, 5vw, 3.9rem);
	letter-spacing: -0.07em;
	line-height: 0.98;
	margin: 14px 0 0;
	max-width: 720px;
	position: relative;
	z-index: 1;
}

.tr27-eyebrow {
	color: var(--tr27-primary-dark);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.15em;
	margin: 0;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.tr27-section-intro {
	color: #606f86;
	font-size: 1rem;
	line-height: 1.65;
	margin: 17px 0 0;
	max-width: 590px;
	position: relative;
	z-index: 1;
}

/* State result cards */

.tr27-state-selector-wrap {
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: 18px;
	box-shadow: var(--tr27-shadow);
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 auto 28px;
	max-width: 940px;
	padding: 18px;
}

.tr27-state-selector-label {
	color: var(--tr27-muted);
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	grid-column: 1 / -1;
}

.tr27-state-selector {
	appearance: none;
	background: #f8fbff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232149ae' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid #cbdcf5;
	border-radius: 11px;
	color: var(--tr27-ink);
	cursor: pointer;
	font-weight: 800;
	min-height: 49px;
	padding: 0 45px 0 14px;
	width: 100%;
}

.tr27-state-selector-tip {
	align-self: end;
	background: var(--tr27-mint);
	border-radius: 10px;
	color: #146b57;
	font-size: 0.72rem;
	font-weight: 800;
	padding: 9px 13px;
	white-space: nowrap;
}

.tr27-state-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1080px;
}

.tr27-state-card {
	align-items: center;
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: 14px;
	box-shadow: var(--tr27-soft-shadow);
	display: grid;
	gap: 15px;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 118px;
	padding: 18px;
	position: relative;
	transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.tr27-state-card::before {
	background: var(--tr27-primary);
	border-radius: 5px;
	content: "";
	height: 5px;
	left: 18px;
	position: absolute;
	top: 0;
	width: 32px;
}

.tr27-state-card:nth-child(2)::before,
.tr27-state-card:nth-child(5)::before {
	background: var(--tr27-mint-deep);
}

.tr27-state-card:nth-child(3)::before,
.tr27-state-card:nth-child(6)::before {
	background: var(--tr27-saffron);
}

.tr27-state-card:hover {
	border-color: #bfd2fa;
	box-shadow: var(--tr27-shadow);
	transform: translateY(-3px);
}

.tr27-state-card.is-selected {
	border-color: #a9c5f7;
	box-shadow: 0 0 0 3px rgba(47, 99, 215, 0.13), var(--tr27-shadow);
}

.tr27-state-card-main {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.tr27-state-logo {
	align-items: center;
	background: var(--tr27-lavender);
	border: 1px solid #d5e2fa;
	border-radius: 13px;
	color: var(--tr27-primary-dark);
	display: flex;
	flex: 0 0 48px;
	font-size: 0.66rem;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	letter-spacing: -0.08em;
	overflow: hidden;
	width: 48px;
}

.tr27-state-card:nth-child(2) .tr27-state-logo,
.tr27-state-card:nth-child(5) .tr27-state-logo {
	background: var(--tr27-mint);
	border-color: #c8eadc;
	color: var(--tr27-mint-deep);
}

.tr27-state-card:nth-child(3) .tr27-state-logo,
.tr27-state-card:nth-child(6) .tr27-state-logo {
	background: #fff3df;
	border-color: #f6dbad;
	color: #b86a0e;
}

.tr27-state-logo img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tr27-state-card-copy {
	min-width: 0;
}

.tr27-state-card h2 {
	color: var(--tr27-ink);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.25;
	margin: 9px 0 0;
	overflow-wrap: anywhere;
}

.tr27-state-label {
	color: var(--tr27-muted);
	display: block;
	font-size: 0.72rem;
	line-height: 1.35;
	margin-top: 4px;
	overflow-wrap: anywhere;
}

.tr27-result-button,
.tr27-content a.wp-block-button__link,
.tr27-content .wp-element-button {
	align-items: center;
	background: var(--tr27-primary);
	border: 1px solid var(--tr27-primary);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.74rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	padding: 10px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.tr27-result-button::after {
	content: "↗";
	font-size: 0.95rem;
	line-height: 0;
	margin-left: 7px;
}

.tr27-result-button:hover,
.tr27-result-button:focus,
.tr27-content a.wp-block-button__link:hover,
.tr27-content .wp-element-button:hover {
	background: var(--tr27-primary-dark);
	border-color: var(--tr27-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.tr27-empty-state {
	background: var(--tr27-surface);
	border: 1px dashed #b9cde4;
	border-radius: var(--tr27-radius);
	color: var(--tr27-muted);
	margin: 0 auto;
	max-width: 760px;
	padding: 26px;
	text-align: center;
}

/* WordPress article and content */

.tr27-content {
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: 20px;
	box-shadow: var(--tr27-shadow);
	margin: 54px auto 0;
	max-width: var(--tr27-content);
	padding: clamp(27px, 5vw, 52px);
}

.tr27-content > :first-child {
	margin-top: 0;
}

.tr27-content > :last-child {
	margin-bottom: 0;
}

.tr27-content h2,
.tr27-content h3,
.tr27-content h4,
.tr27-content h5,
.tr27-content h6 {
	color: var(--tr27-ink);
	letter-spacing: -0.04em;
	line-height: 1.2;
	margin-bottom: 12px;
	margin-top: 2em;
}

.tr27-content h2 {
	font-size: clamp(1.55rem, 3vw, 2rem);
}

.tr27-content h3 {
	font-size: 1.3rem;
}

.tr27-content p,
.tr27-content ul,
.tr27-content ol,
.tr27-content table,
.tr27-content figure,
.tr27-content blockquote {
	margin-bottom: 1.25em;
}

.tr27-content p,
.tr27-content li {
	color: var(--tr27-ink-soft);
}

.tr27-content ul,
.tr27-content ol {
	padding-left: 1.4em;
}

.tr27-content li + li {
	margin-top: 0.35em;
}

.tr27-content a:not(.wp-block-button__link):not(.wp-element-button) {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tr27-content table {
	border-collapse: collapse;
	display: block;
	max-width: 100%;
	overflow-x: auto;
	width: 100%;
}

.tr27-content th,
.tr27-content td {
	border: 1px solid var(--tr27-border);
	padding: 10px 12px;
	text-align: left;
}

.tr27-content th {
	background: var(--tr27-lavender);
	color: var(--tr27-ink);
	font-weight: 800;
}

.tr27-content tr:nth-child(even) td {
	background: #fbfcfe;
}

.tr27-content blockquote {
	background: var(--tr27-mint);
	border-left: 4px solid var(--tr27-mint-deep);
	border-radius: 0 9px 9px 0;
	color: var(--tr27-ink-soft);
	margin-left: 0;
	padding: 14px 19px;
}

.tr27-content blockquote p:last-child {
	margin-bottom: 0;
}

.tr27-content hr {
	border: 0;
	border-top: 1px solid var(--tr27-border);
	margin: 2em 0;
}

.tr27-content figure {
	margin-left: 0;
	margin-right: 0;
}

.tr27-content figcaption {
	color: var(--tr27-muted);
	font-size: 0.82rem;
	margin-top: 8px;
	text-align: center;
}

.tr27-content img {
	border-radius: 10px;
}

.tr27-content .wp-block-code,
.tr27-content pre {
	background: var(--tr27-footer);
	border-radius: 10px;
	color: #e8f2f6;
	overflow-x: auto;
	padding: 17px;
}

.tr27-content-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) 280px;
	margin: 0 auto;
	max-width: 1080px;
}

.tr27-content-layout .tr27-content {
	margin: 0;
}

.tr27-widget-area {
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: var(--tr27-radius);
	box-shadow: var(--tr27-soft-shadow);
	padding: 21px;
}

.tr27-widget-area .widget {
	margin: 0 0 24px;
}

.tr27-widget-area .widget:last-child {
	margin-bottom: 0;
}

.tr27-widget-area .widget-title {
	border-bottom: 1px solid var(--tr27-border);
	color: var(--tr27-ink);
	font-size: 0.9rem;
	margin: 0 0 10px;
	padding-bottom: 9px;
}

.tr27-widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr27-widget-area li {
	border-bottom: 1px solid var(--tr27-border);
	padding: 7px 0;
}

.tr27-widget-area li:last-child {
	border-bottom: 0;
}

.tr27-widget-area a {
	font-size: 0.88rem;
	text-decoration: none;
}

/* Standard page, post and archive headings */

.tr27-page-header {
	background: var(--tr27-lavender);
	border: 1px solid #d7e3ff;
	border-radius: 20px;
	box-shadow: var(--tr27-soft-shadow);
	margin: 0 auto 24px;
	max-width: var(--tr27-content);
	padding: 29px clamp(26px, 5vw, 50px);
}

.tr27-page-header .tr27-eyebrow {
	margin-bottom: 9px;
}

.tr27-post-meta {
	color: var(--tr27-muted);
	font-size: 0.83rem;
	margin: 10px 0 0;
}

.tr27-pagination {
	margin: 30px auto 0;
	max-width: var(--tr27-content);
}

.tr27-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tr27-pagination a,
.tr27-pagination span {
	background: var(--tr27-surface);
	border: 1px solid var(--tr27-border);
	border-radius: 8px;
	padding: 8px 12px;
	text-decoration: none;
}

.tr27-pagination .current {
	background: var(--tr27-primary);
	border-color: var(--tr27-primary);
	color: #fff;
}

/* Footer */

.tr27-site-footer {
	background: var(--tr27-footer);
	color: #fff;
	padding: 54px 0 22px;
}

.tr27-footer-grid {
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(230px, 1.25fr) repeat(2, minmax(165px, 1fr));
}

.tr27-site-footer .tr27-brand {
	color: #fff;
}

.tr27-site-footer .tr27-brand:hover,
.tr27-site-footer .tr27-brand:focus {
	color: #fff;
}

.tr27-site-footer .tr27-brand-mark {
	background: var(--tr27-saffron);
	color: var(--tr27-footer);
}

.tr27-site-footer .tr27-brand-name {
	color: #fff;
}

.tr27-footer-description {
	color: var(--tr27-footer-soft);
	font-size: 0.88rem;
	line-height: 1.65;
	margin: 16px 0 0;
	max-width: 340px;
}

.tr27-footer-heading {
	color: var(--tr27-yellow);
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	margin: 3px 0 13px;
	text-transform: uppercase;
}

.tr27-footer-menu,
.tr27-footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr27-footer-menu a {
	color: var(--tr27-footer-soft);
	display: inline-block;
	font-size: 0.88rem;
	padding: 3px 0;
	text-decoration: none;
}

.tr27-footer-menu a:hover,
.tr27-footer-menu a:focus {
	color: #fff;
	transform: translateX(2px);
}

.tr27-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: #a9bdc9;
	font-size: 0.75rem;
	margin-top: 42px;
	padding-top: 17px;
}

/* Responsive */

@media (max-width: 980px) {
	.tr27-primary-nav {
		display: none;
	}

	.tr27-menu-toggle {
		display: inline-flex;
	}

	.tr27-state-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.tr27-container {
		padding-left: 17px;
		padding-right: 17px;
	}

	.tr27-page-shell {
		padding: 38px 0 56px;
	}

	.tr27-section-heading h1,
	.tr27-page-header h1 {
		font-size: clamp(2rem, 9vw, 2.9rem);
	}

	.tr27-content-layout {
		grid-template-columns: 1fr;
	}

	.tr27-content-layout .tr27-widget-area {
		order: 2;
	}

	.tr27-footer-grid {
		gap: 29px;
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 460px) {
	.tr27-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.tr27-header-row {
		min-height: 70px;
	}

	.tr27-brand-tagline {
		display: none;
	}

	.tr27-brand-name {
		font-size: 0.98rem;
		max-width: 205px;
	}

	.tr27-page-shell {
		padding: 30px 0 46px;
	}

	.tr27-section-heading {
		border-radius: 16px;
		padding: 27px 21px;
	}

	.tr27-section-heading::after {
		height: 155px;
		right: -67px;
		top: -76px;
		width: 155px;
	}

	.tr27-state-grid {
		grid-template-columns: 1fr;
	}

	.tr27-state-card {
		min-height: 103px;
		padding: 16px;
	}

	.tr27-state-selector-wrap {
		grid-template-columns: 1fr;
	}

	.tr27-state-selector-tip {
		justify-self: start;
	}

	.tr27-result-button {
		align-self: end;
		padding: 9px 11px;
	}

	.tr27-content {
		border-radius: 15px;
		margin-top: 39px;
		padding: 23px 18px;
	}

	.tr27-page-header {
		border-radius: 15px;
		padding: 24px 20px;
	}

	.tr27-footer-grid {
		grid-template-columns: 1fr;
	}

	.tr27-footer-bottom {
		margin-top: 31px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}