﻿.mobile-calendar__event-card.format-modern {
    border-left: 10px solid var(--format-modern);
}

    .mobile-calendar__event-card.format-modern:hover {
        box-shadow: 0 0 10px var(--format-modern);
    }

.mobile-calendar__event-card.format-premodern {
    border-left: 10px solid var(--format-premodern);
}

    .mobile-calendar__event-card.format-premodern:hover {
        box-shadow: 0 0 10px var(--format-premodern);
    }

.mobile-calendar__event-card.format-draft {
    border-left: 10px solid var(--format-draft);
}

    .mobile-calendar__event-card.format-draft:hover {
        box-shadow: 0 0 10px var(--format-draft);
    }

.mobile-calendar__event-card.format-sealed {
    border-left: 10px solid var(--format-sealed);
}

    .mobile-calendar__event-card.format-sealed:hover {
        box-shadow: 0 0 10px var(--format-sealed);
    }

.mobile-calendar__event-card.format-standard {
    border-left: 10px solid var(--format-standard);
}

    .mobile-calendar__event-card.format-standard:hover {
        box-shadow: 0 0 10px var(--format-standard);
    }

.mobile-calendar__event-card.format-pioneer {
    border-left: 10px solid var(--format-pioneer);
}

    .mobile-calendar__event-card.format-pioneer:hover {
        box-shadow: 0 0 10px var(--format-pioneer);
    }

.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

.mobile-calendar__navigation {
    display: flex;
    align-items: stretch;
    margin: 30px 0;
    width: 100%;
}

.mobile-calendar__navigation .nav-button {
    background-color: #111;
    color: #fff;
    border: 1px solid #444;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px 20px;
}

.mobile-calendar__current-month {
    flex: 1;
    text-align: center;
    border-left: none;
    border-right: none;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

    .mobile-calendar__navigation .nav-button:disabled {
        background-color: #222;
        color: #888;
        cursor: not-allowed;
    }

.mobile-calendar__events-container {
    padding: 20px;
}

.mobile-calendar__event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    font-family: var(--font-family-primary, sans-serif);
}

.mobile-calendar__event-month {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 4px;
}

.mobile-calendar__event-card {
    display: flex;
    flex-direction: row;
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease;
}

    .mobile-calendar__event-card:hover {
        transform: scale(1.01);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    }

.mobile-calendar__event-img-container {
    flex-shrink: 0;
    width: 120px;
    height: 100%;
    overflow: hidden;
}

    .mobile-calendar__event-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mobile-calendar__event-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #333;
}

    .mobile-calendar__event-info h5 {
        font-size: 1rem;
        font-weight: bold;
        color: #111;
        margin: 0;
    }

.calendar__event-time {
    font-size: 0.9rem;
    color: #555;
}

.mobile-calendar__event-info p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.85rem;
}

.mobile-calendar__event-code-label {
    font-size: 0.85rem;
    color: #444;
    margin-top: auto;
}

    .mobile-calendar__event-code-label span {
        font-weight: bold;
        color: #000;
    }

.mobile-calendar__no-events {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-top: 20px;
}

.event-img--wide,
.event-img--square {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-img--square {
    display: block;
}

@media (max-width: 768px) {
    .mobile-calendar__event-card {
        flex-direction: column;
    }

    .mobile-calendar__event-img-container {
        width: 100%;
        height: 180px;
    }

    .event-img--square {
        display: none;
    }

    .event-img--wide {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-calendar__event-card {
        flex-direction: column;
    }

    .mobile-calendar__event-img-container {
        width: 100%;
        height: 180px;
    }

    .event-img--square {
        display: block;
    }

    .event-img--wide {
        display: none;
    }
}
