/*
Theme Name: TTBD Child
Template: generatepress
Version: 1.0.0
Text Domain: ttbd-child
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --tt-bg: #121212;
  --tt-nav-bg: #212329;
  --tt-card: #1b1d23;
  --tt-border: #2c2f38;
  --tt-green: #22c55e;
  --tt-yellow: #facc15;
  --tt-text: #e5e7eb;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif !important;
  background: var(--tt-bg) !important;
  color: var(--tt-text) !important;
  overflow-x: clip;
}
body { padding-bottom: 84px; }

.site-header, .main-navigation, .site-footer, #mobile-header, .page-header-image, footer.entry-meta, .post-navigation, .comments-area, #right-sidebar, #left-sidebar, .sidebar, .widget-area { display: none !important; }
#page, .site-content, .inside-article, .entry-content, #primary, .content-area, .site-main { background: transparent !important; padding: 0 !important; margin: 0 auto !important; width: 100% !important; max-width: 100% !important; float: none !important; }

/* Sticky Dark Header (exact xoilacfa.com) */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--tt-nav-bg);
  border-bottom: 1px solid var(--tt-border);
}
.tt-hdr-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tt-logo img { height: 42px; width: auto; display: block; border-radius: 6px; }
.tt-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tt-nav a {
  display: block;
  padding: 8px 2px;
  color: #f3f4f6;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tt-nav a:hover, .tt-nav a.active {
  color: var(--tt-green);
  border-bottom-color: var(--tt-green);
}
.tt-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-yellow);
  color: #111 !important;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.tt-mob-btn {
  display: none;
  background: #2c2f38;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 18px;
  cursor: pointer;
}

/* Main Container */
.tt-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 36px;
}
.tt-hero {
  margin: 0 auto 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--tt-border);
  line-height: 0;
}
.tt-hero img { width: 100%; height: auto; display: block; }

.tt-h1 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 10px 0 18px;
  line-height: 1.35;
}
.tt-live-box {
  background: var(--tt-card);
  border: 1px solid var(--tt-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}

/* SEO Article Card */
.tt-article {
  background: var(--tt-card);
  border: 1px solid var(--tt-border);
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 28px;
}
.tt-article h1 { color: #fff; font-size: 26px; font-weight: 800; margin: 0 0 16px; line-height: 1.35; }
.tt-article h2 { color: var(--tt-green); font-size: 21px; font-weight: 700; margin: 26px 0 12px; border-left: 4px solid var(--tt-yellow); padding-left: 12px; }
.tt-article h3 { color: var(--tt-yellow); font-size: 17.5px; font-weight: 700; margin: 18px 0 8px; }
.tt-article p, .tt-article li { font-size: 15.5px; line-height: 1.78; color: #d1d5db; }
.tt-article a { color: var(--tt-green); }
.tt-article figure { margin: 18px auto 22px !important; text-align: center !important; max-width: 800px; }
.tt-article figure img { margin: 0 auto !important; display: block !important; max-width: 100%; height: auto; border-radius: 8px; }
.tt-article figcaption { font-size: 13px; color: #9ca3af; font-style: italic; margin-top: 6px; }

/* News Grid (3 cols) */
.tt-news-title { color: #fff; font-size: 20px; font-weight: 800; text-transform: uppercase; margin: 0 0 16px; border-left: 4px solid var(--tt-green); padding-left: 12px; }
.tt-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tt-news-card { background: var(--tt-card); border: 1px solid var(--tt-border); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.tt-news-card img { width: 100%; aspect-ratio: 2/1; object-fit: cover; display: block; }
.tt-news-body { padding: 14px; }
.tt-news-body h3 { margin: 0 0 8px; font-size: 15.5px; color: #fff; line-height: 1.4; }
.tt-news-body p { margin: 0; font-size: 13.5px; color: #9ca3af; line-height: 1.5; }

/* Footer */
.tt-footer {
  background: var(--tt-nav-bg);
  border-top: 1px solid var(--tt-border);
  padding: 32px 16px 24px;
  margin-top: 24px;
}
.tt-ft-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.tt-footer h4 { color: var(--tt-green); font-size: 15px; font-weight: 700; text-transform: uppercase; margin: 0 0 12px; }
.tt-footer ul { list-style: none; padding: 0; margin: 0; }
.tt-footer li { padding: 5px 0; font-size: 14px; color: #d1d5db; }
.tt-footer a { color: #d1d5db; text-decoration: none; }
.tt-footer a:hover { color: var(--tt-yellow); }
.tt-ft-copy { max-width: 1240px; margin: 22px auto 0; padding-top: 14px; border-top: 1px solid var(--tt-border); text-align: center; font-size: 13px; color: #9ca3af; }

@media (max-width: 900px) {
  .tt-news-grid { grid-template-columns: 1fr; }
  .tt-ft-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tt-mob-btn { display: inline-block; }
  .tt-nav { display: none; position: absolute; left: 0; right: 0; top: 58px; background: var(--tt-nav-bg); flex-direction: column; align-items: flex-start; padding: 12px 18px; border-bottom: 1px solid var(--tt-border); }
  .tt-nav.open { display: flex; }
  .tt-logo img { height: 34px; }
  .tt-cta-btn { padding: 7px 12px; font-size: 12px; }
  .tt-article { padding: 18px 14px; }
  .tt-h1 { font-size: 19px; }
}
