/* =============================================================
   OYB Winery Events — owe-style.css
   Version: 2.1.0
   Date-list layout. Brand colours: navy #0D324C, amber #F69A1D.
   ============================================================= */

.owe-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.owe-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e3e5e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.04 );
}

/* ---------- Date block ---------- */

.owe-dateblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 88px;
    min-height: 88px;
    border-radius: 6px;
    background: #0D324C;
    color: #ffffff;
    text-align: center;
    line-height: 1;
}

.owe-dow,
.owe-mon {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.owe-day {
    font-size: 34px;
    font-weight: 700;
    margin: 4px 0;
}

/* Today / this weekend: amber block, navy text. */
.owe-row-soon {
    border-color: #F69A1D;
}

.owe-row-soon .owe-dateblock {
    background: #F69A1D;
    color: #0D324C;
}

/* ---------- Body ---------- */

.owe-body p {
    padding-bottom: 0;
}

.owe-badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #F69A1D;
    color: #0D324C;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.owe-body .owe-winery-name {
    margin: 0 0 2px;
    padding: 0;
    font-size: 20px;
    line-height: 1.25;
    color: #0D324C;
}

.owe-winery-name a {
    color: #0D324C;
    text-decoration: none;
}

.owe-winery-name a:hover,
.owe-winery-name a:focus-visible {
    text-decoration: underline;
}

.owe-meta {
    margin: 0;
    color: #0D324C;
    font-weight: 600;
}

.owe-times,
.owe-entry {
    white-space: nowrap;
}

.owe-entry {
    font-weight: 400;
    color: #6B6F72;
}

.owe-act {
    margin: 4px 0 0;
    color: #333333;
}

.owe-act-name {
    font-style: italic;
}

.owe-act-desc {
    color: #6B6F72;
}

.owe-description {
    margin: 4px 0 0;
    color: #6B6F72;
}

.owe-links {
    margin: 6px 0 0;
    font-size: 15px;
}

.owe-links a {
    color: #6B6F72;
    margin-right: 16px;
}

.owe-links a:hover,
.owe-links a:focus-visible {
    color: #0D324C;
}

/* ---------- Button ---------- */

.owe-button {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #F69A1D;
    border-radius: 6px;
    background: #ffffff;
    color: #0D324C;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.owe-button:hover,
.owe-button:focus-visible {
    background: #F69A1D;
    color: #0D324C;
}

.owe-empty {
    color: #6B6F72;
}

/* ---------- Mobile ---------- */

@media ( max-width: 767px ) {
    .owe-row {
        grid-template-columns: 72px 1fr;
        gap: 16px;
        align-items: start;
    }

    .owe-dateblock {
        width: 72px;
        min-height: 72px;
    }

    .owe-day {
        font-size: 28px;
    }

    .owe-action {
        grid-column: 1 / -1;
    }

    .owe-button {
        display: block;
        text-align: center;
    }
}
