
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

/* Main schedule */
.gn-schedule {
    width: 100%;
    box-sizing: border-box;
    background: #000000;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
}

.gn-schedule *,
.gn-schedule *::before,
.gn-schedule *::after {
    box-sizing: border-box;
}

/* Calendar navigation */
.gn-schedule .gn-schedule-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    background: #000000;
    border-bottom: 1px solid #444444;
    scrollbar-width: thin;
}

/* Calendar buttons */
.gn-schedule .gn-tab {
    flex: 1 0 auto;
    min-width: 95px;
    margin: 0;
    padding: 20px 15px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: #000000;
    color: #aaaaaa;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.gn-schedule .gn-tab:hover {
    background: #1c1c1c;
    color: #ffffff;
}

/* Active calendar tab */
.gn-schedule .gn-tab.active,
.gn-schedule .gn-tab.active:hover {
    background: #232323;
    border-bottom: 3px solid #FF5C8A;
    color: #ffffff;
    font-weight: 700;
}

/* Event day containers */
.gn-schedule .gn-day {
    display: none;
    background: #000000;
}

.gn-schedule .gn-day.visible {
    display: block;
}

/* Date and time headings */
.gn-schedule .gn-day h2,
.gn-schedule .gn-time-heading {
    display: block;
    margin: 0;
    padding: 22px 30px;
    background: #171717;
    color: #ffffff;
    font-family: "Nohemi", "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
}

/* Event accordion */
.gn-schedule .gn-event-accordion {
    display: block;
    margin: 0;
    padding: 0;
    background: #000000;
    border-bottom: 1px solid #454545;
    color: #ffffff;
}

/* Clickable event header */
.gn-schedule .gn-event-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 22px 30px;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
}

/* Remove default disclosure arrow */
.gn-schedule .gn-event-summary::-webkit-details-marker {
    display: none;
}

.gn-schedule .gn-event-summary::marker {
    content: "";
}

/* Event information */
.gn-schedule .gn-event-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    min-width: 0;
}

/* Event title */
.gn-schedule .gn-event-title {
    display: block;
    color: #ffffff;
    font-family: "Nohemi", "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
}

/* Event time and location container */
.gn-schedule .gn-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin-top: 6px;
}

/* Event time */
.gn-schedule .gn-event-time {
    display: block;
    color: #dddddd;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Event location */
.gn-schedule .gn-event-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cccccc;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Location icon */
.gn-schedule .gn-event-location svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Plus and minus icon */
.gn-schedule .gn-event-toggle {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Horizontal line */
.gn-schedule .gn-event-toggle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 22px;
    height: 2px;
    background: #ffffff;
}

/* Vertical line */
.gn-schedule .gn-event-toggle::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 22px;
    background: #ffffff;
    transition: transform 0.2s ease;
}

/* Minus icon when expanded */
.gn-schedule .gn-event-accordion[open] .gn-event-toggle::after {
    transform: rotate(90deg);
}

/* Accordion hover */
.gn-schedule .gn-event-summary:hover {
    background: #171717;
}

/* Expanded accordion header */
.gn-schedule .gn-event-accordion[open] .gn-event-summary {
    background: #171717;
}

/* Expanded accordion details */
.gn-schedule .gn-event-accordion .gn-event-details {
    display: block;
    width: 100%;
    padding: 24px 30px;
    box-sizing: border-box;
    background: #232323;
    color: #ffffff;
    border-top: 1px solid #444444;
    font-family: "Open Sans", sans-serif;
}

/* General text inside event details */
.gn-schedule .gn-event-details p {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: none;
}

.gn-schedule .gn-event-details p:last-child {
    margin-bottom: 0;
}

/* Headings inside details */
.gn-schedule .gn-event-details h3 {
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Nohemi", "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Bold text */
.gn-schedule .gn-event-details strong {
    font-weight: 700;
}

/* Italic text */
.gn-schedule .gn-event-details em {
    font-style: italic;
}

/* Underlined session headings */
.gn-schedule .gn-event-details u {
    text-underline-offset: 3px;
}

/* Individual workshop and talk blocks */
.gn-schedule .gn-workshop {
    margin: 0 0 24px;
    padding: 0;
}

/* Workshop or talk title with time */
.gn-schedule .gn-event-details .gn-workshop p:first-child {
    margin: 0 0 8px;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
}

/* Workshop or talk description */
.gn-schedule .gn-event-details .gn-workshop p:nth-child(2) {
    margin: 0;
    padding: 0;
    color: #dddddd;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* Remove extra spacing after last workshop */
.gn-schedule .gn-workshop:last-child {
    margin-bottom: 0;
}

/* Important workshop notice */
.gn-schedule .gn-workshop-notice {
    margin-top: 36px;
    padding: 24px 28px;
    background: #303030;
    border-left: 3px solid #FF5C8A;
    font-family: "Open Sans", sans-serif;
}

/* Important notice title */
.gn-schedule .gn-workshop-notice p:first-child {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

/* Important notice paragraphs */
.gn-schedule .gn-workshop-notice p {
    margin: 0 0 18px;
    color: #eeeeee;
    font-size: 14px;
    line-height: 1.7;
}

.gn-schedule .gn-workshop-notice p:last-child {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .gn-schedule .gn-tab {
        min-width: 90px;
        padding: 18px 12px;
        font-size: 14px;
    }

    .gn-schedule .gn-event-title {
        font-size: 20px;
    }

    .gn-schedule .gn-event-summary {
        padding: 20px 24px;
    }

    .gn-schedule .gn-event-accordion .gn-event-details {
        padding: 22px 24px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gn-schedule .gn-tab {
        min-width: 80px;
        padding: 16px 12px;
        font-size: 14px;
    }

    .gn-schedule .gn-day h2,
    .gn-schedule .gn-time-heading {
        padding: 18px;
        font-size: 23px;
    }

    .gn-schedule .gn-event-summary {
        gap: 15px;
        padding: 18px;
    }

    .gn-schedule .gn-event-title {
        font-size: 17px;
    }

    .gn-schedule .gn-event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .gn-schedule .gn-event-time,
    .gn-schedule .gn-event-location {
        font-size: 12px;
    }

    .gn-schedule .gn-event-accordion .gn-event-details {
        padding: 18px;
    }

    .gn-schedule .gn-event-details p {
        font-size: 13px;
        line-height: 1.6;
    }

    .gn-schedule .gn-event-details .gn-workshop p:first-child {
        font-size: 14px;
    }

    .gn-schedule .gn-event-details .gn-workshop p:nth-child(2) {
        font-size: 13px;
    }

    .gn-schedule .gn-workshop {
        margin-bottom: 20px;
    }

    .gn-schedule .gn-workshop-notice {
        padding: 18px;
        margin-top: 24px;
    }

    .gn-schedule .gn-workshop-notice p {
        font-size: 13px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gn-schedule .gn-tab,
    .gn-schedule .gn-event-toggle::after {
        transition: none;
    }
}
