/**
 * Alternatiivse avalehe (avaleht-uus.php) stiilid.
 * Laetakse ainult selle page template'i kaudu — ei mõjuta ülejäänud saiti.
 */

@font-face {
	font-family: 'Agenor-Regular';
	src: url('../fonts/Agenor-Regular.woff') format('woff'),
		 url('../fonts/Agenor-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

:root {
	--pp-orange: #ff6100;
	--pp-orange-dark: #e95700;
	--pp-blue: #3c3c3c;
	--pp-blue-soft: #646464;
	--pp-line: #eaeaea;
	--pp-surface: #eaeaea;
	--pp-white: #fff;
	--pp-shadow: 0 14px 36px rgba(60, 60, 60, .10);
	--pp-radius: 6px;
	--pp-content: 1480px;
}

body.pp-alt-home {
	box-sizing: border-box;
	margin: 0;
	color: var(--pp-blue);
	background: #fff;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	scroll-behavior: smooth;
}

body.pp-alt-home *,
body.pp-alt-home *::before,
body.pp-alt-home *::after {
	box-sizing: border-box;
}

body.pp-alt-home h1,
body.pp-alt-home h2,
body.pp-alt-home h3,
body.pp-alt-home h4,
body.pp-alt-home h5,
body.pp-alt-home h6 {
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif;
	font-weight: 400;
}

body.pp-alt-home a {
	color: inherit;
	text-decoration: none;
}

body.pp-alt-home img {
	max-width: 100%;
	height: auto;
}

.pp-shell {
	width: min(calc(100% - 56px), var(--pp-content));
	margin-inline: auto;
}

.pp-site-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid rgba(60, 60, 60, .08);
}

.pp-header-inner {
	min-height: 108px;
	display: grid;
	grid-template-columns: minmax(220px, 330px) 1fr minmax(190px, 280px);
	align-items: center;
	gap: 28px;
}

.pp-brand {
	display: inline-flex;
	align-items: center;
	width: fit-content;
}

.pp-brand__link {
	display: block;
	width: 210px;
	height: auto;
	overflow: visible;
	line-height: 0;
}

.pp-brand__official-logo {
	display: block;
	width: 100%;
	max-width: 210px !important;
	height: auto !important;
	object-fit: contain;
	object-position: left center;
}

.pp-main-nav > div > ul,
.pp-main-nav > ul {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(20px, 2.2vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-main-nav li {
	position: relative;
	margin: 0;
}

.pp-main-nav a {
	display: block;
	padding: 40px 0;
	color: var(--pp-blue);
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 400 !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.pp-main-nav > div > ul > li > a::after,
.pp-main-nav > ul > li > a::after {
	position: absolute;
	right: 0;
	bottom: 28px;
	left: 0;
	height: 3px;
	content: '';
	background: var(--pp-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}

.pp-main-nav a:hover::after,
.pp-main-nav .current-menu-item > a::after {
	transform: scaleX(1);
}

.pp-main-nav .sub-menu {
	position: absolute;
	top: calc(100% - 18px);
	left: -22px;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	visibility: hidden;
	opacity: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--pp-line);
	border-radius: var(--pp-radius);
	box-shadow: var(--pp-shadow);
	transform: translateY(8px);
	transition: .18s ease;
}

.pp-main-nav li:hover > .sub-menu,
.pp-main-nav li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.pp-main-nav .sub-menu a {
	padding: 11px 12px;
	font-size: 14px;
	text-transform: none;
	white-space: normal;
	border-radius: 4px;
}

.pp-main-nav .sub-menu a:hover {
	color: var(--pp-orange);
	background: var(--pp-surface);
}

.pp-search {
	position: relative;
}

.pp-search label {
	display: block;
}

.pp-search input {
	width: 100%;
	height: 46px;
	padding: 0 50px 0 15px;
	color: var(--pp-blue);
	background: #fff;
	border: 1px solid #ced7df;
	border-radius: 6px;
	font: inherit;
}

.pp-search button {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 46px;
	height: 44px;
	padding: 0;
	color: var(--pp-blue);
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 0;
}

.pp-search button::before {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 auto;
	content: '';
	border: 3px solid currentColor;
	border-radius: 50%;
}

.pp-search button::after {
	position: absolute;
	width: 9px;
	height: 3px;
	right: 10px;
	bottom: 10px;
	content: '';
	background: currentColor;
	transform: rotate(45deg);
	border-radius: 2px;
}

.pp-menu-toggle {
	display: none;
	width: 46px;
	height: 42px;
	padding: 10px;
	background: transparent;
	border: 1px solid var(--pp-line);
	border-radius: 6px;
}

.pp-menu-toggle span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--pp-blue);
}

.pp-top-grid {
	display: grid;
	grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr);
	align-items: start;
	gap: 20px;
	padding-top: 20px;
}

.pp-hero {
	position: relative;
	align-self: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	height: auto;
	overflow: hidden;
	background: var(--pp-orange);
	border-radius: var(--pp-radius);
	aspect-ratio: 8 / 5;
}

.pp-hero > .entry-content {
	height: 100%;
	margin: 0;
}

.pp-hero > .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

body.pp-alt-home .pp-hero img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center top;
}

.pp-hero-placeholder {
	min-height: 500px;
	display: grid;
	place-items: center;
	padding: 50px;
	color: #fff;
	text-align: center;
	background-color: var(--pp-orange);
	background-image: radial-gradient(rgba(255, 255, 255, .13) 1.5px, transparent 1.5px);
	background-size: 18px 18px;
}

.pp-hero-placeholder h1 {
	max-width: 760px;
	margin: 0 0 18px;
	font-size: clamp(42px, 5vw, 78px);
	line-height: .98;
	letter-spacing: -3px;
}

.pp-hero-placeholder p {
	max-width: 600px;
	margin: 0 auto;
	font-size: 19px;
	line-height: 1.55;
}

.pp-newsletter {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 100%;
	min-height: 0;
	padding: 22px 20px 18px;
	background: linear-gradient(150deg, #fff, #f3f6f8);
	border-radius: var(--pp-radius);
	box-shadow: var(--pp-shadow);
}

.pp-newsletter__top {
	flex: 1 1 auto;
	min-height: 0;
}

.pp-newsletter h2 {
	margin: 0 0 10px;
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif !important;
	font-size: 26px;
	font-weight: 400 !important;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

.pp-newsletter__intro {
	margin: 0 auto 16px;
	color: var(--pp-blue-soft);
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.pp-newsletter input[type='email'],
.pp-newsletter input[type='text'] {
	width: 100%;
	height: 42px;
	margin-bottom: 13px;
	padding: 0 12px;
	color: var(--pp-blue);
	background: #fff;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	font: inherit;
}

.pp-newsletter input[type='submit'],
.pp-newsletter button {
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	color: #fff;
	background: var(--pp-orange);
	border: 0;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.pp-newsletter input[type='submit']:hover,
.pp-newsletter button:hover {
	background: var(--pp-orange-dark);
}

.pp-newsletter__mock input,
.pp-newsletter__mock button {
	pointer-events: auto;
}

.pp-newsletter__quote {
	margin-top: 24px;
	padding-top: 22px;
	color: var(--pp-blue);
	border-top: 1px solid var(--pp-line);
}

.pp-newsletter__quote::before {
	display: block;
	height: 34px;
	content: '“';
	color: var(--pp-orange);
	font-family: Georgia, serif;
	font-size: 64px;
	font-weight: 700;
	line-height: .8;
}

.pp-newsletter__quote p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.pp-debt-mini {
	display: block;
	flex-shrink: 0;
	margin-top: auto;
	padding: 16px 16px 14px;
	color: inherit;
	text-decoration: none;
	background: #fff4ec;
	border: 1px solid #f3d5c3;
	border-radius: 10px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pp-debt-mini:hover {
	border-color: var(--pp-orange);
	box-shadow: 0 8px 20px rgba(255, 97, 0, .12);
	transform: translateY(-1px);
}

.pp-debt-mini__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.pp-debt-mini__eyebrow {
	display: block;
	color: var(--pp-blue-soft);
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 1.1;
	text-transform: uppercase;
}

.pp-debt-mini__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pp-blue-soft);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pp-debt-mini__live-dot {
	width: 8px;
	height: 8px;
	background: var(--pp-orange);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 97, 0, .45);
	animation: pp-debt-live 1.6s ease-out infinite;
}

@keyframes pp-debt-live {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 97, 0, .45);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(255, 97, 0, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 97, 0, 0);
	}
}

.pp-debt-mini__amount {
	display: block;
	overflow: hidden;
	margin: 0 0 12px;
	color: var(--pp-orange);
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: clamp(22px, 1.7vw, 28px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.pp-debt-mini__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.pp-debt-mini__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 14px;
	min-width: 0;
	flex: 1;
}

.pp-debt-mini__stat {
	min-width: 0;
	padding-right: 12px;
	border-right: 1px solid #ead7cc;
}

.pp-debt-mini__stat:last-child {
	padding-right: 0;
	border-right: 0;
}

.pp-debt-mini__stat strong {
	display: block;
	color: var(--pp-blue);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

.pp-debt-mini__stat span {
	display: block;
	margin-top: 2px;
	color: var(--pp-blue-soft);
	font-size: 11px;
	line-height: 1.25;
}

.pp-debt-mini__chart {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
	height: 36px;
	width: 42px;
}

.pp-debt-mini__chart i {
	display: block;
	flex: 1;
	height: var(--pp-h, 30%);
	background: #c8c8c8;
	border-radius: 1px 1px 0 0;
}

.pp-debt-mini__chart i:last-child {
	background: #9a9a9a;
}

.pp-debt-mini__cta {
	display: block;
	color: var(--pp-orange);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.pp-newsletter__form {
	position: relative;
}

.pp-newsletter__form input[type='email'],
.pp-newsletter__form input[type='text'] {
	width: 100%;
	height: 42px;
	margin-bottom: 13px;
	padding: 0 12px;
	color: var(--pp-blue);
	background: #fff;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	font: inherit;
}

.pp-newsletter__form button {
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	color: #fff;
	background: var(--pp-orange);
	border: 0;
	border-radius: 4px;
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
}

.pp-newsletter__form button:hover {
	background: var(--pp-orange-dark);
}

.pp-newsletter__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pp-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 2px 0 16px;
	color: #4a4a4a;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
}

.pp-newsletter__consent input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 2px;
}

.pp-newsletter__consent span {
	display: block;
	max-height: 8.4em;
	overflow: auto;
}

.pp-newsletter__captcha {
	display: none;
}

/* Nähtamatu reCAPTCHA: peida ujuv badge; bränding on jaluses. */
body.pp-alt-home .grecaptcha-badge,
body.pp-alt-home div.grecaptcha-badge,
.pp-alt-home .grecaptcha-badge {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.pp-newsletter__error {
	margin: 12px 0 0;
	padding: 10px 12px;
	color: #8a1f11;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
}

.pp-newsletter__error[hidden] {
	display: none;
}

.pp-newsletter__success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 4px 0 8px;
	padding: 18px 16px 16px;
	background: linear-gradient(160deg, #fff7f0, #fff);
	border: 1px solid rgba(255, 102, 0, 0.28);
	border-radius: 6px;
}

.pp-newsletter__success[hidden] {
	display: none;
}

.pp-newsletter__success-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 4px;
	color: #fff;
	background: var(--pp-orange);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.pp-newsletter__success-title {
	margin: 0;
	color: var(--pp-blue);
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}

.pp-newsletter__success-text {
	margin: 0;
	color: rgba(20, 35, 55, 0.78);
	font-size: 15px;
	line-height: 1.45;
}

.pp-newsletter__form button:disabled {
	opacity: 0.72;
	cursor: wait;
}

.pp-stories {
	padding: 32px 0 70px;
}

.pp-tabs-wrap {
	position: relative;
}

.pp-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 10px 22px;
	overflow: hidden;
	padding: 0;
	border-bottom: 1px solid var(--pp-line);
	scrollbar-width: none;
}

.pp-tabs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.pp-tab {
	position: relative;
	flex: 0 1 auto;
	padding: 0 0 14px;
	color: var(--pp-blue);
	background: transparent;
	border: 0;
	font-family: 'Agenor-Regular', Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.2;
}

.pp-tab.is-active {
	color: var(--pp-orange);
	font-weight: 800;
}

.pp-tab.is-active::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	content: '';
	background: var(--pp-orange);
	border-radius: 3px 3px 0 0;
}

.pp-tab-view {
	display: none;
}

.pp-tab-view.is-active {
	display: block;
}

.pp-story-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	padding-top: 22px;
}

.pp-story-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(60, 60, 60, .06);
}

.pp-story-card__image {
	position: relative;
	z-index: 0;
	isolation: isolate;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 148px;
	overflow: hidden;
	border-radius: 0;
	background: #dfe3e8;
}

/* Oranž diagonaalne kate paremal (~20% kastist, pilt ~80% nähtav) */
.pp-story-card__image::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: var(--pp-orange);
	clip-path: polygon(82% 0, 100% 0, 100% 100%, 72% 100%);
}

/* Heledam riba diagonaali ääres */
.pp-story-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: #ff8f4a;
	clip-path: polygon(82% 0, 84% 0, 74% 100%, 72% 100%);
}

.pp-story-card__image img {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	transition: transform .25s ease;
}

.pp-story-card:hover .pp-story-card__image img {
	transform: scale(1.035);
}

.pp-story-card__placeholder {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8edf1, #f8fafb);
}

.pp-story-card__placeholder i {
	display: block;
	width: 0;
	height: 0;
	border-top: 23px solid transparent;
	border-bottom: 23px solid transparent;
	border-left: 36px solid rgba(60, 60, 60, .18);
}

/* Pool-läbipaistev kategooriariba — jookseb oranži diagonaali taha; tekst jääb vasakule */
.pp-story-card__category {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	padding: 7px 10px;
	padding-right: 30%;
	overflow: hidden;
	color: #fff;
	background: rgba(18, 28, 40, .58);
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1.25;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pp-story-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
}

.pp-story-card h3 {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 3 !important;
	line-clamp: 3 !important;
	overflow: hidden !important;
	text-overflow: ellipsis;
	margin: 0 0 10px;
	color: #143a66;
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none !important;
	max-height: 3.9em !important;
	min-height: 3.9em;
}

.pp-story-card h3 a {
	display: inline;
	font-family: inherit !important;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-transform: none !important;
	word-break: break-word;
}

.pp-story-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: #8a8a8a;
	font-size: 13px;
	line-height: 1.4;
}

.pp-no-posts {
	padding: 40px 0;
	color: var(--pp-blue-soft);
}

.pp-site-footer {
	--pp-footer-bg: #0b1c2c;
	--pp-footer-muted: rgba(255, 255, 255, .55);
	--pp-footer-line: rgba(255, 255, 255, .14);
	padding: 0;
	color: #fff;
	background: var(--pp-footer-bg);
}

.pp-site-footer a {
	color: #fff;
	text-decoration: none;
}

.pp-site-footer a:hover {
	color: #fff;
	opacity: .85;
}

.pp-site-footer__main {
	display: grid;
	grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1fr) minmax(180px, .85fr) minmax(200px, .95fr);
	gap: 0;
	align-items: stretch;
	min-height: 250px;
}

.pp-site-footer__col {
	padding: 48px 28px 42px;
}

.pp-site-footer__about {
	padding-left: 0;
}

.pp-site-footer__quick,
.pp-site-footer__contact {
	border-left: 1px solid var(--pp-footer-line);
}

.pp-site-footer__logo {
	display: inline-block;
	margin-bottom: 28px;
	line-height: 0;
	overflow: visible;
}

.pp-site-footer__logo img {
	display: block;
	width: min(220px, 100%);
	height: auto;
	object-fit: contain;
	object-position: left top;
}

.pp-site-footer__actions {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-site-footer__actions li + li {
	margin-top: 14px;
}

.pp-site-footer__actions a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.35;
}

.pp-site-footer__action-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: #fff;
	background: rgba(255, 255, 255, .16);
	border-radius: 999px;
}

.pp-site-footer__title {
	margin: 4px 0 20px;
	color: var(--pp-footer-muted);
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-size: 12px;
	font-weight: 700 !important;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pp-site-footer__quick-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 28px;
}

.pp-site-footer__quick-grid ul,
.pp-site-footer__contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-site-footer__quick-grid li,
.pp-site-footer__contact-list li {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.4;
}

.pp-site-footer__contact-list li:last-child {
	margin-bottom: 0;
}

.pp-site-footer__email {
	color: var(--pp-orange) !important;
	font-weight: 600;
}

.pp-site-footer__email:hover {
	opacity: 1;
	text-decoration: underline;
}

.pp-site-footer__join {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	/* Vasak ~18% on tumedam riba; keskelda sisu ülejäänud oranžil alal. */
	padding: 42px 40px 42px calc(18% + 40px);
	color: #fff !important;
	text-align: center;
	background: var(--pp-orange);
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
	transition: background .2s ease;
}

.pp-site-footer__join::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 18%;
	background: var(--pp-orange-dark);
	clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

.pp-site-footer__join:hover {
	background: var(--pp-orange-dark);
	opacity: 1;
}

.pp-site-footer__join-title {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	overflow: visible;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: clamp(34px, 3vw, 48px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
}

.pp-site-footer__join-arrows {
	--pp-arrow-h: 0.62em;
	--pp-arrow-w: calc(var(--pp-arrow-h) * 216 / 244);
	/* Originaallogo: tipp puudutab teise alust (~0.5% ülekate). */
	--pp-arrow-overlap: calc(var(--pp-arrow-w) * 0.005);
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	/* +10px ruumi animatsiooni lõppasendile, et parem noole ots ei lõikuks. */
	width: calc(var(--pp-arrow-w) * 2 - var(--pp-arrow-overlap) + 10px);
	height: var(--pp-arrow-h);
	overflow: visible;
	vertical-align: middle;
}

.pp-site-footer__join-arrow {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: var(--pp-arrow-w);
	height: var(--pp-arrow-h);
	max-width: none !important;
	object-fit: contain;
	object-position: left center;
	transform: translateX(0);
	will-change: transform;
}

.pp-site-footer__join-arrow--trail {
	z-index: 1;
}

.pp-site-footer__join-arrow--lead {
	left: calc(var(--pp-arrow-w) - var(--pp-arrow-overlap));
	z-index: 2;
}

.pp-site-footer__join:hover .pp-site-footer__join-arrow--lead {
	animation: pp-join-arrow-lead .65s cubic-bezier(.22, .8, .28, 1) forwards;
}

.pp-site-footer__join:hover .pp-site-footer__join-arrow--trail {
	animation: pp-join-arrow-trail .65s cubic-bezier(.22, .8, .28, 1) forwards;
}

.pp-site-footer__join:not(:hover) .pp-site-footer__join-arrow {
	transition: transform .28s ease;
}

@keyframes pp-join-arrow-lead {
	0% {
		transform: translateX(0);
	}
	35% {
		transform: translateX(10px);
	}
	100% {
		transform: translateX(10px);
	}
}

@keyframes pp-join-arrow-trail {
	0%,
	35% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(10px);
	}
}

.pp-site-footer__join-tagline {
	position: relative;
	z-index: 1;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pp-site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 18px 0 28px;
	border-top: 1px solid var(--pp-footer-line);
}

.pp-site-footer__bar-right .pp-site-footer__privacy,
.pp-site-footer__bar-right span.pp-site-footer__recaptcha,
.pp-site-footer__recaptcha {
	margin: 0 !important;
	color: var(--pp-footer-muted) !important;
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.pp-site-footer__copy {
	margin: 0;
	color: var(--pp-footer-muted) !important;
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.pp-site-footer__privacy:hover {
	opacity: 1;
	text-decoration: underline;
}

.pp-site-footer__bar-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
}

.pp-site-footer__bar-sep {
	display: inline-block;
	width: 1px;
	height: 16px;
	background: var(--pp-footer-line);
}

.pp-site-footer__social {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-site-footer__social a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	transition: background .2s ease, border-color .2s ease;
}

.pp-site-footer__social a:hover {
	opacity: 1;
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .35);
}

@media (max-width: 1180px) {
	.pp-header-inner {
		grid-template-columns: minmax(190px, 270px) 1fr auto;
	}

	.pp-search {
		display: none;
	}

	.pp-main-nav > div > ul,
	.pp-main-nav > ul {
		gap: 20px;
	}

	.pp-main-nav a {
		font-size: 14px;
	}

	.pp-story-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pp-site-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.pp-site-footer__join {
		grid-column: 1 / -1;
		align-items: center;
		min-height: 140px;
		padding: 36px 32px 36px calc(8% + 32px);
		text-align: center;
		clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
	}

	.pp-site-footer__col {
		padding: 36px 20px;
	}

	.pp-site-footer__about {
		padding-left: 0;
	}
}

@media (max-width: 900px) {
	.pp-shell {
		width: min(calc(100% - 32px), var(--pp-content));
	}

	.pp-site-footer__main {
		grid-template-columns: 1fr;
	}

	.pp-site-footer__quick,
	.pp-site-footer__contact {
		border-left: 0;
		border-top: 1px solid var(--pp-footer-line);
	}

	.pp-site-footer__join {
		align-items: center;
		clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
		padding: 36px 28px 36px calc(6% + 28px);
		text-align: center;
	}

	.pp-header-inner {
		min-height: 82px;
		grid-template-columns: 1fr auto;
	}

	.pp-brand__link {
		width: 176px;
	}

	.pp-brand__official-logo {
		max-width: 176px !important;
	}

	.pp-menu-toggle {
		display: block;
	}

	.pp-main-nav {
		position: absolute;
		top: 82px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 12px 20px;
		background: #fff;
		border: 1px solid var(--pp-line);
		border-radius: 6px;
		box-shadow: var(--pp-shadow);
	}

	.pp-main-nav.is-open {
		display: block;
	}

	.pp-main-nav > div > ul,
	.pp-main-nav > ul {
		display: block;
	}

	.pp-main-nav a {
		padding: 12px 0;
	}

	.pp-main-nav > div > ul > li > a::after,
	.pp-main-nav > ul > li > a::after {
		display: none;
	}

	.pp-main-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 6px 16px;
		visibility: visible;
		opacity: 1;
		background: transparent;
		border: 0;
		box-shadow: none;
		transform: none;
	}

	.pp-main-nav .sub-menu a {
		padding: 8px 0;
	}

	.pp-top-grid {
		grid-template-columns: 1fr;
	}

	.pp-hero {
		/* Ära sunni kõrgust — muidu jääb pildi alla tühi oranž ala. */
		min-height: 0;
		aspect-ratio: 8 / 5;
	}

	.pp-hero-placeholder {
		min-height: 280px;
	}

	.pp-hero img {
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: center top;
	}

	.pp-newsletter {
		height: auto;
		min-height: 0;
	}

	/* Tab’id: horisontaalne swipe mobiilis */
	.pp-tabs-wrap {
		margin: 0 -16px;
	}

	.pp-tabs-wrap::before,
	.pp-tabs-wrap::after {
		content: '';
		position: absolute;
		top: 0;
		bottom: 1px;
		width: 28px;
		z-index: 1;
		pointer-events: none;
	}

	.pp-tabs-wrap::before {
		left: 0;
		background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
	}

	.pp-tabs-wrap::after {
		right: 0;
		background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
	}

	.pp-tabs {
		flex-wrap: nowrap;
		gap: 8px 18px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		overscroll-behavior-x: contain;
		padding: 0 16px 2px;
		scrollbar-width: none;
	}

	.pp-tab {
		flex: 0 0 auto;
		scroll-snap-align: start;
		font-size: 15px;
		padding-bottom: 12px;
	}
}

@media (max-width: 680px) {
	.pp-story-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pp-hero {
		min-height: 0;
	}

	.pp-hero-placeholder {
		min-height: 220px;
	}

	.pp-tabs {
		gap: 8px 14px;
	}

	.pp-tab {
		font-size: 14px;
	}

	.pp-story-card h3 {
		font-size: 18px;
		max-height: 3.9em;
		min-height: 3.9em;
	}

	.pp-site-footer__col {
		padding: 28px 0;
	}

	.pp-site-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 20px;
	}

	.pp-site-footer__bar-right {
		width: 100%;
	}

	.pp-site-footer__join-title {
		font-size: 36px;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

