/*
Theme Name: 90phut-llc-child
Template: generatepress
Version: 2.0
Description: 90Phut dark-blue/emerald/gold (#0f75bc / #61ba8d / #ffba00 / #1a1d23) football streaming & SEO child theme for 90phut.llc
*/
:root {
  --p90-primary: #0f75bc;
  --p90-primary-light: #2b9ae8;
  --p90-emerald: #61ba8d;
  --p90-gold: #ffba00;
  --p90-red: #f8111d;
  --p90-bg: #1a1d23;
  --p90-surface: #232831;
  --p90-surface2: #2a3038;
  --p90-border: rgba(97, 186, 141, 0.28);
  --p90-text: #F3F4F6;
  --p90-muted: #afb4ba;
  --p90-radius: 9px;
}
html, body {
  margin: 0; padding: 0;
  background: var(--p90-bg) !important;
  color: var(--p90-text) !important;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif !important;
  font-size: 16px; line-height: 1.72;
  overflow-x: clip;
}
#page, .site, .site-content, .hfeed, #content {
  display: block !important; width: 100% !important; max-width: 100% !important;
  min-width: 0; box-sizing: border-box; margin: 0 !important; padding: 0 !important;
  background: transparent !important;
}
header.site-header, footer.site-info, .site-footer, #right-sidebar, .sidebar,
.widget-area, footer.entry-meta, .entry-meta, .post-navigation, .comments-area,
#comments, .page-header-image, .featured-image.page-header-image, .page-header {
  display: none !important;
}
a { color: var(--p90-gold); text-decoration: none; transition: color .18s; }
a:hover { color: var(--p90-emerald); }

/* Header */
.p90-hdr {
  position: sticky; top: 0; z-index: 999;
  background: rgba(24, 27, 33, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--p90-primary);
}
.p90-hdr-in {
  max-width: 1320px; margin: 0 auto; padding: 9px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.p90-logo { display: flex; align-items: center; flex-shrink: 0; }
.p90-logo img { height: 40px; width: auto; display: block; }
.p90-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 3px; flex-wrap: nowrap;
}
.p90-nav a {
  display: inline-block; padding: 6px 9px; border-radius: 6px;
  color: #EAECEF; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.p90-nav a:hover, .p90-nav a.active {
  color: #FFFFFF; background: linear-gradient(95deg, var(--p90-primary), var(--p90-primary-light));
}
.p90-ctas { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.p90-btn-reg {
  background: linear-gradient(95deg, #f8111d, #b80d16);
  color: #FFFFFF !important; font-weight: 800; font-size: 12px;
  padding: 7px 12px; border-radius: 7px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(248, 17, 29, 0.30);
}
.p90-btn-log {
  background: transparent; color: var(--p90-gold) !important;
  border: 1.5px solid var(--p90-gold); font-weight: 700; font-size: 12px;
  padding: 6px 11px; border-radius: 7px; white-space: nowrap;
}
.p90-btn-log:hover { background: rgba(255, 186, 0, 0.14); }

/* Main container */
.p90-main {
  max-width: 1200px; margin: 0 auto; padding: 18px 16px 88px;
  box-sizing: border-box;
}
.p90-top-banner {
  display: block; margin-bottom: 16px; border-radius: var(--p90-radius); overflow: hidden;
  border: 1px solid var(--p90-border);
}
.p90-top-banner img { width: 100%; height: auto; max-height: 92px; object-fit: cover; display: block; }

/* H1 bar */
.p90-h1-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(15,117,188,0.24), rgba(35,40,49,0.95));
  border: 1px solid rgba(15,117,188,0.45); border-left: 4px solid var(--p90-gold);
  border-radius: var(--p90-radius);
}
.p90-h1-bar h1 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.32; color: #FFF; }
.p90-live-pill {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: var(--p90-red); color: #FFF; font-size: 12px; font-weight: 800;
  padding: 5px 11px; border-radius: 999px;
}

/* Breadcrumb */
.p90-bc {
  font-size: 13px; color: var(--p90-muted); margin-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.p90-bc a { color: var(--p90-emerald); font-weight: 600; }

/* 3-col post grid */
.p90-sec { margin: 26px 0; }
.p90-sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(15,117,188,0.45);
}
.p90-sec-hdr h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--p90-gold); }
.p90-sec-hdr a { font-size: 13px; font-weight: 700; color: var(--p90-emerald); }
.p90-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p90-grid3 > * { min-width: 0; max-width: 100%; }
.p90-card {
  background: var(--p90-surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--p90-radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s, border-color .18s;
}
.p90-card:hover { transform: translateY(-2px); border-color: var(--p90-primary-light); }
.p90-card-img { aspect-ratio: 2 / 1; width: 100%; overflow: hidden; background: #101318; }
.p90-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p90-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.p90-card-body h3 {
  margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.42;
  color: #FFF; border: none !important; padding: 0 !important;
}
.p90-card-body p {
  margin: 0; font-size: 13.5px; color: var(--p90-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p90-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p90-rel-grid > * { min-width: 0; max-width: 100%; }

/* Article */
.p90-article {
  background: var(--p90-surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--p90-radius); padding: 26px 28px; margin-top: 20px;
}
.p90-article h1 { font-size: 26px; font-weight: 800; color: #FFF; margin: 0 0 16px; line-height: 1.35; }
.p90-article h2 {
  font-size: 21px; font-weight: 800; color: var(--p90-gold);
  margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--p90-primary-light);
  line-height: 1.35;
}
.p90-article h3 { font-size: 17.5px; font-weight: 700; color: var(--p90-emerald); margin: 20px 0 8px; line-height: 1.4; }
.p90-article p { margin: 0 0 14px; color: #E5E7EB; }
.p90-article ul, .p90-article ol { margin: 0 0 16px; padding-left: 22px; color: #E5E7EB; }
.p90-article li { margin-bottom: 6px; }
.p90-article table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  background: var(--p90-surface2); border-radius: 8px; overflow: hidden;
}
.p90-article th, .p90-article td {
  padding: 10px 12px; border: 1px solid rgba(255,255,255,0.09); text-align: left; font-size: 14px;
}
.p90-article th { background: rgba(15,117,188,0.28); color: var(--p90-gold); font-weight: 700; }
article figure, .p90-article figure {
  margin: 18px auto 22px !important; text-align: center !important; max-width: 800px;
}
article figure img, .p90-article figure img {
  margin: 0 auto !important; display: block !important; width: 100%; height: auto;
  border-radius: 8px; border: 1px solid rgba(15,117,188,0.45);
}
article figcaption, .p90-article figcaption {
  margin-top: 7px; font-size: 13px; color: var(--p90-muted); font-style: italic;
}

/* Author Box */
.p90-author {
  margin-top: 26px; padding: 16px 18px;
  background: var(--p90-surface2); border: 1px solid rgba(15,117,188,0.45);
  border-radius: var(--p90-radius); display: flex; gap: 14px; align-items: center;
}
.p90-author-av {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--p90-primary), var(--p90-emerald));
  color: #FFF; font-weight: 900; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.p90-author h4 { margin: 0 0 3px; font-size: 15.5px; color: var(--p90-gold); }
.p90-author p { margin: 0; font-size: 13.5px; color: var(--p90-muted); }

/* Pagination */
.p90-pagi { margin: 22px 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.p90-pagi a, .p90-pagi span {
  padding: 7px 12px; border-radius: 6px; background: var(--p90-surface);
  border: 1px solid rgba(15,117,188,0.45); color: #E5E7EB; font-size: 13.5px; font-weight: 700;
}
.p90-pagi .current { background: var(--p90-primary); color: #FFF; }

/* Footer */
.p90-ftr {
  background: #12151a; border-top: 2px solid var(--p90-primary);
  padding: 34px 16px 96px; margin-top: 32px;
}
.p90-ftr-in {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; gap: 26px;
}
.p90-ftr-in > * { min-width: 0; }
.p90-ftr-logo { height: 42px; width: auto; display: block; margin-bottom: 12px; background: transparent !important; }
.p90-ftr h4 { color: var(--p90-gold); font-size: 15px; margin: 0 0 10px; font-weight: 800; }
.p90-ftr p { margin: 0 0 8px; font-size: 13.5px; color: var(--p90-muted); }
.p90-ftr ul { list-style: none; margin: 0; padding: 0; }
.p90-ftr li { margin-bottom: 7px; font-size: 13.5px; }
.p90-ftr li a { color: #D1D5DB; }
.p90-ftr li a:hover { color: var(--p90-gold); }
.p90-copy {
  max-width: 1200px; margin: 22px auto 0; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 12.5px; color: #9CA3AF;
}

/* Sticky Bottom GIF (transparent outer wrapper) */
#x8-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  background: transparent !important; box-shadow: none !important;
  pointer-events: none; display: flex; justify-content: center; padding: 0 8px 6px;
}
#x8-sticky .x8-wrap {
  position: relative; width: 1140px; max-width: 96vw;
  display: flex; gap: 8px; pointer-events: auto;
}
#x8-sticky a { flex: 1; display: block; }
#x8-sticky img { width: 100%; height: auto; max-height: 76px; object-fit: cover; border-radius: 6px; display: block; }
#x8-sticky .x8-close {
  position: absolute; top: -22px; right: 0;
  background: rgba(18,21,26,0.92); color: #FFF; border: 1px solid rgba(15,117,188,0.5);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; cursor: pointer;
}

@media (max-width: 1060px) {
  .p90-hdr-in { flex-wrap: wrap; justify-content: space-between; padding: 8px 12px; }
  .p90-nav { order: 3; width: 100%; }
  .p90-nav ul { flex-wrap: wrap; justify-content: center; gap: 4px; overflow-x: visible; }
  .p90-nav a { padding: 5px 8px; font-size: 12.5px; }
  .p90-grid3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p90-rel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p90-ftr-in { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
  .p90-logo img { height: 30px; }
  .p90-btn-reg, .p90-btn-log { padding: 6px 9px; font-size: 11.5px; }
  .p90-h1-bar { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .p90-h1-bar h1 { font-size: 18px; }
  .p90-article { padding: 16px 14px; }
  .p90-article h1 { font-size: 21px; }
  .p90-article h2 { font-size: 18px; }
  .p90-article table { display: block; overflow-x: auto; width: 100%; }
  #x8-sticky .x8-wrap a:nth-child(2) { display: none; }
}
