/**
 * Country Template Styles
 * For single country pages — matched to Figma node 9948:92851
 * Version: 4.0.0
 */

/* ========================================
   GENERAL STYLES
   ======================================== */

.country-template-new {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	color: #191a23;
	line-height: 1.6;
	font-weight: 300;
	font-variation-settings: 'opsz' 14;
}

.country-template-new .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 50px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.country-hero-new {
	position: relative;
	background-image: url('/wp-content/uploads/2025/12/cyan-bg.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 100px 0;
}

.country-hero-new .container {
	position: relative;
	z-index: 1;
}

/* Breadcrumbs */
.country-template-new .breadcrumbs {
	margin-bottom: 50px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #a1a1aa;
	display: flex;
	align-items: center;
	gap: 0;
}

.country-template-new .breadcrumbs a {
	color: #a1a1aa;
	text-decoration: none;
	transition: color 0.2s;
	padding: 0 4px;
	line-height: 20px;
}

.country-template-new .breadcrumbs a:hover {
	color: #27272a;
}

.country-template-new .breadcrumbs .breadcrumb-chevron {
	color: #a1a1aa;
	flex-shrink: 0;
	margin: 0 4px;
}

.country-template-new .breadcrumbs .current {
	color: #27272a;
	font-weight: 500;
	line-height: 20px;
}

/* Hero Content Grid */
.hero-content-grid {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.hero-left {
	flex: 1;
	min-width: 0;
	padding-right: 60px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero-flag {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.hero-flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-title {
	font-family: 'TWK Everett', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 48px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -1.44px;
	margin: 0;
	color: #000;
}

.hero-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 28px;
	font-weight: 300;
	line-height: normal;
	color: #000;
	margin: 0;
	font-variation-settings: 'opsz' 14;
}

.hero-updated {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero-updated-icon {
	flex-shrink: 0;
}

.hero-updated span {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #656672;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

/* Hero CTA Card */
.hero-right {
	flex-shrink: 0;
	width: 375px;
}

.hero-cta-card {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 28px;
	padding: 70px 36px 36px;
	box-shadow:
		0px 0.5px 2px 0px rgba(0, 0, 0, 0.08),
		inset 0px 0.5px 0px 0px rgba(255, 255, 255, 0.2),
		inset 0px 0px 8px 0px rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero-cta-title {
	font-family: 'TWK Everett', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #000;
	margin: 0 0 -8px 0;
	line-height: normal;
}

.hero-cta-subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #191a23;
	margin: 0;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.hero-cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Buttons */
.country-template-new .btn {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 48px;
	padding: 12px 16px 12px 24px;
	border-radius: 12px;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.country-template-new .btn-primary {
	background: #000;
	color: white;
	border: 2px solid #000;
}

.country-template-new .btn-primary:hover {
	background: #1c1c1b;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-template-new .btn-ghost {
	background: transparent;
	color: #000;
}

.country-template-new .btn-ghost:hover {
	background: rgba(0, 0, 0, 0.05);
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */

.country-main-wrapper {
	background: white;
	padding: 60px 0 100px;
}

.content-layout {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

/* ========================================
   SIDEBAR
   ======================================== */

.country-sidebar-new {
	flex-shrink: 0;
	width: 280px;
}

.sidebar-sticky {
	position: sticky;
	top: 100px;
	padding: 20px 60px 20px 0;
}

.sidebar-title {
	font-family: 'TWK Everett', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #656672;
	margin: 0 0 12px 0;
	padding: 0;
	line-height: 16px;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sidebar-nav .nav-link {
	padding: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #1c1c1b;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s;
	display: block;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.sidebar-nav .nav-link:hover {
	background: #f5f5f5;
	color: #000;
}

.sidebar-nav .nav-link.active {
	background: #ede8e4;
	color: #000;
	font-weight: 300;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.country-content-new {
	flex: 1;
	max-width: 880px;
	min-width: 0;
}

.content-section {
	margin-bottom: 0;
}

.section-title {
	font-family: 'TWK Everett', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: normal;
	margin: 0 0 16px 0;
	color: #000;
}

.section-intro {
	margin-bottom: 0;
}

.section-intro p {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: normal;
	color: #000;
	margin: 0;
	font-variation-settings: 'opsz' 14;
}

.section-content {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #191a23;
}

.section-content p {
	margin-bottom: 16px;
}

.section-content h3 {
	font-family: 'TWK Everett', sans-serif;
	font-size: 20px;
	font-weight: 500;
	margin: 24px 0 12px 0;
}

.section-content ul,
.section-content ol {
	margin: 16px 0;
	padding-left: 24px;
}

.section-content li {
	margin-bottom: 8px;
}

/* Section dividers */
.section-divider {
	height: 0;
	border: none;
	border-bottom: 2px solid rgba(0, 0, 0, 0.2);
	margin: 60px 0;
}

/* Two-column grid layout */
.content-grid-2col {
	display: flex;
	gap: 20px;
	margin-top: 60px;
}

.content-col {
	flex: 1;
	min-width: 0;
}

.col-title {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	margin: 0 0 0 0;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.col-content {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.col-content p {
	margin-bottom: 12px;
}

.col-content ul,
.col-content ol {
	margin: 12px 0;
	padding-left: 24px;
}

.col-content li {
	margin-bottom: 6px;
}

/* Subsections */
.subsection-block {
	margin-top: 60px;
}

.subsection-title {
	font-family: 'TWK Everett', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #000;
	margin: 0 0 16px 0;
	line-height: normal;
}

.subsection-content {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.subsection-content p {
	margin-bottom: 12px;
}

.subsection-content ul,
.subsection-content ol {
	margin: 12px 0;
	padding-left: 24px;
}

.subsection-content li {
	margin-bottom: 6px;
}

/* Section footer notes */
.section-footer-note {
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
	color: #656672;
	letter-spacing: 0.12px;
	margin-top: 0;
	font-variation-settings: 'opsz' 14;
}

.section-footer-note p {
	margin: 0;
}

/* ========================================
   STATS CARDS
   ======================================== */

.stats-grid {
	display: flex;
	gap: 20px;
	margin-top: 60px;
}

.stat-card {
	flex: 1;
	min-width: 0;
	background: white;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 28px;
	padding: 24px;
	min-height: 159px;
	display: flex;
	flex-direction: column;
}

.stat-label {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #191a23;
	margin-bottom: 0;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.stat-value {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	margin-top: auto;
	margin-bottom: 8px;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

.stat-sublabel {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #191a23;
	line-height: normal;
	font-variation-settings: 'opsz' 14;
}

/* ========================================
   TABLES
   ======================================== */

/* Payment Authority Table */
.payment-authority-table {
	border: none;
	border-radius: 0;
	overflow: visible;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.authority-row {
	display: flex;
	align-items: center;
	border-top: 1px solid rgba(17, 17, 17, 0.15);
	padding: 12px 0;
}

.authority-name {
	flex-shrink: 0;
	width: 180px;
	padding-right: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
	align-self: flex-start;
	padding-top: 12px;
}

.authority-name strong {
	font-weight: 700;
}

.authority-schedule {
	flex: 1;
	min-width: 0;
	padding-right: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.authority-method {
	flex-shrink: 0;
	width: 180px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.authority-schedule ul,
.authority-method ul {
	list-style: disc;
	padding-left: 24px;
	margin: 0;
}

.authority-schedule li,
.authority-method li {
	margin-bottom: 4px;
}

/* Tax Brackets List */
.tax-brackets-list {
	list-style: none;
	padding: 0;
	margin: 16px 0 0 0;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 8px;
	overflow: hidden;
}

.tax-brackets-list li {
	padding: 12px 20px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #191a23;
	line-height: 1.5;
	font-variation-settings: 'opsz' 14;
}

.tax-brackets-list li:last-child {
	border-bottom: none;
}

.tax-brackets-list li strong {
	font-weight: 700;
}

/* State Payroll Tax Table */
.state-tax-table {
	border: none;
	border-radius: 0;
	overflow: visible;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.state-row {
	display: flex;
	align-items: flex-start;
	border-top: 1px solid rgba(17, 17, 17, 0.15);
	padding: 12px 0;
}

.state-name {
	flex-shrink: 0;
	width: 180px;
	padding-right: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.state-details {
	flex: 1;
	min-width: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

/* Public Holidays Table */
.holidays-table {
	border: none;
	border-radius: 0;
	overflow: visible;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.holiday-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(17, 17, 17, 0.15);
	padding: 12px 0;
}

.holiday-name {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.holiday-date {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #656672;
	text-align: right;
	font-variation-settings: 'opsz' 14;
}

/* ========================================
   EMPLOYER TAX BREAKDOWN
   ======================================== */

.employer-tax-breakdown {
	margin-top: 32px;
}

/* Employee Contributions List */
.employee-contributions-list {
	list-style: none;
	padding: 0;
	margin: 16px 0 0 0;
}

.employee-contributions-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.employee-contributions-list li:last-child {
	border-bottom: none;
}

.employee-contributions-list .contrib-name {
	color: #191a23;
	font-weight: 300;
}

.employee-contributions-list .contrib-rate {
	font-weight: 700;
	color: #191a23;
	font-variant-numeric: tabular-nums;
}

/* Income Tax Brackets (API) */
.income-tax-bracket-group {
	margin-bottom: 24px;
}

.income-tax-bracket-group:last-child {
	margin-bottom: 0;
}

.bracket-group-label {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	margin: 0 0 8px 0;
	font-variation-settings: 'opsz' 14;
}

.income-tax-brackets-table {
	border-top: 1px solid rgba(17, 17, 17, 0.15);
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.bracket-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-variation-settings: 'opsz' 14;
}

.bracket-row:last-child {
	border-bottom: none;
}

.bracket-rate {
	font-weight: 700;
	color: #191a23;
	min-width: 60px;
	font-variant-numeric: tabular-nums;
}

.bracket-range {
	color: #191a23;
	font-weight: 300;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.employer-tax-card {
	background: white;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 28px;
	overflow: hidden;
}

.employer-tax-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.employer-tax-header .subsection-title {
	margin: 0;
	font-size: 20px;
}

.employer-tax-total {
	font-family: 'DM Sans', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.employer-tax-components {
	padding: 8px 0;
}

.employer-tax-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 24px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.employer-tax-row:last-child {
	border-bottom: none;
}

.employer-tax-name {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #191a23;
	font-variation-settings: 'opsz' 14;
}

.employer-tax-rate {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #191a23;
	font-variant-numeric: tabular-nums;
	font-variation-settings: 'opsz' 14;
}

/* ========================================
   PROVIDERS SECTION
   ======================================== */

.country-providers-new {
	background: #fafafa;
	padding: 80px 0;
}

.providers-header {
	text-align: left;
	margin-bottom: 48px;
	position: relative;
}

.providers-header .section-title {
	font-size: 36px;
	margin-bottom: 12px;
}

.providers-header .section-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #656672;
	margin-bottom: 16px;
}

.view-all-link {
	position: absolute;
	top: 0;
	right: 0;
	color: #191a23;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.2s;
}

.view-all-link:hover {
	color: #000;
	text-decoration: underline;
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */

.country-services-new {
	background: white;
	padding: 80px 0;
}

.country-services-new .section-title {
	font-size: 36px;
	margin-bottom: 12px;
	text-align: left;
}

.country-services-new .section-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #656672;
	margin-bottom: 48px;
	text-align: left;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service-card {
	background: white;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 28px;
	padding: 24px;
	text-decoration: none;
	display: block;
	transition: all 0.3s;
	position: relative;
}

.service-card:hover {
	border-color: #191a23;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
	width: 48px;
	height: 48px;
	background: #ede8e4;
	border-radius: 8px;
	margin-bottom: 16px;
}

.service-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #000;
	margin: 0 0 8px 0;
}

.service-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	color: #656672;
	margin: 0 0 16px 0;
}

.service-link-text {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #191a23;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
	.country-template-new .container {
		padding: 0 40px;
	}

	.hero-left {
		padding-right: 40px;
	}
}

@media (max-width: 992px) {
	.country-template-new .container {
		padding: 0 24px;
	}

	.hero-content-grid {
		flex-direction: column;
		gap: 40px;
	}

	.hero-left {
		padding-right: 0;
	}

	.hero-right {
		width: 100%;
	}

	.hero-cta-card {
		padding: 36px;
	}

	.hero-title {
		font-size: 40px;
	}

	.hero-description {
		font-size: 22px;
	}

	.content-layout {
		flex-direction: column;
		gap: 0;
	}

	.country-sidebar-new {
		width: 100%;
	}

	.sidebar-sticky {
		position: static;
		padding: 20px 0;
	}

	.sidebar-nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}

	.sidebar-nav .nav-link {
		font-size: 14px;
		padding: 6px 12px;
	}

	.stats-grid {
		flex-wrap: wrap;
	}

	.stat-card {
		flex: 1 1 calc(50% - 10px);
		min-height: 140px;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.content-grid-2col {
		flex-direction: column;
		gap: 40px;
	}

	.authority-row {
		flex-direction: column;
		gap: 12px;
	}

	.authority-name,
	.authority-method {
		width: 100%;
	}

	.state-row {
		flex-direction: column;
		gap: 8px;
	}

	.state-name {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.country-template-new .container {
		padding: 0 20px;
	}

	.country-hero-new {
		padding: 80px 0 60px;
	}

	.hero-title {
		font-size: 32px;
		letter-spacing: -1px;
	}

	.hero-description {
		font-size: 18px;
	}

	.hero-flag {
		width: 60px;
		height: 60px;
	}

	.country-template-new .btn {
		font-size: 16px;
	}

	.section-title {
		font-size: 28px;
	}

	.section-intro p {
		font-size: 18px;
	}

	.stats-grid {
		flex-direction: column;
	}

	.stat-card {
		flex: 1 1 100%;
		min-height: 120px;
	}

	.providers-grid {
		grid-template-columns: 1fr;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.providers-header .view-all-link {
		position: static;
		display: block;
		margin-top: 12px;
	}

	.holiday-row {
		flex-direction: column;
		gap: 4px;
		align-items: flex-start;
	}

	.holiday-date {
		text-align: left;
	}

	.employer-tax-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.employer-tax-total {
		font-size: 20px;
	}

	.employer-tax-row {
		padding: 10px 16px;
	}

	.section-divider {
		margin: 40px 0;
	}

	.content-grid-2col {
		margin-top: 40px;
	}

	.subsection-block {
		margin-top: 40px;
	}

	.stats-grid {
		margin-top: 40px;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 28px;
	}

	.hero-description {
		font-size: 16px;
	}

	.section-title {
		font-size: 24px;
	}

	.section-intro p {
		font-size: 16px;
	}

	.subsection-title {
		font-size: 18px;
	}

	.hero-cta-card {
		padding: 24px;
	}
}
