/* ============================================================
   INFO THEME — black & gold editorial/news style
   ============================================================ */

:root {
  --it-black:       #0d0d0d;
  --it-black-2:     #1a1a1a;
  --it-yellow:      #f5b921;
  --it-yellow-dark: #d99e0f;
  --it-white:       #ffffff;
  --it-gray-bg:     #eeeeee;
  --it-text:        #1a1a1a;
  --it-text-muted:  #666666;
  --it-border:      #e2e2e2;
}

body { background: var(--it-white); color: var(--it-text); font-family: 'Segoe UI', Roboto, Arial, sans-serif; }

.it-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.it-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 13px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  transition: all .15s;
}
.it-btn-solid { background: var(--it-yellow); color: var(--it-black); }
.it-btn-solid:hover { background: var(--it-yellow-dark); }
.it-btn-outline { background: rgba(0,0,0,.35); color: var(--it-white); border: 1.5px solid var(--it-yellow); }
.it-btn-outline:hover { background: var(--it-black); }

/* ── Ribbon / category tag ───────────────────────────────────────────────── */
.it-ribbon {
  display: inline-block;
  background: var(--it-yellow); color: var(--it-black);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  padding: 5px 14px 5px 12px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.it-header-outer { background: var(--it-black); border-bottom: 4px solid var(--it-yellow); }
.it-header {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 24px;
}
.it-logo { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.it-logo a { display: flex; align-items: center; gap: 8px; }
.it-logo-img { height: 60px; width: auto; }
.it-logo-text { font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--it-white); text-transform: uppercase; }
.it-logo-dot { color: var(--it-yellow); }
.it-logo-suffix { color: var(--it-yellow); }
.it-header-spacer { flex: 1; }

.it-search-form {
  display: flex; align-items: center;
  background: var(--it-black); border: 1.5px solid #4a3a1a; border-radius: 20px;
  padding: 2px 4px 2px 16px; width: 100%; max-width: 360px;
}
.it-search-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--it-white); font-size: 13.5px; padding: 8px 0;
}
.it-search-form input::placeholder { color: #8a8a8a; }
.it-search-btn {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--it-yellow); display: flex; align-items: center; justify-content: center;
}
.it-search-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--it-black); stroke-width: 2.5; }

/* ── Decorative corner triangles (hero wrapper) ─────────────────────────── */
.it-hero-decor { position: relative; }


/* ── Hero grid ───────────────────────────────────────────────────────────── */
.it-hero-section { padding: 28px 0 40px; }
.it-hero-panel { background: var(--it-gray-bg); border-radius: 16px; padding: 18px; }
.it-hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.it-hero-card {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--it-black-2);
}
.it-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.it-hero-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.9) 100%);
}
.it-hero-card-ribbon { position: absolute; top: 10px; right: 10px; z-index: 2; }
.it-hero-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; z-index: 2; }
.it-hero-card-title {
  color: var(--it-white); font-size: 14.5px; font-weight: 700; line-height: 1.35;
  margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.it-hero-card-title a { color: inherit; }
.it-hero-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }

/* ── List-style cards (left col) + Today's Exclusive (right col) ────────── */
.it-mid-section { padding: 10px 0 44px; }
.it-mid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.it-list-card { display: flex; gap: 14px; margin-bottom: 22px; }
.it-list-card-img { width: 200px; height: 135px; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; }
.it-list-card-img img { width: 100%; height: 100%; object-fit: cover; }
.it-list-card-ribbon { position: absolute; top: -4px; left: -4px; }
.it-list-card-body { min-width: 0; }
.it-list-card-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.it-list-card-title a { color: var(--it-text); }
.it-list-card-desc { font-size: 12.5px; color: var(--it-text-muted); line-height: 1.5; margin-bottom: 8px; }

.it-exclusive {
  position: relative; border-radius: 10px; overflow: hidden; min-height: 440px;
  background: var(--it-black-2); display: flex; flex-direction: column; justify-content: flex-end;
}
.it-exclusive img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.it-exclusive::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.92) 100%); }
.it-exclusive-tag {
  position: absolute; top: 22px; left: 0;
  background: var(--it-yellow); color: var(--it-black);
  font-size: 12px; font-weight: 800; padding: 8px 18px 8px 14px; z-index: 2;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.it-exclusive-tag span { display: block; color: var(--it-black); }
.it-exclusive-body { position: relative; z-index: 2; padding: 20px; }
.it-exclusive-title { color: var(--it-white); font-size: 20px; font-weight: 700; line-height: 1.35; margin-bottom: 14px; }
.it-exclusive-title a { color: inherit; }

/* ── Spotlight ───────────────────────────────────────────────────────────── */
.it-spotlight-section { padding: 20px 0 48px; }
.it-spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.it-spotlight-img-wrap { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--it-black-2); }
.it-spotlight-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.it-spotlight-kicker { color: var(--it-yellow-dark); font-size: 18px; font-weight: 600; font-style: italic; }
.it-spotlight-title { font-size: 46px; font-weight: 800; line-height: 1; margin: 2px 0 14px; letter-spacing: -.5px; }
.it-spotlight-subtitle { color: var(--it-yellow-dark); font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; }
.it-spotlight-desc { color: var(--it-text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }

/* ── Latest 2-column article grid ───────────────────────────────────────── */
.it-latest-section { padding: 10px 0 48px; }
.it-latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

/* ── Section heading with side rules ────────────────────────────────────── */
.it-section-heading { display: flex; align-items: center; gap: 16px; margin: 10px 0 28px; }
.it-section-heading::before, .it-section-heading::after { content: ''; flex: 1; height: 2px; background: var(--it-yellow); }
.it-section-heading h2 { font-size: 26px; font-weight: 400; color: var(--it-text); white-space: nowrap; }

/* ── Explore categories band ─────────────────────────────────────────────── */
.it-categories-band { background: var(--it-yellow); padding: 30px 0 40px; }
.it-categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.it-category-tile {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1/1;
  background: var(--it-black-2); display: flex; align-items: center; justify-content: center;
}
.it-category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.it-category-tile::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.it-category-tile-name {
  position: relative; z-index: 2; color: var(--it-yellow);
  font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.it-footer { background: var(--it-black); padding: 40px 0 18px; text-align: center; }
.it-footer-tagline { color: #9a9a9a; font-size: 13px; margin: 10px auto 0; max-width: 520px; line-height: 1.6; }
.it-footer-divider { border: none; border-top: 1px solid #2a2a2a; margin: 22px auto; max-width: 1200px; }
.it-footer-copy { color: #666; font-size: 12px; }
.it-footer-links-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 10px 0 22px; }
.it-footer-links-row a { color: var(--it-yellow); font-size: 12.5px; }
.it-footer-links-row a:hover { text-decoration: underline; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.it-empty-state { text-align: center; padding: 80px 20px; color: var(--it-text-muted); }
.it-empty-state-icon { font-size: 46px; margin-bottom: 14px; }

/* ── Article page ────────────────────────────────────────────────────────── */
.it-progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--it-yellow); z-index: 1000; transition: width .1s; }
.it-article-page { max-width: 800px; margin: 0 auto; padding: 32px 20px 60px; }
.it-article-banner { width: 100%; border-radius: 10px; margin-bottom: 22px; aspect-ratio: 16/9; object-fit: cover; }
.it-article-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 14px; }
.it-article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--it-text-muted); border-bottom: 1px solid var(--it-border); padding-bottom: 16px; margin-bottom: 18px; }
.it-article-meta a { color: inherit; }
.it-article-excerpt { font-size: 16px; color: #333; border-left: 4px solid var(--it-yellow); background: var(--it-gray-bg); padding: 14px 18px; border-radius: 0 6px 6px 0; margin-bottom: 24px; }
.it-article-body { font-size: 16px; line-height: 1.8; color: var(--it-text); }
.it-article-body h2, .it-article-body h3 { margin: 30px 0 14px; font-weight: 800; }
.it-article-body h2 { font-size: 24px; }
.it-article-body h3 { font-size: 19px; }
.it-article-body p { margin-bottom: 16px; }
.it-article-body a { color: var(--it-yellow-dark); text-decoration: underline; }
.it-article-body img { border-radius: 8px; margin: 16px 0; }
.it-article-body blockquote { border-left: 4px solid var(--it-yellow); background: var(--it-gray-bg); padding: 14px 18px; margin: 20px 0; border-radius: 0 6px 6px 0; }
.it-article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.it-article-body th, .it-article-body td { border: 1px solid var(--it-border); padding: 10px 12px; text-align: left; }
.it-article-body th { background: var(--it-black); color: var(--it-white); }
#relatedsearches1, #relatedsearches2 { background: var(--it-gray-bg); border-radius: 8px; padding: 4px; margin: 20px 0; }

/* ── Category page ───────────────────────────────────────────────────────── */
.it-cat-header { background: var(--it-black); padding: 40px 0; text-align: center; }
.it-cat-header h1 { color: var(--it-white); font-size: 30px; font-weight: 800; }
.it-cat-header p { color: var(--it-yellow); font-size: 13px; margin-top: 6px; }
.it-cat-grid { max-width: 1200px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.it-cat-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--it-text-muted); }

.it-article-card { border: 1px solid var(--it-border); border-radius: 10px; overflow: hidden; }
.it-article-card-img-wrap { aspect-ratio: 16/10; background: var(--it-gray-bg); position: relative; }
.it-article-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.it-article-card-body { padding: 14px 16px; }
.it-article-card-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 10px 0 12px; }
.it-article-card-title a { color: var(--it-text); }
