/*
Theme Name: InfoPildun
Theme URI: https://infopildun.com/
Author: InfoPildun
Description: Tema sepak bola gelap modern dengan livescore, jadwal pertandingan, hasil, dan klasemen otomatis (widget 365Scores) untuk liga-liga top dunia dan Timnas Indonesia. Dilengkapi logo GIF animasi, halaman Livescore/Jadwal/Klasemen/Berita yang dibuat otomatis, dan halaman pengaturan.
Version: 1.2.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infopildun
Tags: dark, news, sports, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bg: #060a0f;
	--bg-2: #0a1118;
	--surface: #0f1821;
	--surface-2: #14202c;
	--surface-3: #1a2938;
	--border: #1c2a38;
	--border-2: #263849;
	--text: #e9eff6;
	--text-2: #c3cfdb;
	--muted: #8496aa;
	--accent: #22f08a;
	--accent-2: #19c6ff;
	--accent-ink: #03150b;
	--accent-soft: rgba(34, 240, 138, .12);
	--live: #ff3657;
	--gold: #ffc53d;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .65);
	--glow: 0 0 0 1px rgba(34, 240, 138, .35), 0 0 24px rgba(34, 240, 138, .18);
	--container: 1260px;
	--font-head: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(25, 198, 255, .08), transparent 60%),
		radial-gradient(900px 500px at -10% 10%, rgba(34, 240, 138, .07), transparent 60%),
		var(--bg);
	background-attachment: fixed;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #7dffbf; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .01em;
	margin: 0 0 .6em;
	color: #fff;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--surface); clip: auto !important; clip-path: none; color: var(--text);
	display: block; height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000;
}
.skip-link { position: absolute; }

.ip-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ip-container { padding: 0 24px; } }

/* ==========================================================================
   3. Buttons, chips, badges
   ========================================================================== */
.ip-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .75rem 1.25rem; border-radius: 999px;
	font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text);
	cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.ip-btn:hover { transform: translateY(-1px); color: #fff; border-color: var(--accent); box-shadow: var(--glow); }
.ip-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ip-btn--primary:hover { background: #5cffad; color: var(--accent-ink); }
.ip-btn svg { width: 18px; height: 18px; }

.ip-chips {
	display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.ip-chips::-webkit-scrollbar { display: none; }
@media (min-width: 1021px) {
	.ip-main .ip-chips, .ip-card__tabs .ip-chips { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; }
}
.ip-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem;
	padding: .45rem .85rem .45rem .45rem; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
	font-size: .88rem; font-weight: 600; white-space: nowrap;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ip-chip:hover { color: #fff; border-color: var(--border-2); background: var(--surface-2); }
.ip-chip.is-active { background: var(--accent-soft); border-color: var(--accent); color: #fff; }
.ip-chip--plain { padding-left: .85rem; }

.ip-badge {
	display: inline-grid; place-items: center; flex: 0 0 auto;
	width: 28px; height: 28px; border-radius: 50%;
	font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: #fff;
	background: var(--badge, #334);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.ip-badge--lg { width: 40px; height: 40px; font-size: .9rem; }

.ip-live-pill {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .15rem .6rem; border-radius: 999px;
	background: rgba(255, 54, 87, .14); color: #ff8094; border: 1px solid rgba(255, 54, 87, .35);
	font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.ip-live-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--live);
	box-shadow: 0 0 0 0 rgba(255, 54, 87, .7); animation: ip-pulse 1.6s infinite;
}
@keyframes ip-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 54, 87, .65); }
	70% { box-shadow: 0 0 0 9px rgba(255, 54, 87, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 54, 87, 0); }
}

.ip-kicker {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--font-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	font-size: .85rem; color: var(--accent);
}
.ip-kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ==========================================================================
   4. Top bar & header
   ========================================================================== */
.ip-topbar {
	background: #03070b; border-bottom: 1px solid var(--border);
	font-size: .82rem; color: var(--muted);
}
.ip-topbar .ip-container { display: flex; align-items: center; gap: 1rem; min-height: 38px; }
.ip-topbar__clock { display: flex; align-items: center; gap: .5rem; white-space: nowrap; color: var(--text-2); }
.ip-topbar__clock strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.ip-ticker { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ip-ticker__track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: ip-marquee 38s linear infinite; padding-left: 100%; }
.ip-ticker:hover .ip-ticker__track { animation-play-state: paused; }
.ip-ticker__item { color: var(--text-2); }
.ip-ticker__item::before { content: "⚽"; margin-right: .6rem; }
@keyframes ip-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 640px) { .ip-topbar__date { display: none; } }

.ip-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(6, 10, 15, .82);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.admin-bar .ip-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ip-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ip-header { top: 0; } }
.ip-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 74px; }

.ip-brand { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; color: #fff; }
.ip-brand:hover { color: #fff; }
.ip-brand img, .ip-brand .custom-logo { display: block; height: 60px; width: auto; max-width: 240px; object-fit: contain; }
.ip-brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.ip-brand__text span { color: var(--accent); }
.custom-logo-link { display: inline-flex; }

.ip-nav { margin-left: auto; }
.ip-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.ip-nav li { position: relative; }
.ip-nav a {
	display: block; padding: .55rem .85rem; border-radius: 999px;
	font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase;
	color: var(--text-2); white-space: nowrap;
}
.ip-nav a:hover { color: #fff; background: var(--surface-2); }
.ip-nav .current-menu-item > a, .ip-nav .current_page_item > a, .ip-nav .current-menu-ancestor > a { color: var(--accent-ink); background: var(--accent); }
.ip-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: .5rem;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	display: none; flex-direction: column; align-items: stretch; z-index: 60;
}
.ip-nav li:hover > .sub-menu, .ip-nav li:focus-within > .sub-menu { display: flex; }
.ip-nav .sub-menu a { border-radius: 8px; font-size: 1rem; }

.ip-header__actions { display: flex; align-items: center; gap: .5rem; }
.ip-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}
.ip-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.ip-icon-btn svg { width: 20px; height: 20px; }
.ip-menu-toggle { display: none; }

.ip-search-panel { display: none; border-top: 1px solid var(--border); background: var(--bg-2); }
.ip-search-panel.is-open { display: block; }
.ip-search-panel .ip-container { padding-top: 14px; padding-bottom: 14px; }

@media (max-width: 1180px) {
	.ip-menu-toggle { display: inline-grid; }
	.ip-header__actions { margin-left: auto; }
	.ip-nav {
		position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); margin: 0; padding: 88px 18px 24px;
		background: var(--bg-2); border-left: 1px solid var(--border); box-shadow: var(--shadow);
		transform: translateX(105%); transition: transform .28s ease; z-index: 70; overflow-y: auto;
	}
	.ip-nav.is-open { transform: translateX(0); }
	.ip-nav ul { flex-direction: column; align-items: stretch; gap: .35rem; }
	.ip-nav a { padding: .8rem 1rem; border-radius: 12px; }
	.ip-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; }
	.ip-nav-close { position: absolute; top: 22px; right: 18px; }
	.ip-brand img, .ip-brand .custom-logo { height: 50px; max-width: 190px; }
	.ip-brand__text { font-size: 1.45rem; }
}
@media (min-width: 1181px) { .ip-nav-close { display: none; } }
@media (min-width: 1181px) and (max-width: 1320px) { .ip-nav a { padding: .5rem .6rem; font-size: .95rem; } .ip-header__inner { gap: .75rem; } }
.ip-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.ip-overlay.is-open { opacity: 1; pointer-events: auto; }

/* League strip under header */
.ip-leaguebar { border-bottom: 1px solid var(--border); background: rgba(10, 17, 24, .7); }
.ip-leaguebar .ip-container { display: flex; align-items: center; gap: .75rem; padding-top: 10px; padding-bottom: 0; }
.ip-leaguebar__label { flex: 0 0 auto; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--muted); padding-bottom: 10px; }
.ip-leaguebar .ip-chips { flex: 1; }
@media (max-width: 640px) { .ip-leaguebar__label { display: none; } }

/* ==========================================================================
   5. Hero & page headers
   ========================================================================== */
.ip-hero { position: relative; padding: 46px 0 26px; overflow: hidden; }
.ip-hero::before, .ip-page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background:
		radial-gradient(circle at 50% 120%, transparent 0 118px, rgba(34, 240, 138, .16) 119px 121px, transparent 122px),
		linear-gradient(90deg, transparent calc(50% - 1px), rgba(34, 240, 138, .12) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 80px, transparent 80px 160px);
}
.ip-hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; }
.ip-hero h1 { margin: .35rem 0 .5rem; text-transform: uppercase; }
.ip-hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 28px rgba(34, 240, 138, .35); }
.ip-hero__lead { color: var(--text-2); font-size: 1.05rem; max-width: 620px; }
.ip-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.ip-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ip-stat {
	background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 16px; text-align: left;
}
.ip-stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: #fff; }
.ip-stat__num span { color: var(--accent); }
.ip-stat__label { color: var(--muted); font-size: .82rem; margin-top: .35rem; }
@media (max-width: 900px) { .ip-hero__grid { grid-template-columns: 1fr; } }

.ip-page-hero { position: relative; padding: 38px 0 22px; overflow: hidden; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(20, 32, 44, .6), transparent); }
.ip-page-hero .ip-container { position: relative; }
.ip-page-hero h1 { text-transform: uppercase; margin: .35rem 0 .35rem; }
.ip-page-hero p { color: var(--text-2); max-width: 760px; margin: 0; }
.ip-breadcrumb { font-size: .85rem; color: var(--muted); }
.ip-breadcrumb a { color: var(--muted); }
.ip-breadcrumb a:hover { color: var(--accent); }

/* ==========================================================================
   6. Layout grids & cards
   ========================================================================== */
.ip-main { padding: 28px 0 56px; }
.ip-section { padding: 26px 0; }
.ip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.ip-layout--wide-side { grid-template-columns: minmax(0, 1fr) 400px; }
@media (max-width: 1020px) { .ip-layout, .ip-layout--wide-side { grid-template-columns: 1fr; } }
.ip-stack { display: grid; gap: 22px; }
.ip-sticky { position: sticky; top: 100px; }
@media (max-width: 1020px) { .ip-sticky { position: static; } }

.ip-card {
	background: linear-gradient(180deg, var(--surface), rgba(15, 24, 33, .92));
	border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
	overflow: hidden;
}
.ip-card__head {
	display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
	padding: 14px 18px; border-bottom: 1px solid var(--border);
	background: linear-gradient(90deg, rgba(34, 240, 138, .06), transparent 50%);
}
.ip-card__title { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.ip-card__title small { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.ip-card__link { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.ip-card__body { padding: 18px; }
.ip-card__body--flush { padding: 0; }
.ip-card__tabs { padding: 12px 14px 0; border-bottom: 1px solid var(--border); }

.ip-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 18px; flex-wrap: wrap; }
.ip-section-head h2 { margin: .2rem 0 0; text-transform: uppercase; }

/* Widget frame (365Scores) */
.ip-widget-frame { position: relative; background: #13171c; min-height: 220px; }
.ip-widget-frame--scroll { max-height: 640px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.ip-widget-frame--tall { max-height: 820px; }
.ip-widget-frame .ip-widget { min-height: 200px; }
.ip-widget-loading {
	position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .6rem;
	color: var(--muted); font-size: .9rem; pointer-events: none; transition: opacity .3s ease;
}
.ip-widget-frame.is-loaded .ip-widget-loading { opacity: 0; }
.ip-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--border-2); border-top-color: var(--accent); animation: ip-spin .9s linear infinite; }
@keyframes ip-spin { to { transform: rotate(360deg); } }
.ip-powered { padding: 8px 14px; font-size: .75rem; color: var(--muted); text-align: right; border-top: 1px solid var(--border); background: var(--bg-2); }
.ip-powered a { color: var(--text-2); }

.ip-league-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .ip-league-grid { grid-template-columns: 1fr; } }

.ip-note {
	display: flex; gap: .75rem; align-items: flex-start;
	padding: 12px 16px; border-radius: var(--radius-sm);
	background: rgba(25, 198, 255, .07); border: 1px solid rgba(25, 198, 255, .25); color: var(--text-2); font-size: .9rem;
}
.ip-note svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent-2); margin-top: 2px; }

/* League list (sidebar) */
.ip-league-list { list-style: none; margin: 0; padding: 6px; }
.ip-league-list a { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 10px; color: var(--text-2); font-weight: 600; }
.ip-league-list a:hover { background: var(--surface-2); color: #fff; }
.ip-league-list a.is-active { background: var(--accent-soft); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.ip-league-list small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.ip-league-list .ip-arrow { margin-left: auto; color: var(--muted); }

/* Quick access cards */
.ip-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .ip-quick { grid-template-columns: 1fr; } }
.ip-quick__item {
	position: relative; display: block; padding: 22px; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); color: var(--text);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ip-quick__item:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--glow); color: var(--text); }
.ip-quick__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.ip-quick__icon svg { width: 26px; height: 26px; }
.ip-quick__item h3 { margin: 0 0 .3rem; text-transform: uppercase; font-size: 1.45rem; }
.ip-quick__item p { margin: 0; color: var(--muted); font-size: .92rem; }
.ip-quick__item::after { content: "→"; position: absolute; right: 20px; top: 20px; font-size: 1.4rem; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.ip-quick__item:hover::after { transform: translateX(4px); color: var(--accent); }

/* ==========================================================================
   7. Posts
   ========================================================================== */
.ip-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ip-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .ip-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ip-posts, .ip-posts--2 { grid-template-columns: 1fr; } }

.ip-post-card {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: var(--surface); border: 1px solid var(--border);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ip-post-card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.ip-post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.ip-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ip-post-card:hover .ip-post-card__media img { transform: scale(1.05); }
.ip-post-card__cat {
	position: absolute; left: 12px; top: 12px; padding: .2rem .6rem; border-radius: 6px;
	background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.ip-post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ip-post-card__title { margin: 0; font-size: 1.32rem; line-height: 1.2; }
.ip-post-card__title a { color: #fff; }
.ip-post-card__title a:hover { color: var(--accent); }
.ip-post-card__excerpt { color: var(--muted); font-size: .92rem; margin: 0; }
.ip-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--muted); font-size: .82rem; }
.ip-meta a { color: var(--muted); }
.ip-meta a:hover { color: var(--accent); }

.ip-post-card--feature { grid-column: span 2; flex-direction: row; }
.ip-post-card--feature .ip-post-card__media { aspect-ratio: auto; flex: 1.2; min-height: 280px; }
.ip-post-card--feature .ip-post-card__body { flex: 1; justify-content: center; padding: 26px; }
.ip-post-card--feature .ip-post-card__title { font-size: 2rem; }
@media (max-width: 1020px) { .ip-post-card--feature { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ip-post-card--feature { flex-direction: column; } .ip-post-card--feature .ip-post-card__media { min-height: 0; aspect-ratio: 16 / 9; } .ip-post-card--feature .ip-post-card__title { font-size: 1.5rem; } }

.ip-thumb-fallback {
	width: 100%; height: 100%; display: grid; place-items: center;
	background:
		radial-gradient(circle at 30% 20%, rgba(34, 240, 138, .25), transparent 55%),
		radial-gradient(circle at 80% 90%, rgba(25, 198, 255, .2), transparent 55%),
		linear-gradient(135deg, #0f2a1d, #0b1620);
	color: rgba(255, 255, 255, .85);
}
.ip-thumb-fallback svg { width: 64px; height: 64px; opacity: .8; }

.ip-empty {
	padding: 34px; text-align: center; border: 1px dashed var(--border-2); border-radius: var(--radius); color: var(--muted);
	background: rgba(15, 24, 33, .6);
}
.ip-empty h3 { color: #fff; }

/* Mini post list (sidebar) */
.ip-mini-posts { list-style: none; margin: 0; padding: 6px 12px; }
.ip-mini-posts li { display: flex; gap: .75rem; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.ip-mini-posts li:last-child { border-bottom: 0; }
.ip-mini-posts__num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--border-2); min-width: 26px; }
.ip-mini-posts a { color: var(--text); font-weight: 600; line-height: 1.35; }
.ip-mini-posts a:hover { color: var(--accent); }
.ip-mini-posts time { display: block; font-size: .78rem; color: var(--muted); margin-top: .2rem; }

/* Single article */
.ip-article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ip-article__media img { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.ip-article__inner { padding: 26px; }
@media (min-width: 768px) { .ip-article__inner { padding: 34px 40px; } }
.ip-article__title { text-transform: none; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.ip-content { color: var(--text-2); font-size: 1.05rem; }
.ip-content > * + * { margin-top: 1.1em; }
.ip-content h2, .ip-content h3, .ip-content h4 { margin-top: 1.6em; }
.ip-content a { text-decoration: underline; text-underline-offset: 3px; }
.ip-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #fff; font-style: italic; }
.ip-content img { border-radius: var(--radius-sm); }
.ip-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ip-content th, .ip-content td { padding: .6rem .75rem; border: 1px solid var(--border); text-align: left; }
.ip-content th { background: var(--surface-2); color: #fff; }
.ip-content ul, .ip-content ol { padding-left: 1.3em; }
.ip-content pre { overflow-x: auto; padding: 14px; background: var(--bg-2); border-radius: var(--radius-sm); }
.ip-content .wp-block-image figcaption, .ip-content figcaption { color: var(--muted); font-size: .85rem; text-align: center; }
.alignwide { margin-left: -20px; margin-right: -20px; }
.alignfull { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.wp-caption-text { color: var(--muted); font-size: .85rem; }
.sticky, .bypostauthor, .gallery-caption { outline: none; }

.ip-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.ip-tags a { padding: .25rem .7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: .82rem; }
.ip-tags a:hover { border-color: var(--accent); color: var(--accent); }

.ip-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.ip-share span { color: var(--muted); font-size: .85rem; margin-right: .25rem; }
.ip-share a { padding: .4rem .85rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: .85rem; font-weight: 600; }
.ip-share a:hover { border-color: var(--accent); color: var(--accent); }

.ip-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.ip-post-nav a { display: block; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.ip-post-nav a:hover { border-color: var(--accent); }
.ip-post-nav small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ip-post-nav .is-next { text-align: right; }
@media (max-width: 640px) { .ip-post-nav { grid-template-columns: 1fr; } .ip-post-nav .is-next { text-align: left; } }

/* Pagination */
.ip-pagination { margin-top: 30px; }
.ip-pagination .nav-links, .ip-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.ip-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 12px;
	background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600;
}
.ip-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.ip-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ip-pagination ul.page-numbers { background: none; border: 0; height: auto; }

/* ==========================================================================
   8. Forms, comments, widgets
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%; padding: .75rem 1rem; border-radius: 12px;
	background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); font: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 240, 138, .15); }
button, input[type="submit"], input[type="button"] {
	font: inherit; cursor: pointer; padding: .75rem 1.2rem; border-radius: 12px; border: 1px solid var(--accent);
	background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
button:hover, input[type="submit"]:hover { background: #5cffad; }
.ip-search-form { display: flex; gap: .5rem; }
.ip-search-form input[type="search"] { flex: 1; }

.ip-comments { margin-top: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.ip-comments h2, .ip-comments h3 { text-transform: uppercase; font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.25rem; border-left: 2px solid var(--border); }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; }
.comment-metadata a { color: var(--muted); }
.comment-content { color: var(--text-2); margin-top: .4rem; }
.reply a { font-size: .85rem; font-weight: 600; }
.comment-form label { display: block; font-size: .88rem; color: var(--text-2); margin-bottom: .3rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; }

.ip-widget-area .widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.ip-widget-area .widget + .widget { margin-top: 22px; }
.ip-widget-area .widget-title, .ip-widget-area .wp-block-heading { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8rem; }
.ip-widget-area ul { list-style: none; margin: 0; padding: 0; }
.ip-widget-area li { padding: .45rem 0; border-bottom: 1px solid var(--border); }
.ip-widget-area li:last-child { border-bottom: 0; }
.ip-widget-area a { color: var(--text-2); }
.ip-widget-area a:hover { color: var(--accent); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.ip-footer { margin-top: 30px; border-top: 1px solid var(--border); background: linear-gradient(180deg, #070c12, #04070a); color: var(--muted); font-size: .92rem; }
.ip-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0 40px; }
@media (max-width: 900px) { .ip-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ip-footer__grid { grid-template-columns: 1fr; } }
.ip-footer h4 { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.ip-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ip-footer a { color: var(--muted); }
.ip-footer a:hover { color: var(--accent); }
.ip-footer__brand img { height: 84px; width: auto; margin-bottom: .75rem; }
.ip-footer__bottom { border-top: 1px solid var(--border); padding: 16px 0; font-size: .82rem; }
.ip-footer__bottom .ip-container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

.ip-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; padding: 0; background: var(--accent); color: var(--accent-ink); border: 0;
	box-shadow: 0 10px 24px rgba(34, 240, 138, .25); opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.ip-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ip-to-top svg { width: 20px; height: 20px; }

/* 404 */
.ip-404 { text-align: center; padding: 60px 0 30px; }
.ip-404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--accent); text-shadow: 0 0 40px rgba(34, 240, 138, .25); }
.ip-404 .ip-search-form { max-width: 520px; margin: 1.5rem auto 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   10. 365Scores widget skin (match the theme)
   ========================================================================== */
.ip-widget-frame .scores365,
.ip-widget-frame [class*="app-module-router-container"],
.ip-widget-frame [class*="competition-container_container"] { background: var(--surface) !important; }

/* Tabs (Scores overview / Fixtures / Results) */
.ip-widget-frame [class*="entity-scores-widget_header"],
.ip-widget-frame [class*="navigation-tabs_container"],
.ip-widget-frame [class*="navigation-tabs_tabs"] { background: var(--surface-2) !important; }
.ip-widget-frame [class*="entity-scores-widget_header"] { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--border); }

/* Section titles ("Today's Matches", "Fixtures", "Results") — compact, left aligned */
.ip-widget-frame [class*="entity-scores-widget_section_title"] {
	height: auto !important; min-height: 0 !important; margin: 0 !important;
	padding: 16px 16px 10px !important; justify-content: flex-start !important; gap: .6rem;
	font-family: var(--font-head) !important; font-size: 1.05rem !important; font-weight: 700 !important;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; background: transparent !important;
}
.ip-widget-frame [class*="entity-scores-widget_section_title_line"] { display: none !important; }
.ip-widget-frame [class*="entity-scores-widget_section_title"]::before {
	content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--accent); flex: 0 0 auto;
}

/* Round / date header */
.ip-widget-frame [class*="entity-scores-widget-group_header_container"] {
	background: var(--surface-3) !important; padding: 0 16px !important; min-height: 36px;
	border-left: 3px solid var(--accent-2); border-top: 1px solid var(--border);
}
.ip-widget-frame [class*="entity-scores-widget-group_header_title"] { color: #fff !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .06em; }
.ip-widget-frame [class*="entity-scores-widget-group_header_date"] { color: var(--accent-2) !important; font-weight: 600 !important; }

/* Match rows — full-width scoreboard grid */
.ip-widget-frame [class*="game-card_container"] { background: var(--surface) !important; border-bottom: 1px solid var(--border) !important; margin: 0 !important; }
.ip-widget-frame [class*="game-card_container"]:hover,
.ip-widget-frame [class*="game-card_container"]:hover [class*="game-card_game_card_link"] { background: var(--surface-2) !important; }
.ip-widget-frame [class*="game-card_game_card_link"] {
	background: transparent !important;
	grid-template-columns: minmax(0, 1fr) 28px 96px 28px minmax(0, 1fr) !important;
	column-gap: 10px !important; justify-content: stretch !important;
	padding: 8px 16px !important; min-height: 64px; align-content: center;
}
.ip-widget-frame [class*="game-card-competitor_name"] { width: auto !important; max-width: 100% !important; font-size: 15px !important; font-weight: 600 !important; color: var(--text) !important; }
.ip-widget-frame [class*="game-card_game_card_link"] > [class*="game-card-competitor_name"]:first-child { justify-self: end !important; text-align: right !important; }
.ip-widget-frame [class*="game-card_game_card_link"] > [class*="game-card-competitor_name"] ~ [class*="game-card-competitor_name"] { justify-self: start !important; text-align: left !important; }
.ip-widget-frame [class*="game-card-competitor_logo"] { justify-self: center; }
.ip-widget-frame [class*="game-card-center_center_score"],
.ip-widget-frame [class*="game-score_container"] { justify-self: center; font-family: var(--font-head) !important; font-size: 20px !important; font-weight: 800 !important; color: #fff !important; letter-spacing: .04em; }
.ip-widget-frame [class*="game-card-top_status_badge"] { font-size: 11px !important; }

@media (max-width: 560px) {
	.ip-widget-frame [class*="game-card_game_card_link"] { grid-template-columns: minmax(0, 1fr) 22px 64px 22px minmax(0, 1fr) !important; column-gap: 6px !important; padding: 8px 10px !important; }
	.ip-widget-frame [class*="game-card-competitor_name"] { font-size: 13px !important; }
	.ip-widget-frame [class*="game-card-center_center_score"], .ip-widget-frame [class*="game-score_container"] { font-size: 17px !important; }
}

/* Pages with their own competition tabs: avoid duplicate selectors */
.ip-has-tabs .ip-leaguebar { display: none; }
@media (min-width: 1021px) { .ip-tabs--mobile { display: none; } }
@media (max-width: 1020px) { .ip-league-side { display: none; } }

/* Core block widgets in the sidebar */
.ip-widget-area .wp-block-search__label { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: .6rem; }
.ip-widget-area .wp-block-search__inside-wrapper { display: flex; gap: .5rem; border: 0; padding: 0; }
.ip-widget-area .wp-block-search__input { border-radius: 12px; }
.ip-widget-area .wp-block-search__button { margin: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); border: 0; }
.ip-widget-area .wp-block-group__inner-container > * + * { margin-top: .5rem; }

.ip-page-content { color: var(--muted); font-size: .95rem; }
#powered-by { text-align: center; font-size: .75rem; color: var(--muted); padding: 6px 0; background: var(--bg-2); }
#powered-by a { color: var(--text-2); margin-left: .25rem; }

/* Front page: balance the live-score column with the sidebar */
.home .ip-layout--wide-side > aside .ip-widget-frame--scroll { max-height: 460px; }
.home .ip-layout--wide-side > .ip-stack .ip-widget-frame--tall { max-height: 1010px; }

/* Narrow (sidebar) widgets: tighter scoreboard so team names fit */
aside .ip-widget-frame [class*="game-card_game_card_link"] { grid-template-columns: minmax(0, 1fr) 22px 62px 22px minmax(0, 1fr) !important; column-gap: 6px !important; padding: 8px 10px !important; }
aside .ip-widget-frame [class*="game-card-competitor_name"] { font-size: 13.5px !important; }
aside .ip-widget-frame [class*="game-card-center_center_score"], aside .ip-widget-frame [class*="game-score_container"] { font-size: 17px !important; }

/* ==========================================================================
   12. Big match countdown
   ========================================================================== */
.ip-hero__grid { align-items: center; }
.ip-bm {
	position: relative; overflow: hidden; padding: 20px; border-radius: 20px;
	background:
		radial-gradient(420px 180px at 50% -10%, rgba(34, 240, 138, .22), transparent 70%),
		linear-gradient(160deg, #13261f, var(--surface) 55%, #0c1620);
	border: 1px solid rgba(34, 240, 138, .35); box-shadow: 0 0 0 1px rgba(34, 240, 138, .08), 0 24px 60px -24px rgba(34, 240, 138, .35);
}
.ip-bm::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 40px, transparent 40px 80px);
}
.ip-bm > * { position: relative; z-index: 1; }
.ip-bm__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 14px; }
.ip-bm__tag {
	display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px;
	background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.ip-bm__tag::before { content: "🔥"; }
.ip-bm__comp { color: var(--text-2); font-size: .85rem; font-weight: 600; text-align: right; }
.ip-bm__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.ip-bm__team { display: grid; justify-items: center; gap: .5rem; min-width: 0; }
.ip-bm__team strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.ip-bm__logo { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.ip-bm__logo--txt {
	display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--border-2);
	font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: .04em;
}
.ip-bm__vs { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--accent); text-shadow: 0 0 18px rgba(34, 240, 138, .5); }
.ip-bm__when { margin-top: 12px; text-align: center; color: var(--text-2); font-size: .88rem; }
.ip-bm__countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.ip-bm__countdown div { padding: 10px 4px; border-radius: 12px; text-align: center; background: rgba(3, 7, 11, .55); border: 1px solid var(--border); }
.ip-bm__countdown b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ip-bm__countdown span { display: block; margin-top: .25rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ip-bm__state { display: none; margin-top: 14px; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; font-weight: 600; }
.ip-bm[data-status="live"] .ip-bm__countdown, .ip-bm[data-status="finished"] .ip-bm__countdown { display: none; }
.ip-bm[data-status="live"] .ip-bm__state--live, .ip-bm[data-status="finished"] .ip-bm__state--done { display: flex; }
.ip-bm__state--done { color: var(--text-2); }

@media (max-width: 480px) {
	.ip-bm { padding: 16px; }
	.ip-bm__logo { width: 56px; height: 56px; }
	.ip-bm__team strong { font-size: 1.1rem; }
	.ip-bm__countdown b { font-size: 1.6rem; }
}
img.ip-bm__logo { background: radial-gradient(circle, #fff 60%, #e9eef3); border-radius: 50%; padding: 10px; box-shadow: 0 0 0 3px rgba(34, 240, 138, .35), 0 10px 24px -8px rgba(0, 0, 0, .6); filter: none; }

/* "Lihat Semua Berita" button under the news grid */
.ip-section-more { display: flex; justify-content: center; margin-top: 24px; }
.ip-section-more .ip-btn { padding: .9rem 1.6rem; font-size: 1.1rem; box-shadow: 0 12px 30px -12px rgba(34, 240, 138, .55); }
/* A single (feature) post fills the whole row */
.ip-posts > .ip-post-card--feature:only-child { grid-column: 1 / -1; }
