/* ==========================================================================
   Event V2 Template — Planet GV
   Selektorji z #top prefiksom, da preseže Enfoldove specifičnosti.
   Nobenih konfliktov z originalnim templatem.
   ========================================================================== */

/* ---- HERO ---- */
#top .ow-event-v2-hero {
    background: #fff;
    padding: 48px 0 0;
    overflow: hidden;
}

#top .ow-event-v2-hero .v2-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex !important;
    align-items: center;
    gap: 48px;
    min-height: 340px;
}

#top .ow-event-v2-hero .v2-hero-text {
    flex: 1 1 0;
    min-width: 0;
}

#top .ow-event-v2-hero .v2-hero-image {
    flex: 0 0 400px;
    max-width: 400px;
}

#top .ow-event-v2-hero h1.v2-hero-title {
    font-family: "Montserrat Black", sans-serif;
    font-size: clamp(24px, 2.8vw, 38px);
    line-height: 1.2;
    color: #231f20;
    margin: 0 0 20px 0;
}

#top .ow-event-v2-hero .v2-short-desc {
    font-family: "Montserrat Light", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(35, 31, 32, 0.8);
    margin-bottom: 28px;
}

#top .ow-event-v2-hero .v2-short-desc p {
    margin: 0;
}

#top .ow-event-v2-hero .v2-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

#top .ow-event-v2-hero .v2-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

#top .ow-event-v2-hero .ow-certifikat {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 18px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #b90066;
    max-width: 440px;
}

#top .ow-event-v2-hero .ow-certifikat img {
    width: 36px !important;
    height: 36px !important;
    max-width: none !important;
    flex-shrink: 0;
}

#top .ow-event-v2-hero .ow-certifikat-content h5 {
    font-family: "Montserrat Medium", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #b90066;
    margin: 0 0 3px 0;
}

#top .ow-event-v2-hero .ow-certifikat-content p {
    font-family: "Montserrat Regular", sans-serif;
    font-size: 13px;
    color: #231f20;
    margin: 0;
    line-height: 1.4;
}

/* ---- INFO BAR ---- */
#top .ow-event-v2-infobar {
    background: #f8f8f8;
    border-top: 1px solid #e7e7e8;
    border-bottom: 1px solid #e7e7e8;
    margin-top: 40px;
    width: 100%;
    position: relative;
    z-index: 5;
}

#top .ow-event-v2-infobar .v2-infobar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

#top .ow-event-v2-infobar .v2-info-item {
    flex: 1 1 160px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid #e7e7e8;
}

#top .ow-event-v2-infobar .v2-info-item:last-child {
    border-right: none;
}

#top .ow-event-v2-infobar .v2-info-item img {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
    margin-bottom: 10px;
    display: block;
}

#top .ow-event-v2-infobar .v2-info-item b {
    font-family: "Montserrat Medium", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #231f20;
    margin-bottom: 6px;
    display: block;
    line-height: 1.4;
}

#top .ow-event-v2-infobar .v2-info-item p {
    font-family: "Montserrat Regular", sans-serif;
    font-size: 16px;
    color: rgba(35, 31, 32, 0.8);
    margin: 0;
    line-height: 1.4;
}

#top .ow-event-v2-infobar .v2-info-item a {
    color: #b90066;
    text-decoration: none;
}

#top .ow-event-v2-infobar .v2-info-item a:hover {
    text-decoration: underline;
}

/* ---- VSEBINSKE SEKCIJE ---- */
#top .ow-event-v2-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

#top .ow-event-v2-section {
    padding: 56px 0;
    border-bottom: 1px solid #e7e7e8;
    font-size: 16px;
}

#top .ow-event-v2-section:last-child {
    border-bottom: none;
}

#top .ow-event-v2-section .v2-section-content {
    max-width: 780px;
}

#top .ow-event-v2-section h2 {
    font-family: "Montserrat Black", sans-serif;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.25;
    color: #231f20;
    margin: 0 0 24px 0;
}

#top .ow-event-v2-section .ow-event-text {
    font-family: "Montserrat Light", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(35, 31, 32, 0.85);
}

#top .ow-event-v2-section .ow-event-text p {
    margin-top: 0;
    margin-bottom: 14px;
}

#top .ow-event-v2-section .ow-event-text ul,
#top .ow-event-v2-section .ow-event-text ol {
    list-style-type: none;
    padding-left: 0;
    margin-top: 8px;
    margin-bottom: 14px;
}

#top .ow-event-v2-section .ow-event-text ul li,
#top .ow-event-v2-section .ow-event-text ol li {
    color: rgba(35, 31, 32, 0.8);
    font-family: "Montserrat Light", sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.19px;
    line-height: 28px;
    margin-bottom: 10px;
}

#top .ow-event-v2-section .ow-event-text ul li::before {
    content: "•";
    width: 20px;
    display: inline-block;
}

#top .ow-event-v2-section .ow-event-text ol {
    counter-reset: ow-list;
}

#top .ow-event-v2-section .ow-event-text ol li::before {
    counter-increment: ow-list;
    content: counter(ow-list) ".";
    width: 24px;
    display: inline-block;
}

#top .ow-event-v2-section .ow-event-text img {
    max-width: 100% !important;
    height: auto !important;
}

#top .ow-event-v2-section .ow_button_container {
    margin-top: 28px;
}

/* ---- PREDAVATELJI ---- */
#top .ow-event-v2-speakers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px;
    font-size: 16px;
}

/* En predavatelj */
#top .ow-event-v2-speaker-single {
    display: flex !important;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}

#top .ow-event-v2-speaker-single .v2-speaker-img {
    flex: 0 0 200px;
    width: 200px !important;
    height: 200px !important;
    min-width: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}

#top .ow-event-v2-speaker-single .v2-speaker-img img {
    width: 200px !important;
    height: 200px !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

#top .ow-event-v2-speaker-single .v2-speaker-info {
    flex: 1;
    min-width: 0;
}

#top .ow-event-v2-speaker-single .v2-speaker-label {
    font-family: "Montserrat Medium", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #b90066;
    margin: 0 0 8px 0;
}

#top .ow-event-v2-speaker-single .v2-speaker-name {
    font-family: "Montserrat Black", sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    color: #231f20;
    margin: 0 0 16px 0;
    line-height: 1.25;
}

#top .ow-event-v2-speaker-single .v2-speaker-bio {
    font-family: "Montserrat Light", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(35, 31, 32, 0.8);
    margin: 0;
}

#top .ow-event-v2-speaker-single .v2-speaker-links {
    margin-top: 20px;
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}

/* Več predavateljev — naslov levo */
#top .ow-event-v2-speakers .ow-predavatelji-borders {
    border: none;
    padding: 0;
}

#top .ow-event-v2-speakers .ow-predavatelji-borders > h2 {
    text-align: left !important;
    font-family: "Montserrat Black", sans-serif;
    font-size: clamp(20px, 2.2vw, 28px);
    margin-bottom: 48px !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    #top .ow-event-v2-hero .v2-hero-image {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

@media (max-width: 860px) {
    #top .ow-event-v2-hero .v2-hero-inner {
        flex-direction: column;
        gap: 0;
        min-height: unset;
        padding-bottom: 0;
    }

    #top .ow-event-v2-hero .v2-hero-text {
        padding-bottom: 32px;
    }

    #top .ow-event-v2-hero .v2-hero-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    #top .ow-event-v2-hero .v2-img-wrap {
        border-radius: 0;
        aspect-ratio: 16 / 7;
    }

    #top .ow-event-v2-hero .ow-certifikat {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    #top .ow-event-v2-hero .v2-hero-inner,
    #top .ow-event-v2-infobar .v2-infobar-inner,
    #top .ow-event-v2-sections,
    #top .ow-event-v2-speakers {
        padding-left: 20px;
        padding-right: 20px;
    }

    #top .ow-event-v2-infobar .v2-info-item {
        flex: 1 1 45%;
        padding: 20px 12px;
        border-right: none;
        border-bottom: 1px solid #e7e7e8;
    }

    #top .ow-event-v2-infobar .v2-info-item:nth-child(odd) {
        border-right: 1px solid #e7e7e8;
    }

    #top .ow-event-v2-infobar .v2-info-item:last-child {
        border-bottom: none;
    }

    #top .ow-event-v2-infobar .v2-info-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }

    #top .ow-event-v2-section {
        padding: 36px 0;
    }

    #top .ow-event-v2-speakers {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    #top .ow-event-v2-speaker-single {
        flex-direction: column;
        gap: 24px;
    }

    #top .ow-event-v2-speaker-single .v2-speaker-img,
    #top .ow-event-v2-speaker-single .v2-speaker-img img {
        width: 140px !important;
        height: 140px !important;
        flex: 0 0 140px;
        min-width: 140px;
    }
}
