/*
Theme Name: GeneratePress Child
Theme URI: https://eplfixtures.com
Description: A child theme for GeneratePress.
Author: EPL Fixtures
Author URI: https://eplfixtures.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child
*/

/* ✅ FIX — only hide author/category inside post meta, not on archive/author pages */
.entry-meta .byline,
.entry-meta .posted-by,
.entry-meta .author,
.entry-meta .meta-author,
.entry-meta .post-categories,
.entry-meta .cat-links {
  display: none !important;
}

/* === Site Logo === */
.site-logo img {
  width: 239px;
  height: auto;
}

/* === Footer Widgets Custom === */
.footer-widget-1-custom {
  flex: 0 0 100%;
  max-width: 100%;
}
@media(min-width: 769px) {
  .footer-widget-1-custom {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.footer-widget-2-custom #block-8 { display: none !important; }

.footer-widget-1-custom .widget,
.footer-widget-2-custom .widget {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.footer-disclaimer {
  text-align: justify;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  max-width: 1200px;
  margin: 5px auto 0;
  padding: 8px 20px 10px;
  border-top: 1px solid #ddd;
}
@media(max-width: 768px) {
  .footer-disclaimer { padding: 10px; }
}

/* === Footer Menu === */
.footer-widget-1-custom .widget_nav_menu ul.menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding-left: 0;
  margin: 0;
  list-style: none;
}
@media(max-width: 600px) {
  .footer-widget-1-custom .widget_nav_menu ul.menu { justify-content: center; }
}
.footer-widget-1-custom .widget_nav_menu li {
  margin: 0;
  padding: 0 8px;
  white-space: nowrap;
}
.footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #888;
  font-size: 12px;
}
@media (max-width: 480px) {
  .footer-widget-1-custom .widget_nav_menu li { padding: 0 4px; }
  .footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after {
    margin-left: 4px;
    font-size: 11px;
  }
  .footer-widget-1-custom .widget_nav_menu a { font-size: 12px; }
}
@media(max-width: 400px) {
  .footer-widget-1-custom .widget_nav_menu a { font-size: 11.5px; }
  .footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after { font-size: 10px; }
}
.footer-widget-1-custom .widget_nav_menu a {
  text-decoration: none;
  color: #002C5F;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.footer-widget-1-custom .widget_nav_menu a:hover { color: #000; }

/* === EPL Columns === */
.epl-col {
  flex: 1 1 30%;
  max-width: 32%;
  padding: 8px;
  background-color: #f0f2f5;
  border-radius: 6px;
}
@media(max-width: 768px) {
  .epl-col { flex: 1 1 100% !important; max-width: 100% !important; }
}

/* === Generic Boxes === */
.epl-box,
.epl-box-tight {
  background-color: #f0f2f5;
  border-radius: 6px;
  margin: 10px 0;
}
.epl-box { padding: 12px 16px; }
.epl-box-tight { padding: 8px 12px; }

/* === Headings & Text === */
.epl-heading {
  font-size: 20px;
  color: #002c5f;
  margin: 0;
}
.epl-subheading {
  font-size: 18px;
  color: #002c5f;
  margin: 0 0 10px;
  text-align: center;
}
.text-justify { text-align: justify; }
.text-center { text-align: center; }
.text-primary { color: #002c5f; }
.fs-16 { font-size: 16px; }
.fs-15 { font-size: 15px; }
.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.mt-0 { margin-top: 0; }

/* === Layout Helpers === */
.flex-wrap { display: flex; flex-wrap: wrap; gap: 16px; }
.flex-col { flex: 1 1 48%; }
.epl-spacer { margin-top: 24px; }

/* === Custom Post Nav === */
.custom-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  font-size: 16px;
}
.custom-post-nav .nav-prev,
.custom-post-nav .nav-next { width: 48%; word-break: break-word; }
.custom-post-nav a {
  text-decoration: none;
  color: #1e73be;
  font-weight: 600;
}
.custom-post-nav a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .custom-post-nav { flex-direction: column; gap: 12px; }
  .custom-post-nav .nav-prev,
  .custom-post-nav .nav-next { width: 100%; text-align: center; }
}

/* === Author Info Box (Single Post) === */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 30px 0 20px;
  padding: 16px 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ✅ subtle shadow for container */
}

.author-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 18px;
  margin: 0 0 6px;
  color: #002c5f;
}

.author-name a {
  color: #002c5f;
  text-decoration: none;
  font-weight: 600;
}

.author-name a:hover {
  text-decoration: underline;
}

.author-bio {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  margin: 0;
  text-align: justify; /* ✅ new */
}


/* === Mobile Fix (Single Post Author Box) === */
@media (max-width: 600px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px; /* ✅ more breathing space */
  }

  .author-avatar {
    margin-bottom: 12px;
  }

  .author-info {
    text-align: center;
  }

  .author-name {
    font-size: 17px;
  }

  .author-bio {
    font-size: 14px;
  }
}

/* === Author Archive Page Styling === */
body.author .page-header {
  text-align: center;
  margin-bottom: 40px;
}

body.author .author-archive-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 40px;
  max-width: 900px;
  padding: 25px 30px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

body.author .author-archive-avatar img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 3px solid #002c5f; /* ✅ nice accent border */
}

body.author .author-archive-info {
  flex: 1;
}

body.author .author-archive-name {
  font-size: 24px;
  font-weight: 700;
  color: #002c5f;
  margin: 0 0 10px;
}

body.author .author-archive-bio {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 10px;
}

body.author .author-archive-social {
  margin-top: 8px;
}

body.author .author-archive-social a {
  display: inline-block;
  margin-right: 10px;
  color: #002c5f;
  font-size: 18px;
  transition: color 0.3s ease;
}

body.author .author-archive-social a:hover {
  color: #000;
}

/* === Mobile Responsive (Author Archive Page) === */
@media (max-width: 600px) {
  body.author .author-archive-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  body.author .author-archive-avatar {
    margin-bottom: 15px;
  }

  body.author .author-archive-name {
    font-size: 20px;
  }

  body.author .author-archive-bio {
    font-size: 14.5px;
  }
}
/* === Author Box Heading === */
.author-heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #002c5f;
}
@media (min-width: 769px) {
  .author-heading {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 2px;  /* ✅ reduced from 16px */
  }

  .author-box {
    flex-wrap: wrap;       /* allow heading to wrap to its own row */
    align-items: flex-start;
    text-align: left;      /* keep text readable */
  }
}
/* ✅ Custom Pagination Styling */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 16px;
    border-radius: 25px;
    background: #f9f9f9;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination .page-numbers:hover {
    background: #eaeaea;
    color: #000;
}

.pagination .page-numbers.current {
    background: #222;
    color: #fff;
    font-weight: bold;
}
/* Shared Flexbox Wrapper */
.multi-col-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

/* Shared Box Styling */
.multi-col-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  width: 100%;
}

/* One-column layout (default on mobile) */
.one-col .multi-col-box {
  width: 100%;
}

/* Two-column layout */
@media (min-width: 768px) {
  .two-col .multi-col-box {
    width: 48%;
  }
}

/* Three-column layout */
@media (min-width: 1024px) {
  .three-col .multi-col-box {
    width: 32.5%;
  }
}
/* === Footer Menu Pipes & Spacing === */
.footer-widget-1-custom .widget_nav_menu {
  margin-bottom: 5px !important;
  padding-bottom: 0 !important;
}

.footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after {
  content: "|";
  display: inline-block;
  margin-left: 8px;
  color: #888;
  font-weight: 400;
  font-size: 12px;
  position: static;
  transform: none;
}

@media (max-width: 480px) {
  .footer-widget-1-custom .widget_nav_menu li {
    padding: 0 4px;
  }

  .footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after {
    display: inline !important;
    margin-left: 4px;
    font-size: 11px;
  }

  .footer-widget-1-custom .widget_nav_menu a {
    font-size: 12px;
  }
}

@media(max-width: 400px) {
  .footer-widget-1-custom .widget_nav_menu li {
    padding: 0 4px;
  }
  .footer-widget-1-custom .widget_nav_menu a {
    font-size: 11.5px;
  }
  .footer-widget-1-custom .widget_nav_menu li:not(:last-child)::after {
    font-size: 10px;
  }
}

/* === Two-column Box Layout Helpers === */
.two-col-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.two-col-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .two-col-box {
    width: 48%;
  }
}

/* === VS Map Note === */
.vsmap-note {
  font-size: 12px;
  color: #333;
  font-style: bold;
  text-align: right;
}

/* === News Item Spacing === */
.news-item {
  margin-bottom: 24px;
}

.news-item .wp-block-post-title {
  margin-bottom: 6px !important;
}

.news-item .wp-block-post-excerpt {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* === Missing from Latest CSS (restored from Old CSS) === */

/* Archive Table */
@media(max-width: 600px) {
  .epl-archive-table {
    font-size: 13px;
  }
}
.epl-archive-table td,
.epl-archive-table th {
  padding: 6px 8px;
}
.epl-archive-table th {
  background-color: #f3f3f3;
  font-weight: 600;
}
.epl-archive-table a {
  text-decoration: none;
  color: #002c5f;
  font-weight: 500;
}

/* Remove spacing from content & footer widgets */
.entry-content,
article,
.site-main,
#content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.footer-widgets-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Notes */
.vsmap-note {
  font-size: 12px;
  color: #333;
  font-style: bold;
  text-align: right;
}

/* Two-column box layout */
.two-col-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.two-col-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  width: 100%;
}
@media (min-width: 768px) {
  .two-col-box { width: 48%; }
}

/* Shared Flex + Box Styling */
.multi-col-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}
.multi-col-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  width: 100%;
}
.one-col .multi-col-box { width: 100%; }
@media (min-width: 768px) {
  .two-col .multi-col-box { width: 48%; }
}
@media (min-width: 1024px) {
  .three-col .multi-col-box { width: 31%; }
}

/* Universal Table */
.universal-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.universal-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 16px;
  background-color: #fff;
}
.universal-table thead tr { background-color: #f2f2f2; }
.universal-table th,
.universal-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .universal-table { font-size: 14px; }
}
/* Remove phantom spacing */
.universal-table-wrapper::after,
.universal-table-wrapper table::after,
.universal-table-wrapper table tbody::after {
  content: none !important;
  display: none !important;
}
.universal-table-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}
.universal-table-wrapper + p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  height: 0 !important;
}

/* News item spacing */
.news-item { margin-bottom: 24px; }
.news-item .wp-block-post-title { margin-bottom: 6px !important; }
.news-item .wp-block-post-excerpt {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Golden Boot Table */
.golden-boot-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
}
.golden-boot-table {
  width: 100%;
  border-collapse: separate; /* needed for rounded corners */
  border-spacing: 0;
  font-size: 15px;
  background-color: #fff;
  border-radius: 10px; /* rounded corners */
  overflow: hidden;
}
.golden-boot-table th,
.golden-boot-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}
.golden-boot-table th {
  background-color: #f1f1f1;
  font-weight: bold;
}
/* rounded corners */
.golden-boot-table th:first-child { border-top-left-radius: 10px; }
.golden-boot-table th:last-child { border-top-right-radius: 10px; }
.golden-boot-table tr:last-child td:first-child { border-bottom-left-radius: 10px; }
.golden-boot-table tr:last-child td:last-child { border-bottom-right-radius: 10px; }
@media screen and (max-width: 600px) {
  .golden-boot-table-wrapper { padding: 0 10px; }
  .golden-boot-table {
    border: none;
    border-radius: 0;
    border-collapse: collapse;
  }
  .golden-boot-table thead { display: none; }
  .golden-boot-table tbody tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }
  .golden-boot-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 15px;
  }
  .golden-boot-table td:last-child { border-bottom: none; }
  .golden-boot-table td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 0 0 45%;
    text-align: left;
  }
}
/* Fix: Prevent vertical scroll on footer menu */
.footer-widget-1-custom .widget_nav_menu ul.menu {
  overflow-y: hidden !important;
}
/* =========================================================
   Time Zone Row – FINAL FINAL FIX
   ========================================================= */

.multi-col-flex.four-col {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Allow maximum horizontal packing */
.multi-col-flex.four-col .multi-col-box {
  width: auto !important;       /* override global width:100% */
  flex: 1 1 0;                  /* allow shrinking */
  min-width: 90px;              /* 🔑 key change */
  padding: 12px 8px;            /* tighter like table cells */
  border-radius: 0;
  text-align: center;
  white-space: normal;          /* allow label wrap if needed */
}

/* Desktop: force one perfect row */
@media (min-width: 1024px) {
  .multi-col-flex.four-col .multi-col-box {
    flex: 0 0 25%;
  }
}

/* Rounded edges like a table */
.multi-col-flex.four-col .multi-col-box:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.multi-col-flex.four-col .multi-col-box:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* Improve label readability */
.multi-col-flex.four-col .multi-col-box strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
}
/* =========================================================
   World Cup Post – Unified Styling (SAFE, TEXT-UNCHANGED)
   ========================================================= */

/* Base text */
.wc-paragraph {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 14px;
}

/* Section titles */
.wc-title {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #002c5f;
  margin: 22px 0 10px;
}

/* Highlight / Info boxes */
.wc-box {
  background-color: #f9f9f9;
  padding: 18px 20px;
  border-left: 4px solid #002c5f;
  border-radius: 8px;
  margin: 18px 0;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

/* Tables (World Cup specific) */
.wc-table {
  width: 100%;
  border-collapse: separate;
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-align: center;
  margin: 18px 0 22px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.wc-table thead tr {
  background-color: #002c5f;
  color: #ffffff;
}

.wc-table th,
.wc-table td {
  padding: 10px;
  box-sizing: border-box;
}

.wc-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Lists inside WC boxes */
.wc-box ul {
  margin-left: 18px;
}

.wc-box li {
  margin-bottom: 6px;
}

/* Mobile refinement */
@media (max-width: 600px) {
  .wc-paragraph {
    font-size: 14.5px;
  }

  .wc-title {
    font-size: 15.5px;
  }

  .wc-box {
    padding: 16px;
  }
}
/* =========================================================
   World Cup Editorial Card Sections (Reusable)
   ========================================================= */

/* Main section card */
.wc-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin: 28px 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Card header (title strip) */
.wc-card-header {
  background: linear-gradient(135deg, #002c5f, #004a9f);
  color: #ffffff;
  padding: 12px 18px; /* balanced height for single & multi-line titles */
}

/* Header title */
.wc-card-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25; /* key fix for long wrapped headings */
  max-width: 100%;
}

/* Card subtext */
.wc-card-subtext {
  font-family: Arial, sans-serif;
  padding: 14px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid #e6e6e6;
}

/* Card content */
.wc-card-body {
  padding: 18px 20px;
}

/* Divider rows inside card */
.wc-card-row {
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}

.wc-card-row:last-child {
  border-bottom: none;
}

/* Country / item title */
.wc-card-row-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Text inside rows */
.wc-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* Lists inside cards */
.wc-card-body ul {
  margin-left: 18px;
}

.wc-card-body li {
  margin-bottom: 6px;
}

/* Links inside cards */
.wc-card a {
  color: #004a9f;
  font-weight: 600;
  text-decoration: none;
}

.wc-card a:hover {
  text-decoration: underline;
}
.wc-card-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  list-style: none;              /* important: removes bullet */
  font-size: 14px;
}

.wc-card-footer a {
  color: #0056b3;
  font-weight: 600;
  text-decoration: none;
}

.wc-card-footer a:hover {
  text-decoration: underline;
}
.wc-zone-links div {
  margin-bottom: 6px;
}

.wc-zone-links div:last-child {
  margin-bottom: 0;
}
/* Venue country legend bar */

.wc-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}

.wc-legend .legend-item {
  padding-left: 12px;
  font-weight: 600;
  font-size: 14px;
  border-left: 6px solid;
}

.wc-legend .usa {
  border-color: #3c3b6e;
}

.wc-legend .canada {
  border-color: #d80621;
}

.wc-legend .mexico {
  border-color: #006847;
}
/* Only color the Stadium column instead of every cell */

.wc-table tr.venue-usa td:first-child {
  border-left: 6px solid #3c3b6e;
}

.wc-table tr.venue-canada td:first-child {
  border-left: 6px solid #d80621;
}

.wc-table tr.venue-mexico td:first-child {
  border-left: 6px solid #006847;
}
.wc-team-summary td {
  border-bottom: 1px solid #e6e6e6;
}

.wc-team-summary tr:last-child td {
  border-bottom: none;
}

.wc-team-summary {
  font-size: 15px;
}


/* Mobile optimization */
@media (max-width: 600px) {
  .wc-card-header h3 {
    font-size: 16.5px;
    line-height: 1.25;
  }

  .wc-card-text {
    font-size: 14.5px;
  }

  .wc-card-row-title {
    font-size: 15.5px;
  }
}
/* =========================================================
   World Cup – Top Performers Stats Grid (NO COLOR FILL)
   ========================================================= */

/* Grid container */
.wc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Individual stat card – clean white */
.wc-stat-col {
  background: #ffffff;                 /* no color fill */
  border: 1px solid #e5e7eb;           /* soft neutral border */
  border-radius: 14px;
  padding: 14px 16px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover effect – subtle FIFA blue accent */
.wc-stat-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 44, 95, 0.15);
  border-color: #002c5f;
}

/* Stat title bar */
.wc-stat-title {
  font-size: 17px;
  font-weight: 700;
  color: #002c5f;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;    /* neutral divider */
}

/* Slightly tighten ANWPFL tables inside cards */
.wc-stat-col table {
  margin-top: 8px !important;
  font-size: 14px;
}

/* Reduce spacing between rows inside stat tables */
.wc-stat-col td,
.wc-stat-col th {
  padding: 6px 8px !important;
}

/* Tablet layout – 2 columns */
@media (max-width: 1024px) {
  .wc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile layout – 1 column */
@media (max-width: 600px) {
  .wc-stats-grid {
    grid-template-columns: 1fr;
  }

  .wc-stat-title {
    font-size: 16px;
  }
}
/* =========================================================
   World Cup – Jump Navigation (Stats Quick Links)
   ========================================================= */

.wc-jump-card {
  margin-top: 20px;
}

/* Container for buttons */
.wc-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

/* Individual jump buttons */
.wc-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #002c5f;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

/* Hover effect */
.wc-jump-btn:hover {
  background: #f7faff;
  border-color: #002c5f;
  color: #002c5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 44, 95, 0.15);
}

/* Active / focus state (when clicked) */
.wc-jump-btn:focus {
  outline: none;
  background: #002c5f;
  color: #ffffff;
  border-color: #002c5f;
}

/* Mobile optimisation */
@media (max-width: 600px) {
  .wc-jump-nav {
    justify-content: center;
  }

  .wc-jump-btn {
    font-size: 14.5px;
    padding: 9px 16px;
  }
}
/* Five-column grid for confederations */
.multi-col-flex.five-col {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.multi-col-flex.five-col .multi-col-box {
  width: calc(20% - 10px);   /* accounts for gap so 5 fit perfectly */
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: keep-all;
  white-space: normal;
}
/* Tablet – 3 per row */
@media (max-width: 1024px) {
  .multi-col-flex.five-col .multi-col-box {
    width: calc(33.33% - 10px);
  }
}

/* Mobile – 2 per row */
@media (max-width: 600px) {
  .multi-col-flex.five-col .multi-col-box {
    width: calc(50% - 10px);
  }
}
/* Quick Navigation grid */
.multi-col-flex.six-col.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 6 per row on desktop */
.multi-col-flex.six-col.quick-nav .multi-col-box {
  width: calc(16.66% - 10px);
  min-height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.multi-col-flex.six-col.quick-nav .multi-col-box a {
  color: #0b4fa3;
  text-decoration: none;
}

.multi-col-flex.six-col.quick-nav .multi-col-box:hover {
  background: #f5f9ff;
  border-color: #1565c0;
}

/* Tablet – 4 per row */
@media (max-width: 1024px) {
  .multi-col-flex.six-col.quick-nav .multi-col-box {
    width: calc(25% - 10px);
  }
}

/* Mobile – 3 per row */
@media (max-width: 600px) {
  .multi-col-flex.six-col.quick-nav .multi-col-box {
    width: calc(33.33% - 10px);
  }
}
.quick-nav .quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.1;
}

.quick-nav .quick-link strong {
  margin: 0;
  line-height: 1.1;
}

.quick-nav .quick-sub {
  display: block;
  font-size: 12px;
  line-height: 1.05;
  margin-top: 2px;   /* small, tight gap */
  opacity: 0.75;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: center;
}

/* Base flag behavior (for paragraphs, tables, etc.) */
.flag-icon {
  width: auto;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 6px;
  object-fit: contain;
  border-radius: 2px;
}

/* Headings – match emoji flags exactly */
h1 .flag-icon,
h2 .flag-icon,
h3 .flag-icon {
  height: 0.8em;       
  vertical-align: 0em;
  margin-right: 6px;   
  border-radius: 2px;
}
.flg-icon {
  border-radius: 2px;
}
.multi-col-flex.six-col.quick-nav .multi-col-box {
  padding: 10px 8px;   /* tighter vertical spacing */
}
/* Make Gutenberg pagination look like GeneratePress */

.wp-block-query-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

/* All pagination buttons */
.wp-block-query-pagination a,
.wp-block-query-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 50px;
    background: #f1f1f1;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover effect */
.wp-block-query-pagination a:hover {
    background: #e2e2e2;
}

/* Current page */
.wp-block-query-pagination .current {
    background: #222;
    color: #fff;
}

/* Next button */
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
    border-radius: 50px !important;
    padding: 0 18px !important;
}
.wc-emoji-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.25em;
}
/* =========================================
   WC Points Tables – Two Column Grid Layout
   ========================================= */

.wc-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 25px 0;
}

/* Remove extra top margin from plugin card */
.wc-two-col-grid .vsmap-standings-card {
  margin-top: 0 !important;
}

/* Ensure wrapper doesn't overflow */
.wc-two-col-grid .vsmap-table-responsive {
  overflow-x: auto;
}

/* Mobile: stack */
@media (max-width: 768px) {
  .wc-two-col-grid {
    grid-template-columns: 1fr;
  }
}