
/*
Theme Name: ICC ODI World Cup 2027
Theme URI: https://iccodiworldcup.com/
Author: ICCODIWorldCup.com
Description: Premium lightweight WordPress theme for ICC ODI World Cup 2027.
Version: 11.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iccodiworldcup
License: GPL v2 or later
*/
:root{--navy:#061827;--navy2:#0a2638;--green:#0a7b4f;--green2:#13a36b;--gold:#d8b54a;--cream:#f4f6f2;--white:#fff;--ink:#10202b;--muted:#667782;--line:#dfe7e3;--shadow:0 12px 34px rgba(6,24,39,.08);--r:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
body,button,input{font-size:16px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.container{width:min(1180px,calc(100% - 36px));margin:0 auto}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
.site-header{position:sticky;top:0;z-index:999;background:rgba(6,24,39,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1);color:#fff}
.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-.03em;white-space:nowrap}
.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,var(--green2),#075538);display:grid;place-items:center;font-size:18px;box-shadow:0 5px 20px rgba(19,163,107,.25)}
.brand-text{font-size:15px}.brand-text span{display:block;font-size:9px;letter-spacing:.16em;color:#aebdc6;margin-top:2px}
.primary-menu{display:flex;align-items:center;gap:5px;margin-left:auto}
.primary-menu a{padding:10px 11px;border-radius:9px;color:#d9e3e8;font-size:13px;font-weight:750}
.primary-menu a:hover{background:rgba(255,255,255,.08);color:#fff}
.menu-toggle{display:none;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;border-radius:10px;padding:9px 11px;font-weight:800}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 20%,rgba(19,163,107,.28),transparent 32%),linear-gradient(120deg,#051421 0%,#09283a 55%,#063d2b 100%);color:#fff}
.hero:after{content:"";position:absolute;inset:auto -10% -180px auto;width:520px;height:520px;border:1px solid rgba(216,181,74,.2);border-radius:50%;box-shadow:0 0 0 50px rgba(216,181,74,.025),0 0 0 100px rgba(216,181,74,.018)}
.hero-inner{position:relative;z-index:1;padding:82px 0 76px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:55px;align-items:end}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#e2c25e;font-weight:850;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.eyebrow:before{content:"";width:26px;height:2px;background:var(--gold)}
.hero h1{font-size:clamp(42px,6.2vw,78px);line-height:.95;letter-spacing:-.065em;max-width:820px;margin:16px 0 22px}
.hero-copy{font-size:18px;line-height:1.6;color:#c8d4da;max-width:700px;margin:0}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 17px;font-weight:850;font-size:14px;background:var(--green2);color:#fff;border:1px solid var(--green2)}
.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.3)}
.hero-info{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:24px;box-shadow:0 18px 60px rgba(0,0,0,.14)}
.hero-info .date{font-size:30px;font-weight:900;letter-spacing:-.04em;margin:10px 0 3px}
.hero-info .hosts{color:#b9c8cf;font-size:14px}
.stats{background:#fff;border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:23px 18px;text-align:center;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:29px;line-height:1;font-weight:950;letter-spacing:-.04em;color:var(--navy)}
.stat span{display:block;margin-top:7px;font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.section{padding:68px 0}.section-white{background:#fff}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}
.section-head h2{font-size:clamp(28px,4vw,42px);line-height:1.05;letter-spacing:-.05em;margin:0 0 8px}
.section-head p{margin:0;color:var(--muted);max-width:650px}
.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:21px;box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(6,24,39,.11)}
.match-card{padding:0;overflow:hidden}
.match-top{padding:15px 18px;background:#f0f5f2;display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:var(--green)}
.match-body{padding:20px 18px}.teams{font-size:18px;font-weight:900;letter-spacing:-.025em}.vs{color:var(--muted);font-size:11px;margin:6px 0}.venue{color:var(--muted);font-size:13px;margin-top:7px}
.pill{display:inline-flex;background:#e9f4ef;color:#086b46;padding:4px 8px;border-radius:7px;font-size:10px;font-weight:850}
.stage{min-height:150px;position:relative;overflow:hidden}
.stage:before{content:"";position:absolute;right:-30px;bottom:-60px;width:130px;height:130px;border:1px solid rgba(10,123,79,.12);border-radius:50%}
.stage h3,.card h3{margin:0 0 7px;font-size:17px;letter-spacing:-.02em}.card p{margin:0;color:var(--muted);font-size:14px}
.group-card{background:var(--navy);color:#fff;border-color:var(--navy)}.group-card h3{color:#e4c45e}.group-card p{color:#c8d4da;line-height:1.8}
.feature-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
.feature-main{min-height:310px;background:linear-gradient(140deg,#08293a,#075a3d);color:#fff;border:0;display:flex;flex-direction:column;justify-content:flex-end}
.feature-main p{color:#cbd8dc}.feature-main h3{font-size:27px}
.venue-card{min-height:155px;background:linear-gradient(145deg,#fff,#f3f7f4)}
.venue-card strong{font-size:20px;display:block;margin-top:10px}
.ticket-band{background:linear-gradient(115deg,#061827,#0a4634);color:#fff;border-radius:24px;padding:35px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.ticket-band h2{font-size:34px;line-height:1.05;margin:0 0 8px;letter-spacing:-.045em}.ticket-band p{margin:0;color:#c8d4da}
.article-card{overflow:hidden;padding:0}.article-card .thumb{aspect-ratio:16/9;background:#dce5e1}.article-card .article-body{padding:19px}.article-card h3{font-size:18px}
.site-footer{background:#04121d;color:#b9c7cf;padding:50px 0 22px}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:35px}.site-footer h3{color:#fff;font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 13px}.site-footer p{font-size:13px;max-width:320px}.site-footer a{display:block;font-size:13px;margin:8px 0;color:#b9c7cf}.site-footer a:hover{color:#fff}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:18px;font-size:11px;color:#8798a2}
.entry-content{max-width:800px;font-size:18px}.entry-content img{margin:20px 0}.entry-content h2{margin-top:35px}.entry-content a{color:var(--green);text-decoration:underline}
@media(max-width:980px){.primary-menu{gap:0}.primary-menu a{padding:9px 7px;font-size:12px}.hero-inner{grid-template-columns:1fr}.hero-info{max-width:480px}.grid-4{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.container{width:min(100% - 24px,1180px)}.header-inner{height:64px}.menu-toggle{display:block}.primary-menu{display:none;position:absolute;top:64px;left:12px;right:12px;padding:9px;background:var(--navy);border:1px solid rgba(255,255,255,.1);border-radius:0 0 14px 14px;flex-direction:column;align-items:stretch;box-shadow:0 20px 45px rgba(0,0,0,.25)}.primary-menu.is-open{display:flex}.primary-menu a{padding:12px}.hero-inner{padding:55px 0 48px}.hero h1{font-size:46px}.hero-copy{font-size:16px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:19px 10px}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.section{padding:48px 0}.section-head{display:block}.section-head .btn{margin-top:15px}.grid-3,.grid-4{grid-template-columns:1fr}.ticket-band{display:block;padding:28px 22px}.ticket-band .btn{margin-top:18px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.brand-text{font-size:12px}.brand-text span{font-size:7px}.brand-mark{width:34px;height:34px}.hero h1{font-size:40px}.actions .btn{width:100%}.footer-grid{grid-template-columns:1fr}.hero-info .date{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}.btn{transition:none}}

.page-hero{padding:6px 0 32px;max-width:820px}.page-hero h1{font-size:clamp(38px,6vw,64px);line-height:1;letter-spacing:-.06em;margin:14px 0}.page-hero p{font-size:18px;color:var(--muted);max-width:700px}.page-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.page-main{min-height:360px}.page-main h2{font-size:30px;letter-spacing:-.04em}.side-nav{height:max-content;position:sticky;top:92px}.side-nav a{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-weight:750;font-size:14px}.side-nav a:hover{color:var(--green)}.source-note{margin-top:35px;padding:14px;background:#f0f5f2;border-left:3px solid var(--green);font-size:13px!important;color:var(--muted)}.entry-content{max-width:800px}.entry-content p{margin:0 0 18px}.entry-content h2{margin:34px 0 12px}.entry-content h3{margin:26px 0 9px}.entry-content ul,.entry-content ol{padding-left:22px}.entry-content a{color:var(--green);text-decoration:underline}@media(max-width:800px){.page-content-grid{grid-template-columns:1fr}.side-nav{position:static}}


/* ===== Theme utility features ported from TeamStats Lite ===== */

/* Responsive WP menu submenus */
.primary-menu{position:relative}
.primary-menu>li{position:relative}
.primary-menu .sub-menu{
  position:absolute;
  top:calc(100% + 4px);
  left:0;
  z-index:10000;
  min-width:230px;
  margin:0;
  padding:7px 0;
  list-style:none;
  background:var(--navy);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  box-shadow:0 14px 32px rgba(0,0,0,.24);
  opacity:0;
  visibility:hidden;
  transform:translateY(5px);
  pointer-events:none;
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
}
.primary-menu>li:hover>.sub-menu,
.primary-menu>li:focus-within>.sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.primary-menu .sub-menu li{display:block;margin:0}
.primary-menu .sub-menu a{display:block;width:100%;border-radius:0;padding:10px 14px;white-space:nowrap}
.iccw-submenu-toggle{display:none}

/* Table of contents */
.iccw-toc{
  margin:24px 0;
  padding:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.iccw-toc-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 16px;
  background:#f7f9f7;
}
.iccw-toc-head strong{font-size:15px}
.iccw-toc-toggle{
  border:1px solid #ccd8d2;
  background:#fff;
  color:var(--ink);
  border-radius:8px;
  padding:6px 10px;
  font-weight:800;
  cursor:pointer;
}
.iccw-toc-list{margin:0;padding:12px 18px 14px 34px}
.iccw-toc-list li{margin:5px 0}
.iccw-toc-list li.iccw-toc-sub{margin-left:18px;font-size:.94em}
.iccw-toc.is-collapsed .iccw-toc-list{display:none}

/* Optional social CTAs */
.iccw-social-after-first{display:grid;gap:10px;margin:22px 0}
.iccw-social-cta{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 20px;
  align-items:center;
  gap:12px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 18px rgba(6,24,39,.05);
}
.iccw-social-cta:hover{transform:translateY(-1px);border-color:#c6d4ce}
.iccw-social-icon{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  font-size:11px;font-weight:900;color:#fff;
  background:var(--green);
}
.iccw-social-telegram .iccw-social-icon{background:#229ed9}
.iccw-social-cta strong{display:block;font-size:13px;line-height:1.25}
.iccw-social-cta small{display:block;margin-top:2px;color:var(--muted);font-size:11px}

/* BCCI video preview */
.iccw-bcci-video-preview{
  margin:24px 0;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
}
.iccw-bcci-video-link{display:block}
.iccw-bcci-video-visual{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  background:var(--navy);
  overflow:hidden;
}
.iccw-bcci-video-visual img{width:100%;height:100%;object-fit:cover}
.iccw-bcci-fallback{display:grid;place-items:center;height:100%;color:#fff;font-weight:900;font-size:28px}
.iccw-bcci-play{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:58px;height:58px;
  border-radius:50%;
  display:grid;place-items:center;
  background:rgba(10,123,79,.94);
  color:#fff;
  font-size:22px;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.iccw-bcci-badge{
  position:absolute;
  top:12px;left:12px;
  padding:5px 8px;
  border-radius:6px;
  background:rgba(6,24,39,.86);
  color:#fff;
  font-size:10px;font-weight:900;letter-spacing:.08em;
}
.iccw-bcci-video-preview figcaption{
  display:flex;justify-content:space-between;gap:14px;
  padding:12px 14px;
  font-size:13px;
}
.iccw-bcci-video-preview figcaption span{color:var(--muted);white-space:nowrap}

/* Media/performance defaults */
.entry-content img{height:auto;max-width:100%}
.entry-content table{width:100%;border-collapse:collapse;overflow-x:auto}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:9px}
@media (max-width:800px){
  .primary-menu{
    display:none;
    position:absolute;
    top:72px;
    left:18px;
    right:18px;
    margin:0;
    padding:8px;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    background:var(--navy);
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    box-shadow:0 18px 40px rgba(0,0,0,.25);
  }
  .primary-menu.is-open{display:flex}
  .primary-menu a{display:block;width:100%;padding:10px 12px}
  .primary-menu .sub-menu{
    position:static;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    min-width:0;
    width:100%;
    box-shadow:none;
    border:0;
    background:rgba(255,255,255,.045);
    border-radius:8px;
  }
  .primary-menu .menu-item-has-children.is-submenu-open>.sub-menu{display:block}
  .primary-menu>li.menu-item-has-children{position:relative}
  .primary-menu>li.menu-item-has-children>a{padding-right:48px}
  .iccw-submenu-toggle{
    display:block;
    position:absolute;
    right:5px;
    top:3px;
    z-index:2;
    width:38px;height:36px;
    border:0;border-radius:7px;
    background:rgba(255,255,255,.08);
    color:#fff;
    cursor:pointer;
  }
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;transition:none!important}
}

.iccw-article{max-width:900px;margin:0 auto}
.iccw-article>h1{font-size:clamp(34px,5vw,58px);line-height:1.04;letter-spacing:-.045em;margin:12px 0 10px}
.iccw-article>.venue{color:var(--muted);margin:0 0 22px;font-size:13px}
.iccw-article>img{width:100%;border-radius:16px}
.iccw-article .entry-content{margin-top:26px;font-size:18px;line-height:1.75}
.iccw-article .entry-content h2,.iccw-article .entry-content h3,.iccw-article .entry-content h4{line-height:1.2;margin-top:30px}


/* ===== ICCODIWORLDCUP V8 visual system ===== */
:root{
 --navy:#0a2335;--navy2:#12384d;--green:#087a50;--green2:#0a8b5a;--green-soft:#eaf5ef;
 --gold:#c9a23a;--cream:#f4f7f6;--white:#fff;--ink:#17232c;--muted:#61717b;--line:#dfe7e3;
 --shadow:0 8px 28px rgba(7,31,45,.07);--r:14px
}
body{background:#f4f7f6;color:#17232c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.65}
.site-header{background:rgba(255,255,255,.97);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(7,31,45,.05);backdrop-filter:blur(8px)}
.header-inner{min-height:72px}
.brand{gap:11px}
.brand-mark{width:48px;height:48px;border-radius:12px;background:var(--navy);overflow:hidden;box-shadow:0 3px 14px rgba(6,23,37,.16);font-size:0}
.brand-mark:after{content:"";display:block;width:100%;height:100%;background:url('assets/images/iccodiworldcup-logo.webp') center/cover no-repeat}
.brand-text{color:var(--navy);font-size:15px;font-weight:900;letter-spacing:-.035em}
.brand-text span{color:var(--green);font-size:8px;letter-spacing:.17em}
.primary-menu a{color:#32444e;border-radius:8px}
.primary-menu a:hover{background:var(--green-soft);color:var(--green)}
.primary-menu .sub-menu{background:#fff;border-color:var(--line);box-shadow:0 18px 45px rgba(7,31,45,.12)}
.primary-menu .sub-menu a{color:#32444e}
.menu-toggle{border-color:#cbd7d1;background:#fff;color:var(--navy)}
.hero{background:linear-gradient(120deg,#061725 0%,#0a2d42 55%,#07553d 100%)}
.btn{background:var(--green);border-color:var(--green)}
.btn:hover{background:#05613f;border-color:#05613f}
.section{padding:62px 0}
.section-head h2,.page-main h2,.entry-content h2,.entry-content h4{color:var(--navy)}
.card{border-color:var(--line);box-shadow:var(--shadow);border-radius:14px}
.card:hover{box-shadow:0 18px 48px rgba(7,31,45,.11)}
.pill{background:var(--green-soft);color:#05613f}

/* Article and page typography */
.article-section{padding-top:46px}
.iccw-article{max-width:920px;margin:0 auto}
.iccw-article>h1{font-size:clamp(36px,5.2vw,58px);line-height:1.05;letter-spacing:-.055em;color:var(--navy);margin:12px 0 10px}
.article-meta{display:flex;gap:14px;flex-wrap:wrap;color:#70808a;font-size:13px;margin-bottom:20px}
.entry-content{max-width:820px;font-size:18px;line-height:1.78;color:#24333c}
.entry-content p{margin:0 0 20px}
.entry-content h2{font-size:31px;line-height:1.2;letter-spacing:-.04em;margin:42px 0 13px}
.entry-content h3{font-size:23px;line-height:1.3;letter-spacing:-.025em;color:#173e34;margin:30px 0 10px}
.entry-content h4{font-size:19px;margin:25px 0 9px}
.entry-content ul,.entry-content ol{padding-left:25px;margin:0 0 22px}
.entry-content li{margin:7px 0}
.entry-content a{color:#056b48;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.entry-content blockquote{margin:25px 0;padding:18px 21px;border-left:4px solid var(--gold);background:#f6f0dc;color:#34434a;border-radius:0 10px 10px 0}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:32px 0}

/* Featured images on posts AND pages */
.iccw-featured-media{margin:20px 0 30px;padding:0;background:#e8efec;border-radius:16px;overflow:hidden}
.iccw-featured-media img{display:block;width:100%;height:auto;max-height:650px;object-fit:cover;margin:0}
.iccw-featured-post{box-shadow:0 10px 34px rgba(7,31,45,.10)}
.page-hero+.iccw-featured-media{max-width:920px;margin-top:5px}

/* Tables: make Gutenberg + classic HTML tables reliably visible */
.entry-content .wp-block-table{display:block;width:100%;max-width:100%;margin:25px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content table{display:table!important;width:100%!important;min-width:560px;border-collapse:collapse;border-spacing:0;background:#fff;border:1px solid var(--line);font-size:15px;line-height:1.45;margin:0}
.entry-content thead{display:table-header-group}.entry-content tbody{display:table-row-group}.entry-content tr{display:table-row}
.entry-content th,.entry-content td{display:table-cell!important;text-align:left;vertical-align:top;padding:12px 13px;border:1px solid var(--line)}
.entry-content th{background:var(--navy);color:#fff;font-weight:800}
.entry-content tbody tr:nth-child(even) td{background:#f7faf8}
.entry-content tbody tr:hover td{background:#eef6f1}
.entry-content figure.wp-block-table{overflow-x:auto}
.entry-content figure.wp-block-table figcaption{font-size:12px;color:var(--muted);margin-top:7px}

/* Better article images */
.entry-content img{border-radius:10px;margin:20px 0}
.entry-content figure{margin:25px 0}
.entry-content figcaption{font-size:13px;color:var(--muted);line-height:1.5}

/* Logo fallback: header image replaces emoji mark */
.brand-mark{position:relative}
.brand-mark:after{content:"";position:absolute;inset:0;border-radius:inherit}

@media(max-width:720px){
 .header-inner{min-height:64px}.brand-mark{width:42px;height:42px}.brand-text{font-size:12px}.brand-text span{font-size:6.5px}
 .primary-menu{background:#fff;border-color:var(--line);box-shadow:0 18px 45px rgba(7,31,45,.12)}
 .entry-content{font-size:17px}.entry-content h2{font-size:27px}.entry-content h3{font-size:21px}.entry-content table{min-width:520px}
}
@media(max-width:460px){.iccw-article>h1{font-size:36px}.entry-content{font-size:16px;line-height:1.72}.entry-content table{min-width:500px}}


/* ===== ICCODIWORLDCUP V9 readability + links + tables ===== */
:root{
  --ink:#111111;
  --text-black:#111111;
  --link-blue:#005fcc;
  --table-border:#171717;
}
body{color:#111111;background:#f7f8f6}
body,.site-main,.page-main,.entry-content,.page-hero,.card p,.section-head p{color:#111111}
.entry-content{color:#111111}
.entry-content p,.entry-content li,.entry-content td,.entry-content th{color:#111111}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,
.page-main h1,.page-main h2,.page-main h3,.page-main h4,.page-main h5,.page-main h6{color:#080808}

/* Article/page links: always blue + underlined. Header/footer navigation keeps its own theme styling. */
.entry-content a,
.page-main .entry-content a,
.page-main > a,
.page-main p a,
.page-main li a,
.page-main td a,
.page-main th a{
  color:#005fcc !important;
  text-decoration-line:underline !important;
  text-decoration-style:solid !important;
  text-decoration-thickness:1.5px !important;
  text-underline-offset:2px;
}
.entry-content a:hover,.page-main a:hover{color:#003f8f !important}

/* Strong, permanent table borders and comfortable cell spacing. */
.entry-content .wp-block-table,
.entry-content figure.wp-block-table,
.entry-content .table-wrap,
.page-main .wp-block-table,
.page-main figure.wp-block-table{
  width:100%;
  max-width:100%;
  margin:28px 0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.entry-content table,
.page-main table{
  display:table !important;
  width:100% !important;
  min-width:600px;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  border:2px solid #171717 !important;
  background:#fff;
  color:#111 !important;
  margin:0;
  font-size:15px;
  line-height:1.5;
}
.entry-content thead,.page-main thead{display:table-header-group}
.entry-content tbody,.page-main tbody{display:table-row-group}
.entry-content tr,.page-main tr{display:table-row}
.entry-content th,.entry-content td,
.page-main th,.page-main td{
  display:table-cell !important;
  color:#111 !important;
  text-align:left;
  vertical-align:middle;
  padding:14px 16px !important;
  border:2px solid #171717 !important;
  white-space:normal;
}
.entry-content th,.page-main th{
  background:#111 !important;
  color:#fff !important;
  font-weight:800;
}
.entry-content th a,.page-main th a{color:#fff !important}
.entry-content tbody tr:nth-child(even) td,.page-main tbody tr:nth-child(even) td{background:#f5f5f5}
.entry-content tbody tr:hover td,.page-main tbody tr:hover td{background:#eef5ff}
.entry-content table caption,.page-main table caption{
  caption-side:top;
  text-align:left;
  color:#111;
  font-weight:700;
  padding:0 0 9px;
}
@media(max-width:720px){
  .entry-content table,.page-main table{min-width:560px;font-size:14px}
  .entry-content th,.entry-content td,.page-main th,.page-main td{padding:12px 14px !important}
}
@media(max-width:460px){
  .entry-content table,.page-main table{min-width:520px}
}


/* ===== ICCODIWORLDCUP V10 mobile tables + no right hub sidebar ===== */
.page-content-grid{
  grid-template-columns:minmax(0,1fr) !important;
}
.page-main,
.entry-content,
.page-content-grid,
.container{
  min-width:0;
}
.side-nav{display:none !important;}
.site-main,
main,
.section,
.page-main{
  max-width:100%;
}
.entry-content .wp-block-table,
.entry-content figure.wp-block-table,
.entry-content .table-wrap,
.page-main .wp-block-table,
.page-main figure.wp-block-table{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  box-sizing:border-box;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.entry-content table,
.page-main table{
  max-width:none;
  box-sizing:border-box;
}
@media (max-width:720px){
  .entry-content .wp-block-table,
  .entry-content figure.wp-block-table,
  .entry-content .table-wrap,
  .page-main .wp-block-table,
  .page-main figure.wp-block-table{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }
  .entry-content table,
  .page-main table{
    min-width:520px;
  }
}
@media (max-width:460px){
  .entry-content table,
  .page-main table{
    min-width:480px;
  }
}
/* Prevent any accidental horizontal page overflow; tables scroll inside their own wrapper. */
html,body{max-width:100%;overflow-x:hidden;}


/* ===== V11: TABLES NEVER OVERFLOW THE PAGE ===== */
/* Any table, regardless of column count, is forced to fit its content area. */
.entry-content .wp-block-table,
.entry-content figure.wp-block-table,
.entry-content .table-wrap,
.entry-content .table-responsive{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:25px 0 !important;
  overflow-x:hidden !important;
  overflow-y:visible !important;
  box-sizing:border-box !important;
}
.entry-content table,
.entry-content .wp-block-table table,
.entry-content .table-wrap table,
.entry-content .table-responsive table{
  display:table !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.entry-content table th,
.entry-content table td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td{
  width:auto !important;
  min-width:0 !important;
  max-width:0 !important;
  box-sizing:border-box !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  hyphens:auto;
  vertical-align:top;
  padding:10px 9px !important;
}
.entry-content table img,
.entry-content .wp-block-table img{
  max-width:100% !important;
  width:auto !important;
  height:auto !important;
}
.entry-content table a,
.entry-content .wp-block-table a{
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
@media (max-width:720px){
  .entry-content .wp-block-table,
  .entry-content figure.wp-block-table,
  .entry-content .table-wrap,
  .entry-content .table-responsive{
    width:100% !important;
    max-width:100vw !important;
    margin-left:0 !important;
    margin-right:0 !important;
    overflow-x:hidden !important;
  }
  .entry-content table,
  .entry-content .wp-block-table table,
  .entry-content .table-wrap table,
  .entry-content .table-responsive table{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    font-size:12px !important;
    line-height:1.35 !important;
  }
  .entry-content table th,
  .entry-content table td,
  .entry-content .wp-block-table th,
  .entry-content .wp-block-table td{
    padding:7px 5px !important;
    font-size:12px !important;
  }
}
@media (max-width:420px){
  .entry-content table,
  .entry-content .wp-block-table table,
  .entry-content .table-wrap table,
  .entry-content .table-responsive table{
    font-size:11px !important;
    line-height:1.3 !important;
  }
  .entry-content table th,
  .entry-content table td,
  .entry-content .wp-block-table th,
  .entry-content .wp-block-table td{
    padding:6px 4px !important;
    font-size:11px !important;
  }
}
/* Prevent any accidental table/long-content overflow from creating page-wide horizontal scroll. */
html,body{max-width:100%;overflow-x:hidden}
.entry-content,.page-main,.site-main,.content-area{min-width:0;max-width:100%}

/* ===== V12 FINAL TABLE CONTAINMENT =====
 * Previous versions contained legacy min-width rules (600/560/520/480px).
 * These final rules override them. Tables must never enlarge the document.
 */
html, body {
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}
.entry-content, .page-main, .site-main, .content-area, .container, article {
  min-width:0 !important;
  max-width:100% !important;
}
.entry-content .wp-block-table,
.entry-content figure.wp-block-table,
.entry-content .table-wrap,
.entry-content .table-responsive,
.entry-content .iccw-table-shell,
.page-main .wp-block-table,
.page-main figure.wp-block-table,
.page-main .table-wrap,
.page-main .table-responsive,
.page-main .iccw-table-shell,
article .iccw-table-shell,
main .iccw-table-shell {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
}
.entry-content table,
.page-main table,
article table,
main table,
.entry-content .iccw-table-shell > table,
.page-main .iccw-table-shell > table,
.iccw-table-shell > table {
  display:table !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
  box-sizing:border-box !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  margin:0 !important;
}
.entry-content table th,
.entry-content table td,
.page-main table th,
.page-main table td,
article table th,
article table td,
main table th,
main table td {
  min-width:0 !important;
  max-width:none !important;
  width:auto !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  hyphens:auto !important;
  box-sizing:border-box !important;
}
.entry-content table img,
.page-main table img,
article table img,
main table img {
  max-width:100% !important;
  height:auto !important;
}
.entry-content table a,
.page-main table a,
article table a,
main table a {
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
@media (max-width:720px){
  .entry-content .iccw-table-shell,
  .page-main .iccw-table-shell,
  article .iccw-table-shell,
  main .iccw-table-shell {
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
  }
  .entry-content table,
  .page-main table,
  article table,
  main table,
  .iccw-table-shell > table {
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    font-size:12px !important;
  }
  .entry-content table th,
  .entry-content table td,
  .page-main table th,
  .page-main table td,
  article table th,
  article table td,
  main table th,
  main table td {
    padding:7px 5px !important;
  }
}
@media (max-width:420px){
  .entry-content table,
  .page-main table,
  article table,
  main table,
  .iccw-table-shell > table {font-size:11px !important;}
  .entry-content table th,
  .entry-content table td,
  .page-main table th,
  .page-main table td,
  article table th,
  article table td,
  main table th,
  main table td {padding:6px 4px !important;}
}

/* V13: hard containment for every WordPress/Gutenberg table wrapper */
.entry-content,
.entry-content > *,
.entry-content figure,
.entry-content .wp-block-table,
.entry-content figure.wp-block-table,
.entry-content .wp-block-table.alignwide,
.entry-content .wp-block-table.alignfull,
.entry-content .table-wrap,
.entry-content .table-responsive,
.entry-content .iccw-table-shell,
.page-main .wp-block-table,
.page-main figure.wp-block-table,
article .wp-block-table,
article figure.wp-block-table,
main .wp-block-table,
main figure.wp-block-table {
  box-sizing:border-box !important;
  min-width:0 !important;
  max-width:100% !important;
}
.entry-content figure.wp-block-table,
.entry-content .wp-block-table,
.page-main figure.wp-block-table,
.page-main .wp-block-table,
article figure.wp-block-table,
article .wp-block-table,
main figure.wp-block-table,
main .wp-block-table {
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  contain:inline-size !important;
}
.entry-content figure.wp-block-table > table,
.entry-content .wp-block-table > table,
.page-main figure.wp-block-table > table,
.page-main .wp-block-table > table,
article figure.wp-block-table > table,
article .wp-block-table > table,
main figure.wp-block-table > table,
main .wp-block-table > table,
.entry-content .iccw-table-shell > table {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
  margin:0 !important;
}
.entry-content table th,
.entry-content table td,
.page-main table th,
.page-main table td,
article table th,
article table td,
main table th,
main table td {
  box-sizing:border-box !important;
  min-width:0 !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-all !important;
  hyphens:auto !important;
}
.entry-content table img,
.page-main table img,
article table img,
main table img { max-width:100% !important; width:auto !important; height:auto !important; }
@media (max-width:720px){
  .entry-content figure.wp-block-table,
  .entry-content .wp-block-table,
  .page-main figure.wp-block-table,
  .page-main .wp-block-table,
  article figure.wp-block-table,
  article .wp-block-table,
  main figure.wp-block-table,
  main .wp-block-table {
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-left:12px !important;
    padding-right:12px !important;
    box-sizing:border-box !important;
  }
  .entry-content figure.wp-block-table > table,
  .entry-content .wp-block-table > table,
  .page-main figure.wp-block-table > table,
  .page-main .wp-block-table > table,
  article figure.wp-block-table > table,
  article .wp-block-table > table,
  main figure.wp-block-table > table,
  main .wp-block-table > table {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}


/* ===== V14: Reader-first article typography ===== */
body{font-size:17px;color:#111111;line-height:1.68}
.entry-content{font-size:19px !important;line-height:1.82 !important;color:#111111 !important;max-width:820px}
.entry-content p{font-size:19px !important;line-height:1.82 !important;margin:0 0 22px}
.entry-content li{font-size:18px !important;line-height:1.72 !important;margin:8px 0}
.entry-content h2{font-size:32px !important;line-height:1.22 !important}
.entry-content h3{font-size:24px !important;line-height:1.3 !important}
.entry-content h4{font-size:20px !important;line-height:1.35 !important}
/* Keep tables readable instead of shrinking them to tiny text. */
.entry-content table,.page-main table,article table,main table{font-size:16px !important}
.entry-content table th,.entry-content table td,.page-main table th,.page-main table td,article table th,article table td,main table th,main table td{font-size:16px !important;padding:12px 13px !important;line-height:1.5 !important}
@media(max-width:720px){
  body{font-size:16px;line-height:1.65}
  .entry-content{font-size:18px !important;line-height:1.78 !important}
  .entry-content p{font-size:18px !important;line-height:1.78 !important;margin-bottom:20px}
  .entry-content li{font-size:17px !important;line-height:1.7 !important}
  .entry-content h2{font-size:28px !important}
  .entry-content h3{font-size:22px !important}
  .entry-content h4{font-size:19px !important}
  .entry-content table,.page-main table,article table,main table{font-size:15px !important}
  .entry-content table th,.entry-content table td,.page-main table th,.page-main table td,article table th,article table td,main table th,main table td{font-size:15px !important;padding:10px 10px !important;line-height:1.45 !important}
}
@media(max-width:460px){
  .entry-content{font-size:17px !important;line-height:1.75 !important}
  .entry-content p{font-size:17px !important;line-height:1.75 !important}
  .entry-content li{font-size:16.5px !important}
  .entry-content table,.page-main table,article table,main table{font-size:14px !important}
  .entry-content table th,.entry-content table td,.page-main table th,.page-main table td,article table th,article table td,main table th,main table td{font-size:14px !important;padding:9px 8px !important}
}
