/* RolliPolli – Tanáraink */
.rpt-section,
.rpt-single {
	font-family: var(--rpt-font-body);
	color: var(--rpt-ink-deep);
}
.rpt-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}
.rpt-narrow {
	max-width: 820px;
}
.rpt-section {
	padding: 56px 0;
}
.rpt-list-title {
	font-family: var(--rpt-font-heading);
	font-weight: 600;
	font-size: 48px;
	line-height: 1.05;
	color: var(--rpt-ink-deep);
	margin: 0 0 32px;
	text-align: center;
}

/* Grid + kártyák */
.rpt-grid {
	display: grid;
	gap: 28px;
}
.rpt-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rpt-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rpt-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rpt-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.rpt-carousel {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	-webkit-overflow-scrolling: touch;
}
.rpt-carousel .rpt-card {
	flex: 0 0 clamp(220px, 24%, 280px);
	scroll-snap-align: start;
}

.rpt-card {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
}
.rpt-card:hover {
	transform: translateY(-4px);
}
.rpt-card-photo {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--rpt-radius);
	background: var(--rpt-cream);
	box-shadow: 0 18px 40px -24px rgba(5, 80, 120, .55);
}
.rpt-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.rpt-card:hover .rpt-card-photo img {
	transform: scale(1.04);
}
.rpt-card-body {
	display: block;
	text-align: center;
	padding: 18px 6px 0;
}
.rpt-card-name {
	display: block;
	font-family: var(--rpt-font-heading);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	color: var(--rpt-ink-deep);
}
.rpt-card-role {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.4;
	color: rgba(5, 80, 120, .75);
}
.rpt-card-sm .rpt-card-name { font-size: 18px; }
.rpt-empty {
	font-family: var(--rpt-font-body);
	padding: 24px;
	text-align: center;
	color: rgba(5, 80, 120, .7);
}

/* Gombok */
.rpt-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}
.rpt-btn-row-center { justify-content: center; }
.rpt-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 14px 26px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rpt-btn:hover { transform: translateY(-2px); }
.rpt-btn-primary {
	background: var(--rpt-brand);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(218, 56, 49, .55);
}
.rpt-btn-ghost {
	background: rgba(255, 255, 255, .85);
	color: var(--rpt-ink-deep);
	border: 1px solid rgba(5, 80, 120, .18);
}
.rpt-btn-sun {
	background: var(--rpt-sun);
	color: var(--rpt-ink-deep);
	box-shadow: 0 10px 24px -8px rgba(255, 191, 45, .6);
}
.rpt-arrow { font-size: 15px; }

/* Hero */
.rpt-hero {
	background: var(--rpt-cream);
	border-bottom: 1px solid rgba(5, 80, 120, .1);
	padding: 64px 0 72px;
}
.rpt-hero-grid {
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: 48px;
	align-items: center;
}
.rpt-chip {
	display: inline-block;
	border-radius: 999px;
	background: rgba(255, 191, 45, .28);
	color: var(--rpt-ink-deep);
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.rpt-hero-title {
	font-family: var(--rpt-font-heading);
	font-weight: 600;
	font-size: 68px;
	line-height: 1.04;
	color: var(--rpt-ink-deep);
	margin: 18px 0 6px;
}
.rpt-hero-role {
	font-size: 18px;
	color: var(--rpt-brand);
	font-weight: 600;
	margin: 0 0 16px;
}
.rpt-hero-lead {
	font-size: 18px;
	line-height: 29px;
	color: rgba(5, 80, 120, .85);
	margin: 0;
	max-width: 46ch;
}
.rpt-hero-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--rpt-radius);
	border: 10px solid #fff;
	box-shadow: 0 30px 60px -30px rgba(5, 80, 120, .6);
	transform: rotate(1deg);
}

/* Bemutatkozó szöveg */
.rpt-body { padding: 56px 0 8px; }
.rpt-back {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--rpt-brand);
	font-weight: 600;
	text-decoration: none;
	font-size: 16px;
}
.rpt-back:hover { text-decoration: underline; }
.rpt-prose p {
	font-size: 18px;
	line-height: 29px;
	color: rgba(5, 80, 120, .88);
	margin: 0 0 20px;
}

/* További tanáraink */
.rpt-more { padding: 56px 0; }
.rpt-more-title {
	font-family: var(--rpt-font-heading);
	font-weight: 600;
	font-size: 40px;
	line-height: 1.1;
	color: var(--rpt-ink-deep);
	margin: 0 0 32px;
}

/* CTA doboz */
.rpt-cta { padding: 24px 0 72px; }
.rpt-cta-box {
	background: var(--rpt-ink);
	color: #fff;
	border-radius: var(--rpt-radius);
	padding: 48px 32px;
	text-align: center;
	box-shadow: 0 30px 60px -30px rgba(5, 80, 120, .7);
}
.rpt-cta-title {
	font-family: var(--rpt-font-heading);
	font-weight: 600;
	font-size: 40px;
	line-height: 1.1;
	color: #fff;
	margin: 0;
}
.rpt-cta-text {
	margin: 16px auto 0;
	max-width: 40ch;
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
	line-height: 29px;
}

@media (max-width: 1024px) {
	.rpt-cols-4, .rpt-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rpt-hero-grid { grid-template-columns: 1fr; }
	.rpt-hero-title { font-size: 48px; }
}
@media (max-width: 720px) {
	.rpt-grid { gap: 20px; }
	.rpt-cols-3, .rpt-cols-4, .rpt-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rpt-hero-title { font-size: 38px; }
	.rpt-list-title, .rpt-more-title, .rpt-cta-title { font-size: 30px; }
	.rpt-carousel .rpt-card { flex: 0 0 70%; }
}


/* Vizuális szekció-fejléc (chip + címsor + alcím) a tanár-widget tetején.
   A chip/heading/mark/lead stílusát a suite rps-* CSS-e adja (globálisan töltődik). */
.rpt-has-head { padding-top: 88px; }
.rpt-teachers-head { margin-bottom: 44px; }
/* A címsor ugyanúgy 42rem-re szűkül és 2 sorba tördel, mint a suite rps-teachers fejlécénél. */
.rpt-teachers-head .rps-heading { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Közösségi ikonok a tanár aloldalán (lábléc stílus: sárga kör, ink ikon) */
.rpt-socials{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0 0}
.rpt-social{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:9999px;background:var(--rpt-sun,#ffbf2d);color:var(--rpt-ink,#055078);text-decoration:none;transition:transform .2s ease,filter .2s ease}
.rpt-social:hover{transform:translateY(-2px);filter:brightness(1.05);color:var(--rpt-ink,#055078)}
.rpt-social svg{display:block}

/* Tanáraink listaoldal (grid): fehér kártya-boksz a Lovable spec szerint (1:1) */
.rpt-grid { gap: 32px; }
.rpt-grid .rpt-card {
	background: #fff; border-radius: 28px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(5,80,120,.06), 0 8px 24px rgba(5,80,120,.06);
	transition: transform .3s ease, box-shadow .3s ease;
}
.rpt-grid .rpt-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(5,80,120,.08), 0 24px 48px -12px rgba(5,80,120,.18); }
.rpt-grid .rpt-card-photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 5; }
.rpt-grid .rpt-card-body { text-align: left; padding: 24px; }
.rpt-grid .rpt-card-name { font-family: var(--rpt-font-heading); font-weight: 600; font-size: 21.6px; line-height: 1.2; color: #004a6b; }
.rpt-grid .rpt-card-role { margin-top: 8px; font-family: var(--rpt-font-body); font-weight: 400; font-size: 16px; line-height: 1.5; color: #4f606d; }
.rpt-card-cta {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
	font-family: var(--rpt-font-body); font-weight: 600; font-size: 16px; line-height: 1.5; color: #e04039;
}
.rpt-card-cta .rpt-cta-arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.rpt-card:hover .rpt-card-cta .rpt-cta-arrow { transform: translateX(4px); }
/* a főoldali (carousel) tanár-szekció változatlan marad */
/* ===== Főoldali Tanáraink CAROUSEL — Lovable spec (1:1) ===== */
.rpt-carousel-wrap { position: relative; margin-top: 48px; }
.rpt-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: none; -ms-overflow-style: none; }
.rpt-carousel::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .rpt-carousel { margin: 0 -20px; padding-left: 20px; padding-right: 20px; } }
.rpt-carousel .rpt-card {
	flex: 0 0 82vw; scroll-snap-align: start;
	background: #fff; border-radius: 28px; overflow: hidden; text-align: center;
	box-shadow: 0 1px 2px rgba(5,80,120,.06), 0 8px 24px rgba(5,80,120,.06);
	transition: box-shadow .3s ease, transform .3s ease;
}
@media (min-width: 640px) { .rpt-carousel .rpt-card { flex-basis: 45vw; } }
@media (min-width: 1024px) { .rpt-carousel .rpt-card { flex-basis: calc(25% - 15px); } }
.rpt-carousel .rpt-card:hover { box-shadow: 0 2px 4px rgba(5,80,120,.08), 0 24px 48px -12px rgba(5,80,120,.18); }
.rpt-carousel .rpt-card-photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 5; }
.rpt-carousel .rpt-card-body { padding: 24px; text-align: center; }
.rpt-carousel .rpt-card-name { font-family: var(--rpt-font-heading); font-weight: 600; font-size: 20px; line-height: 1.2; color: #004a6b; }
.rpt-carousel .rpt-card-role { margin-top: 8px; font-family: var(--rpt-font-body); font-weight: 400; font-size: 16px; line-height: 1.5; color: rgba(5,80,120,.7); }
.rpt-carousel .rpt-card-cta { display: inline-flex; justify-content: center; margin-top: 16px; font-size: 14px; color: #da3831; }
.rpt-carousel .rpt-card:hover .rpt-card-cta { color: #055078; }
/* Indikátor vonalak */
.rpt-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
/* !important + appearance:none — a téma/Elementor <button> default stílusa (border/padding/min-height/bg) különben dobozzá teszi a vonalakat */
.rpt-dot {
	-webkit-appearance: none !important; appearance: none !important;
	display: block !important; height: 4px !important; width: 16px !important; min-height: 0 !important;
	border: none !important; outline: none !important; padding: 0 !important; margin: 0 !important;
	border-radius: 999px !important; background: rgba(5,80,120,.2) !important; box-shadow: none !important;
	cursor: pointer; transition: width .3s ease, background .3s ease;
}
.rpt-dot:hover { background: rgba(5,80,120,.4) !important; }
.rpt-dot.active { width: 32px !important; background: #da3831 !important; }
/* Mobil segédszöveg */
.rpt-hint { margin-top: 16px; text-align: center; font-family: var(--rpt-font-body); font-size: 14px; color: #4f606d; }
@media (min-width: 640px) { .rpt-hint { display: none; } }
@media (max-width: 640px) { .rpt-grid .rpt-cols-3, .rpt-grid.rpt-cols-3 { grid-template-columns: 1fr; } }

/* ===== Tanár-carousel a KÖZÖS rps-slider mechanizmuson (sections.js) — fehér kártyák (Lovable), látható vékony scrollbar (mint testimonials) ===== */
.rpt-section .rps-slider-item { flex: 0 0 82vw; scroll-snap-align: start; }
@media (min-width: 640px) { .rpt-section .rps-slider-item { flex-basis: 45vw; } }
@media (min-width: 1024px) { .rpt-section .rps-slider-item { flex-basis: calc(25% - 15px); } }
.rpt-section .rps-slider .rpt-card {
	background: #fff; border-radius: 28px; overflow: hidden; text-align: center; height: 100%;
	box-shadow: 0 1px 2px rgba(5,80,120,.06), 0 8px 24px rgba(5,80,120,.06);
	transition: box-shadow .3s ease, transform .3s ease;
}
.rpt-section .rps-slider .rpt-card:hover { box-shadow: 0 2px 4px rgba(5,80,120,.08), 0 24px 48px -12px rgba(5,80,120,.18); }
.rpt-section .rps-slider .rpt-card-photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 5; }
.rpt-section .rps-slider .rpt-card-body { padding: 24px; text-align: center; }
.rpt-section .rps-slider .rpt-card-name { font-family: var(--rpt-font-heading); font-weight: 600; font-size: 20px; line-height: 1.2; color: #004a6b; }
.rpt-section .rps-slider .rpt-card-role { margin-top: 8px; font-family: var(--rpt-font-body); font-weight: 400; font-size: 16px; line-height: 1.5; color: rgba(5,80,120,.7); }
.rpt-section .rps-slider .rpt-card-cta { display: inline-flex; justify-content: center; margin-top: 16px; font-size: 14px; color: #da3831; }
.rpt-section .rps-slider .rpt-card:hover .rpt-card-cta { color: #055078; }
/* látható vékony scrollbar (mint a testimonials) + alsó térköz, hogy a kártya-árnyék ne vágódjon */
.rpt-section .rps-slider { scrollbar-width: auto; scrollbar-color: #8b8b8b #fcfcfc; padding-bottom: 50px; }
