@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Ohno Fatface Narrow";
  src: url("/fonts/ohno-fatface-narrow.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
    --primary: #D9FF99;
    --primary-dark: #005d45;
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #a1a1a1;
    --font-heading: "Ohno Fatface Narrow", serif;
    --font-body: "Manrope", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

ul, ol {
    padding-left: 2em;
    font-size: 1.1rem;
}

h1, h2 {
    font-family: var(--font-heading);
    font-weight: 400; /* Ohno is naturally bold */
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
  font-family: var(--font-body) !important;
  font-weight: 900;
  padding: 1em 0;
  font-size: 1.3em;
}


.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

blockquote {
  background-color: var(--bg-dark);
  padding: 40px 40px 40px 50px;
  position: relative;
  border-left: var(--primary) 5px solid;
  margin: 3rem 0;
}
blockquote p {
    color: var(--text-light) !important;
    margin-bottom: 1rem !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Boosted to ensure it's always on top */
    padding: 1.5rem 0;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.lang-switcher {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

.lang-switcher .active {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/backgroundLLBB.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 6rem;
    max-width: 1000px;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: #fff;
    max-width: 800px;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero p span {
    color: var(--primary);
    font-weight: 700;
}

/* Content Pages common */
.content-page {
    background-color: #fff;
    color: #000;
    min-height: 80vh;
    padding: 180px 0 80px; /* Balanced padding to clear header */
    position: relative;
    z-index: 1;
}

.content-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.list-header {
    margin-top: 0;
    margin-bottom: 5rem;
    text-align: center;
    width: 100%;
}

.content-page .list-header h1 {
    font-size: 5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center !important;
}

.list-description {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

article a {
  font-family: var(--font-body);
  font-weight: 600;
  padding: 1em;
  text-decoration: underline;
  font-size: 1.1em;
  color: var(--primary-dark);
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.post-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.post-card-image {
    height: 200px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 2rem;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card-category {
    color: var(--primary);
    font-weight: 700;
}

.post-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-card h2 a {
    color: inherit;
    text-decoration: none;
}

.post-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.5rem;
}

.content-page h1 {
    font-size: 5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    color: #000;
    line-height: 1.2;
    text-align: left; /* Default to left, overridden by .list-header h1 if present */
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
}

.content-page h2 {
    font-size: 3rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
    color: #000;
}

.content-page p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #333;
    font-weight: 500;
}

.content-page strong {
    font-weight: 800;
}

/* Sticky header adjustments for white bg */
header.on-light {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.on-light .nav-links a {
    color: #000;
}

header.scrolled.on-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Ticker */
.ticker {
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .nav-container { padding: 0 2rem; }
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1rem; }
    .nav-links { display: none; }
}
