/* Hachinohe JR public styles */
.hjrsm-roster {
    margin: 0 0 30px;
    border-top: 6px solid #d83a3a;
    background: transparent;
}
.hjrsm-roster-title {
    margin: 0 !important;
    padding: 10px 13px;
    background: #333;
    color: #fff !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}
.hjrsm-table-wrap { width: 100%; overflow-x: auto; }
.hjrsm-player-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0;
    table-layout: fixed;
    background: #f4f4f4;
    border: 1px solid #d7d7d7;
}
.hjrsm-player-table th,
.hjrsm-player-table td {
    padding: 8px 10px;
    border: 1px solid #d7d7d7 !important;
    background: #f4f4f4;
    color: #222;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}
.hjrsm-player-table th { background: #f1f1f1; }
.hjrsm-player-table .hjrsm-col-player { width: 62%; }
.hjrsm-player-table .hjrsm-col-position { width: 25%; text-align: center; white-space: nowrap; }
.hjrsm-player-table .hjrsm-col-grade { width: 13%; text-align: center; white-space: nowrap; }
.hjrsm-player-table .hjrsm-col-number { width: 12%; text-align: center; white-space: nowrap; }
.hjrsm-player-entry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
}
.hjrsm-player-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}
.hjrsm-player-thumb img {
    display: block;
    width: 18px !important;
    height: 25px !important;
    max-width: none !important;
    object-fit: cover;
    margin: 0 !important;
    border: 0 !important;
}
.hjrsm-player-name a {
    color: #c95358;
    text-decoration: none;
}
.hjrsm-player-name a:hover,
.hjrsm-player-name a:focus {
    color: #a53e43;
    text-decoration: underline;
}

.hjrsm-schedule-table,
.hjrsm-event-details,
.hjrsm-results-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.hjrsm-schedule-table th,
.hjrsm-schedule-table td,
.hjrsm-event-details th,
.hjrsm-event-details td,
.hjrsm-results-table th,
.hjrsm-results-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}
.hjrsm-event-cards { display: grid; gap: 14px; }
.hjrsm-event-card { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.hjrsm-event-card h4 { margin: 5px 0 0; }
.hjrsm-event-date,
.hjrsm-event-time,
.hjrsm-event-meta { font-size: .92em; }
.hjrsm-event-score { margin: 5px 0; font-size: 1.75em; font-weight: 700; line-height: 1.1; }
.hjrsm-single-event > h4,
.hjrsm-venue-block > h4,
.hjrsm-related-events > h4 { margin-top: 24px; margin-bottom: 8px; }
.hjrsm-map iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.hjrsm-player-single { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.hjrsm-player-single img { max-width: 220px; height: auto; }
.hjrsm-player-single dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.hjrsm-player-single dt { font-weight: 700; }
.hjrsm-player-single dd { margin: 0; }
.hjrsm-related-events ul { margin-left: 1.2em; }
.hjrsm-related-events li { margin-bottom: 5px; }
.hjrsm-related-events span { opacity: .7; margin-left: .5em; }

@media (max-width: 600px) {
    .hjrsm-player-table th,
    .hjrsm-player-table td { padding: 7px 7px; font-size: 12px; }
    .hjrsm-player-table .hjrsm-col-player { width: 60%; }
    .hjrsm-player-table .hjrsm-col-position { width: 26%; }
    .hjrsm-player-table .hjrsm-col-grade { width: 14%; }
    .hjrsm-schedule-table th,
    .hjrsm-schedule-table td,
    .hjrsm-event-details th,
    .hjrsm-event-details td,
    .hjrsm-results-table th,
    .hjrsm-results-table td { padding: 7px 6px; }
    .hjrsm-player-single { display: block; }
    .hjrsm-player-single img { margin-bottom: 14px; }
}


/* Player single: show the English name directly under the Japanese title. */
.hjrsm-player-title-english {
    display: block;
    margin-top: 4px;
    font-size: 0.52em;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Player single: hide the theme-generated post date/meta bar below the player title. */
body.single-hjr_player .entry-meta,
body.single-hjr_player .post-meta,
body.single-hjr_player .posted-on,
body.single-hjr_player .post-date,
body.single-hjr_player .entry-date,
body.single-hjr_player time.entry-date,
body.single-hjr_player .date {
    display: none !important;
}


/* Player single: aggressively hide common theme date/meta wrappers under the title. */
body.single-hjr_player .entry-header .entry-meta,
body.single-hjr_player .entry-header .post-meta,
body.single-hjr_player .entry-header .postmetadata,
body.single-hjr_player .entry-header .posted-on,
body.single-hjr_player .entry-header .post-date,
body.single-hjr_player .entry-header .post_date,
body.single-hjr_player .entry-header .entry-date,
body.single-hjr_player .entry-header .meta-date,
body.single-hjr_player .post-header .entry-meta,
body.single-hjr_player .post-header .post-meta,
body.single-hjr_player .post-header .post-date,
body.single-hjr_player .post-header .post_date,
body.single-hjr_player .article-header .entry-meta,
body.single-hjr_player .article-header .post-meta,
body.single-hjr_player .article-header .post-date,
body.single-hjr_player .article-header .post_date {
    display: none !important;
}

/* Staff */
.hjrsm-staff-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0;
    background: #f4f4f4;
    border: 1px solid #d7d7d7;
}
.hjrsm-staff-table th,
.hjrsm-staff-table td {
    padding: 8px 10px;
    border: 1px solid #d7d7d7 !important;
    background: #f4f4f4;
    color: #222;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 400;
}
.hjrsm-staff-table th { background: #f1f1f1; }
.hjrsm-staff-table th:first-child,
.hjrsm-staff-table td:first-child { width: 65%; }
.hjrsm-staff-thumb {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px !important;
}

/* Sponsors */
.hjrsm-sponsors {
    display: grid;
    grid-template-columns: repeat(var(--hjrsm-sponsor-columns, 3), minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.hjrsm-sponsor-card {
    display: flex;
    min-height: 110px;
    padding: 14px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.45);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    text-decoration: none !important;
}
.hjrsm-sponsor-logo {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 90px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto !important;
}
.hjrsm-sponsor-name { color: inherit; font-size: 13px; }

@media (max-width: 600px) {
    .hjrsm-sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* v1.6.2: STAFFをPLAYERと同じ枠装飾に統一 */
.hjrsm-staff-section {
    margin-bottom: 30px;
}
.hjrsm-staff-section .hjrsm-staff-table {
    margin-top: 0 !important;
}


/* v1.6.3: RookieテーマのSportsPressスポンサー帯と同じ位置に自動表示 */
.hjrsm-auto-footer-sponsors {
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    padding: 24px 20px;
    clear: both;
}
.hjrsm-footer-sponsors-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 24px;
    align-items: center;
}
.hjrsm-footer-sponsor-item {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.hjrsm-footer-sponsor-logo {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 52px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto !important;
}
@media (max-width: 600px) {
    .hjrsm-auto-footer-sponsors { padding: 18px 14px; }
    .hjrsm-footer-sponsors-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }
    .hjrsm-footer-sponsor-logo { max-height: 46px !important; }
}


/* v1.6.4: GAME RESULTを旧SportsPress表示に近いカードへ戻す */
.hjrsm-game-results-legacy {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    border: 1px solid #dedede;
    box-sizing: border-box;
}
.hjrsm-game-results-legacy .hjrsm-game-result-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 92px;
    align-items: start;
    min-height: 205px;
    padding: 18px 14px 16px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    background: #f4f4f4;
    box-sizing: border-box;
}
.hjrsm-game-results-legacy .hjrsm-game-result-card:last-child {
    border-bottom: 0;
}
.hjrsm-game-result-team {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding-top: 4px;
}
.hjrsm-game-result-team a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.hjrsm-game-result-logo {
    display: block;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: contain;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
}
.hjrsm-game-result-center {
    min-width: 0;
    text-align: center;
    color: #111;
}
.hjrsm-game-result-date {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
}
.hjrsm-game-result-score {
    margin: 0 0 10px;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .03em;
}
.hjrsm-game-result-league,
.hjrsm-game-result-venue {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}
.hjrsm-game-result-title {
    margin: 15px 0 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: center;
}
.hjrsm-game-result-title a {
    color: #cf5156 !important;
    text-decoration: none !important;
}
.hjrsm-game-result-title a:hover,
.hjrsm-game-result-title a:focus {
    color: #a93e43 !important;
    text-decoration: underline !important;
}

/* v1.6.4: SCHEDULEをPLAYERと同じ赤上線・濃灰見出し・枠線に統一 */
.hjrsm-schedule-section {
    margin: 0 0 30px;
    border-top: 6px solid #d83a3a;
    background: transparent;
}
.hjrsm-schedule-title {
    margin: 0 !important;
    padding: 10px 13px;
    background: #333;
    color: #fff !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}
.hjrsm-schedule-section .hjrsm-table-wrap {
    margin: 0;
}
.hjrsm-schedule-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0;
    background: #f4f4f4;
    border: 1px solid #d7d7d7;
}
.hjrsm-schedule-table th,
.hjrsm-schedule-table td {
    padding: 8px 10px;
    border: 1px solid #d7d7d7 !important;
    background: #f4f4f4;
    color: #222;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}
.hjrsm-schedule-table th {
    background: #f1f1f1;
}
.hjrsm-schedule-table a {
    color: #c95358;
    text-decoration: none;
}
.hjrsm-schedule-table a:hover,
.hjrsm-schedule-table a:focus {
    color: #a53e43;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hjrsm-game-results-legacy .hjrsm-game-result-card {
        grid-template-columns: 58px minmax(0, 1fr) 58px;
        min-height: 175px;
        padding: 14px 7px 13px;
    }
    .hjrsm-game-result-logo {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
    }
    .hjrsm-game-result-date { font-size: 15px; margin-bottom: 7px; }
    .hjrsm-game-result-score { font-size: 24px; margin-bottom: 7px; }
    .hjrsm-game-result-league,
    .hjrsm-game-result-venue { font-size: 13px; }
    .hjrsm-game-result-title { margin-top: 11px !important; font-size: 17px !important; }
    .hjrsm-schedule-table th,
    .hjrsm-schedule-table td { padding: 7px 6px; font-size: 12px; }
}


/* v1.6.8: NEXT EVENTを旧SportsPressウィジェットに近い表示へ戻す */
.hjrsm-next-events-legacy {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #f4f4f4;
    border: 1px solid #dedede;
    box-sizing: border-box;
}
.hjrsm-next-events-legacy .hjrsm-next-event-card {
    display: block;
    margin: 0 !important;
    padding: 14px 10px 13px;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    background: #f4f4f4;
    color: #111;
    text-align: center;
    box-sizing: border-box;
}
.hjrsm-next-events-legacy .hjrsm-next-event-card:last-child {
    border-bottom: 0;
}
.hjrsm-next-event-date {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}
.hjrsm-next-event-time {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.hjrsm-next-event-league,
.hjrsm-next-event-venue {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}
.hjrsm-next-event-title {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}
.hjrsm-next-event-title a {
    color: #cf5156 !important;
    text-decoration: none !important;
}
.hjrsm-next-event-title a:hover,
.hjrsm-next-event-title a:focus {
    color: #a93e43 !important;
    text-decoration: underline !important;
}
.hjrsm-home-next-events-widget .hjrsm-next-events-legacy {
    border-top: 0;
}

/* v1.6.9: Homepage NEXT EVENT + GAME RESULT in two columns, like the old SportsPress layout. */
@media screen and (min-width: 601px) {
    .hjrsm-home-next-events-widget {
        box-sizing: border-box !important;
        float: left !important;
        clear: none !important;
        width: 50% !important;
        margin-right: 0 !important;
        vertical-align: top;
    }
    .hjrsm-home-game-results-widget {
        box-sizing: border-box !important;
        float: right !important;
        clear: none !important;
        width: 50% !important;
        margin-left: 0 !important;
        vertical-align: top;
    }
}
@media screen and (max-width: 600px) {
    .hjrsm-home-next-events-widget,
    .hjrsm-home-game-results-widget {
        float: none !important;
        clear: both !important;
        width: 100% !important;
    }
}
.hjrsm-home-view-all {
    margin: 5px 0 12px !important;
    padding: 0 4px !important;
    text-align: right;
    font-size: 11px;
    line-height: 1.4;
}
.hjrsm-home-view-all a {
    color: #a3a3a3 !important;
    text-decoration: none !important;
}
.hjrsm-home-view-all a:hover,
.hjrsm-home-view-all a:focus {
    color: #c95358 !important;
    text-decoration: underline !important;
}

/* SCHEDULE: the date, not the event title, links to the event detail page. */
.hjrsm-schedule-table td:first-child a {
    color: #c95358;
    text-decoration: none;
}
.hjrsm-schedule-table td:first-child a:hover,
.hjrsm-schedule-table td:first-child a:focus {
    color: #a53e43;
    text-decoration: underline;
}

/* GAME RESULT archive pagination. */
.hjrsm-result-pagination {
    margin: 16px 0 24px;
    text-align: center;
}
.hjrsm-result-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hjrsm-result-pagination a,
.hjrsm-result-pagination .current {
    display: inline-block;
    min-width: 30px;
    padding: 5px 8px;
    border: 1px solid #d7d7d7;
    background: #f4f4f4;
    color: #c95358;
    text-decoration: none;
}
.hjrsm-result-pagination .current {
    background: #333;
    color: #fff;
}


/* v1.6.10: Homepage GAME RESULT / NEXT EVENT typography matches SportsPress/Rookie. */
.hjrsm-home-game-results-widget,
.hjrsm-home-next-events-widget {
    font-size: 14px !important;
    line-height: 1.5;
}

/* Rookie's native widget title is 24px. Keep both custom widgets identical. */
.hjrsm-home-game-results-widget .widget-title,
.hjrsm-home-next-events-widget .widget-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
}

/* SportsPress event blocks inherit 14px for dates/body copy. */
.hjrsm-home-game-results-widget .hjrsm-game-result-date,
.hjrsm-home-next-events-widget .hjrsm-next-event-date,
.hjrsm-home-game-results-widget .hjrsm-game-result-league,
.hjrsm-home-game-results-widget .hjrsm-game-result-venue,
.hjrsm-home-next-events-widget .hjrsm-next-event-league,
.hjrsm-home-next-events-widget .hjrsm-next-event-venue {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* SportsPress block result/time is output as h5 in Rookie: 18px. */
.hjrsm-home-game-results-widget .hjrsm-game-result-score,
.hjrsm-home-next-events-widget .hjrsm-next-event-time {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

/* SportsPress event title is output as h4 in Rookie: 20px. */
.hjrsm-home-game-results-widget .hjrsm-game-result-title,
.hjrsm-home-next-events-widget .hjrsm-next-event-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

/* Match SportsPress 'view all' link to the widget's normal 14px text size. */
.hjrsm-home-game-results-widget .hjrsm-home-view-all,
.hjrsm-home-next-events-widget .hjrsm-home-view-all {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Keep the same typography on phones instead of falling back to older custom overrides. */
@media screen and (max-width: 600px) {
    .hjrsm-home-game-results-widget .hjrsm-game-result-date,
    .hjrsm-home-next-events-widget .hjrsm-next-event-date,
    .hjrsm-home-game-results-widget .hjrsm-game-result-league,
    .hjrsm-home-game-results-widget .hjrsm-game-result-venue,
    .hjrsm-home-next-events-widget .hjrsm-next-event-league,
    .hjrsm-home-next-events-widget .hjrsm-next-event-venue {
        font-size: 14px !important;
    }
    .hjrsm-home-game-results-widget .hjrsm-game-result-score,
    .hjrsm-home-next-events-widget .hjrsm-next-event-time {
        font-size: 18px !important;
    }
    .hjrsm-home-game-results-widget .hjrsm-game-result-title,
    .hjrsm-home-next-events-widget .hjrsm-next-event-title {
        font-size: 20px !important;
    }
}


/* v1.6.11: Homepage widgets share the old SportsPress/Rookie card styling. */
.hjrsm-home-game-results-widget,
.hjrsm-home-next-events-widget {
    box-sizing: border-box !important;
    border-top: 4px solid #d83a3a !important;
    background: transparent !important;
}
.hjrsm-home-game-results-widget .widget-title,
.hjrsm-home-next-events-widget .widget-title {
    margin: 0 !important;
    padding: 7px 9px !important;
    min-height: 0 !important;
    background: #333 !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
}
.hjrsm-home-game-results-widget .hjrsm-game-results-legacy,
.hjrsm-home-next-events-widget .hjrsm-next-events-legacy {
    margin: 0 !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 0 !important;
    background: #f4f4f4 !important;
}

/* v1.6.13: GAME RESULT keeps the vertical card; tournament name and matchup title stay on one line. */
.hjrsm-home-game-results-widget .hjrsm-game-result-card {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 72px !important;
    grid-template-rows: auto auto auto auto auto !important;
    align-items: start !important;
    min-height: 185px !important;
    padding: 13px 10px 11px !important;
    border-bottom: 1px solid #d7d7d7 !important;
    background: #f4f4f4 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-card:last-child {
    border-bottom: 0 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-left {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-right {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 2px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-logo {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
}
/* Let the center children participate in the card grid so the title can span all columns. */
.hjrsm-home-game-results-widget .hjrsm-game-result-center {
    display: contents !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-date,
.hjrsm-home-game-results-widget .hjrsm-game-result-score,
.hjrsm-home-game-results-widget .hjrsm-game-result-league,
.hjrsm-home-game-results-widget .hjrsm-game-result-venue {
    grid-column: 2 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-date {
    grid-row: 1 !important;
    margin-bottom: 7px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-score {
    grid-row: 2 !important;
    margin-bottom: 7px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-league {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    margin-top: 2px !important;
    padding: 0 2px !important;
    overflow: hidden !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    font-size: clamp(11px, 1.25vw, 13px) !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-venue {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-title {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 13px 0 0 !important;
    padding: 0 2px !important;
    overflow: hidden !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    font-size: clamp(13px, 1.45vw, 17px) !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-title a {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}

/* NEXT EVENT: same frame / spacing / type scale as GAME RESULT. */
.hjrsm-home-next-events-widget .hjrsm-next-event-card {
    min-height: 72px !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #d7d7d7 !important;
    background: #f4f4f4 !important;
}
.hjrsm-home-next-events-widget .hjrsm-next-event-date,
.hjrsm-home-next-events-widget .hjrsm-next-event-league,
.hjrsm-home-next-events-widget .hjrsm-next-event-venue {
    font-size: 12px !important;
    line-height: 1.3 !important;
}
.hjrsm-home-next-events-widget .hjrsm-next-event-time {
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}
.hjrsm-home-next-events-widget .hjrsm-next-event-title {
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}

.hjrsm-home-game-results-widget .hjrsm-home-view-all,
.hjrsm-home-next-events-widget .hjrsm-home-view-all {
    margin: 0 !important;
    padding: 5px 6px 6px !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 0 !important;
    background: #f4f4f4 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: right !important;
}

@media screen and (max-width: 600px) {
    .hjrsm-home-game-results-widget .hjrsm-game-result-card {
        grid-template-columns: 60px minmax(0, 1fr) 60px !important;
        min-height: 172px !important;
        padding: 11px 7px 10px !important;
    }
    .hjrsm-home-game-results-widget .hjrsm-game-result-logo {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
    }
    .hjrsm-home-game-results-widget .hjrsm-game-result-title {
        font-size: clamp(12px, 4.1vw, 16px) !important;
    }
}

/* v1.6.14: Homepage GAME RESULT frame matches the old SportsPress/NEXT EVENT widget. */
.hjrsm-home-game-results-widget {
    box-sizing: border-box !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 4px solid #d83a3a !important;
    background: transparent !important;
}

.hjrsm-home-game-results-widget .widget-title {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    border: 0 !important;
    background: #333 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
}

.hjrsm-home-game-results-widget .hjrsm-game-results-legacy {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: #f4f4f4 !important;
}

.hjrsm-home-game-results-widget .hjrsm-game-result-card {
    box-sizing: border-box !important;
    margin: 0 !important;
    background: #f4f4f4 !important;
    border: 0 !important;
    border-bottom: 1px solid #d7d7d7 !important;
}

.hjrsm-home-game-results-widget .hjrsm-game-result-card:last-child {
    border-bottom: 0 !important;
}

.hjrsm-home-game-results-widget .hjrsm-home-view-all {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 6px 6px !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 1px solid #d7d7d7 !important;
    background: #f4f4f4 !important;
    text-align: right !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.hjrsm-home-game-results-widget .hjrsm-home-view-all a {
    color: #a3a3a3 !important;
    text-decoration: none !important;
}
.hjrsm-home-game-results-widget .hjrsm-home-view-all a:hover,
.hjrsm-home-game-results-widget .hjrsm-home-view-all a:focus {
    color: #c95358 !important;
    text-decoration: underline !important;
}

/* Keep both home widgets visually aligned when they sit side-by-side. */
.hjrsm-home-game-results-widget,
.hjrsm-home-next-events-widget {
    overflow: hidden !important;
}

/* v1.6.15: Add a small desktop gap between NEXT EVENT and GAME RESULT. */
@media screen and (min-width: 601px) {
    .hjrsm-home-next-events-widget {
        width: calc(50% - 6px) !important;
        margin-right: 6px !important;
    }
    .hjrsm-home-game-results-widget {
        width: calc(50% - 6px) !important;
        margin-left: 6px !important;
    }
}

/* v1.6.16: SCHEDULE removes the League column; GAME RESULT archive matches PLAYER/SCHEDULE framing. */
.hjrsm-game-result-archive-section {
    margin: 0 0 30px !important;
    border-top: 6px solid #d83a3a !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
.hjrsm-game-result-archive-title {
    margin: 0 !important;
    padding: 10px 13px !important;
    background: #333 !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}
.hjrsm-game-result-archive-body {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: #f4f4f4 !important;
    box-sizing: border-box !important;
}
.hjrsm-game-result-archive-body .hjrsm-game-results-legacy {
    margin: 0 !important;
    border: 0 !important;
    background: #f4f4f4 !important;
}
.hjrsm-game-result-archive-body .hjrsm-game-result-card {
    margin: 0 !important;
    background: #f4f4f4 !important;
    border: 0 !important;
    border-bottom: 1px solid #d7d7d7 !important;
}
.hjrsm-game-result-archive-body .hjrsm-game-result-card:last-child {
    border-bottom: 0 !important;
}
.hjrsm-game-result-archive-body .hjrsm-result-pagination {
    margin: 0 !important;
    padding: 10px 12px !important;
    border-top: 1px solid #d7d7d7 !important;
    background: #f4f4f4 !important;
}
.hjrsm-game-result-archive-footer {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 8px 7px !important;
    border: 1px solid #d7d7d7 !important;
    border-top: 1px solid #d7d7d7 !important;
    background: #f4f4f4 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: right !important;
}
.hjrsm-game-result-archive-footer a {
    color: #a3a3a3 !important;
    text-decoration: none !important;
}
.hjrsm-game-result-archive-footer a:hover,
.hjrsm-game-result-archive-footer a:focus {
    color: #c95358 !important;
    text-decoration: underline !important;
}

/* v1.6.17: GAME RESULT page + Homepage widget.
   Order: tournament -> date -> [logo / score / logo] -> venue -> matchup.
   Team logos are roughly 1.5x larger and sit beside the score. */
.hjrsm-game-results-legacy .hjrsm-game-result-card {
    display: grid !important;
    grid-template-columns: 125px minmax(0, 1fr) 125px !important;
    grid-template-rows: auto auto auto auto auto !important;
    align-items: center !important;
    min-height: 245px !important;
    padding: 16px 14px 14px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-center {
    display: contents !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-league {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 4px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-date {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    text-align: center !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team-left {
    grid-column: 1 !important;
    grid-row: 3 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team-right {
    grid-column: 3 !important;
    grid-row: 3 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    padding: 0 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-logo {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    object-fit: contain !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-score {
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-venue {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: 100% !important;
    margin: 9px 0 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-title {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}

/* Homepage uses the same arrangement, scaled to the half-width widget. */
.hjrsm-home-game-results-widget .hjrsm-game-result-card {
    grid-template-columns: 105px minmax(0, 1fr) 105px !important;
    grid-template-rows: auto auto auto auto auto !important;
    min-height: 225px !important;
    padding: 13px 10px 11px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-league {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin: 0 0 6px !important;
    font-size: 13px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-date {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 0 8px !important;
    font-size: 14px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-left {
    grid-column: 1 !important;
    grid-row: 3 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-right {
    grid-column: 3 !important;
    grid-row: 3 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-logo {
    width: 87px !important;
    height: 87px !important;
    max-width: 87px !important;
    max-height: 87px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-score {
    grid-column: 2 !important;
    grid-row: 3 !important;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-venue {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    margin: 8px 0 0 !important;
    font-size: 13px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-title {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 10px 0 0 !important;
    font-size: clamp(13px, 1.35vw, 17px) !important;
}

@media screen and (max-width: 600px) {
    .hjrsm-game-results-legacy .hjrsm-game-result-card,
    .hjrsm-home-game-results-widget .hjrsm-game-result-card {
        grid-template-columns: 88px minmax(0, 1fr) 88px !important;
        min-height: 210px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .hjrsm-game-results-legacy .hjrsm-game-result-logo,
    .hjrsm-home-game-results-widget .hjrsm-game-result-logo {
        width: 76px !important;
        height: 76px !important;
        max-width: 76px !important;
        max-height: 76px !important;
    }
    .hjrsm-game-results-legacy .hjrsm-game-result-score,
    .hjrsm-home-game-results-widget .hjrsm-game-result-score {
        font-size: 23px !important;
    }
}

/* v1.6.18: GAME RESULT visual order
   Tournament -> Date -> Matchup -> [left logo / score / right logo] -> Venue. */
.hjrsm-game-results-legacy .hjrsm-game-result-league {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-date {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-title {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 4px 0 10px !important;
    text-align: center !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team-left {
    grid-column: 1 !important;
    grid-row: 4 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-score {
    grid-column: 2 !important;
    grid-row: 4 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team-right {
    grid-column: 3 !important;
    grid-row: 4 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-venue {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 9px 0 0 !important;
}

/* Homepage GAME RESULT uses the exact same visual order. */
.hjrsm-home-game-results-widget .hjrsm-game-result-title {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 3px 0 9px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-left {
    grid-column: 1 !important;
    grid-row: 4 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-score {
    grid-column: 2 !important;
    grid-row: 4 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team-right {
    grid-column: 3 !important;
    grid-row: 4 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-venue {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    margin: 8px 0 0 !important;
}

/* v1.6.20: GAME RESULT links, score fit and venue readability.
   Date + matchup are plain text; only score links to the event detail. */
.hjrsm-game-results-legacy .hjrsm-game-result-date,
.hjrsm-home-game-results-widget .hjrsm-game-result-date,
.hjrsm-game-results-legacy .hjrsm-game-result-title,
.hjrsm-home-game-results-widget .hjrsm-game-result-title {
    color: #cf5156 !important;
}

.hjrsm-game-results-legacy .hjrsm-game-result-score a,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a {
    display: inline-block !important;
    color: #111 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-score a:hover,
.hjrsm-game-results-legacy .hjrsm-game-result-score a:focus,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a:hover,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a:focus {
    color: #cf5156 !important;
    text-decoration: underline !important;
}

/* Full GAME RESULT page. */
.hjrsm-game-results-legacy .hjrsm-game-result-card {
    grid-template-columns: minmax(84px, 1fr) minmax(94px, max-content) minmax(84px, 1fr) !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-team {
    min-width: 0 !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-logo {
    width: min(96px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-score {
    min-width: 94px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-venue {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Half-width homepage GAME RESULT widget.
   Reserve the center score column first; side logo columns flex to available width. */
.hjrsm-home-game-results-widget .hjrsm-game-result-card {
    grid-template-columns: minmax(64px, 1fr) minmax(94px, max-content) minmax(64px, 1fr) !important;
    column-gap: 2px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-team {
    min-width: 0 !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-logo {
    width: min(78px, 100%) !important;
    height: auto !important;
    max-width: 78px !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-score {
    min-width: 94px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    box-sizing: border-box !important;
    font-size: 23px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
}
.hjrsm-home-game-results-widget .hjrsm-game-result-venue {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

@media screen and (max-width: 600px) {
    .hjrsm-game-results-legacy .hjrsm-game-result-card,
    .hjrsm-home-game-results-widget .hjrsm-game-result-card {
        grid-template-columns: minmax(58px, 1fr) minmax(90px, max-content) minmax(58px, 1fr) !important;
        column-gap: 1px !important;
    }
    .hjrsm-game-results-legacy .hjrsm-game-result-logo,
    .hjrsm-home-game-results-widget .hjrsm-game-result-logo {
        width: min(72px, 100%) !important;
        height: auto !important;
        max-width: 72px !important;
    }
    .hjrsm-game-results-legacy .hjrsm-game-result-score,
    .hjrsm-home-game-results-widget .hjrsm-game-result-score {
        min-width: 90px !important;
        font-size: 22px !important;
    }
}

/* v1.6.21: GAME RESULT color semantics.
   Linked text = red; non-linked date/matchup text = black. */
.hjrsm-game-results-legacy .hjrsm-game-result-date,
.hjrsm-home-game-results-widget .hjrsm-game-result-date,
.hjrsm-game-results-legacy .hjrsm-game-result-title,
.hjrsm-home-game-results-widget .hjrsm-game-result-title {
    color: #111 !important;
}

.hjrsm-game-results-legacy .hjrsm-game-result-score a,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a {
    color: #cf5156 !important;
    text-decoration: none !important;
}
.hjrsm-game-results-legacy .hjrsm-game-result-score a:hover,
.hjrsm-game-results-legacy .hjrsm-game-result-score a:focus,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a:hover,
.hjrsm-home-game-results-widget .hjrsm-game-result-score a:focus {
    color: #b83f45 !important;
    text-decoration: underline !important;
}


/* v1.6.22: event detail refinements */
.single-hjr_event .hjrsm-venue-name,
.single-hjr_event .hjrsm-venue-name strong {
    color: #111 !important;
    text-decoration: none !important;
}
.single-hjr_event .related-posts,
.single-hjr_event .post-related,
.single-hjr_event .posts-related,
.single-hjr_event .related-articles,
.single-hjr_event .related-content,
.single-hjr_event .entry-related,
.single-hjr_event [class*="related-post"] {
    display: none !important;
}
.hjrsm-results-table th,
.hjrsm-results-table td {
    text-align: center;
}
.hjrsm-results-table th:first-child,
.hjrsm-results-table td:first-child {
    text-align: left;
}


/* v1.6.23: compact event single page and remove theme meta/navigation. */
body.single-hjr_event .entry-title,
body.single-hjr_event .post-title,
body.single-hjr_event article h1.entry-title {
    white-space: nowrap !important;
    font-size: clamp(16px, 4.6vw, 28px) !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
}

/* Remove the dark date bar below the title and all bottom publish/update meta. */
body.single-hjr_event article .entry-meta,
body.single-hjr_event article .post-meta,
body.single-hjr_event article .postmetadata,
body.single-hjr_event article .posted-on,
body.single-hjr_event article .post-date,
body.single-hjr_event article .post_date,
body.single-hjr_event article .entry-date,
body.single-hjr_event article .meta-date,
body.single-hjr_event article .post-info,
body.single-hjr_event article .post_info,
body.single-hjr_event article .entry-footer,
body.single-hjr_event article .post-footer,
body.single-hjr_event article .post-navigation,
body.single-hjr_event article .navigation.post-navigation,
body.single-hjr_event article .nav-previous,
body.single-hjr_event article .nav-next,
body.single-hjr_event article .previous-post,
body.single-hjr_event article .next-post,
body.single-hjr_event article .post-nav,
body.single-hjr_event article .post_nav {
    display: none !important;
}

/* Tighten vertical rhythm for Detail / GAME RESULT / Venue. */
body.single-hjr_event .hjrsm-single-event {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
body.single-hjr_event .hjrsm-single-event > h4,
body.single-hjr_event .hjrsm-venue-block > h4 {
    margin-top: 10px !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
}
body.single-hjr_event .hjrsm-single-event .hjrsm-table-wrap {
    margin: 0 0 5px !important;
}
body.single-hjr_event .hjrsm-event-details,
body.single-hjr_event .hjrsm-results-table {
    margin: 0 !important;
}
body.single-hjr_event .hjrsm-event-details th,
body.single-hjr_event .hjrsm-event-details td,
body.single-hjr_event .hjrsm-results-table th,
body.single-hjr_event .hjrsm-results-table td {
    padding: 5px 7px !important;
    line-height: 1.25 !important;
}
body.single-hjr_event .hjrsm-venue-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
body.single-hjr_event .hjrsm-venue-name {
    margin: 2px 0 5px !important;
}
body.single-hjr_event .hjrsm-venue-block > p:last-child {
    margin: 4px 0 0 !important;
}
body.single-hjr_event .hjrsm-map iframe {
    min-height: 240px !important;
}

@media (max-width: 600px) {
    body.single-hjr_event .entry-title,
    body.single-hjr_event .post-title,
    body.single-hjr_event article h1.entry-title {
        font-size: 16px !important;
        letter-spacing: -0.02em;
    }
    body.single-hjr_event .hjrsm-map iframe {
        min-height: 210px !important;
    }
}


/* v1.6.24: reliably suppress Rookie/theme/plugin metadata and previous/next blocks on event singles. */
body.single-hjr_event .entry-header .entry-details,
body.single-hjr_event .entry-details,
body.single-hjr_event .entry-footer,
body.single-hjr_event .entry-footer-links,
body.single-hjr_event .post-footer,
body.single-hjr_event .post-navigation,
body.single-hjr_event .navigation.post-navigation,
body.single-hjr_event .nav-previous,
body.single-hjr_event .nav-next,
body.single-hjr_event .previous-post,
body.single-hjr_event .next-post,
body.single-hjr_event .post-nav,
body.single-hjr_event .post_nav,
body.single-hjr_event [class*="post-navigation"],
body.single-hjr_event [class*="post_nav"] {
    display: none !important;
}

/* Any extra direct element appended to the event content by another plugin is not part of the event detail UI. */
body.single-hjr_event .entry-content > .hjrsm-single-event ~ * {
    display: none !important;
}


/* v1.6.25: NEXT EVENT order = date -> time -> event -> venue; venue is easier to read. */
.hjrsm-home-next-events-widget .hjrsm-next-event-title {
    margin: 4px 0 3px !important;
}
.hjrsm-home-next-events-widget .hjrsm-next-event-venue {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}


/* v1.6.26: Schedule single page — no "詳細" heading; compact date/time card. */
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-details {
    margin: 10px 0 8px !important;
    border: 1px solid rgba(0,0,0,.16);
    background: #f3f3f3;
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(0,0,0,.16);
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-item {
    padding: 8px 12px;
    min-width: 0;
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-item + .hjrsm-schedule-single-item {
    border-left: 1px solid rgba(0,0,0,.16);
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-label {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.25;
    color: #444;
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-value {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    color: #111;
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-note {
    padding: 10px 14px 11px;
    font-size: 16px;
    line-height: 1.65;
    color: #222;
}
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-note > :first-child { margin-top: 0 !important; }
body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-note > :last-child { margin-bottom: 0 !important; }
body.single-hjr_event .hjrsm-single-schedule .hjrsm-venue-block { margin-top: 8px !important; }

@media (max-width: 600px) {
    body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-item { padding: 7px 9px; }
    body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-value,
    body.single-hjr_event .hjrsm-single-schedule .hjrsm-schedule-single-note { font-size: 14px; }
}
