/*
Theme Name: ScoopFootball Clean V4
Theme URI: https://scoopfootball.com/
Author: ScoopFootball
Author URI: https://scoopfootball.com/
Description: A clean isolated ScoopFootball theme for daily predictions, football news, and a WooCommerce jersey store. Uses a unique theme folder and cache-busted assets.
Version: 4.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scoopfootball
Tags: news, e-commerce, custom-logo, custom-menu, featured-images
*/

:root {
    --sf-green: #3aaa35;
    --sf-green-strong: #268b27;
    --sf-green-soft: #eef8ed;
    --sf-black: #050706;
    --sf-black-2: #101310;
    --sf-text: #111611;
    --sf-muted: #747b74;
    --sf-line: #e5e9e5;
    --sf-line-dark: #d7ddd7;
    --sf-page: #f3f5f3;
    --sf-white: #ffffff;
    --sf-radius: 7px;
    --sf-shadow: 0 5px 18px rgba(16, 24, 16, .055);
    --sf-container: 1120px;
    --sf-reading: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--sf-page);
    color: var(--sf-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sf-green-strong); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, input[type="submit"] { cursor: pointer; }

.sf-container {
    width: min(calc(100% - 32px), var(--sf-container));
    margin-inline: auto;
}
.sf-screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.sf-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #030403;
    color: #fff;
    border-bottom: 1px solid #1c211d;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.admin-bar .sf-site-header { top: 32px; }
.sf-header-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.sf-brand {
    display: flex;
    align-items: center;
    min-width: max-content;
}
.sf-brand a { display: inline-flex; align-items: center; }
.sf-brand-text {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.75px;
}
.sf-brand-text .sf-brand-accent { color: var(--sf-green); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 235px; max-height: 42px; object-fit: contain; }
.sf-main-nav { margin-left: auto; }
.sf-main-nav ul {
    display: flex;
    align-items: center;
    gap: 31px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-main-nav li { margin: 0; }
.sf-main-nav a {
    position: relative;
    display: block;
    padding: 22px 0 20px;
    color: #f7f7f7;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}
.sf-main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 0;
    height: 2px;
    background: var(--sf-green);
    transform: translateX(-50%);
    transition: width .16s ease;
}
.sf-main-nav a:hover,
.sf-main-nav .current-menu-item > a,
.sf-main-nav .current_page_item > a { color: #fff; }
.sf-main-nav a:hover::after,
.sf-main-nav .current-menu-item > a::after,
.sf-main-nav .current_page_item > a::after { width: 100%; }
.sf-header-actions { display: flex; align-items: center; gap: 4px; }
.sf-icon-button {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
}
.sf-icon-button:hover { background: #161916; color: #fff; }
.sf-icon-button svg { width: 18px; height: 18px; }
.sf-cart-count {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--sf-green);
    color: #fff;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}
.sf-menu-toggle { display: none; }
.sf-search-panel {
    display: none;
    padding: 13px 0;
    background: #0a0d0a;
    border-top: 1px solid #1d221d;
}
.sf-search-panel.is-open { display: block; }
.sf-search-form {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    gap: 7px;
}
.sf-search-form input[type="search"] {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #333a33;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #111;
}
.sf-search-form input[type="search"]:focus { border-color: var(--sf-green); }
.sf-search-form button {
    height: 42px;
    padding: 0 19px;
    border: 0;
    border-radius: 5px;
    background: var(--sf-green);
    color: #fff;
    font-weight: 800;
}

/* Main visual frame */
.sf-global-predictions,
.sf-home-main,
.sf-content-wrap,
.sf-woocommerce-main {
    background: #fff;
}
.sf-global-predictions { border-bottom: 1px solid var(--sf-line); }
.sf-home-main { border-bottom: 1px solid var(--sf-line); }

/* Shared section headers */
.sf-section { padding: 23px 0 25px; }
.sf-section + .sf-section { border-top: 1px solid var(--sf-line); }
.sf-section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}
.sf-section-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.sf-section-title svg {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--sf-green-strong);
}
.sf-view-all {
    color: #424842;
    font-size: 11px;
    font-weight: 700;
}
.sf-view-all:hover { color: var(--sf-green-strong); }

/* Prediction table */
.sf-global-predictions .sf-section { padding-top: 19px; padding-bottom: 22px; }
.sf-prediction-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--sf-line-dark);
    border-radius: var(--sf-radius);
    background: #fff;
    box-shadow: var(--sf-shadow);
}
.sf-prediction-table {
    width: 100%;
    min-width: 660px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
}
.sf-prediction-table th {
    height: 35px;
    padding: 9px 15px;
    border: 0;
    border-right: 1px solid #2a2e2a;
    background: linear-gradient(#0b0d0b, #050605);
    color: #fff;
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.sf-prediction-table th:first-child { width: 28%; text-align: left; }
.sf-prediction-table th:nth-child(2) { width: 39%; }
.sf-prediction-table th:nth-child(3) { width: 33%; }
.sf-prediction-table th:last-child { border-right: 0; }
.sf-prediction-table td {
    height: 38px;
    padding: 8px 15px;
    border: 0;
    border-right: 1px solid var(--sf-line);
    border-bottom: 1px solid var(--sf-line);
    color: #161a16;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
}
.sf-prediction-table td:first-child {
    text-align: left;
    font-weight: 650;
}
.sf-prediction-table td:nth-child(2) { font-weight: 650; }
.sf-prediction-table td:last-child {
    border-right: 0;
    font-weight: 700;
}
.sf-prediction-table tbody tr:nth-child(even) { background: #fcfdfc; }
.sf-prediction-table tbody tr:hover { background: var(--sf-green-soft); }
.sf-prediction-table tbody tr:last-child td { border-bottom: 0; }
.sf-no-predictions {
    padding: 19px !important;
    color: var(--sf-muted) !important;
    text-align: center !important;
    font-weight: 400 !important;
}

/* Homepage news */
.sf-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}
.sf-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(16, 24, 16, .035);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sf-news-card:hover {
    transform: translateY(-2px);
    border-color: #d8ded8;
    box-shadow: 0 7px 20px rgba(16, 24, 16, .075);
}
.sf-news-card-thumb {
    display: block;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: #edf1ed;
}
.sf-news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}
.sf-news-card:hover .sf-news-card-thumb img { transform: scale(1.015); }
.sf-news-card-body { padding: 10px 10px 12px; }
.sf-news-card-category {
    min-height: 15px;
    margin-bottom: 5px;
    color: var(--sf-green-strong);
    font-size: 8.5px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}
.sf-news-card-title {
    margin: 0 0 10px;
    color: #121612;
    font-size: 13px;
    line-height: 1.42;
    font-weight: 800;
}
.sf-news-card-title a:hover { color: var(--sf-green-strong); }
.sf-news-card-date {
    color: #929892;
    font-size: 9.5px;
    line-height: 1.2;
}
.sf-empty-card {
    grid-column: 1 / -1;
    padding: 28px 20px;
    border: 1px dashed #cfd6cf;
    border-radius: 6px;
    background: #fafbfa;
    color: var(--sf-muted);
    text-align: center;
}

/* Homepage jersey cards */
.sf-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}
.sf-product-card {
    min-width: 0;
    padding: 12px 11px 13px;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 9px rgba(16, 24, 16, .035);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sf-product-card:hover {
    transform: translateY(-2px);
    border-color: #d8ded8;
    box-shadow: 0 7px 20px rgba(16,24,16,.075);
}
.sf-product-image {
    height: 170px;
    margin: 0 0 9px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.sf-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sf-product-title {
    min-height: 38px;
    margin: 0 0 4px;
    color: #151915;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}
.sf-product-price,
.sf-product-price .amount {
    display: block;
    margin: 0 0 8px;
    color: #111;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}
.sf-product-price del { color: #979d97; font-weight: 400; }
.sf-product-price ins { text-decoration: none; }
.sf-shop-button,
.sf-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart {
    display: inline-block;
    min-height: 30px;
    padding: 8px 14px;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--sf-green) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.sf-shop-button:hover,
.sf-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.added_to_cart:hover {
    background: var(--sf-green-strong) !important;
    color: #fff !important;
}

/* Posts and pages */
.sf-content-wrap { padding: 28px 0 46px; }
.sf-content-narrow {
    width: min(100%, var(--sf-reading));
}
.sf-article {
    margin: 0;
    background: #fff;
}
.sf-entry-header { margin: 0 0 17px; }
.sf-entry-title {
    margin: 0 0 8px;
    color: #111;
    font-size: clamp(25px, 3.5vw, 34px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.025em;
}
.sf-entry-meta {
    color: #7d847d;
    font-size: 11px;
    line-height: 1.4;
}
.sf-entry-meta a { color: #6c736c; }
.sf-entry-featured {
    margin: 18px 0 22px;
    overflow: hidden;
    border-radius: 6px;
    background: #edf1ed;
}
.sf-entry-featured img { width: 100%; }
.sf-entry-content {
    color: #242924;
    font-size: 16px;
    line-height: 1.72;
}
.sf-entry-content > *:first-child { margin-top: 0; }
.sf-entry-content p { margin: 0 0 1.1em; }
.sf-entry-content h2,
.sf-entry-content h3,
.sf-entry-content h4 {
    color: #111;
    line-height: 1.3;
    font-weight: 800;
}
.sf-entry-content h2 { margin: 1.8em 0 .65em; font-size: 24px; }
.sf-entry-content h3 { margin: 1.55em 0 .55em; font-size: 20px; }
.sf-entry-content a {
    color: var(--sf-green-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sf-entry-content blockquote {
    margin: 24px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--sf-green);
    background: #f6faf6;
}
.sf-entry-content table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
}
.sf-entry-content th,
.sf-entry-content td {
    padding: 9px 10px;
    border: 1px solid var(--sf-line-dark);
    text-align: left;
}
.sf-entry-content th { background: #0b0d0b; color: #fff; }
.sf-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--sf-line);
}
.sf-post-nav a { color: #2d332d; font-size: 12px; font-weight: 700; }
.sf-post-nav a:hover { color: var(--sf-green-strong); }

/* News archives */
.sf-archive-header { margin: 0 0 18px; }
.sf-archive-title {
    margin: 0 0 5px;
    color: #111;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}
.sf-archive-description { max-width: 760px; color: var(--sf-muted); font-size: 14px; }
.sf-archive-description p { margin-top: 0; }
.sf-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
.sf-pagination { margin-top: 26px; }
.sf-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sf-line-dark);
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 700;
}
.sf-pagination .current {
    border-color: #080a08;
    background: #080a08;
    color: #fff;
}

/* WooCommerce shop */
.sf-woocommerce-main { padding: 27px 0 48px; }
.sf-store-layout {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.sf-store-sidebar {
    padding: 13px 14px;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    background: #fff;
}
.sf-store-sidebar h2 {
    margin: 0 0 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--sf-line);
    color: #111;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}
.sf-store-sidebar ul { margin: 0; padding: 0; list-style: none; }
.sf-store-sidebar li { margin: 0; border-bottom: 1px solid #eef1ee; }
.sf-store-sidebar li:last-child { border-bottom: 0; }
.sf-store-sidebar a {
    display: block;
    padding: 8px 1px;
    color: #343934;
    font-size: 11px;
    line-height: 1.3;
}
.sf-store-sidebar a:hover { color: var(--sf-green-strong); }
.sf-store-content { min-width: 0; }
.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 13px;
    color: #8a908a;
    font-size: 10px;
}
.woocommerce .woocommerce-breadcrumb a { color: #747b74; }
.woocommerce .woocommerce-products-header__title,
.woocommerce h1.page-title {
    margin: 0 0 18px;
    color: #111;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}
.woocommerce .woocommerce-result-count {
    margin: 8px 0 18px;
    color: #7b827b;
    font-size: 10px;
}
.woocommerce .woocommerce-ordering { margin: 0 0 16px; }
.woocommerce .woocommerce-ordering select {
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--sf-line-dark);
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 10px;
}
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px !important;
    clear: both;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product {
    position: relative;
    width: auto !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 12px 10px 13px !important;
    border: 1px solid var(--sf-line) !important;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 9px rgba(16,24,16,.035);
}
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 185px !important;
    margin: 0 0 10px !important;
    object-fit: contain;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 36px;
    padding: 0 !important;
    margin: 0 0 5px !important;
    color: #151915;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}
.woocommerce ul.products li.product .price {
    margin: 0 0 8px !important;
    color: #111 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
.woocommerce ul.products li.product .button { margin-top: 0 !important; }
.woocommerce span.onsale {
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border-radius: 4px !important;
    background: var(--sf-green) !important;
    color: #fff !important;
    font-size: 9px !important;
    line-height: 1 !important;
}
.woocommerce div.product { max-width: 1050px; margin-inline: auto; }
.woocommerce div.product .product_title { font-size: 28px; line-height: 1.2; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--sf-green-strong); }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--sf-green); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--sf-green); }

/* Footer */
.sf-footer {
    margin: 0;
    background: #050706;
    color: #fff;
    border-top: 1px solid #171b17;
}
.sf-footer-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding: 23px 0 21px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.sf-footer-feature {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}
.sf-footer-feature svg {
    width: 22px;
    height: 22px;
    color: var(--sf-green);
}
.sf-footer-feature strong {
    display: block;
    margin: 0 0 2px;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.25;
}
.sf-footer-feature span {
    display: block;
    color: #b7bdb7;
    font-size: 9px;
    line-height: 1.4;
}
.sf-footer-bottom {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #9fa69f;
    font-size: 9px;
}
.sf-footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-footer-menu a { color: #c2c7c2; }
.sf-footer-menu a:hover { color: var(--sf-green); }

/* Comments/forms */
.sf-comments { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--sf-line); }
.sf-comments input[type="text"],
.sf-comments input[type="email"],
.sf-comments input[type="url"],
.sf-comments textarea,
.sf-content-wrap input[type="search"] {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #cbd1cb;
    border-radius: 5px;
    background: #fff;
}
.sf-comments input[type="submit"] {
    padding: 9px 14px;
    border: 0;
    border-radius: 4px;
    background: var(--sf-green);
    color: #fff;
    font-weight: 800;
}

@media (min-width: 1160px) {
    .sf-global-predictions,
    .sf-home-main,
    .sf-content-wrap,
    .sf-woocommerce-main {
        width: min(100%, 1180px);
        margin-inline: auto;
        border-left: 1px solid #ecefec;
        border-right: 1px solid #ecefec;
    }
}

@media (max-width: 960px) {
    .sf-news-grid,
    .sf-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-product-image { height: 220px; }
    .sf-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-footer-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-store-layout { grid-template-columns: 1fr; }
    .sf-store-sidebar { display: none; }
    .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .admin-bar .sf-site-header { top: 46px; }
    .sf-header-inner { min-height: 58px; gap: 12px; }
    .sf-brand-text { font-size: 22px; }
    .custom-logo { max-width: 200px; max-height: 39px; }
    .sf-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 20;
        margin: 0;
        padding: 7px 16px 14px;
        background: #080a08;
        border-top: 1px solid #1b201b;
        box-shadow: 0 8px 16px rgba(0,0,0,.18);
    }
    .sf-main-nav.is-open { display: block; }
    .sf-main-nav ul { display: block; }
    .sf-main-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
    .sf-main-nav li:last-child { border-bottom: 0; }
    .sf-main-nav a { padding: 13px 2px; font-size: 11px; }
    .sf-main-nav a::after { display: none; }
    .sf-header-actions { margin-left: auto; }
    .sf-menu-toggle { display: inline-grid; }
    .sf-section { padding: 20px 0 22px; }
    .sf-global-predictions .sf-section { padding-top: 17px; padding-bottom: 19px; }
    .sf-entry-title { font-size: 28px; }
    .sf-content-wrap { padding-top: 24px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-footer-bottom { min-height: 0; align-items: flex-start; flex-direction: column; padding: 17px 0 19px; }
}

@media (max-width: 560px) {
    .sf-container { width: min(calc(100% - 20px), var(--sf-container)); }
    .sf-header-actions { gap: 0; }
    .sf-icon-button { width: 34px; height: 34px; }
    .sf-section-heading-row { margin-bottom: 12px; }
    .sf-section-title { font-size: 12px; }
    .sf-section-title svg { width: 16px; height: 16px; }
    .sf-view-all { font-size: 10px; }
    .sf-prediction-table { min-width: 610px; }
    .sf-prediction-table th { padding: 8px 11px; font-size: 9px; }
    .sf-prediction-table td { padding: 8px 11px; font-size: 11px; }
    .sf-news-grid { gap: 10px; }
    .sf-news-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 108px;
    }
    .sf-news-card-thumb { height: 100%; aspect-ratio: auto; }
    .sf-news-card-body { padding: 9px 9px 10px; }
    .sf-news-card-category { font-size: 8px; }
    .sf-news-card-title { margin-bottom: 7px; font-size: 12px; line-height: 1.35; }
    .sf-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .sf-product-card { padding: 9px 8px 10px; }
    .sf-product-image { height: 135px; }
    .sf-product-title { min-height: 34px; font-size: 10px; }
    .sf-product-price, .sf-product-price .amount { font-size: 11px; }
    .sf-shop-button { padding: 7px 10px; font-size: 9px !important; }
    .sf-archive-grid { grid-template-columns: 1fr; }
    .sf-footer-features { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
    .sf-footer-feature { grid-template-columns: 24px minmax(0, 1fr); }
    .sf-footer-feature svg { width: 19px; height: 19px; }
    .sf-post-nav { grid-template-columns: 1fr; }
    .sf-post-nav > div:last-child { text-align: left !important; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px !important; }
    .woocommerce ul.products li.product { padding: 9px 7px 10px !important; }
    .woocommerce ul.products li.product a img { height: 135px !important; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 32px; font-size: 10px !important; }
    .woocommerce .woocommerce-products-header__title,
    .woocommerce h1.page-title { font-size: 20px; }
}

@media (max-width: 390px) {
    .sf-brand-text { font-size: 20px; }
    .sf-products-grid { grid-template-columns: 1fr 1fr; }
    .sf-footer-features { grid-template-columns: 1fr; }
}

/* =========================================================
   ScoopFootball Clean V4: plugin-integrated prediction UI
   ========================================================= */

/* Clickable match cell in the global table */
.sf-match-cell { padding: 0 !important; }
.sf-match-link {
    min-height: 38px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 15px;
    color: #111611;
    font-weight: 750;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}
.sf-match-link svg {
    width: 13px;
    height: 13px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    opacity: .42;
    transition: transform .15s ease, opacity .15s ease;
}
.sf-match-link:hover,
.sf-match-link:focus-visible {
    color: var(--sf-green-strong);
    background: rgba(58,170,53,.045);
    outline: none;
}
.sf-match-link:hover svg,
.sf-match-link:focus-visible svg {
    transform: translateX(2px);
    opacity: 1;
}
.sf-table-hint {
    margin: 8px 2px 0;
    color: #8a918a;
    font-size: 9.5px;
    line-height: 1.35;
    text-align: right;
}

/* Dedicated match preview */
.sf-prediction-detail-wrap {
    padding: 30px 0 48px;
    background: #fff;
    border-bottom: 1px solid var(--sf-line);
}
.sf-prediction-detail-container { max-width: 920px; }
.sf-match-preview {
    overflow: hidden;
    border: 1px solid var(--sf-line-dark);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 7px 26px rgba(16,24,16,.055);
}
.sf-match-preview-header {
    padding: 27px 30px 22px;
    border-bottom: 1px solid var(--sf-line);
}
.sf-match-league {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 4px;
    background: var(--sf-green-soft);
    color: var(--sf-green-strong);
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.sf-match-preview-title {
    margin: 0;
    color: #101410;
    font-size: clamp(27px, 4.2vw, 40px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -.035em;
}
.sf-match-preview-title span { font-weight: 650; color: #6d746d; }
.sf-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 17px;
    color: #5d655d;
    font-size: 11px;
}
.sf-match-meta span { display: flex; gap: 5px; align-items: baseline; }
.sf-match-meta strong {
    color: #202620;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sf-prediction-summary {
    display: grid;
    grid-template-columns: 1.35fr 1fr .75fr;
    background: #070907;
    color: #fff;
}
.sf-prediction-summary > div {
    min-width: 0;
    padding: 18px 22px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.sf-prediction-summary > div:last-child { border-right: 0; }
.sf-summary-label {
    display: block;
    margin-bottom: 5px;
    color: #9fa69f;
    font-size: 8.5px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.sf-prediction-summary strong {
    display: block;
    color: #f7f9f7;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}
.sf-prediction-summary-main strong { color: #55c84f; }

.sf-match-featured-image {
    max-height: 480px;
    overflow: hidden;
    border-bottom: 1px solid var(--sf-line);
    background: #edf1ed;
}
.sf-match-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}
.sf-match-preview-body { padding: 4px 30px 20px; }
.sf-match-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--sf-line);
}
.sf-match-section:last-child { border-bottom: 0; }
.sf-match-section > h2 {
    margin: 0 0 11px;
    color: #111611;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -.01em;
}
.sf-rich-copy {
    color: #333a33;
    font-size: 14px;
    line-height: 1.72;
}
.sf-rich-copy p { margin: 0 0 14px; }
.sf-rich-copy p:last-child { margin-bottom: 0; }
.sf-rich-copy ul,
.sf-rich-copy ol { padding-left: 20px; }
.sf-rich-copy a { color: var(--sf-green-strong); text-decoration: underline; text-underline-offset: 2px; }

.sf-form-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.sf-form-panel {
    padding: 16px 17px;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    background: #fafbfa;
}
.sf-form-panel h3 {
    margin: 0 0 7px;
    color: #171c17;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.sf-final-prediction-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cfe7ce;
    border-left: 4px solid var(--sf-green);
    border-radius: 6px;
    background: #f1f9f0;
}
.sf-final-prediction-box > div {
    padding: 15px 17px;
    border-right: 1px solid #dcebdc;
}
.sf-final-prediction-box > div:last-child { border-right: 0; }
.sf-final-prediction-box span {
    display: block;
    margin-bottom: 4px;
    color: #617061;
    font-size: 8px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.sf-final-prediction-box strong {
    display: block;
    color: #176f1a;
    font-size: 13px;
    line-height: 1.35;
}
.sf-back-to-predictions { margin-top: 14px; }
.sf-back-to-predictions a {
    display: inline-flex;
    align-items: center;
    color: #4f574f;
    font-size: 11px;
    font-weight: 750;
}
.sf-back-to-predictions a:hover { color: var(--sf-green-strong); }

/* Prediction archive */
.sf-prediction-archive-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.sf-prediction-archive-item {
    padding: 16px 18px;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16,24,16,.025);
}
.sf-prediction-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 6px;
    color: #7a827a;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}
.sf-prediction-archive-meta span { color: var(--sf-green-strong); }
.sf-prediction-archive-item h2 {
    margin: 0 0 5px;
    font-size: 17px;
    line-height: 1.3;
}
.sf-prediction-archive-item h2 a:hover { color: var(--sf-green-strong); }
.sf-prediction-archive-item p {
    margin: 0 0 7px;
    color: #505750;
    font-size: 12px;
}
.sf-preview-link {
    color: var(--sf-green-strong);
    font-size: 10px;
    font-weight: 800;
}

@media (min-width: 1160px) {
    .sf-prediction-detail-wrap {
        width: min(100%, 1180px);
        margin-inline: auto;
        border-left: 1px solid #ecefec;
        border-right: 1px solid #ecefec;
    }
}

@media (max-width: 700px) {
    .sf-table-hint { display: none; }
    .sf-match-link { justify-content: center; padding-inline: 11px; }
    .sf-prediction-detail-wrap { padding: 20px 0 34px; }
    .sf-prediction-detail-container { width: min(calc(100% - 20px), 920px); }
    .sf-match-preview-header { padding: 21px 19px 18px; }
    .sf-match-preview-title { font-size: 27px; }
    .sf-match-meta { gap: 8px 15px; }
    .sf-prediction-summary { grid-template-columns: 1fr; }
    .sf-prediction-summary > div {
        padding: 14px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .sf-prediction-summary > div:last-child { border-bottom: 0; }
    .sf-prediction-summary strong { font-size: 14px; }
    .sf-match-preview-body { padding: 2px 19px 14px; }
    .sf-match-section { padding: 20px 0; }
    .sf-match-section > h2 { font-size: 16px; }
    .sf-rich-copy { font-size: 13.5px; }
    .sf-form-panels { grid-template-columns: 1fr; }
    .sf-final-prediction-box { grid-template-columns: 1fr; }
    .sf-final-prediction-box > div {
        border-right: 0;
        border-bottom: 1px solid #dcebdc;
    }
    .sf-final-prediction-box > div:last-child { border-bottom: 0; }
}


.sf-prediction-heading-short { display: none; }

/* =========================================================
   ScoopFootball Clean V4.1 — Mobile layout refinement
   Keep all three prediction columns visible without swiping,
   and turn the homepage news grid into a readable mobile feed.
   ========================================================= */

@media (max-width: 560px) {
    .sf-prediction-heading-full { display: none; }
    .sf-prediction-heading-short { display: inline; }

    /* Prediction table: all information stays inside the viewport. */
    .sf-prediction-table-wrap {
        overflow-x: hidden;
        box-shadow: 0 3px 12px rgba(16,24,16,.045);
    }

    .sf-prediction-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .sf-prediction-table th,
    .sf-prediction-table td {
        height: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .sf-prediction-table th {
        padding: 9px 5px;
        font-size: 8.5px;
        line-height: 1.2;
    }

    .sf-prediction-table td {
        padding: 10px 6px;
        font-size: 10px;
        line-height: 1.3;
    }

    .sf-prediction-table th:first-child { width: 27%; }
    .sf-prediction-table th:nth-child(2) { width: 45%; }
    .sf-prediction-table th:nth-child(3) { width: 28%; }

    .sf-prediction-table td:first-child {
        font-size: 9.7px;
        font-weight: 750;
    }

    .sf-match-link {
        min-height: 0;
        justify-content: center;
        gap: 3px;
        padding: 10px 4px;
        font-size: 10px;
        line-height: 1.3;
    }

    .sf-match-link svg {
        display: none;
    }

    /* News: one clean horizontal story per row on phones. */
    .sf-news-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .sf-news-card {
        display: grid;
        grid-template-columns: 126px minmax(0, 1fr);
        min-height: 112px;
        overflow: hidden;
        border-radius: 7px;
    }

    .sf-news-card-thumb {
        width: 126px;
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }

    .sf-news-card-body {
        min-width: 0;
        padding: 11px 11px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .sf-news-card-category {
        min-height: 0;
        margin-bottom: 5px;
        font-size: 8px;
        line-height: 1.2;
    }

    .sf-news-card-title {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        margin: 0 0 7px;
        font-size: 13px;
        line-height: 1.28;
        overflow-wrap: normal;
        word-break: normal;
    }

    .sf-news-card-date {
        margin-top: auto;
        font-size: 9px;
    }

    /* Slightly calmer section spacing on phones. */
    .sf-section {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .sf-global-predictions .sf-section {
        padding-top: 16px;
        padding-bottom: 18px;
    }
}

@media (max-width: 390px) {
    .sf-prediction-table th {
        padding-inline: 4px;
        font-size: 8px;
    }

    .sf-prediction-table td,
    .sf-match-link {
        font-size: 9.4px;
    }

    .sf-news-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 104px;
    }

    .sf-news-card-thumb {
        width: 112px;
        min-height: 104px;
    }

    .sf-news-card-title {
        font-size: 12.5px;
    }
}
