/*! Top List Company 2.0.0 Page Styles 2.0.0: front-page.css */
.p-front-hero {
position: relative;
isolation: isolate;
display: flex;
min-height: clamp(620px, calc(100svh - var(--tlc-header-height)), 800px);
align-items: center;
padding: clamp(3rem, 7svh, 6rem) 20px;
overflow: hidden;
background: var(--tlc-color-navy);
}
.p-front-hero__image,
.p-front-hero__overlay {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.p-front-hero__image {
z-index: -2;
object-fit: cover;
object-position: center;
}
.p-front-hero__overlay {
z-index: -1;
background: linear-gradient(90deg, rgba(5, 15, 22, 0.9), rgba(8, 24, 34, 0.62) 58%, rgba(5, 15, 22, 0.82));
}
.p-front-hero__inner {
display: grid;
grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
align-items: center;
gap: clamp(2rem, 5vw, 4rem);
width: min(var(--tlc-layout-shell), 100%);
margin-inline: auto;
}
.p-front-hero__panel {
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.38);
border-radius: var(--tlc-radius-xlarge);
background: var(--tlc-color-surface);
box-shadow: var(--tlc-shadow-raised);
}
.p-front-hero__brand {
display: grid;
justify-items: center;
padding: 1.6rem 2rem 1.4rem;
background: var(--tlc-color-navy);
}
.p-front-hero__brand .c-badge {
border-color: rgba(255, 255, 255, 0.32);
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.p-front-hero__logo {
width: min(100%, 330px);
height: 64px;
margin-top: 1.2rem;
object-fit: contain;
}
.p-front-hero__panel-body {
display: grid;
gap: 1rem;
padding: 1.75rem 2rem 2rem;
}
.p-front-hero__panel-body > p {
margin: 0;
}
.p-front-hero__panel-label {
color: var(--tlc-color-blue-dark);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.p-front-hero__panel .c-stat {
padding-top: 1.2rem;
border-top: 1px solid var(--tlc-color-border);
}
.p-front-hero__methodology {
width: 100%;
margin-top: 0.25rem;
}
.p-front-hero__content {
min-width: 0;
color: #fff;
}
.p-front-hero__content h1 {
max-width: 850px;
margin: 0;
color: #fff;
font-size: clamp(2.75rem, 5.7vw, 5.25rem);
line-height: 1.02;
letter-spacing: -0.045em;
text-wrap: balance;
}
.p-front-hero__content > p {
max-width: 760px;
margin: 1.5rem 0 0;
color: rgba(255, 255, 255, 0.9);
font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}
.p-front-hero__actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 220px));
gap: 1rem;
margin-top: 2rem;
}
.p-front-hero__actions .c-button {
width: 100%;
}
.p-front-page {
padding-block: 0;
}
.p-front-page__editor-content {
margin-top: clamp(3rem, 7vw, 5rem);
}
.c-company-ranking {
display: grid;
gap: 1.15rem;
margin: 0;
padding: 0;
list-style: none;
}
.c-company-card {
display: grid;
grid-template-columns: 175px minmax(220px, 280px) minmax(0, 1fr);
min-width: 0;
overflow: hidden;
border: 1px solid var(--tlc-color-border);
border-radius: var(--tlc-radius-large);
background: var(--tlc-color-surface);
box-shadow: var(--tlc-shadow-card);
}
.c-company-card__ranking {
display: flex;
min-height: 250px;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1.25rem 1rem;
border-right: 1px solid var(--tlc-color-border);
background: color-mix(in srgb, var(--tlc-color-background) 78%, var(--tlc-color-surface));
text-align: center;
}
.c-company-card__ranking-label {
color: var(--tlc-color-muted);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.c-company-card__place {
display: inline-flex;
width: 142px;
height: 156px;
align-items: center;
justify-content: center;
gap: 0.15rem;
margin-top: 0.4rem;
padding: 1.2rem 1rem 1.55rem;
background: transparent var(--tlc-ranking-number-bg) center / contain no-repeat;
color: #fff;
font-size: 3.8rem;
line-height: 1;
letter-spacing: -0.05em;
}
.c-company-card__score {
width: 100%;
padding-top: 0.85rem;
border-top: 1px solid var(--tlc-color-border);
color: var(--tlc-color-muted);
font-size: 0.76rem;
}
.c-company-card__score strong {
display: block;
margin-top: 0.2rem;
color: var(--tlc-color-text);
font-size: 1.45rem;
}
.c-company-card__previous {
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
margin: 0.65rem 0 0;
color: var(--tlc-color-muted);
font-size: 0.76rem;
}
.c-company-card__change {
display: inline-flex;
width: 24px;
height: 24px;
align-items: center;
justify-content: center;
border: 1px solid var(--tlc-color-border);
border-radius: 50%;
background: var(--tlc-color-surface);
font-size: 1.05rem;
font-weight: 800;
line-height: 1;
}
.c-company-card__change.is-up {
color: var(--tlc-color-success);
}
.c-company-card__change.is-down {
color: var(--tlc-color-danger);
}
.c-company-card__change.is-same {
color: var(--tlc-color-muted);
}
.c-company-card__media {
display: flex;
align-items: center;
justify-content: center;
padding: 1.4rem;
border-right: 1px solid var(--tlc-color-border);
}
.c-company-card__media a {
display: flex;
width: 100%;
min-height: 165px;
align-items: center;
justify-content: center;
padding: 1rem;
border: 1px solid rgba(17, 39, 52, 0.1);
border-radius: var(--tlc-radius-large);
background: #fff;
}
.c-company-card__media img {
width: 100%;
max-width: 240px;
height: 140px;
object-fit: contain;
}
.c-company-card__content {
display: flex;
min-width: 0;
flex-direction: column;
justify-content: center;
padding: 1.7rem 1.9rem;
}
.c-company-card__content h3 {
margin: 0;
font-size: clamp(1.4rem, 2vw, 1.85rem);
}
.c-company-card__content h3 a {
color: var(--tlc-color-text);
text-decoration: none;
}
.c-company-card__content h3 a:hover {
color: var(--tlc-color-blue-dark);
}
.c-company-card__content > p {
margin: 0.9rem 0 0;
color: var(--tlc-color-muted);
}
.c-company-card__actions {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.55rem;
margin-top: 1.3rem;
}
.c-company-card__actions a {
display: inline-flex;
min-height: 40px;
align-items: center;
justify-content: center;
padding: 0.55rem 0.65rem;
border: 1px solid var(--tlc-color-control-border);
border-radius: var(--tlc-radius-medium);
background: var(--tlc-color-control-background);
color: var(--tlc-color-control-text);
font-size: 0.82rem;
font-weight: 500;
text-align: center;
text-decoration: none;
}
.c-company-card__actions a:hover {
border-color: var(--tlc-color-control-hover-border);
background: var(--tlc-color-control-hover-background);
color: var(--tlc-color-control-hover-text);
}
.p-front-page__latest {
border-top: 1px solid var(--tlc-color-border);
}
@media (max-width: 1024px) {
.p-front-hero__inner {
grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}
.c-company-card {
grid-template-columns: 160px minmax(0, 1fr);
}
.c-company-card__media {
grid-column: 2;
grid-row: 1;
border-right: 0;
border-bottom: 1px solid var(--tlc-color-border);
}
.c-company-card__content {
grid-column: 2;
grid-row: 2;
}
.c-company-card__ranking {
grid-row: 1 / span 2;
}
}
@media (max-width: 820px) {
.p-front-hero {
min-height: 0;
padding-block: 3rem;
}
.p-front-hero__inner {
grid-template-columns: 1fr;
}
.p-front-hero__content {
grid-row: 1;
text-align: center;
}
.p-front-hero__content > p {
margin-inline: auto;
}
.p-front-hero__actions {
justify-content: center;
margin-inline: auto;
}
.p-front-hero__panel {
grid-row: 2;
width: min(520px, 100%);
margin-inline: auto;
}
.c-company-card {
grid-template-columns: 1fr;
}
.c-company-card__ranking,
.c-company-card__media,
.c-company-card__content {
grid-column: 1;
grid-row: auto;
}
.c-company-card__ranking {
order: 1;
min-height: 0;
border-right: 0;
border-bottom: 1px solid var(--tlc-color-border);
}
.c-company-card__media {
order: 2;
padding: 1.25rem;
border-bottom: 1px solid var(--tlc-color-border);
}
.c-company-card__content {
order: 3;
}
}
@media (max-width: 680px) {
.p-front-hero {
padding-inline: 12px;
}
.p-front-hero__content h1 {
font-size: clamp(2.2rem, 11vw, 3.25rem);
}
.p-front-hero__actions {
grid-template-columns: 1fr;
width: 100%;
}
.p-front-hero__panel-body,
.p-front-hero__brand {
padding-inline: 1.35rem;
}
.c-company-card__content {
padding: 1.4rem 1.15rem;
}
.c-company-card__actions {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.4rem;
}
.c-company-card__actions a {
min-width: 0;
padding-inline: 0.3rem;
font-size: 0.72rem;
}
}

/* 2.1.2 hero alignment and action treatment. */
.p-front-hero__content {
	text-align: center;
}
.p-front-hero__content h1,
.p-front-hero__content > p {
	margin-right: auto;
	margin-left: auto;
}
.p-front-hero__actions {
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
}
.p-front-hero__actions .c-button--surface {
	border-color: #fff;
	background: #fff;
	color: var(--tlc-color-navy);
}
.p-front-hero__actions .c-button--surface:hover,
.p-front-hero__actions .c-button--surface:focus-visible {
	border-color: #e8edf0;
	background: #e8edf0;
	color: var(--tlc-color-navy);
}
.p-front-hero__actions .c-button--success {
	border-color: #0a9f35;
	background: #0a9f35;
	color: #fff;
}
.p-front-hero__logo {
	width: min(100%, 290px);
	height: 86px;
	object-fit: contain;
	object-position: center;
}
@media (max-width: 680px) {
	.p-front-hero__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.p-front-hero__logo {
		height: 74px;
	}
}
@media (max-width: 430px) {
	.p-front-hero__actions {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 820px) {
	/* The compact mobile hero follows the new design: focus on H1, subtitle and actions. */
	.p-front-hero__panel {
		display: none;
	}
}
