/* ---- Barlow Font ---- */
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* =============================================================
   Simple Event Calendar – Frontend Styles
   Version: 1.2.0
   ============================================================= */

/* ---- Calendar wrapper ---- */
.sec-calendar {
    font-family: inherit;
    max-width: 900px;
    margin: 0 auto;
    color: #111;
}

/* ---- Subscribe bar ---- */
.sec-subscribe {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
    font-size: 0.875rem;
    color: #555;
}

.sec-subscribe-label {
    flex: 1;
}

.sec-btn {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.15s;
    border: 1px solid #999;
    color: #333 !important;
    background: transparent;
}

.sec-btn:hover {
    opacity: 0.65;
}

/* ---- Month group ---- */
.sec-month-group {
    margin-bottom: 40px;
}

.sec-month-heading {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    color: #555;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.sec-month-heading span {
    flex-shrink: 0;
}

.sec-month-heading::after {
    content: "";
    display: block;
    height: 1px;
    background: #ccc;
    flex: 1;
}

/* ---- Event list item ---- */
.sec-event-item {
    display: flex;
    gap: 0;
    padding: 24px 0 8px 0;
    text-decoration: none !important;
    color: inherit !important;
}

.sec-event-item:hover .sec-event-title {
    text-decoration: underline;
}

/* ---- Date column ---- */
.sec-event-date-col {
    width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.sec-weekday {
    font-size: 0.8125rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 2px;
}

.sec-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

/* ---- Event body ---- */
.sec-event-body {
    flex: 1;
    min-width: 0;
}

.sec-event-dateline {
    font-size: 0.8125rem;
    line-height: 1;
    color: #777;
    margin-bottom: 4px;
}

.sec-event-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
    color: #111;
    font-family: 'Barlow', sans-serif;
}

.sec-event-location {
    font-size: 0.875rem;
    color: #444;
    margin-bottom: 6px;
}

.sec-event-description {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.65;
    margin-bottom: 10px;
}

.sec-event-description p {
    margin: 0 0 6px 0;
}

.sec-no-events {
    color: #888;
    font-style: italic;
    padding: 32px 0;
}

/* ---- Copy-link toast ---- */
.sec-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #111;
    color: #fff;
    padding: 10px 22px;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    z-index: 9999;
}

.sec-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Single event view ---- */
.sec-back-link {
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
}

.sec-back-link:hover {
    color: #111;
    text-decoration: underline;
}

.sec-single-event {
    margin-top: 24px;
}

.sec-single-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 12px;
}

.sec-single-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
    font-family: 'Barlow', sans-serif;
}

.sec-single-location {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f7f7f7;
    border-left: 3px solid #ccc;
}

.sec-single-description {
    font-size: 1rem;
    color: #222;
    line-height: 1.75;
}

.sec-single-description p {
    margin: 0 0 1em 0;
}

/* ---- Responsive ---- */
@media (max-width: 540px) {
    .sec-event-date-col {
        width: 64px;
    }

    .sec-day {
        font-size: 1.4rem;
    }

    .sec-single-title {
        font-size: 1.5rem;
    }
}

/* ---- Read more indicator ---- */
.sec-read-more {
    display: inline-block;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
}

/* ---- Blockquote in single event ---- */
.sec-single-description blockquote {
    position: relative;
    margin: 2rem auto;
    max-width: 680px;
    padding: 2rem 2.5rem 2rem 3.5rem;
    background: linear-gradient(135deg, #fff8f8 0%, #fff0f0 100%);
    border-left: 4px solid #ff0000;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 24px rgba(255, 0, 0, 0.08);
    font-size: 1.2rem;
    font-style: italic;
    color: #2d1a1a;
    line-height: 1.75;
}
.sec-single-description blockquote::before {
    content: "\201C";
    position: absolute;
    top: -0.25rem;
    left: 1rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: #ff0000;
    opacity: 0.4;
    line-height: 1;
    pointer-events: none;
}
.sec-single-description blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    color: #cc0000;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sec-single-description blockquote cite::before {
    content: "— ";
}
