/* Grid */
.mg-live-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop: 3 stolpci */
    column-gap: 40px;
    row-gap: 60px; 
}

.mg-live-course-card{height:100%;display:flex;
  flex-direction:column;}
.mg-course-img img{display:block;width:100%;width: 100%;
    height: 300px;object-fit: cover;object-position: center center;}
.mg-course-content{padding:30px 40px 45px;display:flex;
  flex-direction:column;flex:1;justify-content: space-between;background:#fff;box-shadow: 1px 1px 20px -2px rgba(0, 0, 0, 0.5);}
.mg-course-title{margin:0 0 8px;line-height:1.2}
.mg-course-title a{text-decoration:none;color:inherit;font-family: "Montserrat", Sans-serif;font-size: 26px;font-weight:700;text-decoration:none!important;}
.mg-course-status {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b38b22;
    margin-bottom: 12px !important;
    display: block;
}

.mg-course-price{font-weight:700;margin:6px 0;color:#C19D56;}
.mg-course-actions{display:flex;gap:10px;margin-top:12px;margin-top:auto;}
.mg-course-book{display:inline-block;padding:10px 30px;border-radius:999px;border:none;cursor:pointer;text-decoration:none}
.mg-course-more{display:block;color:#000;margin-bottom:25px !important;}
.mg-course-book{background:#b4932c;color:#fff;text-decoration:none !important;}
.mg-course-book svg {width: 10px;margin-left: 10px;fill: #fff;}
.mg-course-book{display:flex;}
.mg-course-book:hover{color:#fff;}
.mg-course-date{color:#C19D56;font-size: 1.25rem; margin-bottom:10px!important;    text-transform: capitalize;}

/* Datumi naj bodo vedno v stolpcu (eden pod drugim) */
.mg-course-dates,
.mg-lc-dates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

/* Posamezni datum */
.mg-course-date,
.mg-lc-date {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #b38b22; /* tvoja zlata barva */
    margin: 0;
    line-height: 1.3;
}

.mg-course-dates {
    margin-bottom: 12px;
}

.mg-live-course-card .mg-course-title {
    margin-top: 10px !important;
}


/* Single template */
.mg-lc-wrap{max-width:1100px;margin:0 auto;padding:24px;width:100%;}
.mg-lc-hero{padding:24px 0;}
.mg-lc-hero hr {background-color:#C19D56 !important;width:100px;margin:40px auto !important;}
.mg-lc-date{font-weight:700;margin-bottom:6px;color:#C19D56;font-size: 22px;text-align:center;}
.mg-lc-title{margin:0 0 8px; color:#C19D56;font-family: "Montserrat", Sans-serif;font-size: 46px;font-weight: 700;text-align:center;}
.mg-lc-time{margin:6px 0 0;font-size: 25px;text-align:center;}
.mg-lc-price{margin:6px 0 0;font-weight:700;color:#C19D56;font-size: 25px;text-align:center;}
.mg-lc-content{padding:0}

/* Swiper carousel + custom arrows */
.mg-elc{position:relative}
.mg-elc .swiper-slide img{display:block;width:100%;height:auto;object-fit:cover;}
.mg-elc .swiper-button-prev,
.mg-elc .swiper-button-next{color:#c3a34a;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;}
.mg-elc .swiper-button-prev svg,
.mg-elc .swiper-button-next svg{width:50px;height:50px}
.mg-elc .swiper-button-prev:after,
.mg-elc .swiper-button-next:after{display:none} /* hide default pseudo icons */
.mg-elc .swiper-pagination-bullet{background:#d6c48c;opacity:.6}
.mg-elc .swiper-pagination-bullet-active{background:#c3a34a;opacity:1}
@media (max-width: 768px){
  .mg-elc .swiper-slide img{height:45vh}
  .mg-elc .swiper-button-prev,.mg-elc .swiper-button-next{width:40px;height:40px}
  .mg-elc .swiper-button-prev svg,.mg-elc .swiper-button-next svg{width:22px;height:22px}
  .mg-lc-title {font-size: 25px;}
  .mg-lc-time,.mg-lc-date{font-size: 13px;font-weight:bold;}
  .mg-lc-flex-1 {width: 100% !important; margin-bottom:40px;}
  .mg-lc-flex-2 {width: 100% !important;padding-right:0 !important;order:1;margin-bottom: 40px;}
  .mg-form .wpcf7-form-control-wrap:first-child {margin-bottom: 10px;}
  .mg-row .wpcf7-submit {width:100% !important;margin-bottom:20px;}
  .rezerviraj-mesto {font-size:20px !important;}
  .mg-form {justify-content: center;}
  .mg-lc-hero{padding:24px 0 0;}
  .mg-form p {width: 100%;margin-bottom: 0 !important;display:block!important;}
  .mg-form p .wpcf7-form-control-wrap:first-child {margin-right:0;}
  .mg-form button[type="submit"]{width:100%;margin-bottom:40px;}
 .mg-live-courses-grid {grid-template-columns: auto;}
}
.mg-lc-row {display:flex;padding-top: 0;flex-wrap: wrap;}
.mg-lc-flex-1 {width: 40%;}
.mg-lc-flex-2 {width: 60%; padding-right: 70px;}
.mg-form {margin-top:50px;}
.mg-form p {display:flex;margin-bottom:0!important;}

.mg-form p .wpcf7-form-control-wrap:first-child {margin-right:10px;}
