/*
Theme Name: Internet 101
Theme URI: https://internet-101.local
Author: Codex
Description: A Bootstrap 5 powered WordPress theme for AI news and AI tool submissions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: internet-101
*/

:root {
  --i101-ink: #0f172a;
  --i101-ink-soft: #475569;
  --i101-bg: #f8fafc;
  --i101-surface: #ffffff;
  --i101-line: rgba(15, 23, 42, 0.08);
  --i101-accent: #0f766e;
  --i101-accent-strong: #115e59;
  --i101-highlight: #f59e0b;
  --i101-hero-start: #0f172a;
  --i101-hero-end: #134e4a;
  --i101-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --bs-body-font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --bs-body-color: var(--i101-ink);
  --bs-body-bg: var(--i101-bg);
}

body {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 24%),
    var(--i101-bg);
  color: var(--i101-ink);
}

a {
  color: var(--i101-accent);
}

a:hover,
a:focus {
  color: var(--i101-accent-strong);
}

.site-header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar-brand {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--i101-hero-start), var(--i101-hero-end));
  color: #fff;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.35;
}

.hero-section::before {
  width: 22rem;
  height: 22rem;
  top: -6rem;
  right: -6rem;
  background: rgba(245, 158, 11, 0.32);
}

.hero-section::after {
  width: 16rem;
  height: 16rem;
  bottom: -5rem;
  left: -3rem;
  background: rgba(45, 212, 191, 0.25);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  box-shadow: var(--i101-shadow);
}

.hero-stat {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-bottom: 0;
}

.section-heading {
  max-width: 40rem;
}

.section-eyebrow {
  color: var(--i101-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.content-card,
.post-card,
.tool-card {
  border: 1px solid var(--i101-line);
  border-radius: 1.25rem;
  background: var(--i101-surface);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  height: 100%;
}

.post-card .card-body,
.tool-card .card-body {
  display: flex;
  flex-direction: column;
}

.card-thumbnail {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.post-card .badge,
.tool-card .badge {
  width: fit-content;
}

.article-meta,
.tool-meta {
  color: var(--i101-ink-soft);
  font-size: 0.92rem;
}

.feature-strip {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.5rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 118, 110, 0.12);
  color: var(--i101-accent);
  font-weight: 700;
}

.archive-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 118, 110, 0.88));
  color: #fff;
  border-radius: 1.75rem;
}

.single-shell {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid var(--i101-line);
  background: #fff;
  color: var(--i101-ink);
  text-decoration: none;
  margin: 0 0.2rem;
}

.pagination .page-numbers.current {
  background: var(--i101-accent);
  border-color: var(--i101-accent);
  color: #fff;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a {
  color: #99f6e4;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }
}
