/*
Theme Name: SlangTalks GP Child
Template: generatepress
Version: 1.0
Description: SlangTalks Child Theme for GeneratePress
*/

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&family=Bebas+Neue&display=swap');

:root {
  --red: #E63946;
  --yellow: #FFD23F;
  --blue: #1D3557;
  --navy: #0A1628;
  --cyan: #06D6A0;
  --orange: #FF6B35;
  --white: #FFFFFF;
  --gray: #F8F9FA;
  --text: #1a1a2e;
  --muted: #6c757d;
}

/* ── GLOBAL ── */
body { font-family: 'DM Sans', sans-serif !important; }
* { box-sizing: border-box; }
html, body { overflow-x: hidden !important; width: 100% !important; }

/* ══════════════════════════════════
   HOMEPAGE ONLY — hide GP defaults
   ══════════════════════════════════ */
.home .site-header,
.home .site-footer,
.home .entry-header,
.home .post-image,
.front-page .site-header,
.front-page .site-footer,
.front-page .entry-header,
.front-page .post-image { display: none !important; }

/* ══════════════════════════════════
   SINGLE POST — clean layout
   ══════════════════════════════════ */
body.single {
  background: #f9f9f9;
}

/* GP containers */
body.single .site-main,
body.single #primary,
body.single .content-area {
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  float: none !important;
}

body.single .inside-article {
  padding: 0 !important;
}

/* Hide sidebar on single posts */
body.single #sidebar,
body.single .widget-area {
  display: none !important;
}

body.single #content {
  width: 100% !important;
}

/* H1 Title */
body.single .entry-header {
  display: block !important;
  visibility: visible !important;
  padding: 40px 0 20px !important;
}

body.single .entry-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 42px !important;
  font-weight: 900 !important;
  color: var(--navy) !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

/* Featured image */
body.single .post-image,
body.single .featured-image,
body.single .post-thumbnail {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  margin-bottom: 30px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

body.single .post-image img,
body.single .featured-image img,
body.single .post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px !important;
}

/* Article content */
body.single .entry-content {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #333 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single .entry-content h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 36px 0 14px !important;
}

body.single .entry-content h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 28px 0 12px !important;
}

body.single .entry-content p {
  margin-bottom: 18px !important;
  color: #444 !important;
}

/* Post meta (date, author) */
body.single .entry-meta {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-bottom: 20px !important;
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

/* ══════════════════════════════════
   GP LAYOUT — remove default padding
   ══════════════════════════════════ */
.home .site-content,
.home #primary,
.home .content-area,
.home .inside-article,
.front-page .site-content,
.front-page #primary,
.front-page .content-area,
.front-page .inside-article {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ── NAVBAR ── */
.st-nav {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 3px solid var(--red);
}
.st-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: #fff;
  letter-spacing: 2px;
  text-decoration: none;
}
.st-logo span { color: var(--yellow); }
.st-nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.st-nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.st-nav-links a:hover { color: var(--yellow); }
.st-flag-row { display: flex; gap: 8px; }
.st-fbtn {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: white;
  transition: transform 0.2s;
}
.st-fbtn:hover { transform: translateY(-2px); }
.st-fbtn.uk { background: #012169; }
.st-fbtn.us { background: var(--red); }

/* ── HERO ── */
.st-hero {
  background: var(--navy);
  padding: 70px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  overflow: hidden;
  position: relative;
  width: 100% !important;
  box-sizing: border-box !important;
}
.st-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.st-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,210,63,0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.st-hero h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 62px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.05 !important;
  margin-bottom: 18px !important;
}
.st-hero h1 em { font-style: normal; color: var(--yellow); }
.st-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}
.st-search-wrap { display: flex; max-width: 480px; }
.st-search-wrap input {
  flex: 1;
  padding: 15px 20px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  border: none;
  border-radius: 8px 0 0 8px;
  outline: none;
}
.st-search-btn {
  padding: 15px 26px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.st-search-btn:hover { background: #c1121f; }
.st-hero-stats { display: flex; gap: 32px; margin-top: 28px; padding-bottom: 70px; }
.st-snum { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--yellow); line-height: 1; }
.st-slbl { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── WORD OF DAY ── */
.st-hero-right { display: flex; flex-direction: column; gap: 14px; padding-bottom: 60px; }
.st-wod { background: white; border-radius: 14px; padding: 28px; position: relative; overflow: hidden; }
.st-wod::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow)); }
.st-wod-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.st-wod-word { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.st-wod-type { font-size: 12px; color: var(--muted); font-style: italic; margin-bottom: 10px; }
.st-wod-flags { display: flex; gap: 6px; margin-bottom: 12px; }
.st-tag { padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 700; display: inline-block; }
.st-tag-uk { background: #EEF0FF; color: #3D52D5; }
.st-tag-us { background: #FFF0EE; color: var(--red); }
.st-tag-tr { background: #EDFFF7; color: #00916E; }
.st-tag-sl { background: #FFF8EE; color: var(--orange); }
.st-wod-def { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 12px; }
.st-wod-ex { background: #f8f9fa; border-left: 3px solid var(--yellow); padding: 9px 13px; font-size: 13px; color: #666; font-style: italic; }
.st-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-mini { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 9px; padding: 14px; cursor: pointer; transition: all 0.2s; }
.st-mini:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.st-mini-w { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: white; margin-bottom: 3px; }
.st-mini-d { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* ── TICKER ── */
.st-ticker { background: var(--red); padding: 9px 0; overflow: hidden; white-space: nowrap; }
.st-ticker-inner { display: inline-flex; animation: stTick 30s linear infinite; }
@keyframes stTick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.st-ti { color: white; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; padding: 0 28px; }
.st-ti::after { content: '★'; margin-left: 28px; opacity: 0.4; }

/* ── SECTIONS ── */
.st-sec { padding: 70px 40px; }
.st-sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.st-sec-sub { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; display: block; }
.st-sec-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.st-sec-title span { color: var(--red); }
.st-see-all { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* ── POSTS GRID ── */
.st-posts-section { padding: 70px 40px; background: #F8F9FA; }
.st-posts-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.st-posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.st-post-card { display: block; text-decoration: none; border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.st-post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.st-post-img { position: relative; width: 100%; aspect-ratio: 3/4; background: #1a3a5a; display: flex; align-items: center; justify-content: center; }
.st-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-post-img-letter { font-family: 'Bebas Neue', sans-serif; font-size: 100px; color: rgba(255,255,255,0.15); line-height: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.st-post-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.st-post-title { font-family: 'Playfair Display', serif !important; font-size: 16px !important; font-weight: 700 !important; color: #ffffff !important; line-height: 1.35 !important; margin: 0 !important; text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important; }
.st-post-btn { display: inline-block; background: #E63946; color: #ffffff !important; padding: 8px 18px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-decoration: none !important; text-transform: uppercase; }
.st-post-btn:hover { background: #c1121f; }
.st-pagination { margin-top: 40px; text-align: center; }
.st-pagination .page-numbers { display: inline-block; padding: 8px 16px; margin: 0 4px; border-radius: 6px; background: #fff; border: 1px solid #ddd; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.st-pagination .page-numbers.current, .st-pagination .page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ── CATEGORIES ── */
.st-cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.st-cat { border-radius: 12px; padding: 26px 20px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; display: block; position: relative; overflow: hidden; }
.st-cat:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.st-cat.r { background: linear-gradient(135deg,#E63946,#c1121f); }
.st-cat.b { background: linear-gradient(135deg,#1D3557,#0A1628); }
.st-cat.y { background: linear-gradient(135deg,#FFD23F,#f4a100); }
.st-cat.c { background: linear-gradient(135deg,#06D6A0,#048A64); }
.st-cat.o { background: linear-gradient(135deg,#FF6B35,#d4440f); }
.st-cat.p { background: linear-gradient(135deg,#7B2FBE,#4A0E8F); }
.st-cat.pk { background: linear-gradient(135deg,#E91E8C,#a01060); }
.st-cat.g { background: linear-gradient(135deg,#2D6A4F,#1B4332); }
.st-cat-em { font-size: 32px; margin-bottom: 12px; display: block; }
.st-cat-nm { font-size: 17px; font-weight: 700; color: white !important; margin-bottom: 4px; }
.st-cat.y .st-cat-nm { color: var(--navy) !important; }
.st-cat-ct { font-size: 12px; color: rgba(255,255,255,0.75) !important; }
.st-cat.y .st-cat-ct { color: rgba(0,0,0,0.55) !important; }
.st-cat-bg { position: absolute; bottom: -8px; right: -6px; font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: rgba(255,255,255,0.07); pointer-events: none; }

/* ── COMPARE ── */
.st-cmp { background: var(--navy); padding: 70px 40px; }
.st-cmp-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: white; text-align: center; margin-bottom: 6px; }
.st-cmp-title span { color: var(--yellow); }
.st-cmp-sub { text-align: center; font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 36px; display: block; }
.st-cmp-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.st-ccol { background: rgba(255,255,255,0.06); border-radius: 14px; padding: 28px; }
.st-ccol.uk { border: 2px solid #012169; }
.st-ccol.us { border: 2px solid var(--red); }
.st-chead { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.st-cflag { font-size: 28px; }
.st-ccountry { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: white; letter-spacing: 1px; }
.st-citem { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.st-citem:last-child { border: none; }
.st-cword { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: white; }
.st-cmean { font-size: 12px; color: rgba(255,255,255,0.45); }
.st-vsdiv { padding: 0 22px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.st-vsline { width: 1px; height: 80px; background: rgba(255,255,255,0.12); }
.st-vsbadge { background: var(--yellow); color: var(--navy); font-family: 'Bebas Neue', sans-serif; font-size: 20px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── NEWSLETTER ── */
.st-nl { background: linear-gradient(135deg,var(--red),var(--orange)); padding: 70px 40px; text-align: center; }
.st-nl h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: white; margin-bottom: 12px; }
.st-nl p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.st-nl-form { display: flex; max-width: 440px; margin: 0 auto; }
.st-nl-form input { flex: 1; padding: 15px 20px; font-size: 14px; font-family: 'DM Sans', sans-serif; border: none; border-radius: 8px 0 0 8px; outline: none; }
.st-nl-form button { padding: 15px 26px; background: var(--navy); color: white; font-size: 14px; font-weight: 700; border: none; border-radius: 0 8px 8px 0; cursor: pointer; }

/* ── FOOTER ── */
.st-footer { background: var(--navy); padding: 56px 40px 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.st-fg { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.st-fdesc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 240px; margin-top: 10px; }
.st-fh { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; display: block; }
.st-fcol a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 9px; }
.st-fcol a:hover { color: white; }
.st-fbot { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.st-fcopy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── FAQ ── */
.faq-item { background: #fff3e0 !important; border: 1px solid #e8dcc8 !important; border-radius: 8px !important; margin-bottom: 14px !important; overflow: hidden !important; }
.faq-q { padding: 16px 22px !important; font-weight: 600 !important; font-size: 15px !important; color: var(--red) !important; background: #fdebd0 !important; border-left: 4px solid var(--red) !important; }
.faq-a { padding: 14px 22px !important; font-size: 15px !important; color: #3a2e1e !important; line-height: 1.7 !important; background: #fff3e0 !important; }

/* Admin bar */
body.admin-bar .st-nav { top: 32px !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .st-posts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .st-hero { grid-template-columns: 1fr; padding: 40px 20px 0; }
  .st-hero h1 { font-size: 38px !important; }
  .st-hero-right { display: none; }
  .st-cat-grid { grid-template-columns: repeat(2,1fr); }
  .st-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .st-posts-section { padding: 40px 20px; }
  .st-cmp-grid { grid-template-columns: 1fr; }
  .st-vsdiv { display: none; }
  .st-fg { grid-template-columns: 1fr 1fr; }
  .st-nav { padding: 0 20px; }
  .st-nav-links { display: none; }
  .st-sec { padding: 50px 20px; }
  body.single .entry-title { font-size: 28px !important; }
}
@media (max-width: 480px) {
  .st-posts-grid { grid-template-columns: 1fr; }
}
