/* ============================================================
   TRAINING PAGE — training.css
   ============================================================ */

/* ---- HERO ---- */
.tr-hero {
	position: relative;
	min-height: 270px;
	background: url('../images/hero-bg.png') center center / cover no-repeat;
	overflow: visible;
}

.tr-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 32, 57, 0.72);
}

.tr-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 68px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.tr-hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 56px;
	line-height: 40px;
    line-height: 61.6px;
    letter-spacing: -0.56px;
	color: #ffffff;
	margin: 0 0 10px;
    text-align: center;

}

.tr-hero-title em {
	font-style: italic;
	color: #F16522;
}

.tr-hero-desc {
	max-width: 677px;
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    text-align: center;

}

/* ---- BREADCRUMB ---- */
.tr-breadcrumb-shell {
	margin-top: -50px;
	position: relative;
	z-index: 3;
}

.tr-breadcrumb-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.tr-breadcrumb {position: relative;
	margin: 0 auto;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: Inter, 'DM Sans', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 18px;
	color: #9CA3AF;

    width: min(1086px, calc(100% - 32px));
    height: 50px;
    border-radius: 16px 16px 0 0;
}
.tr-breadcrumb::before,
.tr-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.tr-breadcrumb::before {
    left: -16px;
    background: radial-gradient(circle at 0 0, transparent 16px, #ffffff 16.5px);
}

.tr-breadcrumb::after {
    right: -16px;
    background: radial-gradient(circle at 100% 0, transparent 16px, #ffffff 16.5px);
}


.tr-breadcrumb a {
	color: #374151;
	text-decoration: none;
}

.tr-breadcrumb-current {
	color: #F16522;
}

/* ---- INTRO ---- */
.tr-intro-section {
	padding: 48px 0 56px;
	background: #ffffff;
}

.tr-intro-inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tr-intro-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 34px;
	color: #1E2A44;
	margin: 0 0 18px;
    line-height: 120%;
    letter-spacing: 0px;
    text-align: center;

}

.tr-intro-heading em {
	font-style: italic;
	color: #F16522;
}

.tr-intro-desc {
    max-width: 1072px;
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height:  25.5px;
	color: #4B5563;
	margin: 0 0 28px;
}

.tr-director-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.tr-director-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #E5E7EB;
}

.tr-director-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tr-director-name {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #1E2A44;
	margin: 0;
    line-height: 150%;
    text-align: center;

}

.tr-director-role {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 15px;
	color: #6B7280;
	margin: 0;
	text-align: center;
}

/* ---- SHARED SECTION HEADING ---- */
.tr-section-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 44px;
	line-height:  48px;
	color: #1E2A44;
	margin: 0 0 24px;
}

.tr-section-heading em {
	font-style: italic;
	color: #F16522;
}

/* ---- UPCOMING SHORT COURSES ---- */
.tr-courses-section {
	padding: 48px 0 60px;
	background: #F9FAFB;
}

.tr-courses-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.tr-courses-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tr-course-card {
	background: #ffffff;
	border: 1px solid #E5E7EB;
	display: flex;
	flex-direction: column;
}

.tr-course-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.tr-course-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tr-course-body {
	padding: 12px 12px 10px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.tr-course-date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 15px;
	color: #0D6E7A;
	margin: 0 0 6px;
    padding-top: 16px;
    padding-bottom: 10px;
}

.tr-course-date svg {
	flex-shrink: 0;
	color: #F16522;
}

.tr-course-title {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 20px;
	color: #111827;
	margin: 0 0 4px;
    padding-bottom: 8px;
}

.tr-course-instructor {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #110C2D;
	margin: 0 0 2px;
	line-height: 14px;
    padding-bottom: 8px;
}

.tr-course-org {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #110C2D;
	line-height: 16px;
	margin: 0;
}

.tr-course-footer {
	margin-top: auto;
	padding-top: 10px;
}

.tr-course-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border: 1px solid #E5E7EB;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tr-course-arrow:hover {
	background: #F16522;
	border-color: #F16522;
	color: #ffffff;
}

/* ---- POPULAR TRAINING ---- */
.tr-popular-section {
	padding: 48px 0 80px;
	background: #ffffff;
}

.tr-popular-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.tr-popular-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tr-popular-card {
	background: rgba(248, 247, 244, 1);
	border-width: 3.33px 1.11px 1.11px 1.11px;
    border-style: solid;
    border-color: #E5E7EB;
	padding: 16px 14px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tr-popular-badge {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #0D6E7A;
	text-transform: uppercase;
	margin: 0 0 8px;
    line-height: 18px;



}

.tr-popular-title {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 24px;
	color: #1E2A44;
	margin: 0 0 14px;
}

.tr-popular-avatar {
	width: 135px;
	height: 154px;
	/* border-radius: 50%; */
	overflow: hidden;
	margin-bottom: 10px;
	border: 2px solid #E5E7EB;
}

.tr-popular-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tr-popular-name {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #1C2B4A;
	margin: 0 0 2px;
}

.tr-popular-degree {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #6B7280;
	margin: 0 0 6px;
}

.tr-popular-org {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #6B7280;
	margin: 0;
}

.tr-popular-org svg {
	flex-shrink: 0;
	color: #9CA3AF;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
	.tr-courses-grid,
	.tr-popular-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tr-hero { min-height: 250px; }

	.tr-hero-inner,
	.tr-breadcrumb-wrap,
	.tr-courses-inner,
	.tr-popular-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.tr-hero-title { font-size: 26px; line-height: 32px; }

	.tr-courses-grid,
	.tr-popular-grid {
		grid-template-columns: 1fr;
	}

	.tr-breadcrumb {
		padding: 8px 12px;
		flex-wrap: wrap;

    width: min(1086px, calc(100% - 32px));
    height: 50px;
    border-radius: 16px 16px 0 0;
}
.tr-breadcrumb::before,
.tr-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.tr-breadcrumb::before {
    left: -16px;
    background: radial-gradient(circle at 0 0, transparent 16px, #ffffff 16.5px);
}

.tr-breadcrumb::after {
    right: -16px;
    background: radial-gradient(circle at 100% 0, transparent 16px, #ffffff 16.5px);
}

}

@media (max-width: 767px) {
    .tr-breadcrumb-shell {
        margin-top: 0;
    }
    .tr-breadcrumb {
        width: 100%;
        height: auto;
        min-height: 50px;
        border-radius: 0;
    }
    .tr-breadcrumb::before,
    .tr-breadcrumb::after {
        display: none;
    }
}
