/*
Theme Name: IPL 2026 Cricket
Theme URI: https://ipl2026players.com
Description: IPL 2026 Players theme - light editorial style
Version: 1.0
Author: ipl2026players.com
Text Domain: ipl2026cricket
*/

/* =============================================
   IPL 2026 Players — style.css v1
   Light editorial theme: white/navy/orange
   ============================================= */

:root {
    --bg:          #f5f4f0;
    --bg-white:    #ffffff;
    --bg-dark:     #0f1923;
    --navy:        #0d2b52;
    --orange:      #e05500;
    --text:        #0f1923;
    --text-muted:  #6b7280;
    --border:      #e2e0d8;
    --border-dark: #d0cdc4;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    padding-bottom: 62px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }

/* TOP BAR */
.top-bar {
    background: var(--bg-dark);
    padding: 7px 0;
    font-size: 12px;
    color: rgba(255,255,255,.55);
}
.top-bar-label {
    display: inline-block;
    background: #22c55e;
    color: #000;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 3px;
    margin-right: 8px;
}
.top-bar-link { color: rgba(255,255,255,.7); font-size: 12px; }
.top-bar-link:hover { color: #fff; }

/* NAVBAR */
.main-nav {
    background: var(--bg-white);
    border-bottom: 3px solid var(--navy);
    padding: 0;
    z-index: 1040;
    position: sticky;
    top: 0;
}
.main-nav .container { min-height: 58px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.nav-logo:hover { color: var(--orange); }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav-links .nav-item .nav-link {
    display: block;
    padding: 18px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color .2s, border-color .2s;
}
.nav-links .nav-item .nav-link:hover,
.nav-links .nav-item .nav-link.active { color: var(--navy); border-bottom-color: var(--orange); }
.btn-register {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
}
.btn-register:hover { background: #c04400; color: #fff; }
.btn-outline-nav {
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
}
.btn-outline-nav:hover { background: var(--navy); color: #fff; }
.nav-hamburger {
    background: none; border: none; padding: 6px; cursor: pointer;
    display: flex; flex-direction: column; gap: 5px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media (min-width: 1200px) { .nav-hamburger { display: none; } }
@media (max-width: 1199px) {
    .navbar-collapse { width: 100%; }
    .nav-links { flex-direction: column; }
    .nav-right { padding: 10px 0; }
}

/* HERO SPLIT */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
@media (max-width: 767px) { .hero-split { grid-template-columns: 1fr; } }
.hero-left {
    background: var(--navy);
    padding: 60px 48px;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff;
}
@media (max-width: 767px) { .hero-left { padding: 40px 24px; } }
.hero-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 16px; }
.hero-headline { font-size: clamp(52px, 8vw, 88px); font-weight: 900; line-height: .95; color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 32px; max-width: 380px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-cta {
    display: inline-flex; align-items: center;
    background: var(--orange); color: #fff;
    font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 3px;
    transition: background .2s, transform .1s;
}
.btn-primary-cta:hover { background: #c04400; color: #fff; transform: translateY(-1px); }
.btn-secondary-cta {
    display: inline-flex; align-items: center;
    background: transparent; color: rgba(255,255,255,.8);
    font-weight: 600; font-size: 14px; padding: 12px 24px;
    border: 1px solid rgba(255,255,255,.3); border-radius: 3px;
    transition: all .2s;
}
.btn-secondary-cta:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-right { position: relative; overflow: hidden; min-height: 300px; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stat-badge {
    position: absolute; background: rgba(255,255,255,.95);
    border-left: 4px solid var(--orange); padding: 12px 16px;
    border-radius: 0 4px 4px 0; box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.badge-1 { bottom: 80px; left: 0; }
.badge-2 { bottom: 24px; left: 0; }
.badge-num { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1; }
.badge-txt { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

/* TEAMS STRIP */
.teams-strip { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 16px 0; }
.strip-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.teams-row { display: flex; gap: 8px; flex-wrap: wrap; }
.team-pill { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; letter-spacing: .5px; transition: transform .15s; }
.team-pill:hover { transform: translateY(-2px); }
.team-pill.mi   { background: #004BA0; color: #fff; }
.team-pill.csk  { background: #F9CD05; color: #000; }
.team-pill.rcb  { background: #EC1C24; color: #fff; }
.team-pill.kkr  { background: #3A225D; color: #fff; }
.team-pill.dc   { background: #004C93; color: #fff; }
.team-pill.srh  { background: #F26522; color: #fff; }
.team-pill.rr   { background: #EA1A85; color: #fff; }
.team-pill.pbks { background: #ED1B24; color: #fff; }
.team-pill.lsg  { background: #3f6f21; color: #fff; }
.team-pill.gt   { background: #1C4494; color: #fff; }

/* AUCTION SECTION */
.auction-section { padding: 70px 0; background: var(--bg); }
.section-kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 10px; }
.section-heading { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--navy); line-height: 1.05; margin-bottom: 16px; }
.section-body { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.auction-table-preview { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.atp-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; background: var(--navy); padding: 12px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.7); }
.atp-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 13px 16px; border-bottom: 1px solid var(--border); align-items: center; transition: background .15s; }
.atp-row:hover { background: var(--bg); }
.atp-row:last-of-type { border-bottom: none; }
.p-name { font-weight: 600; font-size: 14px; }
.p-team { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 3px; display: inline-block; }
.mi-tag { background: #004BA0; color: #fff; }
.csk-tag { background: #F9CD05; color: #000; }
.rcb-tag { background: #EC1C24; color: #fff; }
.kkr-tag { background: #3A225D; color: #fff; }
.p-role { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.p-price { font-weight: 700; color: var(--orange); font-size: 14px; }
.atp-more { padding: 12px 16px; background: var(--bg); text-align: right; font-size: 13px; font-weight: 600; border-top: 1px solid var(--border); }
.atp-more a { color: var(--navy); }
.atp-more a:hover { color: var(--orange); }

/* CATEGORIES */
.categories-section { padding: 50px 0 60px; background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 24px 20px; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.cat-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,43,82,.1); color: var(--text); }
.cat-number { font-size: 48px; font-weight: 900; color: var(--border-dark); line-height: 1; margin-bottom: 8px; }
.cat-name { font-weight: 700; font-size: 15px; color: var(--navy); flex: 1; }
.cat-arrow { font-size: 20px; color: var(--orange); margin-top: 12px; transition: transform .2s; }
.cat-card:hover .cat-arrow { transform: translateX(4px); }

/* SEO SECTION */
.seo-section { padding: 50px 0 60px; background: var(--bg); }
.seo-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.seo-content h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-top: 2rem; margin-bottom: .8rem; }
.seo-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-top: 1.5rem; margin-bottom: .6rem; }
.seo-content p { line-height: 1.7; margin-bottom: 1rem; color: #444; }
.seo-content ul, .seo-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: #444; }

/* PAGE BANNER */
.page-banner { background: var(--navy); padding: 50px 0 36px; color: #fff; }
.pb-kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 10px; }
.page-banner h1 { font-size: clamp(24px, 4vw, 44px); font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.05; }
.pb-sub { color: rgba(255,255,255,.6); font-size: 15px; margin: 0; }

/* SUBPAGE */
.subpage-wrap { padding: 40px 0 60px; }
.content-block { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 32px; }
.content-block h2 { color: var(--navy); font-size: 1.4rem; font-weight: 800; margin-top: 1.5rem; }
.content-block h3 { color: var(--text); font-size: 1.1rem; font-weight: 700; margin-top: 1.2rem; }
.content-block p { color: #444; line-height: 1.7; }
.content-block ul, .content-block ol { color: #444; padding-left: 1.5rem; }
.cta-block { margin-top: 32px; text-align: center; }
.btn-lg-cta { padding: 14px 32px; font-size: 16px; }

/* SIDEBAR */
.sidebar-block { position: sticky; top: 80px; }
.sb-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.sb-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.teams-sidebar { display: flex; flex-direction: column; gap: 2px; }
.tsb-item { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 4px; font-size: 13px; color: var(--text); transition: background .15s; }
.tsb-item:hover { background: var(--bg); color: var(--navy); }
.tsb-tag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 3px; min-width: 36px; text-align: center; }
.tsb-tag.mi   { background: #004BA0; color: #fff; }
.tsb-tag.csk  { background: #F9CD05; color: #000; }
.tsb-tag.rcb  { background: #EC1C24; color: #fff; }
.tsb-tag.kkr  { background: #3A225D; color: #fff; }
.tsb-tag.dc   { background: #004C93; color: #fff; }
.tsb-tag.srh  { background: #F26522; color: #fff; }
.tsb-tag.rr   { background: #EA1A85; color: #fff; }
.tsb-tag.pbks { background: #ED1B24; color: #fff; }
.tsb-tag.lsg  { background: #3f6f21; color: #fff; }
.tsb-tag.gt   { background: #1C4494; color: #fff; }
.sb-links { list-style: none; padding: 0; margin: 0; }
.sb-links li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.sb-links li:last-child a { border-bottom: none; }
.sb-links li a:hover { color: var(--navy); padding-left: 4px; }

/* FOOTER */
.site-footer { background: var(--bg-dark); padding: 40px 0 24px; color: rgba(255,255,255,.5); }
.footer-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links li a { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-links li a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.3); font-size: 12px; margin-top: 8px; }

/* MOBILE STICKY */
.mobile-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1050; background: var(--bg-white); border-top: 1px solid var(--border); padding: 10px 16px; display: flex; gap: 8px; }
@media (min-width: 768px) { .mobile-sticky { display: none !important; } body { padding-bottom: 0; } }
.ms-btn { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 4px; font-weight: 700; font-size: 13px; }
.ms-btn-primary { background: var(--navy); color: #fff; }
.ms-btn-accent  { background: var(--orange); color: #fff; }
