@charset "UTF-8";
/* =========================================
   FIKA STOCKHOLM - Global SCSS Design System
   ========================================= */
/* --- Design Tokens --- */
:root {
  --primary: #111111;
  --secondary: #555555;
  --accent: #2c77af;
  --accent-light: #f9ebea;
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #666666;
  --border: #cacacb;
  --border-active: #111111;
  --divider: 0px -1px 0px 0px #e5e5e5 inset;
  --radius: 6px;
  --font-main: "Outfit", sans-serif;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

/* --- SCSS Variables --- */
/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

:focus {
  outline: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0;
  line-height: 1.15;
}

p {
  margin-top: 0;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Site Header --- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-title {
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.site-title span {
  color: var(--accent);
}

a.page-link.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 0;
  border: 2px solid var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

a.page-link.btn:hover {
  background: var(--accent);
  color: #fff !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav .page-link {
  color: var(--secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition), background var(--transition);
}
.site-nav .page-link:hover {
  color: var(--primary);
  background: #f5f5f5;
}

.nav-trigger,
.menu-icon {
  display: none;
}

/* --- Main Content --- */
.page-content {
  min-height: 60vh;
}
.page-content-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 40px;
}
.page-content-inner.page-padded {
  padding-top: 80px;
}
@media (max-width: 768px) {
  .page-content-inner.page-padded {
    padding-top: 100px;
  }
}
@media (max-width: 480px) {
  .page-content-inner.page-padded {
    padding-top: 110px;
  }
}
.page-content-inner h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

/* --- Post Layout --- */
.post-wrapper {
  padding-top: 60px;
  padding-bottom: 80px;
}

.post-header-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .post-header-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.post-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a73e8;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.post-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.15;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.post-header-tag-container {
  margin-bottom: 40px;
}

.post-header-tag {
  display: inline-block;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid #1a73e8;
  padding-bottom: 2px;
}

.post-author-block {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
  padding-top: 10px;
}

.post-header-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.post-header-image {
  width: 100%;
}
.post-header-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}
.post-content.hide-first-h1 h1:first-of-type {
  display: none;
}
.post-content h2 {
  font-size: 1.6rem;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}
.post-content h3 {
  font-size: 1.4rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.post-content p {
  margin-bottom: 1.5em;
}
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: #fafafa;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}
.post-content blockquote p {
  margin: 0;
}
.post-content blockquote strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 2em;
  overflow-x: auto;
  display: block;
}
.post-content table th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.post-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.post-content table tr:hover td {
  background: #fafafa;
}
.post-content code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.post-content ul,
.post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.post-content li {
  margin-bottom: 0.5em;
}

/* Hide the duplicate H1 that comes from the markdown body
   (the layout already renders an <h1> in the post header) */
.hide-first-h1 h1:first-child {
  display: none;
}

.post-cat-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

/* --- Related Content --- */
.related-content-section {
  max-width: 1000px;
  margin: 80px auto 0;
  padding-top: 60px;
}

.related-content-heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: #111;
}

.related-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  border: 1px solid #d0d0d0;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 16px;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.related-card-img {
  margin-bottom: 20px;
  width: 100%;
}
.related-card-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.related-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card-tag {
  color: #1a73e8;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.related-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}
.related-card-date {
  margin-top: auto;
  font-size: 0.9rem;
  color: #888;
}

/* --- Hero Spotlight --- */
.hero-spotlight {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--border);
}

.spotlight-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.region-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.region-tag svg {
  color: var(--accent);
  flex-shrink: 0;
}
.region-tag strong {
  color: var(--primary);
}

.more-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.more-link:hover {
  color: var(--accent);
}

.spotlight-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.spotlight-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}

.spotlight-content h2 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
.spotlight-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.spotlight-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.spotlight-author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.spotlight-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.extra-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}
.extra-card:hover {
  opacity: 0.7;
}
.extra-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.extra-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  color: var(--primary);
  flex-shrink: 0;
  background: transparent;
}

.extra-card h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.extra-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- Topical Section --- */
.topical-section {
  padding: 80px 0;
  background: #fafafa;
}

.section-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
}

.topical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  transition: border-color var(--transition), transform var(--transition);
}
.topic-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}
.topic-card-thumb {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.topic-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0;
}
.topic-card-thumb h3 {
  position: relative;
  z-index: 1;
  color: white;
  margin: 0;
  font-size: 1.2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.topic-card-list {
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.topic-card-list a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  transition: color var(--transition);
}
.topic-card-list a:hover {
  color: var(--accent);
}

.topic-btn {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  padding: 6px 6px 6px 14px;
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}
.topic-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.topic-btn-arrow {
  background: white;
  color: #222;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --- Posts Section --- */
.posts-section {
  padding: 80px 0;
  background: white;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.post-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card:hover .post-card-img img {
  transform: scale(1.03);
}
.post-card-img {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius);
}
.post-card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.post-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.post-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.post-card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Feature Boxes --- */
.feature-boxes-section {
  padding: 80px 0;
  background: #f5f7fa;
  border-top: 1px solid var(--border);
}

.feature-boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}
.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.feature-box:hover .feature-box-footer span {
  color: var(--accent);
  transform: translateX(3px);
}
.feature-box .topic-count {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.feature-box h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.feature-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.feature-box .feature-recommendation {
  background: #f8f9fa;
  border-left: 3px solid var(--accent);
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  margin-top: 12px;
}
.feature-box .feature-recommendation .rec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 2px;
}
.feature-box .feature-recommendation .rec-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}
.feature-box-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.feature-box-footer span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* --- Topic Page --- */
.topic-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fff 0%, #fdfafa 100%);
}
.topic-header h1 {
  font-size: 3.5rem;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
}

.topic-meta-top {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.topic-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.65;
}
.topic-description p {
  margin: 0;
}

.topic-posts-section {
  padding: 80px 0;
}

.section-title-alt {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title-alt h2 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.no-posts {
  grid-column: 1/-1;
  padding: 80px 40px;
  text-align: center;
  background: #fafafa;
  border: 1px dashed #ccc;
  color: #aaa;
  border-radius: var(--radius);
  font-size: 1rem;
}

/* --- Footer Dark (Biketrace-style) --- */
.footer-dark {
  font-family: var(--font-main);
}

.footer-dark-main {
  background: #0a0a0a;
  color: #fff;
  padding: 72px 0 64px;
}

.footer-dark-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* — Brand column — */
.footer-dark-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-dark-logo {
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.footer-dark-logo span {
  font-weight: 400;
}

.footer-dark-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.footer-dark-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.footer-dark-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.3;
}

/* — Link columns — */
.footer-dark-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 16px 0;
  line-height: 1;
}
.footer-dark-col .footer-heading-spaced {
  margin-top: 28px;
}
.footer-dark-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}
.footer-dark-col ul li {
  margin-bottom: 10px;
}
.footer-dark-col ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.2s ease;
}
.footer-dark-col ul li a:hover {
  color: #fff;
}

/* — Contact column — */
.footer-dark-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact-label {
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-line {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 4px 0;
  font-weight: 400;
  line-height: 1.55;
}

.footer-contact-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin: 20px 0 6px 0;
}

/* — Bottom bar — */
.footer-dark-bottom {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}
.footer-dark-bottom .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-btm-copy {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  white-space: nowrap;
}

.footer-btm-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-btm-social a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.footer-btm-social a:hover {
  color: #fff;
}

.footer-btm-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 4px;
}

.footer-btm-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: auto;
}

.footer-btm-url {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .topical-grid,
  .posts-grid,
  .feature-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spotlight-extras {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .wrapper {
    padding: 0 20px;
  }
  .site-header .wrapper {
    height: 56px;
  }
  /* Mobile nav */
  .menu-icon {
    display: block;
    cursor: pointer;
    padding: 8px;
  }
  .menu-icon svg {
    fill: var(--primary);
  }
  .site-nav {
    position: relative;
  }
  .site-nav .trigger {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 12px;
    flex-direction: column;
    min-width: 200px;
    z-index: 300;
  }
  .nav-trigger:checked ~ .trigger {
    display: flex;
  }
  .page-link {
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-left: 0;
    font-size: 1rem;
  }
  .spotlight-extras {
    grid-template-columns: 1fr;
  }
  .posts-grid,
  .related-content-grid,
  .feature-boxes-grid,
  .footer-dark-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topical-grid,
  .topic-card {
    grid-template-columns: 1fr;
  }
  .post-title {
    font-size: 2.2rem;
  }
  .topic-header h1 {
    font-size: 2.5rem;
  }
  .post-wrapper {
    padding-top: 25px;
  }
}
@media (max-width: 480px) {
  .posts-grid,
  .related-content-grid,
  .feature-boxes-grid,
  .footer-dark-grid {
    grid-template-columns: 1fr;
  }
  .ad-card {
    padding: 16px !important;
  }
}
/* =========================================
   AUTHOR BIO BOX
   ========================================= */
.author-bio-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.author-bio-box .author-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2c77af;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}
.author-bio-box .author-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.author-bio-box .author-info p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.author-bio-box .author-info .author-link {
  font-size: 13px;
  font-weight: 600;
  color: #2c77af;
  text-decoration: none;
}
.author-bio-box .author-info .author-link:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .author-bio-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-bio-box .author-avatar {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  .author-bio-box .author-info .author-link {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .posts-grid,
  .related-content-grid,
  .feature-boxes-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .related-content-section {
    margin-bottom: 30px;
    padding-top: 40px;
    box-shadow: var(--divider);
  }
}
.ad-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 20px !important;
  max-width: 500px !important;
  border: 1px solid #e4e4e4 !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  gap: 14px !important;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
  animation: fadeInBanner 0.4s ease both;
  margin: 30px auto !important;
  text-align: left !important;
}

@keyframes fadeInBanner {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ad-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09) !important;
  border-color: #d0d0d0 !important;
}

.top-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.app-icon {
  width: 62px !important;
  height: 62px !important;
  border-radius: 15px !important;
  object-fit: cover !important;
  border: 1px solid #ececec !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.right-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
  padding-top: 2px !important;
}

.install-btn {
  font-family: "Outfit", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0062dd !important;
  background: transparent !important;
  border: 1.5px solid #0062dd !important;
  border-radius: 5px !important;
  padding: 6px 20px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em !important;
}

.install-btn:hover {
  background: #0062dd !important;
  color: #fff !important;
  transform: scale(1.03) !important;
}

.stars-row {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.star {
  color: #F5A623 !important;
  font-size: 12px !important;
}

.rating-label {
  font-size: 11.5px !important;
  color: #999 !important;
  font-weight: 500 !important;
  margin-top: 2px;
}

.badge {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: #0062dd !important;
  background: #fff5f0 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  margin-bottom: 5px !important;
  letter-spacing: 0.01em !important;
}

.app-name {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.description {
  font-size: 13.5px !important;
  color: #555 !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  border-top: 1px solid #f0f0f0 !important;
  padding-top: 12px !important;
  margin: 10px 0 0 0 !important;
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.breadcrumb-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.breadcrumb-nav span[aria-hidden=true] {
  color: var(--border);
  font-size: 0.9rem;
}

/* ── Pagination ────────────────────────────────────────────────── */
.pag-nav,
.pagination {
  margin-top: 56px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pag-inner,
.pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f9f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
}

/* Prev / Next arrow buttons */
.pag-btn,
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}

.pag-btn svg,
.pagination-btn svg {
  pointer-events: none;
}

.pag-btn:hover:not(.pag-disabled),
.pagination-btn:hover:not(.pagination-disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pag-disabled,
.pagination-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

/* Page number container */
.pag-pages {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 6px;
}

/* Every page number has a visible box */
.pag-page,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  cursor: pointer;
}

a.pag-page:hover,
a.pagination-page:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Active / current page */
.pag-current,
.pagination-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  font-weight: 700;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Ellipsis */
.pag-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 38px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  border: none;
  background: transparent;
}

@media (max-width: 600px) {
  .pag-inner,
  .pagination-inner {
    gap: 4px;
    padding: 6px 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100vw - 40px);
  }
  .pag-page,
  .pagination-page,
  .pag-btn,
  .pagination-btn {
    min-width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
}
/* --- E-E-A-T Trust Box --- */
.eeat-trust-box {
  background: #f4f8fb;
  border: 1px solid #d0e3f0;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0 32px;
  font-size: 0.88rem;
}
.eeat-trust-box .eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.eeat-trust-box .eeat-details p {
  margin: 0 0 4px;
  line-height: 1.5;
  color: var(--primary);
}
.eeat-trust-box .eeat-details p:last-child {
  margin-bottom: 0;
}
.eeat-trust-box .eeat-details .eeat-reviewer {
  font-size: 0.9rem;
}
.eeat-trust-box .eeat-details .eeat-date {
  color: var(--text-muted);
  font-weight: 500;
}
.eeat-trust-box .eeat-details .eeat-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =========================================
   FIKA STOCKHOLM - Native Search Styling
   ========================================= */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.search-modal.is-open .search-modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.search-modal-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  transform: translateY(-20px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
}

.search-modal-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  gap: 12px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  color: var(--text-muted);
}
.search-input-wrapper .search-icon-svg {
  flex-shrink: 0;
}
.search-input-wrapper input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-family: var(--font-main);
  color: var(--text);
  padding: 4px 0;
  outline: none !important;
}
.search-input-wrapper input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.close-search-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.close-search-btn:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.search-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px 20px;
  min-height: 120px;
  scrollbar-width: thin;
}
.search-modal-body::-webkit-scrollbar {
  width: 6px;
}
.search-modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.search-results-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
  padding: 0 8px;
}

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-result-item {
  border-radius: 8px;
  transition: background 0.15s ease;
}
.search-result-item.is-active {
  background: #f4f5f7;
}
.search-result-item.is-active .search-result-title {
  color: var(--accent);
}

.search-result-link {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-result-category {
  color: var(--accent);
  background: rgba(44, 119, 175, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.search-result-date {
  color: var(--text-muted);
}

.search-result-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  transition: color 0.15s ease;
}

.search-result-excerpt {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-highlight {
  background: rgba(44, 119, 175, 0.15);
  color: var(--primary);
  font-weight: 600;
  padding: 0 2px;
  border-radius: 2px;
}

.search-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #f9fafb;
}

.shortcut-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.shortcut-tip kbd {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  color: var(--primary);
  font-size: 0.7rem;
  font-family: inherit;
  font-weight: 700;
  padding: 2px 6px;
  text-transform: uppercase;
}

.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;
}

@media (max-width: 680px) {
  .search-modal {
    padding-top: 5vh;
  }
  .search-modal-container {
    width: 94%;
    max-height: 90vh;
  }
  .search-modal-footer {
    display: none;
  }
}
/* --- Black Outline Search Button --- */
a.page-link.btn.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--secondary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius) !important; /* Match other header links */
  border: none; /* No box outline on desktop */
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform 0.15s;
}
a.page-link.btn.btn-black svg {
  fill: currentColor;
  color: currentColor;
  transition: transform 0.2s ease;
}
a.page-link.btn.btn-black:hover {
  background: #f5f5f5 !important;
  color: var(--primary) !important;
}
a.page-link.btn.btn-black:hover svg {
  transform: scale(1.1);
}
a.page-link.btn.btn-black:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  /* Mobile dropdown vertical stack adjustments */
  a.page-link.btn.btn-black {
    display: flex;
    justify-content: center;
    margin-top: 14px; /* Gap separating it from the menu items above */
    margin-bottom: 8px; /* Margin/gap separating the two buttons */
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 2px solid var(--primary); /* Restore black outline box on mobile */
    border-radius: 0 !important; /* Square box outline on mobile */
    color: var(--primary);
  }
  a.page-link.btn.btn-black:hover {
    background: var(--primary) !important;
    color: var(--bg) !important;
  }
  a.page-link.btn:not(.btn-black) {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 4px;
    padding: 10px 14px;
    font-size: 0.95rem;
    border-radius: 0 !important;
  }
}
/* --- Header Navigation Vertical Alignment Fix --- */
.site-nav .trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .site-nav .trigger {
    display: none; /* Keep hidden on mobile by default */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-trigger:checked ~ .trigger {
    display: flex !important;
  }
}

/*# sourceMappingURL=style.css.map */