.fpwc-matches {
    display: grid;
    gap: 14px;
    margin: 20px 0;
}

.fpwc-match-card {
    background: #ffffff;
    border-left: 5px solid #f7d600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 16px;
    border-radius: 8px;
}

.fpwc-match-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.fpwc-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.fpwc-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
}

.fpwc-team-away {
    justify-content: flex-end;
    text-align: right;
}

.fpwc-crest {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.fpwc-score {
    background: #050044;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 800;
    min-width: 70px;
    text-align: center;
}

.fpwc-status {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #008ad8;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .fpwc-teams {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fpwc-team,
    .fpwc-team-away {
        justify-content: center;
        text-align: center;
    }

    .fpwc-score {
        margin: 4px auto;
    }
}

.fpwc-standings {
    display: grid;
    gap: 22px;
    margin: 25px 0;
}

.fpwc-standing-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.fpwc-standing-card h3 {
    background: #050044;
    color: #fff;
    margin: 0;
    padding: 14px 18px;
    font-size: 18px;
}

.fpwc-table {
    width: 100%;
    border-collapse: collapse;
}

.fpwc-table th {
    background: #f7d600;
    color: #050044;
    padding: 10px;
    font-size: 13px;
    text-align: center;
}

.fpwc-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.fpwc-standing-team {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left !important;
}

.fpwc-standing-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .fpwc-standing-card {
        overflow-x: auto;
    }

    .fpwc-table {
        min-width: 680px;
    }
}

.fpwc-standing-team img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain;
    flex: 0 0 26px;
}

.fpwc-standing-team {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.fpwc-table td,
.fpwc-table th {
    vertical-align: middle;
}

.fpwc-table img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain;
}

.fpwc-standings {
    margin-bottom: 40px;
}

.fpwc-standing-card {
    border-left: 5px solid #f7d600;
}

.fpwc-standing-card h3 {
    font-weight: 800;
    letter-spacing: 0.3px;
}

.fpwc-table tbody tr:hover {
    background: #f8f8f8;
}

.fpwc-table td:first-child,
.fpwc-table th:first-child {
    text-align: left;
    padding-left: 14px;
}

.fpwc-hero {
    background: linear-gradient(135deg, #050044, #008ad8);
    color: #fff;
    padding: 28px;
    border-radius: 14px;
    margin: 25px 0 18px;
    border-left: 6px solid #f7d600;
}

.fpwc-kicker {
    color: #f7d600;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .8px;
}

.fpwc-hero h1 {
    margin: 8px 0;
    font-size: 34px;
    color: #fff;
}

.fpwc-hero p {
    margin: 0;
    font-size: 16px;
}

.fpwc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.fpwc-tab {
    border: none;
    background: #e9eef4;
    color: #050044;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 8px;
}

.fpwc-tab.active {
    background: #f7d600;
    color: #050044;
}

.fpwc-tab-panel {
    display: none;
}

.fpwc-tab-panel.active {
    display: block;
}

@media (max-width: 600px) {
    .fpwc-hero {
        padding: 20px;
    }

    .fpwc-hero h1 {
        font-size: 26px;
    }

    .fpwc-tabs {
        flex-direction: column;
    }

    .fpwc-tab {
        width: 100%;
    }
}

.fpwc-competition-widget {
    max-width: 1200px;
    margin: 30px auto;
}

.fpwc-competition-header {
    background: #eaf4fb;
    padding: 18px 22px;
    margin-bottom: 18px;
    text-align: center;
}

.fpwc-competition-header h2 {
    margin: 0;
    color: #00a9d6;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 30px;
}

.fpwc-competition-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.fpwc-competition-column .fpwc-standing-card,
.fpwc-competition-column .fpwc-match-card {
    margin-bottom: 14px;
}

.fpwc-competition-column .fpwc-table th,
.fpwc-competition-column .fpwc-table td {
    font-size: 13px;
    padding: 8px;
}

.fpwc-competition-column .fpwc-standing-team img {
    width: 22px !important;
    height: 22px !important;
}

.fpwc-competition-column .fpwc-standing-team strong {
    font-size: 13px;
}

.fpwc-competition-column .fpwc-match-card {
    padding: 14px;
}

.fpwc-competition-column .fpwc-team {
    font-size: 14px;
}

.fpwc-competition-column .fpwc-score {
    min-width: 58px;
    padding: 6px 8px;
}

@media (max-width: 900px) {
    .fpwc-competition-grid {
        grid-template-columns: 1fr;
    }

    .fpwc-competition-header h2 {
        font-size: 24px;
    }
}

.fpwc-home-widget {
    max-width: 1200px;
    margin: 30px auto;
}

.fpwc-home-header {
    background: linear-gradient(135deg, #050044, #008ad8);
    color: #fff;
    padding: 24px;
    border-left: 6px solid #f7d600;
    border-radius: 12px;
    margin-bottom: 22px;
}

.fpwc-home-header span {
    color: #f7d600;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.fpwc-home-header h2 {
    color: #fff;
    margin: 6px 0 0;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
}

.fpwc-home-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 24px;
    align-items: start;
}

.fpwc-home-main h3,
.fpwc-home-side h3 {
    background: #eaf4fb;
    color: #00a9d6;
    padding: 14px 18px;
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 22px;
}

.fpwc-home-groups {
    display: grid;
    gap: 14px;
}

.fpwc-home-group {
    background: #fff;
    border-left: 5px solid #f7d600;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.fpwc-home-group h4 {
    background: #050044;
    color: #fff;
    margin: 0;
    padding: 12px 14px;
    font-size: 16px;
}

.fpwc-home-group-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.fpwc-home-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.fpwc-home-team img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}

@media (max-width: 900px) {
    .fpwc-home-grid {
        grid-template-columns: 1fr;
    }

    .fpwc-home-header h2 {
        font-size: 26px;
    }
}

.fpwc-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.fpwc-match-meta span {
    display: inline-flex;
    align-items: center;
    background: #eaf4fb;
    color: #050044;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
}

.fpwc-match-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.fpwc-match-details span {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.fpwc-match-details strong {
    color: #050044;
}

.fpwc-match-referee {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 14px;
    margin-bottom: 14px;

    font-size: 14px;
    color: #555;
}

.fpwc-match-referee strong {
    color: #050044;
}

.fpwc-match-details {
    justify-content: center;
}

.fpwc-section-title {
    background: #eaf4fb;
    color: #00a9d6;
    padding: 14px 18px;
    margin: 0 0 20px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 22px;
}

.fpwc-standings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.fpwc-matches-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 900px) {
    .fpwc-standings,
    .fpwc-matches-detailed {
        grid-template-columns: 1fr;
    }
}

.fpwc-match-status-finished {
    border-left-color: #22c55e;
}

.fpwc-match-status-timed,
.fpwc-match-status-scheduled {
    border-left-color: #008ad8;
}

.fpwc-match-status-live,
.fpwc-match-status-in-play,
.fpwc-match-status-paused {
    border-left-color: #ef4444;
}

.fpwc-match-status-finished .fpwc-status {
    color: #22c55e;
}

.fpwc-match-status-timed .fpwc-status,
.fpwc-match-status-scheduled .fpwc-status {
    color: #008ad8;
}

.fpwc-match-status-live .fpwc-status,
.fpwc-match-status-in-play,
.fpwc-match-status-paused .fpwc-status {
    color: #ef4444;
}

.fpwc-score {
    min-width: 80px;
    font-size: 22px;
}

.fpwc-qualified-row {
    background: #ecfdf3;
}

.fpwc-qualified-row td:first-child {
    border-left: 6px solid #22c55e;
}


/* Focus home shortcode headings */
.fpwc-home-widget-focused .fpwc-home-focused-section > h3,
.fpwc-home-widget-focused .fpwc-home-focus-match > h3 {
    background: #eaf4fb;
    color: #00a9d6;
    padding: 18px 22px;
    margin: 0 0 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 28px;
    line-height: 1.2;
}

.fpwc-home-widget-focused .fpwc-home-focused-section {
    margin-bottom: 34px;
}

.fpwc-home-widget-focused .fpwc-home-focus-matches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .fpwc-home-widget-focused .fpwc-home-focus-matches {
        grid-template-columns: 1fr;
    }

    .fpwc-home-widget-focused .fpwc-home-focused-section > h3,
    .fpwc-home-widget-focused .fpwc-home-focus-match > h3 {
        font-size: 22px;
        padding: 14px 18px;
    }
}

/* World Cup V2 */
.fpwc-worldcup-current-stage {
    background: #eaf4fb;
    border-left: 6px solid #f7d600;
    padding: 18px 22px;
    margin: 0 0 24px;
    border-radius: 8px;
}

.fpwc-worldcup-current-stage span {
    display: block;
    color: #008ad8;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .7px;
    margin-bottom: 4px;
}

.fpwc-worldcup-current-stage strong {
    display: block;
    color: #050044;
    font-size: 28px;
    text-transform: uppercase;
}

.fpwc-worldcup-stage-preview {
    margin-top: 28px;
}

.fpwc-worldcup-stage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.fpwc-worldcup-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.fpwc-worldcup-tabs a {
    background: #050044;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.fpwc-worldcup-tabs a:hover {
    background: #008ad8;
    color: #fff;
}

.fpwc-worldcup-stage {
    margin-bottom: 34px;
}

.fpwc-worldcup-match-card .fpwc-match-meta span {
    font-size: 12px;
}

@media (max-width: 900px) {
    .fpwc-worldcup-stage-grid {
        grid-template-columns: 1fr;
    }

    .fpwc-worldcup-current-stage strong {
        font-size: 22px;
    }
}

/* Fix mobile bottoni tabellone Mondiale */
.fpwc-worldcup-knockout .fpwc-worldcup-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
    align-items: center !important;
}

.fpwc-worldcup-knockout .fpwc-worldcup-tabs a,
.fpwc-worldcup-knockout .fpwc-worldcup-tabs a:link,
.fpwc-worldcup-knockout .fpwc-worldcup-tabs a:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #050044 !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fpwc-worldcup-knockout .fpwc-worldcup-tabs a:hover,
.fpwc-worldcup-knockout .fpwc-worldcup-tabs a:focus {
    background: #008ad8 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .fpwc-worldcup-knockout .fpwc-worldcup-tabs {
        gap: 8px !important;
        margin-bottom: 18px !important;
    }

    .fpwc-worldcup-knockout .fpwc-worldcup-tabs a,
    .fpwc-worldcup-knockout .fpwc-worldcup-tabs a:link,
    .fpwc-worldcup-knockout .fpwc-worldcup-tabs a:visited {
        font-size: 12px !important;
        padding: 9px 12px !important;
    }
}
