.elementor-40134 .elementor-element.elementor-element-dfaf327{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-40134 .elementor-element.elementor-element-dfaf327 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-40134 .elementor-element.elementor-element-dbea313 > .elementor-container{max-width:500px;}.elementor-widget-login .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-login .elementor-field-group > a{color:var( --e-global-color-text );}.elementor-widget-login .elementor-field-group > a:hover{color:var( --e-global-color-accent );}.elementor-widget-login .elementor-form-fields-wrapper label{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-login .elementor-field-group .elementor-field{color:var( --e-global-color-text );}.elementor-widget-login .elementor-field-group .elementor-field, .elementor-widget-login .elementor-field-subgroup label{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-login .elementor-widget-container .elementor-login__logged-in-message{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-40134 .elementor-element.elementor-element-249191f .elementor-field-group{margin-bottom:10px;}.elementor-40134 .elementor-element.elementor-element-249191f .elementor-form-fields-wrapper{margin-bottom:-10px;}body .elementor-40134 .elementor-element.elementor-element-249191f .elementor-field-group > label{padding-bottom:0px;}.elementor-40134 .elementor-element.elementor-element-249191f .elementor-field-group .elementor-field:not(.elementor-select-wrapper){background-color:#ffffff;}.elementor-40134 .elementor-element.elementor-element-249191f .elementor-field-group .elementor-select-wrapper select{background-color:#ffffff;}/* Start custom CSS *//* =========================================================
   AIOVG — Masterclass modern cards (targets your exact markup)
   Optional: add class "ohl-masterclass-archive" to the Elementor section
   ========================================================= */

.ohl-masterclass-archive,
body{
  --ohl-text:#111;
  --ohl-muted:#555;
  --ohl-line:#e6e6e6;
  --ohl-gold:#c5a059;
}

/* Scope helper: if you added the wrapper, everything applies only there */
.ohl-masterclass-archive .aiovg-item-video,
.ohl-masterclass-archive .aiovg-thumbnail,
.ohl-masterclass-archive .aiovg-caption,
.ohl-masterclass-archive .aiovg-title,
.ohl-masterclass-archive .aiovg-excerpt,
.ohl-masterclass-archive .aiovg-duration{}

/* 1) Make the grid spacing feel premium (works with plugin columns) */
.ohl-masterclass-archive .aiovg-item-video{
  padding: 0 !important;
  margin: 0 0 16px !important;
}

/* 2) Turn each item into a clean card */
.ohl-masterclass-archive .aiovg-thumbnail.aiovg-thumbnail-style-image-top{
  border: 1px solid var(--ohl-line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform .12s ease, box-shadow .12s ease !important;
}

/* Hover only the VIDEO card (not the whole section) */
.ohl-masterclass-archive .aiovg-item-video:hover .aiovg-thumbnail.aiovg-thumbnail-style-image-top{
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.08) !important;
}

/* 3) Thumbnail area with overlay */
.ohl-masterclass-archive .aiovg-thumbnail .aiovg-responsive-container{
  display:block !important;
  position: relative !important;
  background:#000 !important;
}

/* Ensure thumbnail fills properly */
.ohl-masterclass-archive .aiovg-thumbnail .aiovg-responsive-element{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
}

/* Overlay gradient */
.ohl-masterclass-archive .aiovg-thumbnail .aiovg-responsive-container::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0)) !important;
  pointer-events:none !important;
}

/* Duration pill */
.ohl-masterclass-archive .aiovg-duration{
  position:absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 2 !important;
  background: rgba(0,0,0,.65) !important;
  color:#fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

/* Play icon position */
.ohl-masterclass-archive .aiovg-svg-icon-play{
  position:absolute !important;
  left: 12px !important;
  bottom: 12px !important;
  z-index: 2 !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
  opacity: .95;
}

/* 4) Caption (title + meta + excerpt) — this is the key fix */
.ohl-masterclass-archive .aiovg-caption{
  position: relative !important;
  padding: 14px 14px 16px !important;
  background: #fff !important;
}

/* Title */
.ohl-masterclass-archive .aiovg-title{
  margin: 0 0 6px !important;
}
.ohl-masterclass-archive .aiovg-title a{
  color: var(--ohl-text) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  display:block !important;
}

/* Meta row */
.ohl-masterclass-archive .aiovg-meta,
.ohl-masterclass-archive .aiovg-date time{
  color: var(--ohl-muted) !important;
  font-size: 13px !important;
}

/* Make meta icons calmer */
.ohl-masterclass-archive .aiovg-meta svg{
  opacity: .55;
}

/* Excerpt / description */
.ohl-masterclass-archive .aiovg-excerpt{
  margin-top: 8px !important;
  color: var(--ohl-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* 5) Remove any weird floats/columns inside item that cause the big blank area */
.ohl-masterclass-archive .aiovg-item-video *{
  float: none !important;
}

/* 6) Mobile polish */
@media (max-width: 768px){
  .ohl-masterclass-archive .aiovg-caption{
    padding: 12px 12px 14px !important;
  }
}


/* =========================================
   AIOVG / Select2 — category dropdown fix
   ========================================= */

/* Make dropdown options align properly */
.select2-container--default .select2-results__option{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding: 10px 14px !important;
  line-height: 1.4 !important;
}

/* Remove the weird empty checkbox square */
.select2-container--default
.select2-results__option::after{
  content:none !important;
}

/* Selected option — clean checkmark on the right */
.select2-container--default
.select2-results__option[aria-selected="true"]{
  background: rgba(197,160,89,.12) !important;
  color:#222 !important;
  position: relative !important;
}

/* Custom checkmark */
.select2-container--default
.select2-results__option[aria-selected="true"]::before{
  content:"✓";
  position:absolute;
  right:14px;
  top:50%;
  transform: translateY(-50%);
  font-size:14px;
  font-weight:700;
  color:#222;
}

/* Hover state */
.select2-container--default
.select2-results__option--highlighted[aria-selected]{
  background: rgba(197,160,89,.18) !important;
  color:#111 !important;
}

/* Fix the selected value inside the closed select */
.select2-container--default .select2-selection--single{
  display:flex !important;
  align-items:center !important;
  min-height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  padding-left: 14px !important;
  padding-right: 34px !important;
  line-height: 1.3 !important;
}

/* Arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow{
  right: 10px !important;
  height: 100% !important;
}

/* AIOVG popup skin (clean, modern) */
.aiovg-modal,
.aiovg-popup,
[class*="aiovg-modal"],
[class*="aiovg-popup"]{
  backdrop-filter: blur(6px);
}

.aiovg-modal .aiovg-modal-content,
.aiovg-popup .aiovg-popup-content,
[class*="aiovg-modal-content"],
[class*="aiovg-popup-content"]{
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

input[type="checkbox"]:after {
    margin-top: 0px!important;
    margin-left: 0px!important;
}

.aiovg-dropdown-list .aiovg-dropdown-item input[type=checkbox]:checked::before {
    margin: -0px!important}
    
.aiovg-dropdown-list .aiovg-dropdown-item input[type=checkbox] {
    box-shadow: none!important;
    background: #ffffff00!important;
    color: #ffffff00!important;
}

.aiovg-dropdown-list .aiovg-dropdown-item.aiovg-item-selected input[type=checkbox], .aiovg-dropdown-list .aiovg-dropdown-item:hover input[type=checkbox]
Specificity: (0,4,1)
 {
    border: 1px solid #50575e00!important;
}

input[type="checkbox"]:after {

    background: #1b1b1b00!important;}
    
.aiovg-dropdown-list .aiovg-dropdown-item.aiovg-item-selected input[type=checkbox]{border: 0px solid #50575e!important;}

.aiovg-dropdown-list .aiovg-dropdown-item input[type=checkbox]
 {

    border: 0px solid #8c8f94!important;}
    
    /* =========================================
   AIOVG Reset button — clean, neutral
   ========================================= */

.aiovg-button.aiovg-button-reset{
  appearance: none;
  -webkit-appearance: none;

  background: transparent;
  border: 1px solid #e0e0e0;
  color: #555;
  border-radius: 999px;

  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;
  box-shadow: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.aiovg-button.aiovg-button-reset:hover{
  border-color: #c5a059;
  color: #111;
  background: rgba(197,160,89,.08);
}

.aiovg-button.aiovg-button-reset:active{
  background: rgba(197,160,89,.15);
}/* End custom CSS */