/*
Theme Name: Urban Pulse Pro
Theme URI: https://c6c.fun/
Author: Antigravity Custom Studio
Author URI: https://c6c.fun/
Description: A premium, ultra-fast tech and lifestyle magazine theme designed precisely for automated AI news pipelines. Features dynamic Flex Block grids, 3-row interactive headers, and seamless layout performance. Faster and cleaner than commercial themes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urban-pulse-pro
*/

@import url('https://fonts.googleapis.com/css2?family=Bungee+Outline&family=Inter:wght@400;500;700;800;900&display=swap');

:root {
  /* Premium Design Tokens */
  --bg-color: #ffffff;
  --text-dark: #000000;
  --text-body: #333333;
  --text-muted: #777777;
  --brand-accent: #e12a2a; /* Tech/News Red */
  --header-dark: #000000;
  --border-light: #eaeaea;

  --font-logo: 'Bungee Outline', sans-serif;
  --font-base: 'Inter', sans-serif;

  --max-width: 1240px;
}

/* =========================================================================
   RESET & TYPOGRAPHY
   ========================================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-body);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* =========================================================================
   BUTTONS & BADGES
   ========================================================================= */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline {
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

.btn-solid {
  background: var(--brand-accent);
  color: #fff;
  border: 2px solid var(--brand-accent);
}
.btn-solid:hover {
  background: #b81f1f;
  border-color: #b81f1f;
  color: #fff;
}

.category-badge {
  display: inline-block;
  background: var(--brand-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.category-badge a { color: #ffffff; }

/* =========================================================================
   HEADER (PIXEL-PERFECT MOCKUP)
   ========================================================================= */
.top-bar {
  background: #000000;
  color: #ffffff;
  padding: 8px 0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.top-bar a { color: #ffffff; font-weight: 700; }
.top-bar a:hover { color: var(--brand-accent); }
.social-icons { display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; }
.social-icons svg { cursor: pointer; transition: stroke 0.2s; }
.social-icons svg:hover { stroke: var(--brand-accent); }

.logo-row {
  background: #ffffff;
  padding: 40px 0 20px;
  border-bottom: 2px solid #000;
}
.site-branding {
  text-align: center;
  position: relative;
}
.site-branding .site-title a {
  font-family: var(--font-logo);
  font-size: 90px;
  color: #000000;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -2px;
  position: relative;
  display: inline-block;
}
/* Fake the red dot over the 'U' if we want */
.brand-dot {
  position: absolute;
  top: -10px;
  left: 32px;
  width: 14px;
  height: 14px;
  background: var(--brand-accent);
  border-radius: 50%;
}

.main-navigation-wrapper {
  margin-top: 20px;
}
.main-navigation ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.main-navigation li a {
  color: #000;
  display: block;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0px;
}
.main-navigation li a:hover { color: var(--brand-accent); }
.search-icon { cursor: pointer; }

/* =========================================================================
   MOCKUP GRID SYSTEM
   ========================================================================= */
.mockup-layout-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 70 / 30 split approx */
  gap: 40px;
}

/* LEFT COLUMN - HERO */
.mockup-hero-article {
  position: relative;
  background: #000;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 30px;
}
.mockup-hero-article img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  opacity: 0.7; /* Create the dark hero effect */
  mix-blend-mode: multiply;
}
.hero-text-overlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 40px;
  color: #fff;
}
.hero-small-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}
.hero-date {
  font-size: 12px;
  font-weight: 700;
  color: #ccc;
  margin-bottom: 5px;
}
.hero-text-overlay h2 a {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -1px;
}
.hero-author {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
}

/* LEFT COLUMN - 3 SUB GRID */
.mockup-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.mockup-grid-card {
  display: flex;
  flex-direction: column;
}
.card-img-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}
.mockup-cat-label {
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.card-content h3 a {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: #000;
}
.card-meta {
  font-size: 10px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  margin: 10px 0;
}
.card-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
  margin-bottom: 20px;
}
.mockup-read-more {
  display: inline-block;
  border: 2px solid var(--brand-accent);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 14px;
  align-self: flex-start;
}
.mockup-read-more:hover {
  background: var(--brand-accent);
  color: #fff;
}

/* RIGHT SIDEBAR */
.mockup-widget { margin-bottom: 40px; }
.widget-title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 3px solid #000;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* LATEST NEWS SPECIFIC */
.latest-news-list { display: flex; flex-direction: column; gap: 15px; }
.latest-news-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.red-icon-thumb img, .dummy-red-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-accent);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.latest-news-item h5 a {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

/* TRENDING TOPICS SPECIFIC */
.trending-list li { margin-bottom: 12px; }
.trending-list li a {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending-list li a::before {
  content: "→";
  color: var(--brand-accent);
  font-weight: bold;
}

/* NEWSLETTER SPECIFIC */
.mockup-newsletter-form {
  display: flex;
  border: 1px solid #ccc;
}
.mockup-newsletter-form input {
  border: none;
  padding: 10px 15px;
  flex: 1;
  font-size: 13px;
  outline: none;
  width: 100%;
}
.mockup-submit-btn {
  background: var(--brand-accent);
  color: #fff;
  border: none;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

/* =========================================================================
   FOOTER REDESIGN
   ========================================================================= */
.site-footer {
  background: #000;
  color: #fff;
  padding: 30px 0;
  margin-top: 40px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}
.footer-left strong { font-size: 16px; color: #fff; margin-bottom: 5px; display: inline-block;}
.footer-left a, .footer-right a { color: #aaa; text-transform: uppercase; font-weight: 600;}
.footer-left a:hover, .footer-right a:hover { color: #fff; }

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {
  .mockup-layout-wrapper { grid-template-columns: 1fr; }
  .mockup-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .site-title { font-size: 60px; }
  .main-navigation ul { overflow-x: auto; }
}
@media (max-width: 768px) {
  .mockup-sub-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}

