/* ===========================
   For Pappa — Global Styles
   Stålblå, direkte, maskulin
   =========================== */

:root {
  --steel: #5B7B9A;
  --steel-light: #8FAABE;
  --steel-pale: #E8EFF5;
  --navy: #3A5068;
  --navy-light: #7A9AB8;
  --cream: #F5F7FA;
  --cream-dark: #E8ECF0;
  --brown-warm: #3A5068;
  --brown-text: #2C3E50;
  --text-dark: #1A2A3A;
  --text-mid: #4A6070;
  --text-light: #7A8A9A;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 20px rgba(58, 80, 104, 0.1);
  --shadow-card: 0 2px 12px rgba(58, 80, 104, 0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --peach: #5B7B9A;
  --peach-light: #8FAABE;
  --peach-pale: #E8EFF5;
  --pink: #5B7B9A;
  --pink-light: #C4D5E4;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--steel);
  color: var(--white);
}

::-moz-selection {
  background: var(--steel);
  color: var(--white);
}

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

a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ===========================
   LAYOUT
   =========================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3rem 0;
}

/* ===========================
   HEADER / NAV
   =========================== */

.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--steel-pale);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: normal;
  text-decoration: none;
}

.logo span {
  color: var(--steel);
}

.logo:hover {
  text-decoration: none;
  color: var(--text-dark);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-mid);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--steel);
  text-decoration: none;
}

/* ===========================
   HERO
   =========================== */

.hero {
  background: linear-gradient(135deg, var(--steel-pale) 0%, var(--pink-light) 50%, var(--cream) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(91, 123, 154, 0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 220px;
  height: 220px;
  background: rgba(58, 80, 104, 0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--steel-pale);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: normal;
}

.hero h1 em {
  color: var(--steel);
  font-style: normal;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 560px;
}

/* ===========================
   TRUST BAR
   =========================== */

.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--steel-pale);
  border-bottom: 1px solid var(--steel-pale);
  padding: 1.25rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--steel);
  flex-shrink: 0;
}

/* ===========================
   CATEGORIES
   =========================== */

.categories {
  background: var(--cream);
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-main);
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--white);
  border: 2px solid var(--steel-pale);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--steel);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
  text-decoration: none;
}

.category-svg {
  width: 40px;
  height: 40px;
  color: var(--steel);
  margin: 0 auto 0.75rem;
  display: block;
}

.category-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  display: block;
  margin-bottom: 0.3rem;
}

.category-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* ===========================
   FEATURED ARTICLES
   =========================== */

.featured {
  background: var(--cream-dark);
  padding: 3.5rem 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
}

.article-img {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.article-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.article-card h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.article-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===========================
   COMFORT SECTION
   =========================== */

.comfort-section {
  background: linear-gradient(135deg, var(--steel-pale), var(--cream));
  padding: 4rem 0;
  text-align: center;
}

.comfort-inner {
  max-width: 620px;
  margin: 0 auto;
}

.comfort-section h2 {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.comfort-section p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--steel);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===========================
   QUICK TIPS
   =========================== */

.tips-section {
  background: var(--white);
  padding: 3.5rem 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.tip-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--steel);
}

.tip-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tip-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: var(--navy);
  color: rgba(245, 247, 250, 0.9);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .logo {
  color: var(--cream);
  font-size: 1.3rem;
}

.footer-brand .logo span {
  color: var(--steel-light);
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.75);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(245, 247, 250, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--steel-light);
  text-decoration: none;
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.75);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: rgba(245, 247, 250, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--steel-light);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.55);
}

/* ===========================
   ARTICLE PAGE STYLES
   =========================== */

.article-hero {
  background: linear-gradient(135deg, var(--steel-pale), var(--pink-light));
  padding: 3rem 0 2rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--steel);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

.article-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--navy);
  font-weight: normal;
  line-height: 1.25;
  max-width: 760px;
  margin-bottom: 0.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-light);
}

.article-meta .tag {
  background: var(--steel-pale);
  color: var(--navy);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.article-img-hero {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-img-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-content {
  max-width: 100%;
}

.article-content h2 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: normal;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.1rem;
  color: var(--brown-text);
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.article-content p {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.025rem;
  line-height: 1.75;
}

.article-content ul,
.article-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  font-size: 1.025rem;
  color: var(--text-dark);
  line-height: 1.65;
}

.article-content a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout-box {
  background: var(--steel-pale);
  border-left: 4px solid var(--steel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-box p {
  margin: 0;
  font-size: 1rem;
  color: var(--brown-text);
}

.callout-box strong {
  color: var(--navy);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border: 2px solid var(--steel-pale);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--steel-pale);
  font-size: 0.875rem;
}

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

.sidebar-card a {
  color: var(--text-mid);
}

.sidebar-card a:hover {
  color: var(--steel);
  text-decoration: none;
}

.partner-cta {
  background: linear-gradient(135deg, var(--steel-pale), var(--pink-light));
  border: none;
}

.partner-cta p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--steel);
  color: var(--steel);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--steel);
  color: var(--white);
  text-decoration: none;
}

/* Related Articles */
.related-articles {
  background: var(--cream-dark);
  padding: 3rem 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ===========================
   RESPONSIVE
   =========================== */

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: left;
  }

  .hero-image {
    order: -1;
  }

  .section-title,
  .section-sub {
    text-align: left;
  }

  .comfort-section {
    text-align: left;
  }

  .comfort-inner {
    margin: 0;
  }

  .category-card {
    text-align: left;
  }

  .category-svg {
    margin: 0 0 0.75rem;
  }

  .trust-items {
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
