/*
Theme Name: GenZ Indians
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Dark, bold blog theme for GenZ Indians — converted from a Horizons React export into a native WordPress theme. Ported by hand: same colors, fonts and layout, rebuilt with the WordPress Loop, native menus and widgets. Resume-builder / login / signup app removed.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genz-indians
Tags: blog, dark, custom-colors, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   Design tokens (mirrors the original Tailwind/HSL variables 1:1)
   ========================================================================== */
:root {
  --background: 0 0% 4%;
  --foreground: 0 0% 100%;
  --card: 0 0% 7%;
  --card-foreground: 0 0% 100%;
  --primary: 116 100% 45%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 12%;
  --muted-foreground: 0 0% 66%;
  --border: 0 0% 16%;
  --radius: 0.25rem;

  --bg: hsl(var(--background));
  --bg-alt: #080808;
  --bg-card: #0b0b0b;
  --fg: hsl(var(--foreground));
  --primary-color: hsl(var(--primary));
  --primary-fg: hsl(var(--primary-foreground));
  --muted: hsl(var(--muted-foreground));
  --border-color: rgba(255, 255, 255, 0.1);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Barlow", sans-serif;
  overflow-x: clip;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.font-display {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.01em;
}
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
.wide-container { max-width: 90rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wide-container { padding: 0 2.5rem; } }

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--primary-color);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--primary-color); color: var(--primary-fg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--fg); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }

.dot-grid {
  background-image: radial-gradient(hsla(116, 100%, 45%, 0.35) 1px, transparent 1px);
  background-size: 14px 14px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .animate-marquee { animation: none; } }

/* ==========================================================================
   Brand logo
   ========================================================================== */
.brand-logo { font-family: "Oswald", sans-serif; font-weight: 700; display: inline-flex; align-items: stretch; }
.brand-logo .part-a { background: var(--primary-color); color: var(--primary-fg); line-height: 1; }
.brand-logo .part-b { color: #fff; line-height: 1; border-top: 3px solid #fff; border-bottom: 3px solid #fff; margin-left: 0.5rem; }
.brand-logo.sm { font-size: 1.5rem; }
.brand-logo.sm .part-a, .brand-logo.sm .part-b { padding: 0.15rem 0.5rem; }
.brand-logo.lg { font-size: 3rem; }
.brand-logo.lg .part-a, .brand-logo.lg .part-b { padding: 0.5rem 1rem; }
@media (min-width: 768px) { .brand-logo.lg { font-size: 4.5rem; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.main-nav { display: none; align-items: center; gap: 2rem; }
.main-nav a { font-family: "Oswald", sans-serif; font-size: .85rem; letter-spacing: .03em; color: #fff; padding-bottom: .25rem; transition: color .15s; }
.main-nav a:hover { color: var(--primary-color); }
.main-nav .current-menu-item > a,
.main-nav li.current_page_item > a { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
@media (min-width: 992px) { .main-nav { display: flex; } .header-search { display: grid; } }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-search { display: none; place-items: center; height: 2.5rem; width: 2.5rem; color: #fff; background: none; border: 0; cursor: pointer; }
.header-search:hover { color: var(--primary-color); }
.join-btn { display: none; border: 1px solid var(--primary-color); padding: .65rem 1.25rem; font-family: "Oswald", sans-serif; font-size: .75rem; letter-spacing: .2em; color: var(--primary-color); }
.join-btn:hover { background: var(--primary-color); color: var(--primary-fg); }
@media (min-width: 640px) { .join-btn { display: inline-block; } }

.menu-toggle { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; color: var(--primary-color); background: none; border: 0; cursor: pointer; }
@media (min-width: 992px) { .menu-toggle { display: none; } }

.genz-search-box { display: none; padding: 0; }
.genz-search-box.is-open { display: block; padding: 1rem 0; }
.search-form { display: flex; }
.search-form input[type="search"] { flex: 1; background: #000; border: 1px solid rgba(255,255,255,.15); color: #fff; padding: .75rem 1rem; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--primary-color); }
.search-form button { border: 0; background: var(--primary-color); color: var(--primary-fg); padding: 0 1.25rem; font-family: "Oswald", sans-serif; letter-spacing: .1em; font-size: .8rem; cursor: pointer; }

.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,.1); background: #000; padding: 1rem 1.25rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: .75rem 0; font-family: "Oswald", sans-serif; font-size: 1rem; color: #fff; }
.mobile-nav a:hover { color: var(--primary-color); }
.mobile-nav .join-btn { display: block; margin-top: .5rem; text-align: center; background: var(--primary-color); color: var(--primary-fg); }
@media (min-width: 992px) { .mobile-nav { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: #000; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #000 0%, rgba(0,0,0,.85) 55%, rgba(0,0,0,.4) 100%); }
.hero-glow { position: absolute; right: -6rem; bottom: 0; height: 70%; width: 55%; border-radius: 999px; background: hsla(116,100%,45%,.2); filter: blur(120px); }
.hero-inner { position: relative; display: grid; gap: 3rem; padding: 6rem 0; min-height: 90vh; align-items: center; }
@media (min-width: 992px) { .hero-inner { grid-template-columns: 1.1fr 1fr; min-height: 100vh; } }
.hero h1 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 13vw; line-height: .95; letter-spacing: -0.01em; margin: 0; }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 992px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 5.5rem; } }
.hero h1 .accent { color: var(--primary-color); }
.hero-rule { margin-top: 2rem; height: 3px; width: 4rem; background: var(--primary-color); }
.hero p.lead { margin-top: 1.75rem; max-width: 28rem; color: rgba(255,255,255,.75); }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-logo-side { display: none; justify-content: center; }
@media (min-width: 992px) { .hero-logo-side { display: flex; } }
.play-badge { display: grid; place-items: center; height: 1.5rem; width: 1.5rem; border-radius: 999px; background: #fff; color: #000; margin-right: .35rem; }

/* Ticker */
.ticker { overflow: hidden; border-top: 1px solid hsla(116,100%,45%,.25); border-bottom: 1px solid hsla(116,100%,45%,.25); background: hsla(116,100%,45%,.05); padding: .75rem 0; }
.ticker-track { display: flex; width: max-content; gap: 2.5rem; white-space: nowrap; }
.ticker-track span { font-family: "Oswald", sans-serif; font-size: .85rem; letter-spacing: .25em; color: rgba(255,255,255,.6); }
.ticker-track span em { margin-left: 2.5rem; color: var(--primary-color); font-style: normal; }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { border-bottom: 1px solid rgba(255,255,255,.05); background: var(--bg-alt); padding: 5rem 0; }
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 992px) { .about-grid { grid-template-columns: minmax(0,20rem) 1px 1fr; gap: 3.5rem; } }
.eyebrow { font-family: "Oswald", sans-serif; font-size: .75rem; letter-spacing: .3em; color: var(--primary-color); margin: 0; }
.about-grid h2 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 2.25rem; line-height: 1.05; margin: 1rem 0; }
@media (min-width: 768px) { .about-grid h2 { font-size: 3rem; } }
.about-grid h2 .accent { color: var(--primary-color); }
.about-grid p { color: rgba(255,255,255,.65); font-size: .9rem; }
.about-divider { display: none; width: 1px; background: rgba(255,255,255,.1); }
@media (min-width: 992px) { .about-divider { display: block; } }
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem 0; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(4,1fr); } }
.feature { text-align: center; padding: 0 .5rem; }
.feature .icon { color: var(--primary-color); margin: 0 auto; }
.feature h3 { font-family: "Oswald", sans-serif; font-size: 1rem; margin: 1.25rem 0 .75rem; }
.feature p { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 16rem; margin: 0 auto; }

/* ==========================================================================
   Trending topics + Recent posts
   ========================================================================== */
.topics-posts { padding: 5rem 0; }
.topics-posts .grid2 { display: grid; gap: 3.5rem; }
@media (min-width: 992px) { .topics-posts .grid2 { grid-template-columns: 1.35fr 1fr; } }
.section-title { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin: 0; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
.section-title .accent { color: var(--primary-color); }

.topics-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .topics-grid { grid-template-columns: repeat(3,1fr); } }
.topic-card { border: 1px solid rgba(255,255,255,.1); background: var(--bg-card); transition: border-color .15s; }
.topic-card:hover { border-color: hsla(116,100%,45%,.6); }
.topic-card .thumb { position: relative; overflow: hidden; }
.topic-card .thumb img { height: 11rem; width: 100%; object-fit: cover; transition: transform .5s; }
.topic-card:hover .thumb img { transform: scale(1.05); }
.topic-badge { position: absolute; left: .75rem; top: .75rem; display: grid; place-items: center; height: 2.25rem; width: 2.25rem; border-radius: 999px; background: var(--primary-color); color: var(--primary-fg); }
.topic-card .body { padding: 1.25rem; }
.topic-card h3 { font-family: "Oswald", sans-serif; font-size: .9rem; margin: 0; }
.topic-card p { margin-top: .5rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.topic-card .arrow { margin-left: auto; margin-top: 1.25rem; color: var(--primary-color); display: block; width: 1.25rem; }

.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.view-all { border: 1px solid rgba(255,255,255,.2); padding: .5rem 1rem; font-family: "Oswald", sans-serif; font-size: .7rem; letter-spacing: .2em; color: #fff; }
.view-all:hover { border-color: var(--primary-color); color: var(--primary-color); }
.recent-list { margin-top: 2rem; display: grid; gap: 1.25rem; }
.recent-post { display: flex; align-items: center; gap: 1.25rem; }
.recent-post img { height: 5rem; width: 8rem; object-fit: cover; flex-shrink: 0; }
.recent-post h3 { font-family: "Oswald", sans-serif; font-size: 1rem; margin: 0; line-height: 1.3; }
.recent-post a:hover h3 { color: var(--primary-color); }
.recent-post .meta { margin-top: .5rem; display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: rgba(255,255,255,.5); }
.recent-post .meta svg { color: var(--primary-color); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section { padding-bottom: 1.5rem; }
.stats-grid { display: grid; border: 1px solid hsla(116,100%,45%,.25); background: hsla(116,100%,45%,.06); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { display: flex; align-items: center; gap: 1rem; padding: 2rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .stat-item { border-bottom: 0; } }
@media (min-width: 992px) { .stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); } }
.stat-icon { display: grid; place-items: center; flex-shrink: 0; height: 3.5rem; width: 3.5rem; border-radius: 999px; border: 1px solid hsla(116,100%,45%,.4); background: hsla(116,100%,45%,.1); color: var(--primary-color); }
.stat-value { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.875rem; margin: 0; }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: .25rem; font-size: .7rem; letter-spacing: .18em; color: rgba(255,255,255,.6); }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter-section { padding: 3.5rem 0; }
.newsletter-box { display: flex; flex-direction: column; gap: 2rem; border: 1px solid rgba(255,255,255,.1); background: var(--bg-card); padding: 2rem; }
@media (min-width: 768px) { .newsletter-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; } }
.newsletter-left { display: flex; align-items: center; gap: 1.5rem; }
.newsletter-icon { display: none; place-items: center; flex-shrink: 0; height: 4rem; width: 4rem; border-radius: 999px; border: 1px solid hsla(116,100%,45%,.4); color: var(--primary-color); }
@media (min-width: 640px) { .newsletter-icon { display: grid; } }
.newsletter-box h2 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin: 0; }
@media (min-width: 768px) { .newsletter-box h2 { font-size: 1.875rem; } }
.newsletter-box p { margin-top: .5rem; max-width: 24rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.newsletter-form { display: flex; width: 100%; max-width: 28rem; }
.newsletter-form input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.15); background: #000; padding: .9rem 1rem; font-size: .9rem; color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--primary-color); }
.newsletter-form button { border: 0; background: var(--primary-color); color: var(--primary-fg); padding: 0 1.5rem; font-family: "Oswald", sans-serif; font-size: .75rem; letter-spacing: .2em; cursor: pointer; }
.newsletter-msg { margin-top: .75rem; font-size: .8rem; color: var(--primary-color); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: #000; padding-top: 3.5rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid p { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 1.25rem; }
.footer-grid h3 { font-family: "Oswald", sans-serif; font-size: .85rem; letter-spacing: .2em; color: var(--primary-color); margin: 0; }
.footer-grid ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.footer-grid ul li { margin-bottom: .6rem; font-size: .9rem; color: rgba(255,255,255,.65); }
.footer-grid ul a:hover { color: var(--primary-color); }
.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.socials a { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.socials a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .row { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 0; font-size: .75rem; color: rgba(255,255,255,.5); }
@media (min-width: 768px) { .footer-bottom .row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .links { display: flex; gap: 1rem; }
.footer-bottom .links a:hover { color: var(--primary-color); }

/* ==========================================================================
   Blog / archive / single post / page (native WP content areas)
   ========================================================================== */
.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.page-hero h1 { font-family: "Oswald", sans-serif; text-transform: uppercase; font-weight: 700; font-size: 2.25rem; margin: 0; }
.page-hero h1 .accent { color: var(--primary-color); }

.blog-wrap { padding: 4rem 0; display: grid; gap: 3rem; }
@media (min-width: 992px) { .blog-wrap { grid-template-columns: 2fr 1fr; } }
.post-list { display: grid; gap: 2.25rem; }
.post-card { border: 1px solid rgba(255,255,255,.1); background: var(--bg-card); display: grid; }
@media (min-width: 640px) { .post-card { grid-template-columns: 14rem 1fr; } }
.post-card .thumb img { height: 100%; width: 100%; object-fit: cover; min-height: 10rem; }
.post-card .body { padding: 1.5rem; }
.post-card h2 { font-family: "Oswald", sans-serif; font-size: 1.35rem; margin: 0 0 .5rem; }
.post-card h2 a:hover { color: var(--primary-color); }
.post-card .meta { font-size: .75rem; color: rgba(255,255,255,.5); display: flex; gap: .4rem; align-items: center; }
.post-card .excerpt { margin-top: .75rem; color: rgba(255,255,255,.65); font-size: .9rem; }
.post-card .readmore { margin-top: 1rem; display: inline-block; font-family: "Oswald", sans-serif; font-size: .75rem; letter-spacing: .15em; color: var(--primary-color); }

.sidebar .widget { border: 1px solid rgba(255,255,255,.1); background: var(--bg-card); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar .widget-title { font-family: "Oswald", sans-serif; font-size: .8rem; letter-spacing: .2em; color: var(--primary-color); margin: 0 0 1rem; text-transform: uppercase; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar ul li { border-bottom: 1px solid rgba(255,255,255,.08); padding: .6rem 0; font-size: .9rem; }
.sidebar a:hover { color: var(--primary-color); }

.single-post { padding: 3rem 0 5rem; }
.single-post .entry-header { max-width: 48rem; margin: 0 auto 2rem; }
.single-post .entry-title { font-family: "Oswald", sans-serif; text-transform: uppercase; font-weight: 700; font-size: 2.25rem; line-height: 1.1; }
.single-post .entry-meta { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: .75rem; }
.single-post .entry-thumb { max-width: 60rem; margin: 0 auto 2.5rem; }
.single-post .entry-thumb img { width: 100%; height: auto; }
.single-post .entry-content { max-width: 48rem; margin: 0 auto; color: rgba(255,255,255,.8); line-height: 1.8; }
.single-post .entry-content h2, .single-post .entry-content h3 { font-family: "Oswald", sans-serif; color: #fff; }
.single-post .entry-content a { color: var(--primary-color); text-decoration: underline; }
.single-post .entry-content blockquote { border-left: 3px solid var(--primary-color); margin: 1.5rem 0; padding-left: 1.5rem; color: rgba(255,255,255,.7); font-style: italic; }
.single-post .entry-content img { margin: 1.5rem 0; }
.post-tags { max-width: 48rem; margin: 2rem auto 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.post-tags a { border: 1px solid rgba(255,255,255,.2); padding: .3rem .8rem; font-size: .75rem; }
.post-tags a:hover { border-color: var(--primary-color); color: var(--primary-color); }

.pagination { display: flex; gap: .5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { border: 1px solid rgba(255,255,255,.15); padding: .5rem 1rem; font-size: .85rem; }
.pagination .current { border-color: var(--primary-color); color: var(--primary-color); }
.pagination a:hover { border-color: var(--primary-color); color: var(--primary-color); }

.comments-area { max-width: 48rem; margin: 3rem auto 0; }
.comments-title { font-family: "Oswald", sans-serif; text-transform: uppercase; }
.comment-form input, .comment-form textarea { width: 100%; background: #000; border: 1px solid rgba(255,255,255,.15); color: #fff; padding: .75rem 1rem; margin-bottom: 1rem; font-family: inherit; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--primary-color); }
.comment-form .submit { background: var(--primary-color); color: var(--primary-fg); border: 0; padding: .8rem 1.75rem; font-family: "Oswald", sans-serif; letter-spacing: .15em; font-size: .75rem; cursor: pointer; }

.not-found { padding: 6rem 0; text-align: center; }
.not-found h1 { font-family: "Oswald", sans-serif; font-size: 5rem; color: var(--primary-color); margin: 0; }

/* Screen-reader text (WP requirement) */
.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;
  width: 1px; word-wrap: normal !important;
}
