/**
 * Atomic Elementor widgets — layout defaults.
 * Fine styling is controlled from Elementor Style tabs.
 *
 * @package Kevents
 * @version 1.24.0
 */

.kevents-el-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.kevents-el-skill,
.kevents-el-social-link,
.kevents-el-login-btn,
.kevents-el-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1.2;
}

.kevents-el-skill {
    background: rgba(127, 127, 127, 0.12);
}

.kevents-el-social-link,
.kevents-el-login-btn,
.kevents-el-edit-btn {
    background: rgba(127, 127, 127, 0.12);
    color: inherit;
}

.kevents-el-social-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 700;
    background: rgba(127, 127, 127, 0.18);
}

.kevents-el-media img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.kevents-el-profile-photo img {
    border-radius: 50%;
}

.kevents-el-profile-cover img,
.kevents-el-event-image img,
.kevents-el-label-cover img {
    width: 100%;
    object-fit: cover;
}

.kevents-el-label-cover img {
    display: block;
    height: auto;
}

.kevents-el-qr {
    text-align: center;
}

.kevents-el-qr img {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.kevents-el-qr-caption {
    margin: 10px 0 0;
}

.kevents-el-profile-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kevents-el-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.kevents-el-cd-unit {
    min-width: 72px;
    padding: 12px 10px;
    text-align: center;
    background: rgba(127, 127, 127, 0.1);
    border-radius: 8px;
}

.kevents-el-cd-value {
    display: block;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.1;
}

.kevents-el-cd-label {
    display: block;
    font-size: 0.75em;
    opacity: 0.8;
    margin-top: 4px;
}

.kevents-el-cd-expired {
    font-weight: 600;
}

.kevents-el-profile-name,
.kevents-el-event-title,
.kevents-el-profile-job,
.kevents-el-event-date,
.kevents-el-event-location {
    margin: 0;
}

.kevents-el-profile-about > *:first-child,
.kevents-el-event-description > *:first-child,
.kevents-el-label-description > *:first-child {
    margin-top: 0;
}

.kevents-el-profile-about > *:last-child,
.kevents-el-event-description > *:last-child,
.kevents-el-label-description > *:last-child {
    margin-bottom: 0;
}

.kevents-el-event-date-start,
.kevents-el-event-date-end {
    display: inline;
}

.kevents-el-event-date-time {
    opacity: 0.85;
}

.kevents-el-event-location-name,
.kevents-el-event-location-address {
    display: inline;
}

.kevents-el-contact-label {
    display: inline-block;
    margin-right: 0.35em;
    opacity: 0.7;
    font-size: 0.85em;
}

.kevents-el-coming-soon {
    display: block;
}

.kevents-el-cs-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kevents-el-cs-panel[hidden] {
    display: none !important;
}

.kevents-el-cs-media img {
    width: 100%;
    height: auto;
    display: block;
}

.kevents-el-cs-kicker {
    margin: 0;
    font-size: 0.85em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
}

.kevents-el-cs-title {
    margin: 0;
}

.kevents-el-cs-body {
    margin: 0;
}

.kevents-el-cs-body > *:first-child {
    margin-top: 0;
}

.kevents-el-cs-body > *:last-child {
    margin-bottom: 0;
}

.kevents-el-cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1.2;
    background: rgba(127, 127, 127, 0.12);
    color: inherit;
}

.kevents-account-bar,
.kevents-account-bar__guest,
.kevents-account-bar__user {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.kevents-account-bar:has(.kevents-account-bar__form),
.kevents-account-bar__guest:has(.kevents-account-bar__form) {
    display: flex;
    width: 100%;
}

.kevents-account-bar__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.kevents-account-bar__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kevents-account-bar__field[hidden] {
    display: none !important;
}

.kevents-account-bar__input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(127, 127, 127, 0.45);
    padding: 8px 10px;
    background: transparent;
    color: inherit;
}

.kevents-account-bar__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    padding: 8px 14px;
    color: inherit;
    background: rgba(127, 127, 127, 0.12);
}

.kevents-account-bar__msg {
    min-height: 1em;
}

.kevents-account-bar__login,
.kevents-account-bar__profile,
.kevents-account-bar__edit,
.kevents-account-bar__logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    line-height: 1.2;
}

.kevents-account-bar__guest[hidden],
.kevents-account-bar__user[hidden],
.kevents-account-bar__edit[hidden] {
    display: none !important;
}

.kevents-account-bar__sep--text {
    line-height: 1;
}

.kevents-account-bar__sep--line {
    display: inline-block;
    width: 1px;
    height: 1em;
    background-color: currentColor;
    flex: 0 0 auto;
}

.kevents-account-bar__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.kevents-account-bar__avatar--placeholder {
    display: inline-block;
    background: rgba(127, 127, 127, 0.35);
}

.kevents-account-bar.is-editor-preview {
    flex-wrap: wrap;
}

.kevents-el-visibility {
    display: none;
}

.kevents-el-visibility-note {
    padding: 10px 12px;
    border: 1px dashed rgba(127, 127, 127, 0.45);
    border-radius: 6px;
    font-size: 12px;
    opacity: 0.85;
}

.elementor-widget-kevents-event-youtube,
.elementor-widget-kevents-event-youtube .elementor-widget-container {
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .elementor-widget-kevents-event-youtube,
    .elementor-widget-kevents-event-youtube .elementor-widget-container,
    .elementor-device-mobile .elementor-widget-kevents-event-youtube,
    .elementor-device-mobile .elementor-widget-kevents-event-youtube .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

.kevents-yt {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.kevents-yt__ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: var(--kevents-yt-pad, 56.25%);
    background: #000;
    overflow: hidden;
}

@supports (aspect-ratio: 1 / 1) {
    .kevents-yt__ratio {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: var(--kevents-yt-ar, 16 / 9);
    }
}

.kevents-yt__host,
.kevents-yt__host > div,
.kevents-yt__ratio iframe,
.kevents-yt__ratio video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border: 0;
}

.kevents-yt__ratio video {
    object-fit: contain;
    background: #000;
}

.kevents-yt--empty {
    padding: 24px;
    border: 1px dashed rgba(127, 127, 127, 0.55);
    background: transparent;
    text-align: center;
}
