/*
Theme Name: CricInformer Modern
Theme URI: https://cricinformer.com/
Author: CricInformer
Description: A fast, responsive editorial theme for cricket news, fantasy tips, match coverage, and IPL updates.
Version: 1.9.40
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: cricinformer
*/

:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e8eaee;
  --paper: #f5f7fa;
  --white: #fff;
  --navy: #071c35;
  --navy-2: #0b294c;
  --brand: #1570ef;
  --brand-dark: #125ac0;
  --green: #13a66a;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(12, 32, 57, .08);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input { font: inherit; }
.container { width: min(calc(100% - 32px), var(--wrap)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; margin: 8px; padding: 10px 14px; clip: auto;
  background: var(--white); color: var(--ink); z-index: 9999;
}

.utility-bar { background: #041426; color: #b9c5d3; font-size: 12px; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 18px; }
.utility-bar a:hover { color: #fff; }
.site-header { color: #fff; background: var(--navy); position: relative; z-index: 20; }
.brand-row { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.site-brand { display: inline-flex; flex-direction: column; line-height: 1; margin-right: auto; }
.site-brand__name { font-size: clamp(25px, 3vw, 34px); font-weight: 900; letter-spacing: -.055em; }
.site-brand__name em { color: var(--brand); font-style: normal; }
.site-brand__tagline { color: #aebed0; font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-top: 7px; text-transform: uppercase; }
.custom-logo { width: auto; max-height: 58px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.06); cursor: pointer;
}
.icon-button:hover { background: var(--brand); border-color: var(--brand); }
.app-button {
  padding: 11px 16px; border-radius: 8px; color: #fff; background: var(--brand);
  font-size: 13px; font-weight: 800;
}
.app-button:hover { color: #fff; background: var(--brand-dark); }
.menu-toggle { display: none; }
.primary-nav { display: block; width: 100%; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 3px 10px rgba(0,0,0,.04); }
.primary-nav .container { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.primary-nav .container::-webkit-scrollbar { display: none; }
.primary-menu { display: flex; align-items: center; width: max-content; min-width: 100%; gap: 28px; list-style: none; margin: 0; padding: 0; min-height: 52px; white-space: nowrap; }
.primary-menu > li { flex: 0 0 auto; }
.primary-menu > li > a { display: block; padding: 17px 0 14px; font-size: 13px; font-weight: 800; border-bottom: 3px solid transparent; }
.primary-menu > .current-menu-item > a, .primary-menu > li > a:hover { color: var(--brand); border-color: var(--brand); }

.search-panel { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-field {
  width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #d7dce3; border-radius: 9px; outline: none;
}
.search-field:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,112,239,.1); }
.search-submit, .button {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 9px; color: #fff;
  background: var(--brand); font-weight: 800; cursor: pointer;
}

.breaking { background: #fff; border-bottom: 1px solid var(--line); }
.breaking-inner { min-height: 44px; display: flex; align-items: center; gap: 15px; overflow: hidden; }
.breaking-label { flex: 0 0 auto; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.breaking-list { display: flex; gap: 34px; min-width: 0; list-style: none; margin: 0; padding: 0; white-space: nowrap; overflow: hidden; font-size: 13px; font-weight: 650; }
.breaking-list li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--brand); }

.eyebrow { color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.site-main { padding: 30px 0 60px; }
.home-intro { max-width: 820px; margin-bottom: 28px; }
.home-intro h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.home-intro p { margin: 0; color: var(--muted); font-size: 15px; }
.home-ad-area { margin-bottom: 28px; }
.home-ad-area--middle { margin-top: -8px; margin-bottom: 34px; }
.ad-slot {
  display: grid; place-items: center; width: 100%; min-height: 110px; overflow: hidden;
  border: 1px dashed #cfd5dd; border-radius: 10px; background: #fff; text-align: center;
}
.ad-slot--sidebar { min-height: 250px; }
.adsense-sidebar { text-align: center; }
.adsense-sidebar .article-ad__label { width: 100%; }
.adsense-home-wide { min-height: 250px; text-align: center; }
.adsense-home-wide .article-ad__label { width: 100%; }
.adsense-home-wide > .adsbygoogle, .article-ad > .adsbygoogle { width: 100%; }
.ad-slot img, .ad-slot iframe { max-width: 100%; }
.ad-slot .widget-title { display: none; }
.ad-slot > :first-child { margin-top: 0; }
.ad-slot > :last-child { margin-bottom: 0; }
.custom-home-sections .home-section-widget {
  margin: 0; padding: 0; border: 0; background: transparent;
}
.custom-home-sections .widget-title { display: none; }
.story-category {
  display: inline-block; padding: 5px 9px; border-radius: 5px; color: #fff;
  background: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #cad2dc; font-size: 11px; font-weight: 650; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
.section { margin-bottom: 40px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-title { position: relative; margin: 0; padding: 0 0 11px; font-size: 22px; letter-spacing: -.025em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--brand); }
.section-link { color: var(--brand); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.editorial-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: 18px; }
.editorial-lead {
  overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.editorial-lead__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dce3ea; }
.editorial-lead__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.editorial-lead:hover .editorial-lead__image img { transform: scale(1.025); }
.editorial-lead__body { padding: 16px; }
.editorial-lead h3 { margin: 8px 0; font-size: 20px; line-height: 1.23; letter-spacing: -.02em; }
.editorial-lead p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.editorial-lead .post-meta, .editorial-item .post-meta { color: #596273; }
.editorial-list {
  display: grid; align-content: start; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.editorial-item {
  display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 11px;
  border-bottom: 1px solid var(--line);
}
.editorial-item:last-child { border-bottom: 0; }
.editorial-item__image { overflow: hidden; border-radius: 7px; aspect-ratio: 4 / 3; background: #dce3ea; }
.editorial-item__image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-item h3 { margin: 2px 0 8px; font-size: 14px; line-height: 1.28; }
.post-list { display: grid; gap: 14px; }
.post-card {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; padding: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card__image { overflow: hidden; border-radius: 8px; background: #dce3ea; aspect-ratio: 16 / 10; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { margin: 7px 0; font-size: 18px; line-height: 1.25; letter-spacing: -.018em; }
.post-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.post-card .post-meta { color: #596273; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tile__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dce3ea; }
.tile__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover img { transform: scale(1.03); }
.tile__body { padding: 16px; }
.tile h3 { margin: 7px 0 9px; font-size: 17px; line-height: 1.25; }
.tile .post-meta { color: #596273; }

.sidebar { display: grid; align-content: start; gap: 20px; }
.widget {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.widget-title { margin: 0 0 16px; padding-bottom: 11px; border-bottom: 2px solid var(--ink); font-size: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.widget li:last-child { border: 0; }
.newsletter { color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-2)); border: 0; }
.newsletter .widget-title { border-color: rgba(255,255,255,.25); }
.newsletter p { color: #bdc9d7; font-size: 13px; }
.newsletter .button { display: grid; place-items: center; width: 100%; }

.page-header { margin-bottom: 22px; }
.page-title { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.archive-description { color: var(--muted); }
.article { padding: clamp(20px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-header { max-width: 840px; margin: 0 auto 28px; }
.article-title { margin: 10px 0 14px; font-size: clamp(32px, 6vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.article-featured { width: min(100%, 900px); aspect-ratio: 16 / 9; overflow: hidden; margin: 0 auto 32px; border-radius: 12px; background: var(--paper); }
.article-featured img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.entry-content { max-width: 780px; margin: auto; font-family: Georgia, serif; font-size: 18px; line-height: 1.8; }
.entry-content h2, .entry-content h3 { color: var(--ink); font-family: Inter, sans-serif; line-height: 1.25; }
.entry-content a { color: var(--brand); text-decoration: underline; }
.entry-content blockquote { margin: 28px 0; padding: 5px 0 5px 22px; border-left: 4px solid var(--brand); font-size: 21px; }

/* Keep video embeds inside the article column on small screens. */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video { max-width: 100%; }
.entry-content .wp-block-embed,
.entry-content .wp-block-video { max-width: 100%; margin-inline: 0; }
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"],
.entry-content iframe[src*="youtu.be"] {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0;
}
.entry-content .wp-block-embed__wrapper { position: relative; width: 100%; }
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper,
.entry-content .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper { aspect-ratio: 16 / 9; overflow: hidden; }
.entry-content .wp-block-embed-youtube iframe,
.entry-content .wp-block-embed.is-provider-youtube iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.article-ad {
  display: grid; place-items: center; width: 100%; min-height: 250px; margin: 34px auto;
  padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px;
  background: #fafbfc; font-family: Inter, sans-serif; text-align: center;
}
.article-ad__label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.article-ad .article-ad-widget { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.article-ad .widget-title { display: none; }
.article-ad ins, .article-ad iframe { max-width: 100%; }
.article-ad--end { margin-top: 42px; margin-bottom: 0; }
.author-box {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px;
  max-width: 780px; margin: 34px auto 0; padding-top: 26px; border-top: 1px solid var(--line);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; }
.author-box span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.author-box h2 { margin: 2px 0 5px; font-size: 20px; }
.author-box p { margin: 0; color: var(--muted); font-size: 14px; }

/* Player directory */
.player-directory-page .entry-content { max-width: none; }
.entry-content .player-directory { max-width: none; font-family: Inter, sans-serif; }
.player-directory__filters {
  display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 0 22px; padding: 4px;
  overflow-x: auto; border-radius: 10px; background: #eef1f5; scrollbar-width: thin;
}
.player-directory__filter {
  display: grid; place-items: center; flex: 1 0 38px; min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid #d7dce3; border-radius: 8px; color: var(--ink); background: #fff;
  font-size: 13px; font-weight: 800; cursor: pointer;
}
.player-directory__filter:first-child { flex-basis: auto; min-width: 82px; }
.player-directory__filter:hover,
.player-directory__filter:focus-visible,
.player-directory__filter.is-active {
  color: #fff; border-color: var(--brand); background: var(--brand);
}
.player-directory__filter:focus-visible,
.player-directory__search-input:focus-visible {
  outline: 3px solid rgba(21,112,239,.2); outline-offset: 2px;
}
.player-directory__filter:disabled {
  color: #a8afb9; border-color: var(--line); background: #f1f3f5; cursor: not-allowed; opacity: .72;
}
.player-directory__search { margin-bottom: 28px; }
.player-directory__search-input {
  width: 100%; min-height: 50px; padding: 0 16px 0 46px; border: 1px solid #d7dce3;
  border-radius: 10px; color: var(--ink); background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center;
}
.player-directory__search-input:focus { border-color: var(--brand); }
.player-directory__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.player-directory__card {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px;
  min-height: 94px; padding: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 4px 16px rgba(12,32,57,.06); transition: transform .2s, box-shadow .2s;
}
.player-directory__card[hidden] { display: none; }
.player-directory__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.player-directory__image {
  display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: #e7ebf0;
}
.player-directory__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s; }
.player-directory__card:hover .player-directory__image img { transform: scale(1.025); }
.player-directory__image-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; color: #aab3bf;
  font-size: 28px; font-weight: 900;
}
.player-directory__card-body { min-width: 0; padding: 0; }
.entry-content .player-directory__name { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.entry-content .player-directory__name a { color: var(--ink); text-decoration: none; }
.entry-content .player-directory__name a:hover { color: var(--brand); }
.entry-content .player-directory__role { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.entry-content .player-directory__profile-link { display: none; }
.player-directory__empty {
  margin: 0; padding: 24px; border: 1px dashed #cfd5dd; border-radius: 10px;
  color: var(--muted); background: #fff; text-align: center;
}

/* Individual player profile */
.player-profile__layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 24px; align-items: start; }
.player-profile__sidebar { display: grid; gap: 22px; }
.player-profile__identity,
.player-profile__popular,
.player-profile__tabs,
.player-profile__panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.player-profile__identity { overflow: hidden; }
.player-profile__identity-copy { padding: 22px 22px 4px; }
.player-profile__identity h1 { margin: 0 0 4px; font-size: 25px; line-height: 1.15; letter-spacing: -.035em; text-transform: uppercase; }
.player-profile__identity p { margin: 0 0 4px; color: var(--muted); font-size: 16px; font-weight: 750; }
.player-profile__identity-copy > span { display: block; color: var(--muted); font-size: 13px; }
.player-profile__portrait { display: grid; place-items: end center; height: 285px; margin-top: 10px; overflow: hidden; background: linear-gradient(145deg, #eef2f7, #dbe3ed); }
.player-profile__portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.player-profile__portrait > span { place-self: center; color: #aab3bf; font-size: 100px; font-weight: 900; }
.player-profile__popular { padding: 18px; }
.player-profile__popular h2 { margin: 0 0 14px; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.player-profile__popular-list { display: grid; gap: 8px; }
.player-profile__popular-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.player-profile__popular-list a:hover { color: var(--brand); background: var(--paper); }
.player-profile__popular-list img,
.player-profile__popular-placeholder { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #e7ebf0; }
.player-profile__main { min-width: 0; }
.player-profile__tabs { display: flex; gap: 8px; margin-bottom: 16px; padding: 7px; overflow-x: auto; }
.player-profile__tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 20px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 900; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.player-profile__tabs button:hover,
.player-profile__tabs button:focus-visible,
.player-profile__tabs button.is-active { color: #fff; background: var(--brand); }
.player-profile__tabs button:focus-visible { outline: 3px solid rgba(21,112,239,.2); outline-offset: 2px; }
.player-profile__panel { padding: clamp(20px, 3vw, 32px); }
.player-profile__panel[hidden] { display: none; }
.player-profile__panel > h2,
.player-profile__content > h2,
.player-profile__teams > h2 { margin: 0 0 18px; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; }
.player-profile__facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.player-profile__facts-grid div { min-width: 0; }
.player-profile__facts-grid span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; font-weight: 700; }
.player-profile__facts-grid strong { display: block; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.player-profile__teams { padding: 24px 0; border-bottom: 1px solid var(--line); }
.player-profile__teams > div { display: flex; flex-wrap: wrap; gap: 10px; }
.player-profile__teams span { padding: 9px 13px; border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 13px; font-weight: 800; }
.player-profile__content { padding-top: 24px; font-family: Georgia, serif; font-size: 17px; line-height: 1.8; }
.player-profile__content > :last-child { margin-bottom: 0; }
.player-profile__content h2,
.player-profile__content h3 { font-family: Inter, sans-serif; line-height: 1.25; }
.player-profile__news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.player-profile__fact-list { display: grid; gap: 12px; margin: 0; padding-left: 24px; }
.player-profile__fact-list li { padding-left: 5px; line-height: 1.65; }
.player-profile__plain-list { display: grid; gap: 0; margin: 0; }
.player-profile__plain-list p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.65; }
.player-profile__plain-list p:first-child { padding-top: 0; }
.player-profile__plain-list p:last-child { padding-bottom: 0; border-bottom: 0; }
.player-profile__section-copy { font-family: Georgia, serif; font-size: 17px; line-height: 1.8; }
.player-profile__section-copy > :first-child { margin-top: 0; }
.player-profile__section-copy > :last-child { margin-bottom: 0; }
.player-profile__info-section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.player-profile__info-section:first-of-type { padding-top: 24px; }
.player-profile__info-section > h2 { margin: 0 0 14px; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; }
.player-profile__info-section .player-profile__section-copy,
.player-profile__info-section .player-profile__plain-list { max-height: 10.8em; overflow: hidden; }
.player-profile__info-section.is-expanded .player-profile__section-copy,
.player-profile__info-section.is-expanded .player-profile__plain-list { max-height: none; }
.player-profile__more { margin-top: 12px; padding: 0; border: 0; color: var(--brand); background: transparent; font-size: 13px; font-weight: 900; cursor: pointer; }
.player-profile__more:hover { text-decoration: underline; }
.player-profile__debuts { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.player-profile__debuts h2 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 18px; }
.player-profile__debut-row { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.player-profile__debut-row:last-child { border-bottom: 0; }
.player-profile__debut-format { padding: 17px 20px; color: #48516a; background: #f0f1f3; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.player-profile__debut-match { padding: 17px 20px; overflow-wrap: anywhere; font-size: 14px; font-weight: 650; }
.player-news-lead { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); gap: 18px; margin-bottom: 22px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.player-news-lead__image { display: block; overflow: hidden; min-height: 190px; border-radius: 9px; background: #dce3ea; }
.player-news-lead__image img { width: 100%; height: 100%; object-fit: cover; }
.player-news-lead__body { align-self: center; }
.player-news-lead h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.player-news-lead p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.player-news-latest-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.player-news-latest-card__image { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; color: #98a2b3; background: #dce3ea; font-size: 12px; font-weight: 700; }
.player-news-latest-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.player-news-latest-card:hover .player-news-latest-card__image img { transform: scale(1.025); }
.player-news-latest-card__body { padding: 14px; }
.player-news-latest-card h3 { margin: 0 0 13px; font-size: 16px; line-height: 1.35; }
.player-news-latest-card h3 a { color: var(--ink); }
.player-news-latest-card h3 a:hover { color: var(--brand); }
.player-news-ad { display: grid; place-items: center; width: 100%; min-height: 180px; margin: 30px 0; overflow: hidden; border: 1px dashed #c8cfd8; border-radius: 12px; color: #98a2b3; background: #fafbfc; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.player-news-ad .player-news-ad-widget { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.player-news-ad img,
.player-news-ad iframe { max-width: 100%; }
.player-news-more { margin-top: 30px; }
.player-news-more > h2 { margin: 0 0 18px; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.player-news-more__list { display: grid; gap: 16px; }
.player-news-more-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.player-news-more-card__image { display: block; min-height: 135px; overflow: hidden; border-radius: 9px; background: #dce3ea; }
.player-news-more-card__image img { width: 100%; height: 100%; object-fit: cover; }
.player-news-more-card__body { align-self: center; min-width: 0; }
.player-news-more-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.32; }
.player-news-more-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.player-news-more-card__meta { display: flex; flex-wrap: wrap; gap: 12px; color: #596273; font-size: 11px; font-weight: 650; }
.player-news-more__loader { display: grid; justify-items: center; gap: 9px; min-height: 86px; padding-top: 24px; }
.player-news-more__loader[hidden] { display: none; }
.player-news-more__loader button { border: 0; color: var(--brand); background: transparent; font-size: 12px; font-weight: 900; cursor: pointer; }
.player-news-more__spinner { display: none; width: 24px; height: 24px; border: 3px solid #e1e5ea; border-top-color: var(--brand); border-radius: 50%; animation: player-news-spin .75s linear infinite; }
.player-news-more__loader.is-loading .player-news-more__spinner { display: block; }
@keyframes player-news-spin { to { transform: rotate(360deg); } }
.pagination { margin-top: 25px; }
.nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 0 10px; border-radius: 7px; background: #fff; }
.page-numbers.current { color: #fff; background: var(--brand); }

.site-footer { color: #bdc7d3; background: #06172b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 55px 0 38px; }
.footer-brand { color: #fff; font-size: 27px; font-weight: 900; }
.footer-about { max-width: 360px; font-size: 13px; }
.footer-title { margin: 0 0 16px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 9px 0; font-size: 13px; }
.copyright { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

@media (max-width: 900px) {
  .site-header .menu-toggle { display: none; }
  .app-button { display: none; }
  #primary-navigation.primary-nav { position: static; }
  .primary-nav .container {
    width: 100%;
    padding-inline: 16px;
  }
  .content-grid { grid-template-columns: 1fr; }
  .editorial-row { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { display: none; }
  .player-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-profile__layout { grid-template-columns: 240px minmax(0, 1fr); }
  .player-profile__portrait { height: 230px; }
  .player-profile__facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-profile__news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-news-more-card { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 22px), var(--wrap)); }
  .utility-links { display: none; }
  .brand-row { min-height: 72px; }
  .site-brand__tagline { display: none; }
  .card-grid, .sidebar { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .post-card h3 { margin-top: 4px; font-size: 15px; }
  .post-card p, .post-card .story-category { display: none; }
  .post-card__image { aspect-ratio: 1 / 1; }
  .editorial-item { grid-template-columns: 92px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .article { padding: 20px 16px; }
  .home-intro { margin-bottom: 22px; }
  .home-intro p { font-size: 14px; }
  .author-box { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .author-box img { width: 56px; height: 56px; }
  .entry-content { font-size: 17px; }
  .article-ad { min-height: 250px; margin-block: 28px; padding: 10px; }
  .player-directory__grid { grid-template-columns: 1fr; }
  .entry-content .player-directory { width: 100%; min-width: 0; }
  .player-directory__filters { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 7px; }
  .player-directory__filter,
  .player-directory__filter:first-child { width: 100%; min-width: 0; min-height: 42px; padding: 0 4px; }
  .player-directory__filter:first-child { grid-column: 1 / -1; }
  .player-directory__search { margin-bottom: 18px; }
  .player-directory__search-input { min-height: 48px; font-size: 16px; }
  .player-directory__filter { flex-basis: 36px; min-width: 36px; height: 36px; padding: 0 9px; }
  .player-directory__card { grid-template-columns: 72px minmax(0, 1fr); min-height: 100px; padding: 13px; }
  .player-directory__image { width: 72px; height: 72px; }
  .player-directory__image img {
    object-position: 50% 8%;
    transform: scale(1.35);
    transform-origin: 50% 8%;
  }
  .player-directory__card:hover .player-directory__image img { transform: scale(1.35); }
  .player-profile__layout { grid-template-columns: 1fr; }
  .player-profile,
  .player-profile__layout,
  .player-profile__main,
  .player-profile__panel { width: 100%; min-width: 0; }
  .player-profile__identity { display: grid; grid-template-columns: minmax(0, 1fr) 130px; min-height: 165px; }
  .player-profile__identity-copy { padding: 20px 8px 20px 18px; }
  .player-profile__portrait { height: 165px; margin: 0; }
  .player-profile__popular { display: none; }
  .player-profile__tabs { position: sticky; top: 0; z-index: 10; }
  .player-profile__tabs { width: 100%; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .player-profile__tabs button { min-height: 44px; scroll-snap-align: start; }
  .player-profile__panel { padding: 18px 15px; overflow-wrap: anywhere; }
  .player-profile__facts-grid,
  .player-profile__news-grid { grid-template-columns: 1fr; }
  .player-news-lead,
  .player-news-more-card { grid-template-columns: 1fr; }
  .player-news-lead__image { min-height: 190px; }
  .player-news-more-card__image { min-height: 180px; }
  .player-profile__debut-row { grid-template-columns: 1fr; }
  .player-profile__debut-format { padding-block: 12px; }
  .player-profile__debut-match { padding-block: 14px; }
}

@media (max-width: 420px) {
  .player-directory__card { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .player-directory__image { width: 62px; height: 62px; }
  .entry-content .player-directory__name { font-size: 17px; }
  .player-profile__identity { grid-template-columns: minmax(0, 1fr) 112px; }
  .player-profile__identity h1 { font-size: 21px; overflow-wrap: anywhere; }
  .player-profile__portrait { height: 150px; }
  .player-profile__facts-grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================
   ENGLISH SITE HEADER — Hindi edition switch
   Desktop: Logo | HI हिंदी | Search | Get Our App
   Mobile:  Logo | equal space | HI हिंदी | equal space | Search
   Header layout is controlled independently of the removed Trending strip.
   ========================================================= */

/* Shared language button */
.language-site-button {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 901px) {
  .site-header .brand-row {
    display: grid;
    grid-template-columns: max-content max-content minmax(320px, 1fr) max-content;
    align-items: center;
    gap: 20px;
    min-height: 86px;
  }

  .site-header .site-brand {
    margin-right: 0;
  }

  .site-header .language-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .language-site-button:hover {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
  }

  .site-header .language-site-button__icon {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
  }

  .site-header .language-site-button__arrow {
    font-size: 15px;
    line-height: 1;
  }

  /* Existing WordPress search form moves into the same masthead row. */
  .site-header #site-search.header-search {
    display: block;
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-header #site-search .header-search__inner,
  .site-header #site-search .search-form {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .site-header #site-search .search-form {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid #c9d5e3;
    border-radius: 10px;
    background: #f4f7fb;
  }

  .site-header #site-search .search-field {
    flex: 1 1 0%;
    width: 0;
    min-width: 0;
    min-height: 42px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header #site-search .search-submit {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    background: #193754;
  }

  .site-header #site-search .search-submit:hover {
    background: #284e72;
  }

  .site-header .search-toggle {
    display: none;
  }
}

/* Tablet/mobile: exact geometry adapted from the working Hindi V4 header. */
@media (max-width: 900px) {
  .site-header .brand-row > #site-search.header-search {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(7,28,53,.10);
  }

  .site-header .brand-row > #site-search.header-search.is-open {
    display: block;
  }

  .site-header .search-toggle {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header > .brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    width: min(calc(100% - 22px), var(--wrap));
    min-height: 72px !important;
    padding-block: 8px !important;
  }

  .site-header .brand-row > .site-brand {
    flex: 0 0 140px !important;
    width: 140px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .site-header .custom-logo {
    display: block !important;
    width: 140px !important;
    max-width: 140px !important;
    height: auto !important;
    max-height: 48px !important;
    object-fit: contain !important;
  }

  .site-header .brand-row > .language-site-button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 104px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 9px !important;
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .site-header .language-site-button__icon {
    display: grid !important;
    place-items: center !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    border: 1px solid rgba(255,255,255,.48) !important;
    border-radius: 50% !important;
    font-size: 7px !important;
    font-weight: 900 !important;
  }

  .site-header .language-site-button__arrow {
    display: inline !important;
    font-size: 12px !important;
  }

  .site-header .brand-row > .header-actions {
    display: flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }

  .site-header .header-actions .search-toggle {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9px !important;
  }

  .site-header .header-actions .app-button,
  .site-header .header-actions .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .site-header > .brand-row {
    min-height: 68px !important;
  }

  .site-header .brand-row > .site-brand {
    flex-basis: 126px !important;
    width: 126px !important;
  }

  .site-header .custom-logo {
    width: 126px !important;
    max-width: 126px !important;
    max-height: 44px !important;
  }

  .site-header .brand-row > .language-site-button {
    min-width: 96px !important;
    min-height: 38px !important;
    padding: 0 7px !important;
    gap: 5px !important;
    font-size: 9px !important;
  }

  .site-header .language-site-button__icon {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }

  .site-header .language-site-button__arrow {
    font-size: 11px !important;
  }

  .site-header .brand-row > .header-actions {
    flex-basis: 40px !important;
    width: 40px !important;
  }

  .site-header .header-actions .search-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}


/* Let mobile news columns shrink instead of expanding to intrinsic content width. */
.content-grid > *, .homepage-content, .ci-home-layout { min-width: 0; }
@media (max-width: 900px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .homepage-content, .category-archive-content, .post-list { max-width: 100%; }
}

/* Blue accents across the English theme. */
body.home {
  --brand: #1570ef;
  --brand-dark: #125ac0;
}
body .search-field:focus { box-shadow: 0 0 0 3px rgba(21,112,239,.1); }

/* Blue editorial accents matching the site navigation. */
body .story-category,
body .ci-home-layout .lead-list-latest-badge {
  background: var(--brand);
  color: #fff;
}
body .ci-active-series__lead-label,
body .section-link,
body .active-series-card-view-all,
body .ci-active-series__view-all {
  color: var(--brand-dark);
}
body .ci-home-layout .ci-active-series__lead-label.lead-list-latest-badge {
  color: #fff;
}

/* Category archives and standard pages share the editorial heading tab. */
body .site-main .ci-heading-tab {
  position: relative; isolation: isolate; display: inline-block;
  max-width: 100%; margin: 0; border: 0; border-radius: 0;
  padding: 10px 22px; background: transparent; color: #fff;
  font-size: 24px; line-height: 1.35; letter-spacing: normal;
  overflow-wrap: anywhere;
}
body .site-main .ci-heading-tab::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #1570ef;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
body .site-main .ci-heading-tab::after { content: none; }
@media (max-width: 620px) {
  body .site-main .ci-heading-tab { padding: 9px 14px; font-size: 20px; }
}

/* Keep standard-page heading tabs sized to their text, including information pages. */
body.page #content.site-main .article > .article-header > h1.ci-heading-tab {
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  box-sizing: border-box;
  flex: 0 1 auto; align-self: flex-start; justify-self: start;
  padding: 10px 22px !important;
  color: #fff !important;
  font-size: 24px !important; line-height: 1.35 !important;
  letter-spacing: normal !important;
}
@media (max-width: 620px) {
  body.page #content.site-main .article > .article-header > h1.ci-heading-tab {
    padding: 9px 14px !important; font-size: 20px !important;
  }
}

/* Author archive: shared WordPress query, local profile image, no client scripts. */
.ci-author-main { min-width: 0; }
.ci-author-profile { display: flex; align-items: flex-start; gap: 22px; padding: 24px; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ci-author-photo { width: 128px; height: 128px; flex: 0 0 128px; border-radius: 50%; overflow: hidden; }
.ci-author-photo img, .ci-author-photo svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.ci-author-details { flex: 1; min-width: 0; }
.ci-author-role { margin: 12px 0 0; color: var(--ink); font-weight: 600; }
.ci-author-bio { margin-top: 12px; color: #465369; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.ci-author-bio p { margin: 0 0 10px; }
.ci-author-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ci-author-social a { padding: 6px 10px; border-radius: 4px; background: #e8f1ff; color: #125ac0; font-size: 13px; font-weight: 600; }
.ci-author-social a:hover { background: #d5e6ff; }
@media (max-width: 620px) {
 .ci-author-profile { flex-direction: column; gap: 16px; padding: 18px; }
 .ci-author-photo { width: 96px; height: 96px; flex-basis: 96px; }
 .ci-author-details { width: 100%; }
 body .site-main .ci-author-articles-title { font-size: 17px; }
 .ci-author-social a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* Article ads reserve their complete requested height before scripts execute. */
.article-ad.ci-article-ad--reserved {
  --ci-article-ad-height: 250px;
  display: block;
  min-height: calc(var(--ci-article-ad-height) + 52px);
  overflow: visible;
}
.article-ad.ci-article-ad--reserved.article-ad--end { --ci-article-ad-height: 1600px; }
@media (min-width: 1100px) {
  .article-ad.ci-article-ad--reserved.article-ad--end { --ci-article-ad-height: 520px; }
}
@media (max-width: 620px) {
  .article-ad.ci-article-ad--reserved { min-height: calc(var(--ci-article-ad-height) + 42px); }
}

/* Multiplex may grow beyond its measured reserve; never force or clip its height. */
.article-ad.ci-article-ad--reserved.article-ad--end > ins.adsbygoogle { display: block; width: 100%; }
