.srt-drivers-hero,
.srt-drivers-sponsor-cta {
	background: linear-gradient(120deg, #082071, #FF2D48);
	color: #fff;
	padding: 24px;
	border-radius: 10px;
	margin-bottom: 24px;
    margin-top: 24px;
}

.srt-drivers-hero-actions,
.srt-driver-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.srt-btn {
	display: inline-block;
	background: #ff2d48;
	color: #fff;
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 6px;
	font-weight: 600;
	border: 1px solid #ff2d48;
}

.srt-btn-outline {
	background: transparent;
	color: #ff2d48;
	border: 1px solid #ff2d48;
}

.srt-btn:hover,
.srt-btn:focus {
	background: #d10721;
	border-color: #d10721;
	color: #fff;
}

.srt-btn-outline:hover,
.srt-btn-outline:focus {
	background: #ff2d48;
	border-color: #ff2d48;
	color: #fff;
}

.srt-drivers-filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin-bottom: 24px;
}

.srt-drivers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.srt-driver-card {

display: flex;
flex-direction: column;

	border: 1px solid #d9dde3;
	border-radius: 10px;
	overflow: hidden;
	background: #162426;
	color: #eaf4f4;
}

.srt-driver-card-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.srt-driver-card-image {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #f2f4f7;
}

.srt-driver-card-body {

display: flex;
flex-direction: column;
flex: 1;

	padding: 14px;
}

.srt-driver-card-image {
    position: relative;
    overflow: hidden;
}

/* Position the flag in top right corner */
.srt-driver-card-image .srt-driver-card-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    font-size: 2rem; /* Adjust size as needed */
    line-height: 1;
    background-color: rgba(255, 255, 255, 0.8); /* Optional background for better visibility */
    border-radius: 4px;
    padding: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
}

.srt-driver-card-image .srt-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    margin: 0; /* Override any existing margins */
}

.srt-driver-card-image .srt-badge {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px); /* Adds a subtle blur effect if supported */
}

/* Style for available badge (if you want different colors) */
.srt-driver-card-image .srt-badge.srt-badge-available {
    background-color: rgba(76, 175, 80, 0.9); /* Green with transparency */
}

/* Style for sponsored badge */
.srt-driver-card-image .srt-badge:not(.srt-badge-available) {
    background-color: black; /* Blue with transparency */
}

.srt-driver-card-body .srt-btn-outline{
	margin-top: auto;
    align-self: flex-start;
    width: auto;
}

.srt-driver-card-body p{
	margin-bottom:3px;
}


.srt-driver-name a{
	color: #FF2D48;
}

.srt-driver-card-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-size: 22px;
	line-height: 1;
}

.srt-badge {
	display: inline-block;
	margin-top: 8px;
	background: #f5f0d3;
	color: #665500;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
}

.srt-badge-available {
	background: #1f9d55;
	color: #fff;
}

.srt-driver-profile {
	display: grid;
	gap: 24px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 0 20px;
	overflow-x: hidden;
}

.srt-driver-profile,
.srt-driver-profile * {
	box-sizing: border-box;
}

.srt-driver-profile h2 {
	margin: 0 0 12px;
	font-size: clamp(1.1rem, 1.4vw, 1.4rem);
	letter-spacing: 0.01em;
}

.srt-section-title.has-icon {
	position: relative;
	padding-left: 28px;
}

.srt-section-title.has-icon::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v10M7 12h10'/></svg>");
}

.srt-section-profile .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21a8 8 0 0 0-16 0'/><circle cx='12' cy='7' r='4'/></svg>\");
}

.srt-section-goals .srt-section-title::before,
.srt-section-season-goal .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='4'/><path d='M12 2v4'/></svg>\");
}

.srt-section-stats .srt-section-title::before,
.srt-section-achievements .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20V10'/><path d='M10 20V4'/><path d='M16 20v-6'/><path d='M22 20V8'/></svg>\");
}

.srt-section-top-achievement .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8 21h8'/><path d='M12 17v4'/><path d='M5 4h14v4a7 7 0 0 1-14 0V4z'/><path d='M5 4H3v3a4 4 0 0 0 4 4'/><path d='M19 4h2v3a4 4 0 0 1-4 4'/></svg>\");
}

.srt-section-sports-program .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M16 2v4'/><path d='M8 2v4'/><path d='M3 10h18'/></svg>\");
}

.srt-section-sports-coaching .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8h10a4 4 0 0 1 0 8H6'/><path d='M4 8V6a2 2 0 0 1 2-2h12v8'/><circle cx='20' cy='12' r='2'/></svg>\");
}

.srt-section-vision .srt-section-title::before {
	background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/><circle cx='12' cy='12' r='3'/></svg>\");
}

.srt-driver-profile h3 {
	margin: 0 0 10px;
}

.srt-profile-card {
	background: #162426;
	border: 1px solid #dfe5eb;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 8px 24px rgba(12, 29, 46, 0.05);
	min-width: 0;
	overflow-wrap: anywhere;
}

.srt-driver-profile-hero {
	display: grid;
	grid-template-columns: minmax(220px, 340px) 1fr;
	gap: 24px;
	align-items: center;
	background: #162426;
	border: 1px solid #dfe5eb;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 8px 24px rgba(12, 29, 46, 0.05);
}

.srt-driver-profile-hero h1,
.srt-driver-profile-hero p,
.srt-profile-card,
.srt-profile-card h2,
.srt-profile-card h3,
.srt-profile-card p,
.srt-profile-card li,
.srt-profile-card span,
.srt-driver-card h3 a,
.srt-driver-card p {
	color: #eaf4f4;
}

.srt-driver-profile-photo img {
	width: 100%;
	max-width: 340px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 10px;
}

.srt-driver-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
}

.srt-driver-gallery .is-hidden {
	display: none;
}

.srt-gallery-more {
	margin-top: 12px;
}

.srt-driver-gallery a {
	display: block;
	aspect-ratio: 1 / 1;
}

.srt-driver-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
}

.srt-social-links {
	display: flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.srt-social-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #eaf4f4;
	text-decoration: none;
	font-weight: 600;
}

.srt-events-list,
.srt-top-rewards {
	display: grid;
	gap: 10px;
}

.srt-bullet-list {
	list-style: disc;
	padding-left: 20px;
	margin: 0;
	display: grid;
	gap: 8px;
	list-style-position: outside;
}

.srt-bullet-list .srt-events-item {
	display: list-item;
	align-items: flex-start;
	justify-content: flex-start;
}

.srt-events-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.srt-top-reward-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	text-align: center;
	min-width: 120px;
}

.srt-top-reward-item img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
}

.srt-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.srt-share-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #ff2d48;
	text-decoration: none;
	color: #fff;
	font-weight: 600;
}

.srt-share-buttons a:hover,
.srt-share-buttons a:focus {
	background: #d10721;
	color: #fff;
}

.srt-top-rewards {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.srt-driver-videos {
	display: grid;
	gap: 12px;
}

.srt-driver-video {
	width: 100%;
	overflow: hidden;
}

.srt-embed-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	overflow: hidden;
	border-radius: 8px;
	background: #0a0f14;
}

@supports not (aspect-ratio: 16 / 9) {
	.srt-embed-wrap {
		padding-bottom: 56.25%;
		height: 0;
	}
}

.srt-embed-wrap iframe,
.srt-embed-wrap object,
.srt-embed-wrap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

.srt-partners-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.srt-partner-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 120px;
	text-align: center;
}

.srt-partner-item img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	background: rgba(255, 255, 255, 0.08);
}

.srt-driver-actions .srt-btn,
.srt-drivers-hero-actions .srt-btn {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.srt-gallery-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 16px;
}

.srt-gallery-lightbox.is-open {
	display: flex;
}

.srt-gallery-lightbox img {
	max-width: min(1100px, 94vw);
	max-height: 84vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.srt-gallery-lightbox-close,
.srt-gallery-lightbox-prev,
.srt-gallery-lightbox-next {
	position: absolute;
	background: #ff2d48;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
}

.srt-gallery-lightbox-close {
	top: 16px;
	right: 16px;
}

.srt-gallery-lightbox-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.srt-gallery-lightbox-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	.srt-driver-profile {
		gap: 16px;
		padding: 0;
	}

	.srt-driver-profile-hero {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.srt-profile-card {
		padding: 14px;
	}

	.srt-events-item {
		align-items: stretch;
	}

	.srt-events-item .srt-btn {
		width: 100%;
	}

	.srt-top-rewards,
	.srt-partners-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.srt-top-reward-item img,
	.srt-partner-item img {
		width: min(150px, 70vw);
		height: min(150px, 70vw);
	}
}