/*<meta />*/

/* Scoped styles for the Home page only. These will not affect topic pages. */
/* Disable global card offsets for home page only (fixes horizontal scrollbar) */

html.home-topic
{
	--CardPaddingX: 0;
}

html.home-topic #mc-main-content,
html.home-topic .mc-main-content,
html.home-topic #mc-content,
html.home-topic .mc-content
{
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0;
	padding-left: 0;
	width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* Neutralize global page backgrounds/paddings on home only */

html.home-topic .main-section,
html.home-topic .main-section > .outer-row
{
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}

html.home-topic .main-section > .outer-row
{
	background: #FFFFFF;
	padding-left: 0;
	padding-right: 0;
	margin-top: 0 !important;
	padding-top: 0 !important;
	box-shadow: none;
	border: 0;
	border-radius: 0;
}

/* Match main portal: push content below fixed header */

html.home-topic .body-container
{
	background: #FFFFFF;
	padding-left: 0;
	padding-right: 0;
	margin-top: var(--home-sticky-offset, 60px) !important;
	padding-top: 0 !important;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
	box-shadow: none;
	border: 0;
	border-radius: 0;
}

html.home-topic .thc-section
{
	background: transparent;
	padding: 0;
	margin: 0;
}

/* Dynamic top offset equal to sticky header height (set via JS) */
/* No extra per-page top padding; spacing handled by .body-container margin-top */

html.home-topic .main-section > .outer-row
{
	padding-top: 0 !important;
}

/* Ensure single vertical scroll: containers adapt height naturally */

html.home-topic html,
html.home-topic body
{
	height: auto;
	overflow-y: auto;
}

html.home-topic .main-section,
html.home-topic .main-section > .outer-row,
html.home-topic .body-container
{
	height: auto !important;
	min-height: 0 !important;
	overflow-y: visible;
}

html.home-topic .thc-hero-section
{
	background-color: #ECF1F4;
	background-image: url('https://docs.tricentis.com/all/Resources/Images/Portal_HeroHeader_Desktop.png');
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	padding: 32px 0;
	height: 243px;
}

/* Screen-wide separator bar between hero and tiles */

html.home-topic .thc-separator-bar
{
	display: flex;
	justify-content: center;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	height: 35px;
	background-color: #004c97;
	box-sizing: border-box;
}

html.home-topic .thc-separator-bar-content
{
	display: flex;
	align-items: center;
	width: min(100%, 1514px);
	padding: 0 3%;
	box-sizing: border-box;
}

html.home-topic .thc-separator-bar a
{
	color: #FFFFFF;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

html.home-topic .thc-separator-bar a:hover
{
	opacity: 0.8;
	text-decoration: underline;
}

html.home-topic .thc-breadcrumb-separator
{
	color: #FFFFFF;
	margin: 0 8px;
	font-size: 0.875rem;
}

html.home-topic .thc-breadcrumb-current
{
	color: #FFFFFF;
	font-size: 0.875rem;
	font-weight: 600;
	opacity: 0.9;
}

html.home-topic .thc-separator-bar + .thc-section
{
	margin-top: 20px;
}

html.home-topic .thc-hero-wrapper
{
	width: min(100%, 1514px);
	max-width: none;
	margin: 0 auto;
	padding: 0 3%;
	box-sizing: border-box;
}

html.home-topic .thc-hero-copy h1.thc-hero-heading
{
	color: #1B365D;
	font-size: 2.5em;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 15px;
}

html.home-topic .thc-hero-copy p.thc-hero-body
{
	color: #1B365D;
	font-size: 1.125em;
	font-weight: 400;
	margin: 0;
}

/* Tiles: Portal-like redesign using existing target project images */

html.home-topic .thc-section
{
	display: flex;
	flex-direction: column;
	align-items: center;
}

html.home-topic .thc-tiles-wrapper
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* 3x3 grid using full width */
	gap: 40px;
	width: min(100%, 1514px);
	max-width: none;
	margin: 0 auto;
	padding: 16px 3% 32px 3%;
	box-sizing: border-box;
	margin-top: 0;
	/* Spacing handled by .thc-separator-bar + .thc-section rule */
}

/* Card container */

html.home-topic .thc-tiles-wrapper > div
{
	margin: 0;
	padding: 0;
}

html.home-topic .thc-tiles-wrapper > div > div
{
	background: #FFFFFF;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	border-left: 4px solid #FF6C0E;
	/* Brand5 from portal */
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	min-height: 150px;
}

html.home-topic .thc-tiles-wrapper > div > div:hover
{
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.15);
	border-left-color: #59C8E6;
	/* Brand4 */
}

/* Inner layout: icon left, text stack right */

html.home-topic .thc-tiles-wrapper > div > div a,
html.home-topic .thc-tiles-wrapper > div > div
{
	display: block;
	color: #2b2b2b;
	text-decoration: none;
	height: 100%;
	padding: 20px;
}

html.home-topic .thc-tiles-wrapper > div > div a
{
	height: 100%;
}

html.home-topic .thc-tiles-wrapper > div > div a > img.tile-img,
html.home-topic .thc-tiles-wrapper > div > div > img.tile-img
{
	width: 28px;
	height: 28px;
	margin: 0;
}

/* Use grid to align icon and text */

html.home-topic .thc-tiles-wrapper > div > div a > *:first-child,
html.home-topic .thc-tiles-wrapper > div > div > *:first-child
{
	grid-row: 1 / span 2;
	align-self: center;
}

html.home-topic .thc-tiles-wrapper > div > div a > div,
html.home-topic .thc-tiles-wrapper > div > div > div
{
	display: grid;
	grid-template-columns: 28px 1fr;
	column-gap: 12px;
	align-items: center;
}

/* Typography */

html.home-topic .thc-tiles-wrapper h4
{
	color: #1B365D;
	font-weight: 700;
	margin: 0 0 4px 0;
	font-size: 1.125rem;
}

html.home-topic .thc-tiles-wrapper p
{
	color: #5a6c7d;
	margin: 0;
	font-size: 0.95em;
}

/* No horizontal overflow */

html.home-topic,
html.home-topic body,
html.home-topic .main-section,
html.home-topic .main-section > .outer-row,
html.home-topic .body-container,
html.home-topic .thc-separator-bar,
html.home-topic .thc-section,
html.home-topic .thc-tiles-wrapper
{
	overflow-x: hidden;
}

/* Mobile adjustments: hide hero and use fixed top offset */

@media (max-width: 1278px)
{
	html.home-topic .thc-hero-section
	{
		display: none !important;
	}

	html.home-topic .body-container
	{
		margin-top: 125px !important;
	}
}

/* Responsive grid: 2 columns on tablet, 1 column on mobile */

@media (max-width: 992px)
{
	html.home-topic .thc-tiles-wrapper
	{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px)
{
	html.home-topic .thc-tiles-wrapper
	{
		grid-template-columns: 1fr;
	}
}

/* ===== ADDITIONAL RESOURCES SECTION ===== */
/* Section container */

html.home-topic .thc-home-section
{
	display: flex;
	justify-content: center;
	width: 100%;
}

/* Centered wrapper */

html.home-topic .thc-home-wrapper
{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	font-size: 16px;
	max-width: 1514px;
	padding-left: 3%;
	padding-right: 3%;
	z-index: 2;
}

/* Section heading */

html.home-topic .thc-home-wrapper > h2
{
	color: #1b365d;
	margin-top: 0;
	font-size: 2.375em;
	text-align: center;
	margin-bottom: 60px;
}

/* 3-column grid layout */

html.home-topic .thc-home-3-col
{
	display: inline-grid;
	gap: 40px;
	grid-template-columns: repeat(3, 1fr);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

html.home-topic .thc-home-3-col > div
{
	display: flex;
	margin-bottom: 50px;
	font-size: 16px;
	box-sizing: border-box;
}

/* Icon column */

html.home-topic .thc-home-3-col > div > div:nth-child(1)
{
	margin-right: 25px;
	min-width: 56px;
}

html.home-topic .thc-home-3-col > div > div:nth-child(1) > img
{
	width: 100%;
}

/* Content column - headings */

html.home-topic .thc-home-3-col > div > div:nth-child(2) > h3
{
	font-size: .875em;
	font-weight: 700;
	line-height: 1.1875em;
	text-transform: uppercase;
	letter-spacing: .52px;
	margin-bottom: 6px;
	margin-top: 0;
	color: #1B365D;
}

/* Content column - paragraphs */

html.home-topic .thc-home-3-col > div > div:nth-child(2) > p
{
	font-size: .875em;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	margin-bottom: 12px;
	margin-top: 20px;
	color: #5a6c7d;
}

html.home-topic .thc-home-3-col > div > div:nth-child(2) > p:last-child
{
	margin: 0;
}

/* Content column - links */

html.home-topic .thc-home-3-col > div > div:nth-child(2) > p > a
{
	color: #004C97;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

html.home-topic .thc-home-3-col > div > div:nth-child(2) > p > a:hover
{
	color: #1B365D;
	text-decoration: underline;
}

html.home-topic .thc-home-3-col > div > div:nth-child(2) > p > a::after
{
	margin-left: .625em;
	content: '→';
}

/* Additional resources section specific */

html.home-topic .thc-home-additional-resources
{
	padding-top: 40px;
	padding-bottom: 40px;
}

/* Responsive: 1 column on mobile */

@media (max-width: 768px)
{
	html.home-topic .thc-home-3-col
	{
		grid-template-columns: 1fr;
		gap: 20px;
	}

	html.home-topic .thc-home-3-col > div > div:nth-child(1)
	{
		margin-right: 20px;
		min-width: 42px;
	}

	html.home-topic .thc-home-wrapper > h2
	{
		font-size: 1.5em !important;
	}
}

