/*
 * TellusCreative – Starktillsammans Child Theme
 * Matchar exakt TellusCreative.com design
 * Lägg till i: functions.php via wp_enqueue_style()
 * eller importera i style.css
 */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');
/* ============================================
   VARIABLER & RESET
   ============================================ */
:root {
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --world:    hsl(142, 71%, 55%);
    --world-bg: hsla(142, 71%, 55%, 0.10);
    --world-bd: hsla(142, 71%, 55%, 0.25);
    --music:    hsl(263, 85%, 65%);
    --app:      hsl(188, 91%, 53%);

    --bg:       #06070d;
    --bg-alt:   #0a0c16;
    --bg-card:  rgba(255,255,255,0.035);
    --bd:       rgba(255,255,255,0.07);
    --text:     #f0f0f5;
    --muted:    rgba(255,255,255,0.45);
    --subtle:   rgba(255,255,255,0.22);
    --radius:   16px;
    --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.tc-reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2) var(--d, 0ms),
                transform 0.65s cubic-bezier(.22,.68,0,1.2) var(--d, 0ms);
}
.tc-reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.tc-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    /* Alltid en solid bakgrund – blandas aldrig med innehållet nedanför */
    background: rgba(6,7,13,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}
.tc-nav.scrolled {
    background: rgba(6,7,13,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.tc-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.tc-nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-tc       { color: var(--music); }
.logo-creative { color: var(--text); }

.tc-nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-right: auto;
}
.tc-nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.tc-nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: var(--world);
    transition: width 0.25s ease;
}
.tc-nav-link:hover { color: var(--text); }
.tc-nav-link:hover::after { width: 100%; }

.tc-nav-worlds { display: flex; gap: 6px; }
.tc-nw-pill {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}
.tc-nw-pill:hover, .tc-nw-active { opacity: 1; transform: translateY(-1px); }
.tc-nw-music { background: hsla(263,85%,65%,0.12); border-color: hsla(263,85%,65%,0.3); color: hsl(263,85%,75%); }
.tc-nw-train { background: var(--world-bg); border-color: var(--world-bd); color: var(--world); }
.tc-nw-app   { background: hsla(188,91%,53%,0.10); border-color: hsla(188,91%,53%,0.25); color: hsl(188,91%,63%); }

.tc-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer; margin-left: auto; padding: 4px;
}
.tc-nav-burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.tc-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tc-nav-burger.open span:nth-child(2) { opacity: 0; }
.tc-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tc-nav-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: rgba(8,9,18,0.97);
    backdrop-filter: blur(24px);
    z-index: 910;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid var(--bd);
}
.tc-nav-drawer.open { transform: translateX(0); }
.tc-drawer-inner {
    padding: 90px 28px 40px;
    display: flex; flex-direction: column; gap: 8px;
    height: 100%; overflow-y: auto;
}
.tc-drawer-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--subtle); margin-bottom: 6px; padding-left: 4px;
}
.tc-drawer-link {
    display: block; padding: 10px 4px;
    color: var(--muted); text-decoration: none;
    font-size: 1rem; font-weight: 500;
    border-bottom: 1px solid var(--bd);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.tc-drawer-link:hover { color: var(--text); padding-left: 8px; }
.tc-drawer-divider { height: 1px; background: var(--bd); margin: 12px 0; }
.tc-drawer-section { display: flex; flex-direction: column; }
.tc-drawer-world {
    display: block; padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none; font-size: 0.9rem; font-weight: 600;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}
.tc-drawer-world:hover { transform: translateX(4px); }
.tc-dw-music { background: hsla(263,85%,65%,0.12); color: hsl(263,85%,75%); }
.tc-dw-train { background: var(--world-bg); color: var(--world); }
.tc-dw-app   { background: hsla(188,91%,53%,0.10); color: hsl(188,91%,63%); }

.tc-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 905; opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.tc-nav-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================
   BREADCRUMB
   ============================================ */
.tc-breadcrumb-wrap {
    padding-top: 68px;
    background: var(--bg);
}
.tc-bc-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 14px 32px;
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--muted);
    border-bottom: 1px solid var(--bd);
}
.tc-bc-inner a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.tc-bc-inner a:hover { color: var(--text); }
.tc-bc-inner span { color: var(--subtle); }
.tc-bc-current { color: var(--world); }

/* ============================================
   BLOGG HERO (home.php)
   ============================================ */
.tc-blog-hero {
    position: relative;
    padding: 80px 32px 70px;
    overflow: hidden;
    background: var(--bg-alt);
    text-align: center;
}
.tc-blog-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, hsla(142,71%,55%,0.12), transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, hsla(263,85%,65%,0.06), transparent 70%);
    pointer-events: none;
}
.tc-blog-hero-inner {
    position: relative; z-index: 1;
    max-width: 700px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.tc-blog-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background: var(--world-bg);
    border: 1px solid var(--world-bd);
    color: var(--world);
    border-radius: 999px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
}
.tc-blog-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.02em;
}
.tc-blog-lead {
    font-size: 1.05rem; color: var(--muted);
    line-height: 1.7; max-width: 520px;
}
.tc-blog-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tc-cat-pill {
    padding: 6px 14px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 600;
    text-decoration: none;
    background: var(--bg-card); border: 1px solid var(--bd);
    color: var(--muted);
    transition: all 0.2s ease;
}
.tc-cat-pill:hover, .tc-cat-active {
    background: var(--world-bg);
    border-color: var(--world-bd);
    color: var(--world);
}

/* ============================================
   BLOGG MAIN
   ============================================ */
.tc-blog-main { padding: 60px 32px 80px; background: var(--bg); }
.tc-blog-inner { max-width: 1200px; margin: 0 auto; }

/* Utvalt inlägg */
.tc-featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--bd);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: border-color 0.3s ease;
}
.tc-featured-post:hover { border-color: var(--world-bd); }

.tc-featured-img-wrap {
    display: block; position: relative;
    height: 380px; overflow: hidden;
    text-decoration: none;
}
.tc-featured-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tc-featured-post:hover .tc-featured-img-wrap img { transform: scale(1.03); }
.tc-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(6,7,13,0.4));
}
.tc-featured-no-img {
    background: linear-gradient(135deg, var(--world-bg), hsla(263,85%,65%,0.08));
    display: flex; align-items: center; justify-content: center;
}
.tc-featured-placeholder span { font-size: 4rem; }

.tc-featured-content {
    padding: 40px 40px 40px 0;
    display: flex; flex-direction: column; gap: 14px;
}
.tc-featured-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc-featured-badge {
    padding: 4px 10px; border-radius: 999px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: hsla(45,100%,60%,0.15);
    border: 1px solid hsla(45,100%,60%,0.3);
    color: hsl(45,100%,65%);
}
.tc-post-cat {
    padding: 3px 10px; border-radius: 999px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--world-bg); border: 1px solid var(--world-bd);
    color: var(--world); text-decoration: none;
}
a.tc-post-cat:hover { opacity: 0.8; }

.tc-featured-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700; line-height: 1.2;
}
.tc-featured-title a { text-decoration: none; color: var(--text); transition: color 0.2s; }
.tc-featured-title a:hover { color: var(--world); }
.tc-featured-excerpt { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.tc-featured-footer {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; margin-top: 6px;
}
.tc-post-date, .tc-post-readtime { font-size: 0.78rem; color: var(--subtle); }
.tc-read-more {
    font-size: 0.85rem; font-weight: 700;
    color: var(--world); text-decoration: none;
    margin-left: auto;
    transition: opacity 0.2s;
}
.tc-read-more:hover { opacity: 0.7; }

/* Posts header */
.tc-posts-header { margin-bottom: 28px; }
.tc-posts-header h2 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
}

/* Posts grid */
.tc-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Post card (används i både home och related) */
.tc-post-card {
    background: var(--bg-card);
    border: 1px solid var(--bd);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.tc-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--world-bd);
}
.tc-card-img-wrap {
    display: block; height: 200px; overflow: hidden;
    text-decoration: none;
    background: var(--bg-alt);
}
.tc-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tc-post-card:hover .tc-card-img-wrap img { transform: scale(1.04); }
.tc-card-no-img {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--world-bg), rgba(255,255,255,0.02));
    font-size: 2.5rem;
}
.tc-card-content {
    padding: 20px 22px 24px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.tc-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; line-height: 1.3;
    flex: 1;
}
.tc-card-title a { text-decoration: none; color: var(--text); transition: color 0.2s; }
.tc-card-title a:hover { color: var(--world); }
.tc-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.tc-card-footer {
    display: flex; align-items: center; gap: 12px;
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid var(--bd);
}

/* Paginering */
.tc-pagination { display: flex; justify-content: center; margin-top: 48px; }
.tc-pagination .page-numbers {
    display: inline-flex; list-style: none; gap: 8px;
}
.tc-pagination .page-numbers li a,
.tc-pagination .page-numbers li span {
    display: flex; align-items: center; justify-content: center;
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 600; text-decoration: none;
    background: var(--bg-card); border: 1px solid var(--bd);
    color: var(--muted); transition: all 0.2s ease;
}
.tc-pagination .page-numbers li a:hover {
    background: var(--world-bg); border-color: var(--world-bd); color: var(--world);
}
.tc-pagination .page-numbers li .current {
    background: var(--world-bg); border-color: var(--world-bd); color: var(--world);
}

/* Inga inlägg */
.tc-no-posts {
    text-align: center; padding: 80px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.tc-no-posts span { font-size: 3rem; }
.tc-no-posts h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.tc-no-posts p  { color: var(--muted); }

/* ============================================
   ARTIKEL HERO (single.php)
   ============================================ */
.tc-article-hero {
    position: relative;
    padding: 80px 32px 60px;
    background: var(--bg-alt);
    overflow: hidden;
}
.tc-article-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 60% at 10% 50%, hsla(142,71%,55%,0.10), transparent 70%);
    pointer-events: none;
}
.tc-article-hero-inner {
    position: relative; z-index: 1;
    max-width: 860px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 16px;
}
.tc-article-meta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.tc-article-date, .tc-article-readtime { font-size: 0.82rem; color: var(--muted); }
.tc-article-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.02em;
}
.tc-article-lead {
    font-size: 1.1rem; color: var(--muted);
    line-height: 1.7; max-width: 680px;
}
.tc-article-author {
    display: flex; align-items: center; gap: 12px;
    margin-top: 8px;
}
.tc-author-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--world-bg), hsla(263,85%,65%,0.12));
    border: 1px solid var(--world-bd);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    color: var(--world); flex-shrink: 0;
}
.tc-author-name { font-weight: 600; font-size: 0.9rem; }
.tc-author-role { font-size: 0.78rem; color: var(--muted); }

/* Featured image */
.tc-article-featured-img {
    background: var(--bg);
    padding: 0 32px;
}
.tc-article-img-inner {
    max-width: 1000px; margin: 0 auto;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    border: 1px solid var(--bd); border-top: none;
}
.tc-article-img-inner img {
    width: 100%; max-height: 500px;
    object-fit: cover; display: block;
}

/* ============================================
   ARTIKEL LAYOUT (single.php)
   ============================================ */
.tc-article-wrap { padding: 60px 32px 80px; background: var(--bg); }
.tc-article-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar */
.tc-article-sidebar {
    position: sticky; top: 88px;
    display: flex; flex-direction: column; gap: 20px;
}
.tc-toc {
    background: var(--bg-card); border: 1px solid var(--bd);
    border-radius: var(--radius); padding: 20px;
}
.tc-toc-title {
    font-family: var(--font-display); font-size: 0.85rem;
    font-weight: 700; margin-bottom: 12px;
    color: var(--world); letter-spacing: 0.06em; text-transform: uppercase;
}
.tc-toc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tc-toc-list li a {
    font-size: 0.83rem; color: var(--muted); text-decoration: none;
    display: block; padding: 3px 0 3px 10px;
    border-left: 2px solid var(--bd);
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
}
.tc-toc-list li a:hover,
.tc-toc-list li a.active {
    color: var(--world); border-color: var(--world);
}

.tc-share-box {
    background: var(--bg-card); border: 1px solid var(--bd);
    border-radius: var(--radius); padding: 18px;
}
.tc-share-title {
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--subtle); margin-bottom: 10px;
}
.tc-share-btns { display: flex; flex-direction: column; gap: 8px; }
.tc-share-btn {
    display: block; padding: 8px 12px;
    border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600;
    text-decoration: none; text-align: center;
    border: 1px solid var(--bd); background: rgba(255,255,255,0.04);
    color: var(--muted); cursor: pointer;
    transition: all 0.2s ease;
}
.tc-share-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.tc-share-fb:hover  { border-color: hsla(220,50%,60%,0.4); color: hsl(220,80%,70%); }
.tc-share-tw:hover  { border-color: hsla(200,90%,60%,0.4); color: hsl(200,90%,70%); }
.tc-share-copy:hover { border-color: var(--world-bd); color: var(--world); }

.tc-back-link {
    display: block; padding: 10px 0;
    font-size: 0.82rem; font-weight: 600;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
}
.tc-back-link:hover { color: var(--world); }

/* Artikel-body — WordPress innehåll */
.tc-article-content { min-width: 0; }

.tc-article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

/* WordPress-innehåll stilar */
.tc-article-body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700; line-height: 1.2;
    margin: 48px 0 16px;
    color: var(--text);
    scroll-margin-top: 90px;
}
.tc-article-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    margin: 36px 0 12px; color: var(--text);
    scroll-margin-top: 90px;
}
.tc-article-body h4 {
    font-size: 1.05rem; font-weight: 700;
    margin: 28px 0 10px; color: var(--text);
}
.tc-article-body p { margin-bottom: 20px; }
.tc-article-body p:last-child { margin-bottom: 0; }

.tc-article-body a {
    color: var(--world); text-decoration: underline;
    text-underline-offset: 3px; transition: opacity 0.2s;
}
.tc-article-body a:hover { opacity: 0.75; }

.tc-article-body ul,
.tc-article-body ol {
    padding-left: 24px; margin-bottom: 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.tc-article-body li { line-height: 1.7; }
.tc-article-body ul li::marker { color: var(--world); }
.tc-article-body ol li::marker { color: var(--world); font-weight: 700; }

.tc-article-body blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--world);
    background: var(--world-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1.05rem; font-style: italic;
    color: rgba(255,255,255,0.75);
}
.tc-article-body blockquote p { margin-bottom: 0; }

.tc-article-body strong { color: var(--text); font-weight: 700; }
.tc-article-body em     { color: rgba(255,255,255,0.7); }

.tc-article-body code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.88em;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--bd);
    padding: 2px 6px; border-radius: 4px;
    color: var(--world);
}
.tc-article-body pre {
    background: rgba(0,0,0,0.4); border: 1px solid var(--bd);
    border-radius: var(--radius-sm); padding: 20px;
    overflow-x: auto; margin-bottom: 20px;
}
.tc-article-body pre code {
    background: none; border: none; padding: 0;
    font-size: 0.9rem; color: var(--text);
}

.tc-article-body img {
    border-radius: var(--radius-sm);
    margin: 24px 0; width: 100%; height: auto;
    border: 1px solid var(--bd);
}

.tc-article-body figure { margin: 28px 0; }
.tc-article-body figcaption {
    font-size: 0.82rem; color: var(--muted);
    text-align: center; margin-top: 8px;
}

.tc-article-body table {
    width: 100%; border-collapse: collapse; margin-bottom: 24px;
    font-size: 0.92rem;
}
.tc-article-body th {
    background: rgba(255,255,255,0.05); font-weight: 700;
    padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--bd);
    font-family: var(--font-display);
}
.tc-article-body td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--muted);
}
.tc-article-body tr:last-child td { border-bottom: none; }

/* Taggar */
.tc-article-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 40px; padding-top: 32px;
    border-top: 1px solid var(--bd);
}
.tc-tag {
    padding: 5px 12px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
    background: var(--bg-card); border: 1px solid var(--bd);
    color: var(--muted); text-decoration: none;
    transition: all 0.2s ease;
}
.tc-tag:hover {
    background: var(--world-bg); border-color: var(--world-bd); color: var(--world);
}

/* Autor-bio */
.tc-author-bio {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--bd);
    border-radius: var(--radius); padding: 28px;
    margin-top: 40px;
}
.tc-author-bio-avatar {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--world-bg), hsla(263,85%,65%,0.12));
    border: 1px solid var(--world-bd);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--world);
}
.tc-author-bio-name {
    font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px;
}
.tc-author-bio-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.tc-author-bio-links { display: flex; gap: 12px; }
.tc-author-bio-links a {
    font-size: 0.82rem; font-weight: 600; color: var(--world);
    text-decoration: none; transition: opacity 0.2s;
}
.tc-author-bio-links a:hover { opacity: 0.7; }

/* Post nav */
.tc-post-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 40px;
}
.tc-pnav-item {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 20px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--bd);
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.tc-pnav-item:hover { border-color: var(--world-bd); transform: translateY(-2px); }
.tc-pnav-next { text-align: right; }
.tc-pnav-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--world); }
.tc-pnav-title { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ============================================
   RELATERADE INLÄGG
   ============================================ */
.tc-related-section { padding: 0 32px 80px; background: var(--bg); }
.tc-related-inner { max-width: 1200px; margin: 0 auto; }
.tc-related-title {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700; margin-bottom: 28px;
}
.tc-related-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}

/* ============================================
   BLOGG CTA
   ============================================ */
.tc-blog-cta {
    position: relative; padding: 90px 32px;
    text-align: center; overflow: hidden;
    background: var(--bg-alt);
}
.tc-blog-cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, hsla(142,71%,55%,0.10), transparent 70%);
    pointer-events: none;
}
.tc-blog-cta-inner {
    position: relative; z-index: 1;
    max-width: 560px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.tc-cta-icon { font-size: 2.8rem; line-height: 1; }
.tc-blog-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.15;
}
.tc-blog-cta-inner p { font-size: 1rem; color: var(--muted); }

/* ============================================
   KNAPPAR
   ============================================ */
.tc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px;
    font-family: var(--font-display); font-size: 0.88rem;
    font-weight: 600; letter-spacing: 0.04em;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-btn-world {
    background: var(--world); color: #06070d;
    box-shadow: 0 0 28px hsla(142,71%,55%,0.3);
}
.tc-btn-world:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 36px hsla(142,71%,55%,0.45);
}

/* ============================================
   FOOTER
   ============================================ */
.tc-footer {
    background: #040509; padding: 80px 32px 40px;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--bd);
}
.tc-footer-glow {
    position: absolute; bottom: -80px; left: 50%;
    width: 70%; height: 160px; transform: translateX(-50%);
    background: radial-gradient(circle, hsla(263,85%,65%,0.10), transparent 70%);
    filter: blur(60px); pointer-events: none;
}
.tc-footer-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.tc-footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--bd);
}
.tc-footer-logo {
    font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 800; text-decoration: none; display: block; margin-bottom: 14px;
}
.tc-footer-tagline { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.tc-footer-nav-title {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--subtle); margin-bottom: 16px;
}
.tc-footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tc-footer-nav-group a {
    font-size: 0.9rem; color: var(--muted); text-decoration: none;
    transition: color 0.2s, padding-left 0.2s; display: block;
}
.tc-footer-nav-group a:hover { color: var(--text); padding-left: 4px; }
.tc-fnl-music { color: hsl(263,85%,70%) !important; opacity: 0.8; }
.tc-fnl-train { color: var(--world) !important; opacity: 0.8; }
.tc-fnl-app   { color: hsl(188,91%,58%) !important; opacity: 0.8; }
.tc-footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 28px;
}
.tc-footer-bottom p { font-size: 0.82rem; color: var(--subtle); }
.tc-footer-worlds { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; }
.tc-fw-music { color: hsl(263,85%,70%); opacity: 0.7; }
.tc-fw-train { color: var(--world); opacity: 0.7; }
.tc-fw-app   { color: hsl(188,91%,58%); opacity: 0.7; }
.tc-fw-sep   { color: var(--subtle); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .tc-article-inner { grid-template-columns: 1fr; }
    .tc-article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .tc-back-link { grid-column: 1 / -1; }
    .tc-posts-grid { grid-template-columns: repeat(2,1fr); }
    .tc-related-grid { grid-template-columns: repeat(2,1fr); }
    .tc-footer-top { grid-template-columns: 1fr 1fr; }
    .tc-nav-worlds { display: none; }
    .tc-featured-post { grid-template-columns: 1fr; }
    .tc-featured-img-wrap { height: 260px; }
    .tc-featured-content { padding: 28px; }
}

@media (max-width: 768px) {
    .tc-nav-links  { display: none; }
    .tc-nav-burger { display: flex; }
    .tc-nav-inner  { padding: 0 20px; }

    .tc-blog-hero { padding: 60px 20px 50px; }
    .tc-blog-main { padding: 48px 20px 60px; }
    .tc-article-hero { padding: 60px 20px 50px; }
    .tc-article-wrap { padding: 40px 20px 60px; }
    .tc-article-featured-img { padding: 0 20px; }
    .tc-related-section { padding: 0 20px 60px; }
    .tc-blog-cta { padding: 60px 20px; }
    .tc-footer { padding: 60px 20px 32px; }

    .tc-posts-grid { grid-template-columns: 1fr; }
    .tc-related-grid { grid-template-columns: 1fr; }
    .tc-article-sidebar { grid-template-columns: 1fr; }
    .tc-post-nav { grid-template-columns: 1fr; }
    .tc-footer-top { grid-template-columns: 1fr; gap: 32px; }
    .tc-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .tc-footer-worlds { justify-content: center; }
    .tc-bc-inner { padding: 12px 20px; }

    .tc-article-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .tc-blog-title    { font-size: clamp(1.8rem, 6vw, 2.5rem); }
}

@media (max-width: 480px) {
    .tc-article-hero-inner { gap: 12px; }
    .tc-author-bio { flex-direction: column; }
    .tc-featured-content { padding: 20px; }
}
/* =====================================================
   FIX – REVEAL-ANIMATIONER UTAN JS
   (Visar element direkt eftersom reveal-JS:en saknas
    just nu. Tas bort om du återinstallerar JS:en.)
   ===================================================== */
.tc-reveal-up {
    opacity: 1 !important;
    transform: none !important;
}

/* Dekorativa hero-bakgrunder ska ligga BAKOM innehållet */
.tc-blog-hero-bg,
.tc-blog-hero-glow {
    z-index: 0 !important;
}
.tc-blog-hero-inner {
    position: relative;
    z-index: 1;
}
/* =====================================================
   REVEAL FALLBACK
   Om JS inte hinner ladda inom 2 sek visar vi allt
   ändå så användaren aldrig ser tomma luckor.
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .tc-reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Säkerhetsnät: visa alltid om JS är inaktiverat */
.no-js .tc-reveal-up {
    opacity: 1 !important;
    transform: none !important;
}