/* =========================================================
   forty4 Baseball
   File: /css/main-2026.css

   Convention going forward, for new pages and rebuilds of
   old pages: every custom ID/class is fully kebab-case and
   ends in -2026 (e.g. HomeHeroWrap2026 -> home-hero-wrap-2026,
   ticker-scroll-wrap -> ticker-scroll-wrap-2026). Pages built
   this way should NOT link main.css at all — every rule they
   need, copied and renamed, lives here. Tag-level resets
   (body, a, h1-h6, img) aren't custom-named, so they're
   copied as-is rather than relabeled.

   Sections below are organized per page/tool as they're built.
   ========================================================= */

/* ---------------------------------------------------------
   Hot & Cold (Streaks & Skids) — mlb-hot-cold.php
   --------------------------------------------------------- */

.secure-hotcold-2026 { margin-top: 5px; }

.secure-datenav-2026 {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 20px; font-size: 13px;
}
.secure-datenav-2026 a, .secure-datenav-2026 input[type=submit] {
    color: #333; background: #f4f4f4; border: 1px solid #ddd;
    border-radius: 5px; padding: 5px 11px; text-decoration: none;
    cursor: pointer; font-size: 13px;
}
.secure-datenav-2026 a:hover, .secure-datenav-2026 input[type=submit]:hover { background: #e9e9e9; }
.secure-datenav-2026 input[type=date] {
    border: 1px solid #ddd; border-radius: 5px; padding: 4px 7px; font-size: 13px;
}
.secure-datenav-2026 .secure-currentdate-2026 { color: #777; }

.secure-grid-2026 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 760px) {
    .secure-grid-2026 { grid-template-columns: 1fr; }
}

.secure-panel-2026 {
    border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden;
    background: #fff;
}
.secure-panelhead-2026 {
    padding: 10px 16px; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.secure-copybtn-2026 { cursor: pointer; float: right; text-transform: none; letter-spacing: normal; }
.secure-panel-hot-2026 { border-left: 4px solid #e8542a; }
.secure-panel-hot-2026 .secure-panelhead-2026 { background: #fdf1ec; color: #c8441f; }
.secure-panel-cold-2026 { border-left: 4px solid #2e8fd1; }
.secure-panel-cold-2026 .secure-panelhead-2026 { background: #eaf4fb; color: #226e9e; }

.secure-streaktable-2026 { width: 100%; border-collapse: collapse; font-size: 13px; }
.secure-streaktable-2026 th {
    text-align: left; font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.03em; color: #999; padding: 6px 16px;
    border-bottom: 1px solid #eee;
}
.secure-streaktable-2026 td {
    padding: 8px 16px; border-bottom: 1px solid #f0f0f0;
}
.secure-streaktable-2026 tr:last-child td { border-bottom: none; }
.secure-namecell-2026 { font-weight: 600; }
.secure-postag-2026 { color: #999; font-weight: 500; font-size: 11px; }
.secure-streakval-2026 { font-weight: 700; }
.secure-panel-hot-2026 .secure-streakval-2026 { color: #c8441f; }
.secure-panel-cold-2026 .secure-streakval-2026 { color: #226e9e; }
.secure-muted-2026 { color: #999; font-size: 12px; }
.secure-emptyrow-2026 td { color: #999; font-style: italic; text-align: center; padding: 18px; }

/* ===========================================================
   /mlb-hot-cold/ (index.php) — public page
   This page loads ONLY main-2026.css, no main.css. Everything
   it needs is below. Tag-level resets first, then layout,
   then each section in the order it appears on the page.

   NOT YET COVERED: header-main.php / footer-main.php markup.
   Need those files to know what to style here — until then,
   the header/footer will render unstyled on this page.
   =========================================================== */

/* ---- Tag-level resets (not custom-named, copied as-is) ---- */
body {
    font-family: 'Open Sans', 'Work Sans', serif;
    color: #121212;
    background-image: linear-gradient(to bottom right, #fff, #e9f8fe);
    margin: 0 auto;
}
a { color: #121212; text-decoration: none; }
a:hover { color: #8C1D18; text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Lora', serif;
    text-align: left;
    line-height: 1.25;
    margin: 5px auto;
}
img { max-width: 100%; }

/* ---- Page wrapper ---- */
#page-wrap-2026 {
    margin: 0 auto;
    width: 1200px;
    max-width: 90%;
    text-align: center;
}

/* ---- Hero ---- */
#home-hero-wrap-2026 {
    max-width: 100%;
    margin: 15px auto;
    padding: 25px 0 20px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.hero-title-2026 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 4px 0;
    padding: 0 20px;
    letter-spacing: -0.5px;
}
.hero-tagline-2026 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin: 0 0 20px 0;
    padding: 0 20px;
    line-height: 1.4;
}

/* ---- Ticker ---- */
.ticker-scroll-wrap-2026 {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 20px 10px 20px;
    gap: 12px;
    scroll-behavior: smooth;
    border-top: 1px solid #ececec;
    -webkit-overflow-scrolling: touch;
}
.ticker-scroll-wrap-2026::-webkit-scrollbar { height: 4px; }
.ticker-scroll-wrap-2026::-webkit-scrollbar-thumb { background-color: #e0e0e0; border-radius: 10px; }

.ticker-game-card-2026 {
    flex: 0 0 170px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 8px 10px;
    box-sizing: border-box;
}
.ticker-team-row-2026 { display: flex; align-items: center; margin-bottom: 4px; }
.team-logo-2026 { width: 16px; height: 16px; object-fit: contain; margin-right: 6px; }
.team-abbr-2026 { font-size: 0.85rem; font-weight: 700; color: #111; margin-right: 6px; }
.team-record-2026 { font-size: 0.75rem; color: #777; font-variant-numeric: tabular-nums; }
.ticker-game-time-2026 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    border-top: 1px solid #eee;
    margin-top: 6px;
    padding-top: 4px;
    text-align: right;
}

/* ---- Main wrap / 3-up layout / timestamp ---- */
#main-wrap-2026 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px auto 25px auto;
    max-width: 100%;
    padding: 10px;
    border: 1px #ddd solid;
    background-color: #fff;
    border-radius: 5px;
}
.stats-timestamp-row-2026 { flex-basis: 100%; text-align: right; }
.stats-timestamp-2026 {
    display: inline-block;
    font-size: 0.5rem;
    color: #777;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.3px;
}
.home-main-sub-thirds-2026 {
    flex: 1;
    box-sizing: border-box;
    padding: 10px;
    border: 0px #ddd solid;
    background-color: #fff;
    border-radius: 5px;
    text-align: left;
}

/* ---- Stat-style cards (used for Hot & Cold entries) ---- */
.stats-card-2026 {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.9rem;
    margin: 10px 0;
}
.stats-card-2026:hover { border-color: #cfcfcf; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }

/* Forces 3 columns on desktop whenever main-wrap-2026 contains a stats-card-2026 */
#main-wrap-2026:has(.stats-card-2026) .home-main-sub-thirds-2026 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}
#main-wrap-2026:has(.stats-card-2026) .home-main-sub-thirds-2026[style*="margin-top"] {
    margin-top: 30px !important;
}
@media only screen and (max-width: 768px) {
    #main-wrap-2026:has(.stats-card-2026) .home-main-sub-thirds-2026 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
    }
}

.leaders-header-2026 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #dcdcdc;
}
.leaders-title-2026 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #111; }
.leaders-stat-label-2026 { font-weight: 700; color: #666; letter-spacing: 1px; font-size: 0.85em; }

.leader-row-2026 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #ececec;
}
.leader-player-2026 { display: flex; align-items: center; gap: 8px; }
.player-name-2026 { font-weight: 600; }
.leader-team-2026 { color: #777; text-transform: uppercase; font-size: 0.85em; }
.leader-stat-value-2026 { font-weight: 700; min-width: 50px; text-align: right; font-variant-numeric: tabular-nums; }

.stats-card-hot-2026 .leaders-stat-label-2026,
.stats-card-hot-2026 .leader-stat-value-2026 { color: #c8441f; }
.stats-card-cold-2026 .leaders-stat-label-2026,
.stats-card-cold-2026 .leader-stat-value-2026 { color: #226e9e; }

/* ---- Empty states ---- */
.no-results-2026 { padding: 12px 0; color: #888; font-style: italic; }

/* ---- News article grid ---- */
.news-articles-grid-2026 { display: flex; flex-flow: row wrap; width: 100%; box-sizing: border-box; margin: 0 -10px; }
.news-column-2026 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 10px; margin-bottom: 30px; box-sizing: border-box; }
@media only screen and (max-width: 768px) {
    .news-column-2026 { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 25px; }
    .news-grid-card-2026 h3 { font-size: 1.1rem !important; }
}
.news-grid-card-2026 {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.article-image-wrapper-2026 { width: 100%; overflow: hidden; position: relative; }
.article-image-wrapper-2026 img { width: 100%; height: auto; object-fit: cover; display: block; transition: opacity 0.2s ease-in-out; }
.article-image-wrapper-2026 img:hover { opacity: 0.9; }
.article-card-body-2026 { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.article-summary-text-2026 { font-size: 0.95rem; line-height: 1.5; color: #444444; }
.article-read-more-2026 { margin-top: auto; padding-top: 10px; text-align: right; }
.article-read-more-2026 a { color: #121212; font-weight: 600; text-transform: lowercase; }
.article-read-more-2026 a:hover { text-decoration: underline !important; }

/* ---- Newsletter section ---- */
.main-sub-half-2026 {
    flex: 1 1 100%;
    box-sizing: border-box;
    padding: 20px;
}
@media (min-width: 768px) {
    .main-sub-half-2026 { flex: 1 1 calc(50% - 20px); }
}
#main-wrap-2026:has(.newsletter-content-2026) {
    background-color: #000000;
    color: #ffffff;
    border-color: #262626;
}
.heading-2026 { font-size: 2rem; font-weight: 800; margin: 0 0 15px 0; }
.subtext-2026 { font-style: italic; color: #555555; margin-bottom: 25px; }
#main-wrap-2026:has(.newsletter-content-2026) .subtext-2026 { color: #e5e5e5; }

.form-2026 { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 20px 0 0 0; }
.form-2026 input[type="text"],
.form-2026 input[type="email"],
.btn-submit-2026 {
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 0.95rem;
}
.form-2026 input[type="text"],
.form-2026 input[type="email"] {
    padding: 10px 12px;
    background-color: #121212;
    border: 1px solid #404040;
    color: #ffffff;
    transition: border-color 0.2s ease;
}
.form-2026 input[type="text"]:focus,
.form-2026 input[type="email"]:focus {
    outline: none;
    border-color: #ffffff;
}
.btn-submit-2026 {
    padding: 10px 12px;
    background-color: #ffffff;
    color: #000000;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn-submit-2026:hover { background-color: #e5e5e5; }
.btn-submit-2026:active { transform: scale(0.98); }

.img-link-2026 img { width: 100%; height: auto; display: block; border-radius: 4px; }

.msg-success-2026 { color: #00A86B; margin-top: 20px; }
.msg-error-2026 { color: #FF0000; margin-top: 20px; }

.sr-only-2026 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---- Tag-level reset for the <header> wrapper ---- */
header { width: 100%; box-sizing: border-box; }

/* ---- Footer (footer-main-2026.php) ---- */
#footer-2026 {
    width: 100%;
    background-color: #000000;
    font-size: 13px;
    color: #fff;
    padding: 30px 20px;
    box-sizing: border-box;
}
.footer-container-2026 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-col-2026 {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.footer-links-2026 {
    align-items: flex-start;
    gap: 8px;
}
.footer-logo-2026 {
    align-items: center;
}
.footer-logo-2026 img {
    max-height: 125px;
    width: auto;
    display: block;
}
.footer-copyright-2026 {
    align-items: flex-end;
    text-align: right;
    gap: 6px;
    font-size: 11px;
}
#footer-2026 a {
    color: #fff;
    text-decoration: none;
}
#footer-2026 a:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 768px) {
    .footer-container-2026 { flex-direction: column; text-align: center; gap: 30px; }
    .footer-col-2026 { align-items: center; text-align: center; }
    .footer-logo-2026 img {
        max-height: 75px;
        width: auto;
        display: block;
        transition: max-height 0.2s ease;
    }
}

/* ---- Header (header-main-2026.php) ---- */
.site-header-desktop-2026 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 10px 25px;
    font-size: 11px;
}
.site-header-promo-box-2026 {
    grid-column: 2;
    text-align: right;
}
.site-header-events-widget-2026 {
    margin-top: 5px;
    padding: 3px 5px;
    border: 1px solid #00A86B;
    text-align: left;
}
.site-header-logo-link-2026 {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
}
.site-header-logo-img-2026 {
    max-width: 100%;
    height: auto;
    max-height: 125px;
    display: block;
}
.site-header-nav-menu-2026 {
    grid-column: 1 / span 2;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    font-size: 15px;
    font-variant-caps: all-small-caps;
    margin-top: 15px;
}
.site-header-mobile-2026 {
    display: none;
}

@media only screen and (max-width: 768px) {
    .site-header-desktop-2026 {
        display: none;
    }
    .site-header-mobile-2026 {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background-color: #000000;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 15px 20px 15px 20px;
    }
    .site-header-mobile-bar-2026 {
        display: grid;
        grid-template-columns: 50px 1fr 50px;
        align-items: center;
        width: 100%;
    }
    .site-header-mobile-2026 .site-header-toggle-btn-2026 {
        grid-column: 1;
        justify-self: start;
        background: none;
        border: none;
        font-size: 28px;
        color: #FFFFFF;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
    }
    .site-header-mobile-2026 .site-header-logo-link-2026 {
        grid-column: 2;
        justify-self: center;
    }
    .site-header-mobile-2026 .site-header-logo-img-2026 {
        max-height: 75px;
        height: auto;
        display: block;
    }
    .site-header-spacer-2026 {
        grid-column: 3;
        width: 50px;
        height: 1px;
    }
    .site-header-quick-links-2026 {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #222222;
    }
    .site-header-quick-links-2026 a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .site-header-quick-links-2026 a:hover,
    .site-header-quick-links-2026 a:active {
        color: #00A86B;
    }
    .site-header-mobile-nav-2026 {
        display: none;
        flex-direction: column;
        gap: 14px;
        text-align: center;
        background: #111111;
        padding: 20px;
        margin-top: 15px;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #222222;
    }
    .site-header-mobile-nav-2026 a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 15px;
    }
    .site-header-mobile-nav-2026.is-open-2026 {
        display: flex;
    }
    .menu-icon-close-2026 {
        font-size: 32px;
        line-height: 1;
    }
}