/* Helmful Sync – single show & event page templates */

body .helmful-boat-shows-shell .helmful-sync-main{
    width: 100%;
}

body .helmful-boat-shows-shell .helmful-template{
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    box-sizing: border-box;
}

/* Hide default theme post chrome on our singles */
body.helmful-sync-single .entry-meta,
body.helmful-sync-single .post-meta,
body.helmful-sync-single .posted-on,
body.helmful-sync-single .entry-footer,
body.helmful-sync-single .comments-area {
    display: none !important;
}

body.helmful-sync-single .entry-title,
body.helmful-sync-single .page-title,
body.helmful-sync-single h1.wp-block-post-title {
    display: none !important;
}

body.helmful-sync-no-sidebar.helmful-sync-single .site-main,
body.helmful-sync-no-sidebar.helmful-sync-single .content-area {
    width: 100%;
    max-width: none;
}

body .helmful-boat-shows-shell .helmful-breadcrumb{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
    font-size: 0.85rem;
    color: var(--helmful-muted, #50575e);
}

body .helmful-boat-shows-shell .helmful-breadcrumb a{
    color: var(--helmful-accent, #1d3557);
    text-decoration: none;
    font-weight: 600;
}

body .helmful-boat-shows-shell .helmful-breadcrumb a:hover{
    text-decoration: underline;
    text-underline-offset: 2px;
}

body .helmful-boat-shows-shell .helmful-breadcrumb span[aria-hidden="true"]{
    opacity: 0.45;
}

body .helmful-boat-shows-shell .helmful-single-hero{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--helmful-border, #e2e5e9);
    border-radius: calc(var(--helmful-card-radius, 12px) + 4px);
    background: linear-gradient(135deg, #ffffff 0%, var(--helmful-surface, #f8f9fb) 100%);
    box-shadow: var(--helmful-card-shadow, 0 2px 8px rgba(16, 24, 40, 0.07));
}

body .helmful-boat-shows-shell .helmful-single-hero--event{
    align-items: flex-start;
}

body .helmful-boat-shows-shell .helmful-single-hero__logo{
    width: 7rem;
    height: 7rem;
    border-radius: 16px;
    border: 1px solid var(--helmful-border, #e2e5e9);
    background: #fff;
    padding: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}

body .helmful-boat-shows-shell .helmful-single-hero__logo-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body .helmful-boat-shows-shell .helmful-single-eyebrow{
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--helmful-accent, #1d3557);
}

body .helmful-boat-shows-shell .helmful-single-eyebrow a{
    color: inherit;
    text-decoration: none;
}

body .helmful-boat-shows-shell .helmful-single-eyebrow a:hover{
    text-decoration: underline;
}

body .helmful-boat-shows-shell .helmful-single-title{
    margin: 0 0 0.65rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.15;
    color: #1d2327;
}

body .helmful-boat-shows-shell .helmful-single-intro{
    color: var(--helmful-muted, #50575e);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 42rem;
}

body .helmful-boat-shows-shell .helmful-single-intro p{
    margin: 0 0 0.5em;
}

body .helmful-boat-shows-shell .helmful-single-section{
    margin-top: 0.5rem;
}

body .helmful-boat-shows-shell .helmful-countdown{
    margin: 0 0 2rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid color-mix(in srgb, var(--helmful-accent, #1d3557) 18%, white);
    border-radius: calc(var(--helmful-card-radius, 12px) + 4px);
    background: linear-gradient(135deg, #ffffff 0%, var(--helmful-accent-light, #e8eef5) 100%);
    box-shadow: var(--helmful-card-shadow, 0 2px 8px rgba(16, 24, 40, 0.07));
}

body .helmful-boat-shows-shell .helmful-countdown__eyebrow{
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--helmful-accent, #1d3557);
}

body .helmful-boat-shows-shell .helmful-countdown__event-name{
    margin: 0 0 0.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.3;
}

body .helmful-boat-shows-shell .helmful-countdown__event-date{
    margin: 0 0 1.1rem;
    color: var(--helmful-muted, #50575e);
    font-size: 0.92rem;
}

body .helmful-boat-shows-shell .helmful-countdown__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

body .helmful-boat-shows-shell .helmful-countdown__cell{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

body .helmful-boat-shows-shell .helmful-countdown__value{
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1;
    color: var(--helmful-accent, #1d3557);
    font-variant-numeric: tabular-nums;
}

body .helmful-boat-shows-shell .helmful-countdown__label{
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--helmful-muted, #50575e);
}

body .helmful-boat-shows-shell .helmful-countdown__elapsed{
    margin: 1rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--helmful-accent, #1d3557);
}

body .helmful-boat-shows-shell .helmful-countdown--elapsed .helmful-countdown__grid{
    display: none;
}

body .helmful-boat-shows-shell .helmful-event-status{
    margin: 0 0 1.5rem;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    width: fit-content;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body .helmful-boat-shows-shell .helmful-event-status--past{
    color: var(--helmful-muted, #50575e);
    background: var(--helmful-surface, #f8f9fb);
    border: 1px solid var(--helmful-border, #e2e5e9);
}

body .helmful-boat-shows-shell .helmful-event-group{
    margin-bottom: 1.75rem;
}

body .helmful-boat-shows-shell .helmful-event-group:last-child{
    margin-bottom: 0;
}

body .helmful-boat-shows-shell .helmful-event-group__title{
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--helmful-accent, #1d3557);
}

body .helmful-boat-shows-shell .helmful-event-group--past .helmful-event-group__title{
    color: var(--helmful-muted, #50575e);
}

body .helmful-boat-shows-shell .helmful-single-section__head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--helmful-accent-light, #e8eef5);
}

body .helmful-boat-shows-shell .helmful-single-section__head h2,body .helmful-boat-shows-shell .helmful-single-section__title{
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #1d2327;
}

body .helmful-boat-shows-shell .helmful-single-section__head p{
    margin: 0;
    color: var(--helmful-muted, #50575e);
    font-size: 0.9rem;
}

body .helmful-boat-shows-shell .helmful-event-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

body .helmful-boat-shows-shell .helmful-event-card{
    border: 1px solid var(--helmful-border, #e2e5e9);
    border-radius: var(--helmful-card-radius, 12px);
    padding: 1.15rem;
    background: #fff;
    box-shadow: var(--helmful-card-shadow, 0 2px 8px rgba(16, 24, 40, 0.07));
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body .helmful-boat-shows-shell .helmful-event-card:hover{
    border-color: color-mix(in srgb, var(--helmful-accent, #1d3557) 35%, white);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

body .helmful-boat-shows-shell .helmful-event-card--past{
    background: var(--helmful-surface, #f8f9fb);
    opacity: 0.92;
}

body .helmful-boat-shows-shell .helmful-event-card--past:hover{
    box-shadow: var(--helmful-card-shadow, 0 2px 8px rgba(16, 24, 40, 0.07));
}

body .helmful-boat-shows-shell .helmful-event-card__badges{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

body .helmful-boat-shows-shell .helmful-event-card__badge{
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body .helmful-boat-shows-shell .helmful-event-card__badge--upcoming{
    color: var(--helmful-accent, #1d3557);
    background: var(--helmful-accent-light, #e8eef5);
}

body .helmful-boat-shows-shell .helmful-event-card__badge--past{
    color: var(--helmful-muted, #50575e);
    background: #fff;
    border: 1px solid var(--helmful-border, #e2e5e9);
}

body .helmful-boat-shows-shell .helmful-event-card__top{
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

body .helmful-boat-shows-shell .helmful-event-card__headline{
    min-width: 0;
    flex: 1;
}

body .helmful-boat-shows-shell .helmful-event-card__title{
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #1d2327;
}

body .helmful-boat-shows-shell .helmful-event-card__year{
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--helmful-accent, #1d3557);
}

body .helmful-boat-shows-shell .helmful-event-card__meta{
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.35em;
    color: var(--helmful-muted, #50575e);
    font-size: 0.88rem;
    line-height: 1.45;
}

body .helmful-boat-shows-shell .helmful-event-card .helmful-event__links{
    margin-top: auto;
    padding-top: 0.35rem;
}

body .helmful-boat-shows-shell .helmful-detail-grid{
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--helmful-border, #e2e5e9);
    border-radius: var(--helmful-card-radius, 12px);
    background: #fff;
    box-shadow: var(--helmful-card-shadow, 0 2px 8px rgba(16, 24, 40, 0.07));
}

body .helmful-boat-shows-shell .helmful-detail-grid__row{
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0.75rem 1rem;
    align-items: baseline;
}

body .helmful-boat-shows-shell .helmful-detail-grid dt{
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8c8f94;
}

body .helmful-boat-shows-shell .helmful-detail-grid dd{
    margin: 0;
    font-size: 0.98rem;
    color: #1d2327;
    line-height: 1.5;
}

body .helmful-boat-shows-shell .helmful-single-back{
    margin-top: 1.25rem;
}

@media (max-width: 720px) {
    body .helmful-boat-shows-shell .helmful-single-hero{
        grid-template-columns: 1fr;
        text-align: left;
    }

    body .helmful-boat-shows-shell .helmful-single-hero__logo{
        width: 5.5rem;
        height: 5.5rem;
    }

    body .helmful-boat-shows-shell .helmful-countdown__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .helmful-boat-shows-shell .helmful-detail-grid__row{
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}
