/* Baresi Hollberg - Unique Magazine Blog Style | Warm Terracotta & Cream Palette | Asymmetric Editorial Layout */
:root {
  --bg: #faf6f1;
  --surface: #fffdf8;
  --text: #2f2723;
  --text-muted: #6b5f58;
  --accent: #b85c38;
  --accent-light: #d17a55;
  --secondary: #8a9a7b;
  --border: #e6d9c8;
  --shadow: 0 6px 18px rgba(47, 39, 35, 0.07);
  --radius: 8px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* Magazine Editorial Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

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

/* Header - Classic Magazine */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hero - Full width editorial */
.hero {
  background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d8 100%);
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* Main content wrapper */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Long intro text section - 2000+ chars worth */
.intro {
  max-width: 820px;
  margin: 4rem auto;
  font-size: 1.05rem;
}

.intro h2 {
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.intro p {
  margin-bottom: 1.35rem;
  color: var(--text);
}

/* Featured story - wide asymmetric */
.featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: var(--shadow);
  position: relative;
}

.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 3rem;
  width: 68px;
  height: 5px;
  background: var(--accent);
}

.featured h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.featured p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.85rem 2.1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(184, 92, 56, 0.25);
}

.btn:hover {
  background: #9c4a2e;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(184, 92, 56, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.75rem 1.85rem;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

/* Articles section */
.articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.articles-header h2 {
  font-size: 2.1rem;
}

/* Magazine style grid - 3 columns asymmetric feel */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47, 39, 35, 0.1);
}

.card-accent {
  height: 6px;
  background: linear-gradient(to right, var(--accent), var(--secondary));
}

.card-content {
  padding: 1.65rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.35rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #8a7568;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sidebar - Magazine style */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.sidebar-block h4 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-block ul {
  list-style: none;
}

.sidebar-block li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
}

.sidebar-block li:last-child {
  border-bottom: none;
}

.sidebar-block a {
  color: var(--text);
  font-size: 0.95rem;
}

.sidebar-block a:hover {
  color: var(--accent);
}

/* About in sidebar */
.about-snippet {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact page form */
.contact-form {
  max-width: 620px;
  margin: 2.5rem auto;
  background: var(--surface);
  padding: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* Thank you page */
.thankyou {
  max-width: 720px;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem;
}

.thankyou h1 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.thankyou-content {
  background: var(--surface);
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: var(--shadow);
}

.thankyou-content p {
  margin-bottom: 1.1rem;
}

/* Privacy & Terms - long legal pages */
.legal-page {
  max-width: 860px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-size: 2.35rem;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 1rem;
  color: var(--accent);
}

.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-page p, .legal-page li {
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.legal-page ul {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #2f2723;
  color: #d4c9b8;
  padding: 3.5rem 2rem 2.5rem;
  margin-top: 5rem;
  font-size: 0.92rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.footer-col h5 {
  color: #f0e6d8;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.footer-col p, .footer-col a {
  color: #d4c9b8;
  display: block;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: #f0e6d8;
}

.footer-bottom {
  max-width: 1280px;
  margin: 2.75rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid #52463f;
  text-align: center;
  font-size: 0.82rem;
  color: #a38f7a;
}

.footer-bottom a {
  color: #d4c9b8;
  margin: 0 0.35rem;
}

.footer-bottom a:hover {
  color: #f0e6d8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.35rem; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .nav-container { padding: 1rem 1.25rem; }
  nav ul { gap: 1.35rem; }
  .container { padding: 0 1.25rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .featured { padding: 2rem 1.5rem; }
  .legal-page { padding: 1.75rem 1.25rem; }
}

/* Subtle decorative elements for uniqueness */
.decor-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 2.5rem 0;
}

/* Article page specific */
.article-page {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: 2.65rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  margin: 2.25rem 0 1rem;
  font-size: 1.55rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* No images - pure color and type */
.no-image {
  display: none;
}