:root{
  --hdg-dark:#061325;
  --hdg-ink:#111827;
  --hdg-muted:#667085;
  --hdg-soft:#f5f7fb;
  --hdg-line:#e7edf5;
  --hdg-purple:#7c3fe0;
  --hdg-orange:#ff8a3d;
  --hdg-blue:#2563eb;
  --hdg-green:#50b848;  
  --hdg-white:#fff;
  --hdg-radius:28px;
  --hdg-shadow:0 24px 70px rgba(15,23,42,.12);
}
*{box-sizing:border-box}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--hdg-ink);
  background:#fff;
}
p{text-align:justify}
a{color:inherit}
img{max-width:100%;height:auto}


.text-purple{color:#7c3fe0;}
.text-orange{color:#ff8a3d;}
.text-blue{color:#2563eb}
.bg-gradient{background:#667085;}



.site-main{padding-top:0}
.top-menu{
  background:var(--hdg-dark);
  color:#fff;
  font-size:.9rem;
  padding:.65rem 0;
}
.top-menu a{color:#fff;text-decoration:none;opacity:.9}
.top-menu a:hover{opacity:1}
.top-contact{opacity:.92}
.main-navbar{
  background:#fff;

  padding:.7rem 0;
}
.navbar-brand img{
  width:250px;
  height:auto;
  object-fit:contain;
}
.main-navbar .nav-link{
  color:#111827;
  font-weight:700;
  font-size:.96rem;
  padding:.75rem 1rem!important;
}
.main-navbar .nav-link:hover{color:var(--hdg-purple)}
.navbar-toggler{border:0}

/*BACKGROUNDS*/
.bg-beige{background:#dad3ca;}

/*BUTTONS*/
.btn{    border-radius: 999px;
    padding: .8rem 2.3rem;
    font-weight: 600;}
.btn-primary {
    background: #ee6b44;
    color: #fff;
    border: 1px solid #ee6b44;
}

        .btn-primary:hover {
            background: var(--hdg-orange);
            border-color: var(--hdg-orange);
            color: #fff;  
        }

.btn-outline {
    color: #ee6b44;
    border: 1px solid  #ee6b44;
    background: transparent;
}

        .btn-outline:hover {
            background:  #ee6b44;
            color: #fff;
        }

.btn-hdg-gradient{
  color:#fff!important;
  border:0;
  background:linear-gradient(100deg,var(--hdg-purple),var(--hdg-orange));
  box-shadow:0 12px 28px rgba(124,63,224,.24);
  font-weight:800;
}
.btn-hdg-gradient:hover{filter:brightness(.98);transform:translateY(-1px)}
.btn-outline-hdg{
  border:1px solid rgba(124,63,224,.45);
  color:var(--hdg-purple);
  background:#fff;
  font-weight:800;
}
.btn-outline-hdg:hover{
  background:var(--hdg-purple);
  color:#fff;
}
.home-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(4rem,8vw,7rem) 0 5.5rem;
  background:
    radial-gradient(circle at 78% 18%, rgba(124,63,224,.13), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(255,138,61,.10), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f7f9fd 100%);
}
.home-hero:after{
  content:"";
  position:absolute;
  inset:auto -8% -22% auto;
  width:48rem;
  height:48rem;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(124,63,224,.10),rgba(255,138,61,.08));
  filter:blur(4px);
  z-index:0;
}
.home-hero .container{position:relative;z-index:1}
.hero-kicker,.section-kicker{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#556070;
  font-weight:900;
  font-size:.82rem;
  margin-bottom:0rem;
}
.home-hero h1{
  font-size:clamp(2.8rem,6vw,5.7rem);
  line-height:.95;
  font-weight:950;
  letter-spacing:-.06em;
  margin-bottom:1.5rem;
}
.home-hero h1 span{
  background:linear-gradient(100deg,var(--hdg-purple),#c36cc1,var(--hdg-orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.home-hero p{
  color:#475467;
  font-size:clamp(1.05rem,2vw,1.35rem);
  line-height:1.65;
  max-width:640px;
}
.hero-visual{
  position:relative;
  border-radius:36px;
  padding:1rem;
  background:#fff;
  box-shadow:var(--hdg-shadow);
}
.hero-visual:before{
  content:"";
  position:absolute;
  inset:1rem;
  border-radius:28px;
  background:linear-gradient(180deg,transparent 54%,rgba(255,255,255,.92));
  z-index:2;
  pointer-events:none;
}
.hero-visual img{
  width:100%;
  min-height:430px;
  object-fit:cover;
  border-radius:28px;
  display:block;
}
.hero-floating-card{
  position:absolute;
  left:2rem;
  bottom:2rem;
  z-index:3;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.8);
  border-radius:22px;
  padding:1rem 1.25rem;
  box-shadow:0 18px 36px rgba(15,23,42,.12);
}
.hero-floating-card strong{
  display:block;
  font-size:2rem;
  line-height:1;
  background:linear-gradient(100deg,var(--hdg-purple),var(--hdg-orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-floating-card span{font-weight:800;color:#243047}
.stats-strip{
  position:relative;
  z-index:3;
  margin-top:-2.8rem;
}
.stats-box{
  background:#fff;
  box-shadow:var(--hdg-shadow);
  border:1px solid rgba(231,237,245,.9);
  border-radius:24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
}
.stats-box div{
  padding:1.0rem 1.0rem;
  text-align:center;
  border-right:1px solid var(--hdg-line);
}
.stats-box div:last-child{border-right:0}
.stats-box strong{
  display:block;
  line-height:1.1;
  font-weight:950;
  color:var(--hdg-purple);
}
.stats-box span{display:block;color:#667085;font-weight:700;font-size:.9rem;margin-top:.2rem}
.section-padding{padding:clamp(4rem,7vw,6.5rem) 0}
.bg-soft{background:var(--hdg-soft)}
.section-title{
  font-weight:950;
  letter-spacing:-.045em;
  font-size: clamp(2rem,3.5vw,3.0rem);
  line-height:1.05;
}
.section-lead{
  color:#667085;
  font-size:1.08rem;
  line-height:1.75;
}
.solution-card{
  height:100%;
  background:#fff;
  border:1px solid var(--hdg-line);
  border-radius:var(--hdg-radius);
  overflow:hidden;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
  transition:.22s ease;
}
.solution-card:hover{transform:translateY(-4px);box-shadow:var(--hdg-shadow)}
.solution-card img{
  width:100%;
  height:235px;
  object-fit:cover;
}
.solution-card div{padding:1.6rem}
.solution-card span{
  display:inline-flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f0e9ff;
  color:var(--hdg-purple);
  font-weight:950;
  margin-bottom:1rem;
}
.solution-card h3,.training-card h3,.blog-card h3{
  font-weight:950;
  letter-spacing:-.03em;
}
.solution-card p,.training-card p,.blog-card p{color:#667085;line-height:1.65}
.solution-card a{
  color:var(--hdg-purple);
  font-weight:900;
  text-decoration:none;
}
.training-card,.blog-card{
  height:100%;
  border:1px solid var(--hdg-line);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}
.training-card-img,.blog-img{
  display:block;
  height:220px;
  background-size:cover;
  background-position:center;
}
.training-card-body,.blog-body{padding:1.4rem}
.badge-soft{
  display:inline-flex;
  background:#f0e9ff;
  color:var(--hdg-purple);
  border-radius:999px;
  padding:.35rem .7rem;
  font-size:.78rem;
  font-weight:950;
  margin-bottom:.85rem;
}
.training-card h3 a,.blog-card h3 a{text-decoration:none}
.training-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  color:#667085;
  font-weight:700;
  font-size:.9rem;
}
.training-meta i{margin-right:.35rem;color:var(--hdg-purple)}
.image-collage{
  position:relative;
  min-height:520px;
}
.collage-main{
  width:88%;
  object-fit:cover;
}
.collage-small{
  position:absolute;
  right:0;
  bottom:0;
  width:70%;
  border:8px solid #fff;

}
.feature-list{display:grid;gap:1rem;margin-top:1.5rem}
.feature-list div{
  display:flex;
  align-items:flex-start;
  gap:.8rem;
  font-weight:800;
}
.feature-list i{color:var(--hdg-purple);font-size:1.35rem}
.blog-body span{
  color:var(--hdg-purple);
  font-weight:900;
  font-size:.85rem;
}
.cta-section{padding:0 0 5rem;background:var(--hdg-soft)}
.cta-box{
  background:
    linear-gradient(100deg,rgba(6,19,37,.94),rgba(60,27,109,.9)),
    url('/uploads/index/index_bg1.webp') center/cover;
  color:#fff;
  padding:clamp(2rem,5vw,4rem);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  box-shadow:var(--hdg-shadow);
}
.cta-box h2{
  font-weight:950;
  letter-spacing:-.04em;
  font-size:clamp(2rem,4vw,3.2rem);
}

.cta-box .section-kicker{color:#fff;opacity:.75}
.site-footer{
  background:var(--hdg-dark);
  color:#fff;
  padding:4rem 0 1.5rem;
}
.footer-logo{width:250px;height:auto}
.footer-text{color:rgba(255,255,255,.72);max-width:360px;line-height:1.7}
.footer-title{
  font-size:1rem;
  font-weight:950;
  margin-bottom:1rem;
}
.footer-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:.65rem;
}
.footer-list a,.footer-bottom a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
}
.footer-list a:hover,.footer-bottom a:hover{color:#fff}
.footer-contact li{display:flex;gap:.7rem;color:rgba(255,255,255,.72)}
.footer-social{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
}
.footer-bottom{
  margin-top:3rem;
  padding-top:1.4rem;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.65);
  font-size:.9rem;
}
.back-to-top{
  position:fixed;
  right:1.2rem;
  bottom:1.2rem;
  width:44px;
  height:44px;
  border-radius:999px;
  background:var(--hdg-dark);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 18px 34px rgba(15,23,42,.2);
  z-index:20;
}
.hp-field{position:absolute;left:-9999px;opacity:0}
.content img{max-width:100%;height:auto}

@media (max-width: 991.98px){
  .main-navbar{box-shadow:0 1px 0 rgba(15,23,42,.08)}
  .navbar-brand img{width:190px}
  .home-hero{padding-top:3rem}
  .hero-visual img{min-height:320px}
  .stats-box{grid-template-columns:repeat(2,1fr)}
  .stats-box div:nth-child(2){border-right:0}
  .stats-box div:nth-child(-n+2){border-bottom:1px solid var(--hdg-line)}
  .cta-box{align-items:flex-start;flex-direction:column}
}
@media (max-width: 575.98px){
  .home-hero h1{font-size:2.55rem}
  .stats-box{grid-template-columns:1fr}
  .stats-box div{border-right:0;border-bottom:1px solid var(--hdg-line)}
  .stats-box div:last-child{border-bottom:0}
  .image-collage{min-height:auto}
  .collage-main{width:100%}
  .collage-small{position:relative;width:82%;margin-top:-2rem;margin-left:auto;display:block}
}


           
/*************HERo SLIDER*******************/
.min-vh-75 {
    min-height: 75vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-bg-swiper,
.hero-bg-swiper-reverse {
    width: 120%;
    margin-left: -10%;
}

.hero-bg-swiper {
    margin-top: 0.5rem;
    opacity: 0.85;
}

.hero-bg-swiper-reverse {
    margin-top: 2rem;
    opacity: 0.8;
}

.hero-bg-swiper .swiper-wrapper,
.hero-bg-swiper-reverse .swiper-wrapper {
    transition-timing-function: linear !important;
}

.hero-bg-swiper .swiper-slide,
.hero-bg-swiper-reverse .swiper-slide {
    width: auto;
}
/*******INDEX SZOLGALTATSOK****/
.hdg-services-section {
    padding: 0;
    overflow: hidden;
}

.hdg-services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    xxmargin-bottom: 3.5rem;
}

.hdg-service-tab {
    border: 0;
    background: transparent;
    font-size: 1.05rem;
    padding: 0 0 .55rem;
    line-height: 1.2;
}

.hdg-service-tab.active {
    color: #1d2540;
    border-bottom: 2px solid #f2375a;
}

.hdg-services-title {
    xxfont-size: clamp(2.7rem, 5.8vw, 5rem);
    xxline-height: 1.12;
    xxxfont-weight: 900;
    xxletter-spacing: -.04em;
    xxcolor: #1d2540;
    xxxmargin-bottom: 1.5rem;
}

.hdg-services-text {
    max-width: 650px;
    color: #343b55;
    xxxfont-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}



.hdg-service-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdg-service-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 999px;
}

.hdg-ring {
    position: absolute;
    border-radius: 50%;
    border: 0px solid;
    z-index: 3;
}

.hdg-ring-lg {
    width: 190px;
    height: 190px;
    background: var(--hdg-orange);
    right: 15px;
    top: -35px;
}

.hdg-ring-md {
    width: 58px;
    height: 58px;
    background: var(--hdg-blue);
    left: 0%;
    top: 18%;
    z-index: 3;
}

.hdg-ring-sm {
    width: 44px;
    height: 44px;
    background: var(--hdg-purple);
    right: 30%;
    top: 13%;
    z-index: 3;
}

.hdg-ring-xs {
    width: 38px;
    height: 38px;
    background: var(--hdg-white);
    right: 8%;
    bottom:-2%;
}

@media (max-width: 991.98px) {
    .hdg-services-section {
        padding: 3rem 0;
    }

    .hdg-services-tabs {
        gap: 1rem;
        margin-bottom: 2rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: .5rem;
    }

    .hdg-service-tab {
        white-space: nowrap;
    }

    .hdg-service-visual {
        min-height: 280px;
    }

    .hdg-service-img {
        max-height: 300px;
    }
    .hdg-ring-lg {
    width: 100px;
    height: 100px;
    background: var(--hdg-orange);
    right: 15px;
    top: -35px;
}

}
/*anim*/
.hdg-ring-lg{
    animation: hdgRingOrangePurple 6s ease-in-out infinite;
}

.hdg-ring-md{
    animation: hdgRingPurpleGreen 5s ease-in-out infinite;
}

.hdg-ring-sm{
    animation: hdgRingBlueGreen 7s ease-in-out infinite;
}

.hdg-ring-xs{
    animation: hdgRingBlueOrange 4.5s ease-in-out infinite;
}

@keyframes hdgRingOrangePurple{
    0%,100%{
        border-color:#f6a623;
        transform:scale(1);
    }
    50%{
        border-color:#b63bb6;
        transform:scale(1.12);
    }
}

@keyframes hdgRingPurpleGreen{
    0%,100%{
        border-color:#b63bb6;
        transform:scale(1);
    }
    50%{
        border-color:#63c132;
        transform:scale(1.40);
    }
}

@keyframes hdgRingBlueGreen{
    0%,100%{
        border-color:#2d89b3;
        transform:scale(1);
    }
    50%{
        border-color:#63c132;
        transform:scale(1.08);
    }
}

@keyframes hdgRingBlueOrange{
    0%,100%{
        border-color:#2d89b3;
        transform:scale(1);
    }
    50%{
        border-color:#f6a623;
        transform:scale(1.15);
    }
}
.hdg-ring{
    opacity:.85;
    transition:all .4s ease;
    filter:drop-shadow(0 0 12px rgba(0,0,0,.08));
}

/*****************VIDEo PLAY************************/
.video-play-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:74px;
    height:74px;
    border-radius:50%;
    background:rgba(7,20,39,.72);
    backdrop-filter:blur(6px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
    pointer-events:none;
    box-shadow:0 18px 40px rgba(7,20,39,.25);
}

.video-play-overlay i{
    color:#fff;
    font-size:2rem;
    line-height:1;
    margin-left:4px;
}
/*****************PAGE.PHP************************/
.page-hero-section {
  position: relative;
  overflow: hidden;
}

.page-hero-kicker {
  margin-bottom: .65rem;
}

.page-title {
  margin: 0 0 1.5rem;
  color: var(--hdg-dark);
  font-size: clamp(2.6rem, 3.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 900;
}
page-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 120px 0 0 120px;
}

/*
 * Desktop:
 * a Bootstrap order sorrendet megtartjuk,
 * a két bal oldali blokk a 6-os oszlopban marad,
 * a kép pedig egyetlen elemként a jobb oldali 5-ös oszlopba kerül.
 */
@media (min-width: 992px) {

}

@media (max-width: 991.98px) {
  .page-hero-heading {
    padding-top: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-title {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 1.75rem;
  }

  .page-image {
    margin-top: 0;
    margin-left: 1rem;
    margin-bottom: 2rem;
  }

  .page-image img {
    aspect-ratio: 16 / 10;
    border-radius: 90px 0 0 90px;
  }

  .page-content {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero-heading {
    padding-top: 2rem;
  }

  .page-hero-kicker {
    font-size: .72rem;
    letter-spacing: .11em;
  }

  .page-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .page-image {
    margin-left: .75rem;
  }

  .page-image img {
    border-radius: 64px 0 0 64px;
  }
}

/*****************KEPZESEK.PHP************************/
.training-list-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-top-left-radius:120px;
  border-bottom-left-radius:120px;
  border-top-right-radius:0;
  border-bottom-right-radius:0;
}

.training-date-box {
  line-height: 1;
}

.training-list .lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.training-price {
  font-size: 1.05rem;
}

@media (max-width: 767.98px) {
  .training-date-box {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    text-align: left;
  }

  .training-date-box .display-5 {
    font-size: 2rem;
  }

  .training-list article {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

.training-format-badge {
    border-radius: 999px;
    padding: .4rem .75rem;
    font-size: .75rem;
    font-weight: 600;
}
.training-format-webinar { color:#fff; background:#7c3aed; }
.training-format-offline { color:#fff; background:#000; }
.training-format-blue { color:#fff; background:#000; }

   .program-category-icon{
    width:70px;
    height:auto;
    object-fit:contain;
    filter:brightness(0)
}

.training-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.training-calendar-days {
    display: contents;
}

.training-calendar-weekday {
    padding: .75rem .4rem;
    text-align: center;
    font-weight: 700;
    background: var(--bs-light);
    border-bottom: 1px solid var(--bs-border-color);
}

.training-calendar-day {
    min-height: 120px;
    padding: .6rem;
    border-right: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

.training-calendar-day-empty {
    background: var(--bs-light);
}

.training-calendar-number {
    font-weight: 700;
    margin-bottom: .4rem;
}

.training-calendar-day.has-event {
    background: rgba(var(--bs-primary-rgb), .04);
}

.training-calendar-event {
    display: block;
    margin-top: .35rem;
    padding: .45rem .5rem;
    border-radius: .6rem;
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--bs-body-color);
    text-decoration: none;
}

.training-calendar-event:hover {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .16);
}

.training-calendar-event-title,
.training-calendar-event-time {
    display: block;
}

.training-calendar-event-title {
    font-size: .78rem;
    line-height: 1.25;
    font-weight: 700;
}

.training-calendar-event-time {
    margin-top: .15rem;
    font-size: .72rem;
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .training-calendar-day {
        min-height: 64px;
        padding: .3rem;
    }

    .training-calendar-event {
        width: .55rem;
        height: .55rem;
        padding: 0;
        margin: .25rem auto 0;
        border-radius: 50%;
        background: var(--bs-primary);
    }

    .training-calendar-event-title,
    .training-calendar-event-time {
        display: none;
    }
}


/**********KEPZES.PHP***************************/
.training-hero {

}

.training-hero-image-wrap {
  position: relative;
  min-height: 400px;

  
}

.training-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover; border-radius: 260px 0 0 260px;
}

.training-info-card {
  margin-top:-380px;
  margin-bottom:30px
}
@media (max-width: 991.98px) { .training-info-card {margin-top:-40px!important;margin-bottom:30px}
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 991.98px) {
  .training-hero-image-wrap {
    min-height: 300px;
    
    margin-left: 1rem;
  }

  .training-hero-image {
    height: 320px; 
    border-radius: 160px 0 0 160px;
  }

}

.training-price-primary {
  font-size: 1.45rem;
  font-weight: 700;
}

.training-price-old {
  color: #6c757d;
  text-decoration: line-through;
}


@media (max-width: 991.98px) {
  .training-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .training-hero-image-outer {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 300px;
    border-radius: 2rem 0 0 2rem;
    margin-top: 2rem;
  }

  .training-info-section {
    margin-top: 0;
    padding: 2rem 0;
  }

  .training-info-card {
    border-radius: 1rem;
  }

  .hero-dot-orange {
    width: 120px;
    height: 120px;
  }
}



/*****TRAINEREK.PHP - HDG Trainer modul V2.2***********/

.trainers-swiper-wrap {
  position: relative;
  padding-inline: 2.5rem;
}

.trainersSwiper {
  width: 100%;
  overflow: hidden;
}

.trainersSwiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.trainersSwiper .swiper-slide {
  flex-shrink: 0;
  height: auto;
}

.trainersSwiper .trainer-slide {
  width: 310px !important;
}

.trainer-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  box-shadow: 0 -10px 15px rgba(15, 23, 42, .07);
  transition:
    height .38s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.trainer-card.open {
  height: 640px;
}

.trainer-card p.small,
.trainer-intro{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:3.2rem;
}


.trainer-card:hover,
.trainer-card.open {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

.trainer-card-image-wrap {
  flex: 0 0 auto;
  height: 320px;
  min-height: 320px;
  overflow: hidden;
  background: #f5f5f5;
  transition: height .38s ease, min-height .38s ease, opacity .32s ease, margin .38s ease;
}

.trainer-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: opacity .32s ease, transform .38s ease;
}

.trainer-card.open .trainer-card-image-wrap {
  height: 0;
  min-height: 0;
  opacity: 0;
  margin: 0;
}

.trainer-card.open .trainer-card-img {
  opacity: 0;
  transform: scale(1.04);
}

.trainer-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  overflow-y: auto;
  xxxheight: 270px;
}

.trainer-card-main {
  flex: 0 0 auto;
}

.trainer-card-main p {font-size: 95%;}


.trainer-position {
  color: #102142;
  font-weight: 500;
}

.trainer-line {
  width: 54px;
  height: 4px;
  background: #8ca05a;
  border-radius: 999px;
}

.trainer-intro {
  color: #26344f;
  line-height: 1.3;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trainer-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: grid-template-rows .38s ease, opacity .25s ease, margin .38s ease;
}

.trainer-more > * {
  min-height: 0;
}

.trainer-card.open .trainer-more {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-bottom: 1rem;
}


.trainer-detail-content {
  color: #26344f;
  font-size: .95rem;
  line-height: 1.65;
}

.trainer-detail-content p {
  text-align: left;
}

.trainer-detail-content p:last-child {
  margin-bottom: 0;
}

.trainer-detail-content ul {
  padding-left: 1.25rem;
}

.trainer-contact-list {
  border-top: 1px solid rgba(15, 23, 42, .12);
  display: grid;
  gap: .65rem;
}

.trainer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fb6a3d;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.trainer-contact-item:hover {
  color: #d92f4e;
}

.trainer-contact-item i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #8ca05a;
  color: #fff;
  font-size: .9rem;
}

.trainer-detail-btn {
  margin-top: auto !important;
  align-self: flex-start;
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
}

.trainer-btn-close {
  display: none;
}

.trainer-card.open .trainer-btn-open {
  display: none;
}

.trainer-card.open .trainer-btn-close {
  display: inline;
}

.trainer-detail-btn i {
  transition: transform .25s ease;
}

.trainer-card.open .trainer-detail-btn i {
  transform: rotate(90deg);
}

.btn-outline-hdg {
  color: #fb6a3d;
  border: 1px solid #fb6a3d;
  background: #fff;
  font-weight: 700;
}

.btn-outline-hdg:hover {
  color: #fff;
  background: #fb6a3d;
}

.trainers-nav {
  position: absolute;
  top: 45%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #8ca05a;
  box-shadow: 0 8px 25px rgba(15, 23, 42, .15);
}

.trainers-prev {
  left: 0;
}

.trainers-next {
  right: 0;
}

.trainers-pagination {
  position: static;
}

.trainers-pagination .swiper-pagination-bullet-active {
  background: #102142;
}
.trainersSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (max-width: 991.98px) {
  .trainers-swiper-wrap {
    padding-inline: 0;
  }

  .trainersSwiper .trainer-slide {
    width: 85vw !important;
    flex: 0 0 85vw !important;
  }

  .trainer-card {
    xxxheight: auto;
    min-height: 0;
  }

  .trainer-card-image-wrap {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .trainer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .trainer-card-body {
    height: auto;
    min-height: 220px;
  }

  .trainers-nav {
    display: none;
  }
}
@media (max-width: 767.98px) {

  .trainer-card {
    height: 500px;
    min-height: 0;
  }

  .trainer-card-image-wrap {
    height: 220px;
    min-height: 220px;
  }

  .trainer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  .trainer-card-body {
    height: auto;
    min-height: 0;
  }
}

.trainers-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .2rem;
}

.trainers-pagination .swiper-pagination-bullet {
    margin: 0 3px !important;
}

@media (max-width: 767.98px) {
    .trainers-pagination {
        justify-content: flex-start;
        margin-top: .25rem;
    }
}

.trainer-more .trainer-intro {
    display: block;
    margin-bottom: 1.25rem;
    font-size: .95rem;
    line-height: 1.6;
}

/* =========================================================
   PARTNERI HÁLÓZATUNK
   ========================================================= */

.partner-network {
    background: #f5f5f5;
}

.partner-network__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

.partner-network__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 1rem;
}

.partner-network__logo {
    display: block;
    width: 100%;
    max-width: 200px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition:
        filter .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.partner-network__item:hover .partner-network__logo {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

@media (min-width: 768px) {
    .partner-network__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-network__item {
        min-height: 125px;
    }

    .partner-network__logo {
        max-width: 200px;
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .partner-network__grid {
        grid-template-columns: repeat(9, minmax(0, 1fr));
        gap: 0.25rem;
    }

    .partner-network__logo {
        width: 200px;
    }
}

/*************CKR EDITOR KÉPBESZÚRÁS ********************/
/* CKEDITOR TARTALMI KÉPGALÉRIA */

.content-gallery {
    width: 100%;
}

.content-gallery .gallery-image {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.content-gallery .gallery-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* 1 kép */
.content-gallery-1 .gallery-image {
    xxaspect-ratio: 16 / 7;
}

/* 3 képes mobil elrendezés */
@media (max-width: 767.98px) {

    .content-gallery-3 .col-12 .gallery-image {
        xxxaspect-ratio: 16 / 9;
    }

    .content-gallery-3 .col-6 .gallery-image {
        xxxaspect-ratio: 1 / 1;
    }
}


/************************************************
VIDEO.PHP - SZERZŐ SZŰRÉS
************************************************/

.video-author-filter {
    position: sticky;
    top: 120px;
}

.video-author-filter .section-kicker {
    margin-bottom: .5rem;
}


/* lista */

.video-author-filter-list {
    border-top: 1px solid var(--hdg-line);
}


/* egy szerző */

.video-author-filter-item {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 1rem 0;

    border: 0;
    border-bottom: 1px solid var(--hdg-line);

    background: transparent;

    color: var(--hdg-dark);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;

    cursor: pointer;

    transition:
        color .2s ease,
        padding-left .2s ease;
}


/* nyíl */

.video-author-filter-item i {
    flex: 0 0 auto;

    color: var(--hdg-orange);
    font-size: 1rem;

    transition: transform .2s ease;
}


/* hover */

.video-author-filter-item:hover {
    color: var(--hdg-blue);
    padding-left: .25rem;
}

.video-author-filter-item:hover i {
    transform: translateX(4px);
}


/* aktív szerző */

.video-author-filter-item.active {
    color: var(--hdg-blue);
}

.video-author-filter-item.active i {
    transform: translateX(4px);
}


/* mobil */

@media (max-width: 991.98px) {

    .video-author-filter {
        position: static;
        margin-bottom: 1rem;
    }

}