/**
 * Team profile page spacing & sections (single-team.php).
 * Uses Goreto spacing tokens — one consistent vertical rhythm.
 */

.single-team .story-details__area {
	padding-bottom: 80px !important;
}

.single-team .story-details__content .social-media-link {
	padding: 20px 0 24px;
	margin-top: 8px;
}

.single-team .story-details__button {
	margin-top: 32px !important;
}

.single-team .story-details__button a {
	padding: 16px 34px;
	line-height: 1.4;
}

.single-team .story-details__content .team-wp-content {
	padding-right: 0;
}

@media (min-width: 992px) {
	.single-team .story-details__content .team-wp-content {
		padding-right: 50px;
	}
}

/* ------------------------------------------------------------------
   Extended sections — equal vertical padding per block
------------------------------------------------------------------ */
.single-team .team-profile-sections {
	--team-block-y: 100px;
	--team-header-gap: 40px;
}

.single-team .team-profile-sections > .team-section {
	padding-top: var(--team-block-y);
	padding-bottom: var(--team-block-y);
	margin: 0;
}

.single-team .team-profile-sections > .team-section:first-child {
	padding-top: 100px;
}

.single-team .team-profile-sections > .team-section:last-child {
	padding-bottom: 120px;
}

/* Same-background sections: avoid doubled vertical padding */
.single-team .team-profile-sections > .team-section.white-bg + .team-section.white-bg,
.single-team .team-profile-sections > .team-section.white-bg + .team-section.team-cta {
	padding-top: 0;
}

.single-team .team-profile-sections .team-section__header,
.single-team .team-profile-sections .team-credentials__header {
	margin-bottom: var(--team-header-gap);
}

/* ------------------------------------------------------------------
   Credentials
------------------------------------------------------------------ */
.team-credentials__subtitle {
	color: var(--rr-heading-primary);
	font-weight: var(--rr-fw-bold);
	font-size: 14px;
	line-height: 14px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	margin-bottom: 10px;
}

.team-credentials__title {
	font-family: var(--rr-ff-heading);
	color: var(--rr-heading-primary);
	font-weight: var(--rr-fw-bold);
	font-size: var(--rr-fs-h2);
	line-height: var(--rr-lh-h2);
	margin-bottom: 14px;
}

.team-credentials__lead {
	font-family: var(--rr-ff-body);
	color: var(--rr-text-body);
	font-size: 16px;
	line-height: var(--rr-lh-h5);
	margin-bottom: 18px;
	max-width: 720px;
}

.team-credentials__accent {
	display: block;
	width: 70px;
	border-top: 2px solid var(--rr-theme-primary);
}

.team-credentials__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.team-credentials__card {
	background: var(--rr-common-white);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 16px;
	padding: 30px 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-credentials__card:hover {
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.team-credentials__card-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 24px;
	line-height: 1;
	color: var(--rr-common-white);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.team-credentials__card-icon i {
	display: block;
	line-height: 1;
	font-size: 1em;
}

.team-credentials__card-icon--experience {
	background-color: #0052ca;
	box-shadow: 0 8px 18px rgba(0, 82, 202, 0.28);
}

.team-credentials__card-icon--education {
	background-color: var(--rr-theme-primary);
	box-shadow: 0 8px 18px rgba(197, 21, 30, 0.28);
}

.team-credentials__card-icon--expertise {
	background-color: #313090;
	box-shadow: 0 8px 18px rgba(49, 48, 144, 0.28);
}

.team-credentials__card-icon--certification {
	background-color: #a026a7;
	box-shadow: 0 8px 18px rgba(160, 38, 167, 0.28);
}

.team-credentials__card-title {
	font-family: var(--rr-ff-heading);
	color: var(--rr-heading-primary);
	font-weight: var(--rr-fw-sbold);
	font-size: 18px;
	line-height: var(--rr-lh-h6);
	margin-bottom: 14px;
}

.team-credentials__card-value--large {
	font-family: var(--rr-ff-heading);
	color: var(--rr-heading-primary);
	font-weight: var(--rr-fw-bold);
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.team-credentials__card-sub {
	font-family: var(--rr-ff-body);
	color: var(--rr-text-body);
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

.team-credentials__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-credentials__list li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 8px;
	color: var(--rr-text-body);
	overflow-wrap: anywhere;
}

.team-credentials__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--rr-theme-primary);
	transform: translateY(-50%);
}

.team-credentials__cert-meta {
	display: block;
	font-size: 13px;
	margin-top: 2px;
}

.team-credentials__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-credentials__tags li {
	font-size: 14px;
	font-weight: var(--rr-fw-medium);
	padding: 8px 14px;
	border-radius: 30px;
	background-color: var(--rr-background-gray);
	border: 1px solid rgba(0, 0, 0, 0.05);
	color: var(--rr-heading-primary);
}

/* ------------------------------------------------------------------
   Destinations
------------------------------------------------------------------ */
.team-destinations__card {
	padding: 30px 28px;
	border-radius: 16px;
	background: var(--rr-common-white);
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-destinations__card:hover {
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.team-destinations__flag {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 18px;
	border: 3px solid #d1d5db;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	background-color: var(--rr-common-white);
}

.team-destinations__flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-destinations__title {
	margin-bottom: 14px !important;
}

.team-destinations__services {
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-destinations__services li {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 8px;
	color: var(--rr-text-body);
}

.team-destinations__services li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #0052ca;
}

/* ------------------------------------------------------------------
   Stats
------------------------------------------------------------------ */
.single-team .team-stats__panel {
	background: var(--rr-theme-primary);
	border-radius: 20px;
	padding: 56px 32px;
	box-shadow: 0 14px 40px rgba(197, 21, 30, 0.18);
}

.single-team .team-stats__grid {
	margin: 0;
	row-gap: 32px;
}

.single-team .team-stats__item {
	text-align: center;
	padding: 8px 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.single-team .team-stats__value {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	margin-bottom: 12px;
	color: var(--rr-common-white);
	font-family: var(--rr-ff-heading);
	font-weight: var(--rr-fw-bold);
	font-size: 52px;
	line-height: 1;
	letter-spacing: 0;
}

.single-team .team-stats__number,
.single-team .team-stats__number.odometer {
	font-family: var(--rr-ff-heading) !important;
	font-weight: var(--rr-fw-bold) !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: var(--rr-common-white) !important;
	letter-spacing: 0 !important;
}

.single-team .team-stats__suffix {
	font-family: var(--rr-ff-heading);
	font-weight: var(--rr-fw-bold);
	font-size: 0.72em;
	line-height: 1;
	color: var(--rr-common-white);
}

.single-team .team-stats__label {
	font-family: var(--rr-ff-body);
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	font-weight: var(--rr-fw-regular);
	line-height: 1.45;
	margin: 0;
	max-width: 160px;
}

@media (min-width: 992px) {
	.single-team .team-stats__grid > [class*="col-"]:not(:last-child) .team-stats__item {
		border-right: 1px solid rgba(255, 255, 255, 0.22);
	}
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
	.single-team .team-stats__value {
		font-size: 46px;
	}
}

/* ------------------------------------------------------------------
   Process — match homepage gt_process__area layout
------------------------------------------------------------------ */
.single-team .team-process {
	overflow: visible;
}

.single-team .team-process .gt_process__area {
	padding-bottom: 20px;
}

.single-team .team-process .step-vct-arrow {
	position: relative;
	min-height: 0;
	margin: 0;
}

.single-team .team-process .step-vct-arrow .row {
	position: absolute;
	top: -5px;
	right: 100px;
	width: 100%;
	height: auto;
}

.single-team .team-process .gt_process__area .process__item-number {
	margin: 0 auto 35px;
}

.single-team .team-process .gt_process__area .process__item-2 {
	margin-top: 55px;
}

@media (min-width: 1900px) {
	.single-team .team-process .step-vct-arrow .row {
		top: -35px;
	}
}

@media (max-width: 1200px) {
	.single-team .team-process .step-vct-arrow .row {
		top: 10px;
		right: 30px;
	}
}

@media (max-width: 992px) {
	.single-team .team-process .step-vct-arrow {
		display: none;
	}

	.single-team .team-process .gt_process__area .process__item-2 {
		margin-top: 0;
	}
}

/* ------------------------------------------------------------------
   CTA
------------------------------------------------------------------ */
.single-team .team-cta .team-cta__panel.course-stats-pnl {
	padding: 56px 48px;
}

.single-team .team-cta__content {
	position: relative;
	z-index: 2;
}

.single-team .team-cta__title {
	font-family: var(--rr-ff-heading);
	color: var(--rr-common-white);
	font-weight: var(--rr-fw-bold);
	font-size: 32px;
	line-height: 1.3;
	margin: 0 0 16px;
}

.single-team .team-cta__desc {
	color: rgba(255, 255, 255, 0.92);
	font-size: 16px;
	line-height: 1.6;
	max-width: 640px;
	margin: 0 auto 32px;
}

.single-team .team-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.single-team .team-cta__actions .btn-light {
	padding: 15px 30px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.single-team .team-cta__actions .btn-light i {
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
}

.single-team .team-cta__actions .btn-light .fa-whatsapp {
	font-size: 22px;
}

/* ------------------------------------------------------------------
   Responsive — all team page sections
------------------------------------------------------------------ */

/* Tablet */
@media (max-width: 992px) {
	.single-team .team-profile-sections {
		--team-block-y: 80px;
		--team-header-gap: 32px;
	}

	.single-team .story-details__area {
		padding-bottom: 60px !important;
	}

	.single-team .team-profile-sections > .team-section:first-child {
		padding-top: 80px;
	}

	.single-team .team-profile-sections > .team-section:last-child {
		padding-bottom: 90px;
	}

	.single-team .team-credentials__title,
	.single-team .team-profile-sections .section__title-wrapper-title {
		font-size: 40px;
		line-height: 50px;
	}

	.single-team .team-credentials__lead {
		font-size: 15px;
		line-height: 1.6;
	}

	.single-team .team-credentials__grid {
		gap: 20px;
	}

	.single-team .team-credentials__card,
	.single-team .team-destinations__card {
		padding: 26px 24px;
	}

	.single-team .team-stats__panel {
		padding: 48px 28px;
	}

	.single-team .team-stats__value {
		font-size: 42px;
	}

	.single-team .team-stats__grid > [class*="col-"]:nth-child(odd) .team-stats__item {
		border-right: 1px solid rgba(255, 255, 255, 0.22);
	}

	.single-team .team-stats__grid > [class*="col-"]:nth-child(even) .team-stats__item {
		border-right: none;
	}

	.single-team .team-process .section__title-wrapper.mb-60 {
		margin-bottom: 40px !important;
	}

	.single-team .team-process .gt_process__area {
		padding-bottom: 0;
	}

	.single-team .team-cta .team-cta__panel.course-stats-pnl {
		padding: 48px 36px;
	}

	.single-team .team-cta__title {
		font-size: 28px;
	}

	.single-team .team-cta__desc {
		font-size: 15px;
		margin-bottom: 28px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.single-team .team-profile-sections {
		--team-block-y: 70px;
		--team-header-gap: 28px;
	}

	.single-team .story-details__area {
		padding-bottom: 50px !important;
	}

	.single-team .team-profile-sections > .team-section:first-child {
		padding-top: 70px;
	}

	.single-team .story-details__button {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.single-team .story-details__button a {
		justify-content: center;
		padding: 14px 24px;
	}

	.single-team .team-credentials__title,
	.single-team .team-profile-sections .section__title-wrapper-title {
		font-size: 35px;
		line-height: 45px;
	}

	.single-team .team-credentials__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.single-team .team-credentials__card-value--large {
		font-size: 26px;
	}

	.single-team .team-destinations__flag {
		width: 52px;
		height: 52px;
		margin-bottom: 14px;
	}

	.single-team .team-destinations__title {
		font-size: 22px;
		line-height: 1.3;
		margin-bottom: 12px !important;
	}

	.single-team .team-stats__value {
		font-size: 38px;
	}

	.single-team .team-stats__grid {
		row-gap: 28px;
	}

	.single-team .team-process .section__title-wrapper.mb-60 {
		margin-bottom: 32px !important;
	}

	.single-team .team-process .gt_process__area .process__item h5,
	.single-team .team-process .gt_process__area .process__item .process__item-title {
		font-size: 22px;
		line-height: 1.35;
		margin-bottom: 12px !important;
	}

	.single-team .team-process .gt_process__area .process__item p {
		font-size: 15px;
		line-height: 1.55;
	}

	.single-team .team-cta__title {
		font-size: 26px;
	}

	.single-team .team-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.single-team .team-cta__actions .btn-light {
		width: 100%;
		justify-content: center;
	}
}

/* Small mobile */
@media (max-width: 575px) {
	.single-team .team-profile-sections {
		--team-block-y: 60px;
		--team-header-gap: 24px;
	}

	.single-team .story-details__area {
		padding-bottom: 40px !important;
	}

	.single-team .team-profile-sections > .team-section:first-child {
		padding-top: 60px;
	}

	.single-team .team-profile-sections > .team-section:last-child {
		padding-bottom: 70px;
	}

	.single-team .teamdetail__content-title {
		font-size: 28px;
		line-height: 38px;
	}

	.single-team .teamdetail__content b {
		margin-left: 0;
		padding-top: 14px;
		display: block;
		font-size: 15px;
	}

	.single-team .teamdetail__content b::before {
		left: 0;
		top: 0;
		width: 50px;
	}

	.single-team .story-details__content .social-media-link {
		padding: 16px 0 20px;
	}

	.single-team .team-credentials__subtitle,
	.single-team .team-profile-sections .section__title-wrapper-center-subtitle {
		font-size: 12px;
		letter-spacing: 1.2px;
	}

	.single-team .team-credentials__title,
	.single-team .team-profile-sections .section__title-wrapper-title {
		font-size: 28px;
		line-height: 38px;
		margin-bottom: 10px;
	}

	.single-team .team-credentials__lead {
		font-size: 15px;
		line-height: 1.55;
		margin-bottom: 14px;
	}

	.single-team .team-credentials__card,
	.single-team .team-destinations__card {
		padding: 22px 18px;
		border-radius: 14px;
	}

	.single-team .team-credentials__card-icon {
		width: 46px;
		height: 46px;
		font-size: 20px;
		border-radius: 12px;
		margin-bottom: 14px;
	}

	.single-team .team-credentials__card-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.single-team .team-credentials__card-value--large {
		font-size: 24px;
	}

	.single-team .team-credentials__card-sub,
	.single-team .team-credentials__list li,
	.single-team .team-destinations__services li {
		font-size: 14px;
		line-height: 1.55;
	}

	.single-team .team-credentials__tags li {
		font-size: 13px;
		padding: 6px 12px;
	}

	.single-team .team-destinations__flag {
		width: 48px;
		height: 48px;
		border-width: 2px;
	}

	.single-team .team-destinations__title {
		font-size: 20px;
	}

	.single-team .team-stats__panel {
		padding: 20px 20px 25px;
		border-radius: 16px;
	}

	.single-team .team-stats__value {
		font-size: 32px;
		margin-bottom: 8px;
	}

	.single-team .team-stats__label {
		font-size: 13px;
		max-width: none;
		line-height: 1.4;
	}

	.single-team .team-stats__grid {
		row-gap: 0;
	}

	.single-team .team-stats__grid > [class*="col-"]:nth-child(odd) .team-stats__item,
	.single-team .team-stats__grid > [class*="col-"]:nth-child(even) .team-stats__item {
		border-right: none;
	}

	.single-team .team-stats__grid > [class*="col-"] .team-stats__item {
		padding: 20px 12px;
	}

	.single-team .team-stats__grid > [class*="col-"]:not(:last-child) .team-stats__item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	}

	.single-team .team-process .section__title-wrapper.mb-60 {
		margin-bottom: 24px !important;
	}

	.single-team .team-process .gt_process__area .process__item {
		margin-bottom: 36px;
	}

	.single-team .team-process .gt_process__area .process__item h5,
	.single-team .team-process .gt_process__area .process__item .process__item-title {
		font-size: 20px;
	}

	.single-team .team-process .gt_process__area .process__item p {
		font-size: 14px;
	}

	.single-team .team-cta .team-cta__panel.course-stats-pnl {
		padding: 36px 20px;
		border-radius: 16px;
	}

	.single-team .team-cta__title {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.single-team .team-cta__desc {
		font-size: 14px;
		line-height: 1.55;
		margin-bottom: 24px;
	}

	.single-team .team-cta__actions .btn-light {
		padding: 14px 22px;
		font-size: 12px;
	}
}
