/* =========================================================
   SLEY Events - tyylit (frontend + admin-esikatselu)
   Versio: 4.7.6
   ---------------------------------------------------------
   - Frontend käyttää nyt erillistä sleyembed-* namespacetta
   - Välttää törmäykset sivuston vanhaan .sley-event CSS:ään
   ========================================================= */

/* Frontend */
.sleyembed-events {
    font-family: inherit;
    color: #084f3f;
    max-width: 800px;
    margin: 0 auto;
}

.sleyembed-events--grid {
    max-width: 1200px;
}

.sleyembed-events__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sleyembed-fragment {
    min-height: 120px;
}

.sleyembed-fragment__content {
    min-height: inherit;
    position: relative;
    transition: opacity .16s ease;
}

.sleyembed-fragment--searching .sleyembed-fragment__content {
    opacity: .58;
}

.sleyembed-map-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f0;
}

.sleyembed-map {
    --sley-infowindow-max-height: 320px;
    width: 100%;
    min-height: 360px;
    background: #eef2f0;
}

@media (min-width: 1201px) {
    .sleyembed-fragment--map-grid-rows .sleyembed-map-shell {
        /* Row layout scroll strip extends 8px past the 1200px content edge. */
        box-sizing: border-box;
        max-width: 1208px;
        margin-left: calc((100% - 1200px) / 2);
        margin-right: auto;
    }
}

.sleyembed-map .gm-style .gm-style-iw-c {
    max-height: calc(var(--sley-infowindow-max-height, 520px) + 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sleyembed-map .gm-style .gm-style-iw-chr {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
}

.sleyembed-map .gm-style .gm-style-iw-c .gm-style-iw-chr button.gm-ui-hover-effect {
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}

.sleyembed-map .gm-style .gm-style-iw-c .gm-style-iw-chr button.gm-ui-hover-effect:hover {
    background: rgba(107, 114, 128, 0.14) !important;
}

.sleyembed-map .gm-style .gm-style-iw-c .gm-style-iw-chr button.gm-ui-hover-effect span {
    display: none !important;
}

.sleyembed-map .gm-style .gm-style-iw-c .gm-style-iw-chr button.gm-ui-hover-effect::before {
    content: '✕';
    color: #6b7280;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.sleyembed-map .gm-style .gm-style-iw-d {
    overflow: auto !important;
    margin-top: 0 !important;
    max-height: var(--sley-infowindow-max-height, 520px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.sleyembed-map .gm-style .gm-style-iw-d::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.sleyembed-map__overlay,
.sleyembed-map__consent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    background: rgba(248, 250, 252, 0.92);
    color: #1f2937;
    text-align: center;
    z-index: 2;
}

.sleyembed-map__overlay[hidden],
.sleyembed-map__consent[hidden] {
    display: none;
}

.sleyembed-map__consent {
    flex-direction: column;
}

.sleyembed-map__consent p {
    margin: 4px 0 0;
    font-size: 13px;
}

.sleyembed-map__consent-button {
    border: 0;
    border-radius: 6px;
    padding: 9px 14px;
    background: #0b6a55;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sleyembed-map__spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #cbd5e1;
    border-top-color: #0b6a55;
    border-radius: 50%;
    animation: sleyembed-map-spin .8s linear infinite;
}

.sleyembed-map .sley-infowindow {
    max-width: 340px;
    max-height: var(--sley-infowindow-max-height, 520px);
    overflow-wrap: break-word;
    color: #111827;
    overflow: auto;
    box-sizing: border-box;
    padding: 10px;
}

@media (max-width: 480px) {
    .sleyembed-map .sley-infowindow {
        max-width: 82vw;
    }
}

.sleyembed-map .sley-info-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.sleyembed-map .sley-info-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding-right: 32px;
}

.sleyembed-map .sley-day-badge {
    background: #0b6a55;
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.sleyembed-map .sley-live-badge {
    background: #facc15;
    color: #3f2f00;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
}

.sleyembed-map .sley-time-chip {
    margin-left: 0;
    background: #e8f3ef;
    color: #0b6a55;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.sleyembed-map .sley-info-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #111827;
}

.sleyembed-map .sley-info-subtitle {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

.sleyembed-map .sley-info-kv {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.sleyembed-map .sley-info-kv span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.sleyembed-map .sley-info-kv strong {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.sleyembed-map .sley-speaker-list {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.sleyembed-map .sley-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sleyembed-map .sley-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
}

.sleyembed-map .sley-info-desc {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
}

.sleyembed-map .sley-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.sleyembed-map .sley-info-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    background: #0b6a55;
    color: #fff;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sleyembed-map .sley-info-actions a:last-child {
    background: #e8f3ef;
    color: #0b6a55;
}

.sleyembed-map .sley-info-actions a:hover,
.sleyembed-map .sley-info-actions a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    background: #095544;
}

.sleyembed-map .sley-info-actions a:last-child:hover,
.sleyembed-map .sley-info-actions a:last-child:focus-visible {
    background: #dcebe6;
    color: #084f3f;
}

.sleyembed-map .sley-agenda-list {
    list-style: none;
    margin: 2px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sleyembed-map .sley-agenda-item {
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
}

.sleyembed-map .sley-agenda-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sleyembed-map .sley-agenda-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    color: #0f172a;
    text-decoration: none;
}

.sleyembed-map .sley-agenda-title:hover {
    text-decoration: underline;
}

.sleyembed-map .sley-agenda-when {
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
}

.sleyembed-map .sley-agenda-actions {
    margin-top: 2px;
}

.sleyembed-map .sley-agenda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    background: #0b6a55;
    color: #fff;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sleyembed-map .sley-agenda-btn:hover,
.sleyembed-map .sley-agenda-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    background: #095544;
}

.sleyembed-map .sley-empty {
    margin: 0;
    color: #4b5563;
}

@keyframes sleyembed-map-spin {
    to {
        transform: rotate(360deg);
    }
}

.sleyembed-search {
    max-width: 1200px;
    margin: 0 auto 14px;
}

.sleyembed-search__label {
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.sleyembed-search .sleyembed-search__input[type="text"],
.sleyembed-search .sleyembed-search__input[type="search"] {
    display: block;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.3;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.sleyembed-search .sleyembed-search__input[type="text"]::placeholder,
.sleyembed-search .sleyembed-search__input[type="search"]::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.sleyembed-search .sleyembed-search__input[type="text"]:focus,
.sleyembed-search .sleyembed-search__input[type="search"]:focus {
    outline: none;
    border-color: #0b6a55;
    box-shadow: 0 0 0 3px rgba(11, 106, 85, 0.16);
}

.sleyembed-search__status {
    min-height: 18px;
    margin-top: 6px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.2;
}

.sleyembed-events__placeholder,
.sleyembed-events__error {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f2f4f0;
    color: #1f2937;
}

.sleyembed-events__error a {
    color: #0c7a60;
    font-weight: 700;
}

.sleyembed-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transform-origin: center center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sleyembed-events--grid .sleyembed-events__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    align-items: stretch;
}

.sleyembed-events--grid.sleyembed-events--grid-rows .sleyembed-events__items {
    --sleyembed-row-card-width: clamp(260px, 32vw, 340px);
    grid-template-columns: none;
    grid-template-rows: repeat(var(--sleyembed-grid-rows), minmax(0, auto));
    grid-auto-flow: column;
    grid-auto-columns: var(--sleyembed-row-card-width);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 8px 16px;
    padding-inline-end: clamp(8px, calc(100% - var(--sleyembed-row-card-width)), 64px);
    margin: -12px -8px 0;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    scroll-padding-inline-end: clamp(8px, calc(100% - var(--sleyembed-row-card-width)), 64px);
    scrollbar-gutter: stable both-edges;
}

.sleyembed-events--grid.sleyembed-events--grid-rows .sleyembed-card {
    scroll-snap-align: start;
}

@media (hover: hover) and (pointer: fine) {
    .sleyembed-events .sleyembed-card:hover,
    .sleyembed-events .sleyembed-card:focus-within {
        transform: perspective(1000px) translateY(-2px) scale(1.01) rotateX(0.4deg) rotateY(-0.6deg);
        border-color: #d1d5db;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sleyembed-card,
    .sleyembed-button,
    .sleyembed-card__actions a,
    .sleyembed-fragment__content,
    .sleyembed-switch__track,
    .sleyembed-switch__track::after,
    #sley-events-clear {
        transition: none;
    }

    .sleyembed-events .sleyembed-card:hover,
    .sleyembed-events .sleyembed-card:focus-within {
        transform: none;
    }
}

.sleyembed-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    font-size: 14px;
    line-height: 1.35;
    color: #111827;
}

.sleyembed-card__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.sleyembed-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    gap: 5px;
}

.sleyembed-badge__icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    font-size: 0;
    line-height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.sleyembed-badge__icon::before {
    content: none !important;
}

.sleyembed-badge__label {
    line-height: 1;
}

.sleyembed-badge--day {
    background: #084f3f;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.sleyembed-badge--time {
    background: #0c7a60;
    color: #fff;
}

.sleyembed-badge--live {
    background: #b91c1c;
    color: #fff;
    letter-spacing: .01em;
}

.sleyembed-badge--city {
    background: #357b62;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fa-solid.fa-map-pin.sleyembed-badge__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-5.7 7-12a7 7 0 1 0-14 0c0 6.3 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.fa-regular.fa-calendar.sleyembed-badge__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.fa-regular.fa-clock.sleyembed-badge__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.sleyembed-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.sleyembed-card__subtitle {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

.sleyembed-card__kv {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.sleyembed-card__kv span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.sleyembed-card__kv strong {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.sleyembed-card__speaker {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.sleyembed-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sleyembed-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
}

.sleyembed-card__desc {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
}

.sleyembed-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.sleyembed-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    background: #0b6a55;
    color: #fff;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sleyembed-card__actions .sleyembed-card__action--secondary {
    background: #e8f3ef;
    color: #0b6a55;
}

.sleyembed-card__actions a:hover,
.sleyembed-card__actions a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    background: #095544;
}

.sleyembed-card__actions .sleyembed-card__action--secondary:hover,
.sleyembed-card__actions .sleyembed-card__action--secondary:focus-visible {
    background: #dcebe6;
    color: #084f3f;
}

.sleyembed-action__icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    line-height: 0;
}

.sleyembed-action__label {
    line-height: 1;
}

.sleyembed-action__icon--details {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}

.sleyembed-action__icon--calendar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E");
}

.sleyembed-action__icon--share {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-8-7 18-3-7-8-3z'/%3E%3C/svg%3E");
}

.sleyembed-card__action--secondary .sleyembed-action__icon--route {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6a55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E");
}

.sleyembed-events__more {
    text-align: left;
    padding: 16px 0;
}

.sleyembed-button {
    display: inline-block;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background-color .15s ease, box-shadow .15s ease, transform .02s ease-in-out, color .15s ease;
}

.sleyembed-button--more {
    padding: 10px 20px;
    background-color: #084f3f;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.sleyembed-button--more:hover {
    background-color: #063d31;
    color: #fff;
    text-decoration: none;
}

.sleyembed-button--more:active {
    transform: translateY(1px);
}

.sleyembed-button--more:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 79, 63, 0.25);
}

/* Admin */
.sleyembed-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sleyembed-admin__form {
    flex: 1;
    min-width: 300px;
}

.sleyembed-admin__preview {
    flex: 1;
    min-width: 300px;
}

.sleyembed-admin__other-field {
    display: none;
    margin-top: 6px;
}

.sleyembed-admin__form .description code {
    white-space: nowrap;
}

.sleyembed-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.sleyembed-switch__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sleyembed-switch__track {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #b5c7c1;
    transition: background-color .2s ease;
    flex: 0 0 auto;
}

.sleyembed-switch__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
    transition: transform .2s ease;
}

.sleyembed-switch__input:checked + .sleyembed-switch__track {
    background: #084f3f;
}

.sleyembed-switch__input:checked + .sleyembed-switch__track::after {
    transform: translateX(20px);
}

.sleyembed-switch__input:focus-visible + .sleyembed-switch__track {
    outline: 2px solid #084f3f;
    outline-offset: 2px;
}

.sleyembed-switch__label {
    color: #1d2d29;
}

#sley-events-clear {
    margin-left: 10px;
    background-color: #d63638;
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color .15s ease, transform .02s ease-in-out;
}

#sley-events-clear:hover {
    background-color: #b32d2e;
}

#sley-events-clear:active {
    transform: translateY(1px);
}

#sley-events-clear:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.25);
}

@media (max-width: 600px) {
    .sleyembed-admin {
        flex-direction: column;
    }

    .sleyembed-card {
        padding: 16px;
    }

    .sleyembed-card__title {
        font-size: 16px;
    }

    .sleyembed-button--more {
        padding: 8px 16px;
        font-size: 13px;
    }

    .sleyembed-search {
        margin-bottom: 12px;
    }

    .sleyembed-map {
        min-height: 300px;
    }

    .sleyembed-search .sleyembed-search__input[type="text"],
    .sleyembed-search .sleyembed-search__input[type="search"] {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 16px;
    }

    .sleyembed-card__actions a {
        padding: 5px 8px;
        font-size: 11px;
    }

    .sleyembed-events--grid .sleyembed-events__items {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sleyembed-events--grid .sleyembed-card {
        padding: 16px;
    }
}
