/**
 * Szűrős könyvtár — publikus lista + profil (Medicare sablonok: orvosok lista / profil alapján).
 * Betöltés: lista és profil Twig. :root tokenek a medicare-tpl-shared.css mintájára.
 */
/* Változók: éles oldal (.fd-public-root) + admin előnézet (.fd-preview-skin), hogy ne írjuk felül a teljes admin :root-ot. */
:is(.fd-public-root, .fd-preview-skin) {
  --brand: #4A8EA6;
  --brand-dark: #3A7A94;
  --brand-light: #6BB3CC;
  --brand-pale: #E8F4F8;
  --df-gradient-overlay: linear-gradient(135deg, rgba(25, 50, 74, 0.94) 0%, rgba(32, 79, 117, 0.92) 60%, rgba(36, 140, 153, 0.88) 100%);
  --navy: #1E3A50;
  --mc-topbar-base: #142536;
  --bg: #EDF1F5;
  --bg-warm: #F5F7FA;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-mid: #5A6B7D;
  --text-soft: #8A99A8;
  --border: #DBE2EA;
  --shadow-xs: 0 1px 3px rgba(30, 58, 80, 0.04);
  --shadow-sm: 0 2px 8px rgba(30, 58, 80, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 58, 80, 0.08);
  --r: 10px;
  --r-lg: 16px;
  --layout-max: 1680px;
  --layout-pad-x: clamp(14px, 4vw, 48px);
}

:is(.fd-public-body, .fd-preview-skin) {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Publikus katalógus: nincs külön topbar/lábléc — a fő tartalom töltse ki a nézetet */
html.fd-public-root,
html.fd-public-root body.fd-public-body {
  min-height: 100dvh;
}
html.fd-public-root body.fd-public-body {
  display: flex;
  flex-direction: column;
}
html.fd-public-root body.fd-public-body > #fotartalom {
  flex: 1 1 auto;
  min-height: 0;
}

.fd-preview-skin {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

:is(.fd-public-body, .fd-preview-skin) main .wrap,
:is(.fd-public-body, .fd-preview-skin) #fotartalom .wrap {
  width: 100%;
  max-width: min(var(--layout-max), calc(100vw - 2 * var(--layout-pad-x)));
  margin: 0 auto;
  padding: 0 var(--layout-pad-x);
  box-sizing: border-box;
}

:is(.fd-public-body, .fd-preview-skin) .tpl-section {
  padding: 48px 0;
}
:is(.fd-public-body, .fd-preview-skin) .tpl-section--white {
  background: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fd-muted {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.fd-kicker-sub {
  margin-top: 6px;
}
.fd-empty-msg {
  margin-top: 16px;
}
.fd-doc-card-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .fd-doc-card-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fd-doc-card-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fd-doc-card-stack {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fd-rich {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
}
.fd-rich p {
  margin: 0 0 0.75em;
}
.fd-rich p:last-child {
  margin-bottom: 0;
}

.fd-pub-card-ph,
.fd-pub-hero-ph {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-pale);
  color: var(--brand);
  font-size: 48px;
}

/* --- Gombok (Medicare .tpl-btn) --- */
:is(.fd-public-body, .fd-preview-skin) .tpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  box-sizing: border-box;
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn--outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
:is(.fd-public-body, .fd-preview-skin) .tpl-btn--sm {
  padding: 9px 18px;
  font-size: 11px;
}

/* --- Section tag --- */
:is(.fd-public-body, .fd-preview-skin) .section-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  min-height: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-pale);
  border-radius: 20px;
  margin: 0 0 8px;
}

/* --- Lista: morzsa, layout, szűrő, kártyák --- */
.fd-bc-section {
  padding: 16px 0 12px !important;
}
.doc-breadcrumb {
  font-size: 12px;
  color: var(--text-soft);
}
.doc-breadcrumb a {
  color: var(--brand);
  font-weight: 600;
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.doc-filter {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: 24px;
}
.doc-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.doc-filter__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.doc-filter__head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.doc-filter__clear {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.doc-filter__clear:hover {
  text-decoration: underline;
}
.doc-filter__close {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}
.doc-filter__close:hover {
  background: var(--mc-topbar-base);
}
.doc-filter__group {
  margin-bottom: 20px;
}
.doc-filter__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.doc-filter__toggle i {
  font-size: 12px;
  transition: transform 0.25s;
}
.doc-filter__toggle:not(.is-open) i {
  transform: rotate(180deg);
}
.doc-filter__body {
  display: none;
  padding-top: 12px;
}
.doc-filter__body.is-open {
  display: block;
}
.doc-filter__search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  margin-bottom: 10px;
  font-family: inherit;
  box-sizing: border-box;
}
.doc-filter__list {
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-filter__list li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--text);
}
.doc-filter__list input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.doc-list__head {
  margin-bottom: 8px;
}
.doc-list__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.doc-list__intro {
  flex: 0 1 auto;
  min-width: min(100%, 220px);
}
.doc-list__kicker {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.doc-list__search-form {
  flex: 1 1 320px;
  display: flex;
  justify-content: flex-end;
  min-width: min(100%, 280px);
}
.doc-list__search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.doc-list__search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-pale);
}
.doc-list__search-box i {
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}
.doc-list__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
}
.doc-list__search-input::placeholder {
  color: var(--text-soft);
}

/* Lapozás: előző / következő + pozíció (blog mintájára, nem minden oldalszám) */
:is(.fd-public-body, .fd-preview-skin) .fd-pagination {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
:is(.fd-public-body, .fd-preview-skin) .fd-pagination__meta {
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.95rem;
}


.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  height: 100%;
  min-width: 0;
}
.doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.doc-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--brand-pale);
  overflow: hidden;
}
.doc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
}
.doc-card__img .fd-pub-card-ph {
  min-height: 0;
  aspect-ratio: 1;
  font-size: 40px;
}
.doc-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.doc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.doc-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.doc-card__name a {
  color: inherit;
  text-decoration: none;
}
.doc-card__name a:hover {
  color: var(--brand);
}
.doc-card__share {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 15px;
  flex-shrink: 0;
  padding: 2px;
}
.doc-card__spec {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}
.doc-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-mid);
}
.doc-card__info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.doc-card__info i {
  width: 16px;
  text-align: center;
  color: var(--brand);
  font-size: 12px;
}
.doc-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  flex-wrap: wrap;
}
.doc-card__actions .tpl-btn {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }
  .doc-filter {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    transform: none;
    overflow: visible;
  }
}
@media (max-width: 480px) {
  .doc-list__search-form {
    justify-content: stretch;
    min-width: 0;
  }
  .doc-list__search-box {
    max-width: none;
    width: 100%;
  }
}

/* --- Profil --- */
.prof-breadcrumb {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.prof-breadcrumb a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.prof-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 40px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.prof-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
.prof-hero__body {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.prof-hero__name {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.prof-hero__spec {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  margin: 0;
}
.prof-hero__bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
}
.prof-hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-mid);
}
.prof-hero__details span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prof-hero__details i {
  color: var(--brand);
  font-size: 14px;
}
.prof-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.prof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.prof-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.prof-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.prof-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.prof-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}
.prof-card__title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 22px;
  background: var(--brand);
  border-radius: 3px;
  flex-shrink: 0;
}

.prof-side-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.prof-side-card--brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.prof-side-card--brand h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
}
.prof-side-card--brand p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}
.prof-side-card--brand .tpl-btn {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  width: 100%;
  justify-content: center;
}
.prof-side-card--brand .tpl-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.prof-side-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.prof-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mid);
}
.prof-side-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.prof-side-list i {
  color: var(--brand);
  font-size: 14px;
  margin-top: 2px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.prof-side-list strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.prof-card.prof-df-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #19324a;
  background-image:
    var(--df-gradient-overlay),
    url('https://medicare-group.hu/wp-content/uploads/2025/12/arena-corner-05.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.prof-df-band::before,
.prof-df-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 0;
}
.prof-df-band::before {
  width: min(480px, 90vw);
  height: min(480px, 90vw);
  top: -42%;
  right: -12%;
}
.prof-df-band::after {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  bottom: -38%;
  left: -8%;
  border-color: rgba(255, 255, 255, 0.05);
}
.prof-df-band > * {
  position: relative;
  z-index: 1;
}
.prof-df-band .prof-card__title {
  color: #fff;
}
.prof-df-band .prof-card__title::before {
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}
.prof-card.prof-df-band p {
  color: rgba(255, 255, 255, 0.72);
}
.prof-df-band .prof-grid-2 .prof-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.prof-df-band .prof-item__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.prof-df-band .prof-item__title {
  color: #fff;
}
.prof-df-band .prof-item__meta {
  color: rgba(255, 255, 255, 0.65);
}
.prof-df-band .prof-chips {
  gap: 10px;
}
.prof-df-band .prof-chip {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.prof-df-band .prof-chip:hover {
  border-color: var(--brand-light);
  background: rgba(255, 255, 255, 0.16);
}

/* --- Tapasztalat idővonal --- */
.prof-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.prof-timeline li {
  position: relative;
  padding: 0 0 24px 28px;
  border-left: 2px solid var(--brand-pale);
}
.prof-timeline li:last-child {
  padding-bottom: 0;
}
.prof-timeline li::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-pale);
}
.prof-timeline__period {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.prof-timeline__role {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.prof-timeline__org {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* --- Elismerések rács --- */
.prof-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.prof-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
}
.prof-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.prof-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.prof-item__title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}
.prof-item__meta {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

/* --- Publikációk --- */
.prof-pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prof-pub-list li {
  padding: 16px 18px;
  background: var(--bg-warm);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
}
.prof-pub-list__title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.45;
}
.prof-pub-list__meta {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0;
}
.prof-pub-list__meta em {
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
}

/* --- Szakértelem címkék --- */
.prof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prof-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--white);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* --- Kezelések --- */
.prof-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
}
.prof-treatment-grid li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.prof-treatment-grid li:hover {
  border-color: var(--brand);
  background: var(--brand-pale);
}
.prof-treatment-grid li i {
  color: var(--brand);
  font-size: 14px;
  flex-shrink: 0;
}

/* --- GYIK --- */
.prof-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prof-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prof-faq__item.is-open {
  border-color: var(--brand);
  box-shadow: var(--shadow-xs);
}
.prof-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}
.prof-faq__q i {
  color: var(--brand);
  font-size: 14px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.prof-faq__item.is-open .prof-faq__q i {
  transform: rotate(180deg);
}
.prof-faq__a {
  display: none;
  padding: 0 20px 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-mid);
}
.prof-faq__item.is-open .prof-faq__a {
  display: block;
}

.prof-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 1em;
}
.prof-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .prof-grid {
    grid-template-columns: 1fr;
  }
  .prof-side {
    position: static;
  }
}
@media (max-width: 768px) {
  .prof-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .prof-hero__body {
    padding: 24px;
  }
  .prof-hero__name {
    font-size: 24px;
  }
  .prof-card {
    padding: 24px 20px;
  }
  .prof-card__title {
    font-size: 19px;
  }
  .prof-grid-2,
  .prof-treatment-grid {
    grid-template-columns: 1fr;
  }
  .prof-hero__cta .tpl-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
