/* GÖTEBORGSSKÄMT.SE - Landningssida CSS */
/* Baserad på Vitskusten design men optimerad för konvertering */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Samma färgpalett som Vitskusten */
    --ocean: #0A4F63;
    --ocean-light: #0D6B8C;
    --coral: #FF6B4A;
    --coral-glow: #FF8A73;
    --sand: #F4E4C1;
    --foam: #E8F5F2;
    --navy: #1A2332;
    --pearl: #FAFBFC;
    --glass: rgba(250, 251, 252, 0.85);
    
    /* Landningssida-specifika färger */
    --cta-green: #00C853;
    --trust-blue: #1976D2;
    
    /* Samma typografi */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --max-width: 1200px;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(10, 79, 99, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 79, 99, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 79, 99, 0.16);
}

/* Base styles - samma som Vitskusten */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--navy);
    background: var(--pearl);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: white;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ocean);
    margin-bottom: 1.5rem;
}

/* Layout */
.wrap {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header - enklare version */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s var(--ease-bounce);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 80px;  /* Större på desktop */
    width: auto;
}

.nav-simple {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-simple a {
    color: var(--ocean);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-simple a:hover {
    color: var(--coral);
}

/* Header button styling - samma som coral buttons */
.nav-simple .btn.coral {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
    border-radius: 25px;
    background: var(--coral);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.25);
    transition: all 0.2s;
}

.nav-simple .btn.coral:hover {
    background: var(--coral-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35);
    color: white;
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--ocean);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Hero Landing - mer fokus på konvertering */
.hero-landing {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    /* Minskat från 4rem 0 6rem */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-landing .lead {
    font-size: 1.8rem;
    color: white;
    margin: 1rem 0;
}

.sub-lead {
    color: var(--foam);
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.trust-bar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    /* Minskat från 3rem */
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Hero för artikel-sidor */
.hero-article {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-article h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    line-height: 1.2;
}

.hero-article .lead {
    font-size: 1.3rem;
    color: white;
    margin: 1rem 0;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-article .article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: block;
}

/* Generell hero-styling för alla undersidor */
.hero-ordvitsar,
.hero-pappa,
.hero-kal-ada,
.hero-historia,
.hero-dialect {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Gemensam h1 styling för alla hero-sektioner */
.hero-ordvitsar h1,
.hero-pappa h1,
.hero-kal-ada h1,
.hero-historia h1,
.hero-dialect h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    line-height: 1.2;
}

/* Gemensam lead styling */
.hero-ordvitsar .lead,
.hero-pappa .lead,
.hero-kal-ada .lead,
.hero-historia .lead,
.hero-dialect .lead {
    font-size: 1.3rem;
    color: white;
    margin: 1rem 0;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Extra styling för badges och meta */
.wordplay-badges,
.hero-meta,
.heritage-badge,
.dialect-intro {
    margin-top: 1.5rem;
    color: white;
}

.wordplay-badges span,
.hero-meta span,
.heritage-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.dialect-intro {
    margin-top: 2rem;
}

/* Mobile anpassning */
@media (max-width: 768px) {
    .hero-ordvitsar,
    .hero-pappa,
    .hero-kal-ada,
    .hero-historia,
    .hero-dialect {
        padding: 2rem 0 3rem;
    }
    
    .hero-ordvitsar h1,
    .hero-pappa h1,
    .hero-kal-ada h1,
    .hero-historia h1,
    .hero-dialect h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .wordplay-badges,
    .hero-meta,
    .heritage-badge {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .wordplay-badges span,
    .hero-meta span {
        width: 90%;
        max-width: 250px;
        text-align: center;
    }
}

/* Mobile anpassning för hero-article */
@media (max-width: 768px) {
    .hero-article {
        padding: 2rem 0 3rem;
    }
    
    .hero-article h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-article .lead {
        font-size: 1.1rem;
    }
}

/* Wave divider - kortare */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    /* Minskat från standard */
}

.wave-divider .wave-path {
    fill: white;
}

/* Buttons - starkare styling */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--ocean);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn.coral {
    background: var(--coral);
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.25);
}

.btn.coral:hover {
    background: var(--coral-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35);
}

.btn.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn.ghost {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--foam);
    transform: translateY(-2px);
}

.btn.ghost.small {
    background: transparent;
    border: 2px solid var(--ocean);
    color: var(--ocean);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.btn.ghost.small:hover {
    background: var(--ocean);
    color: white;
    transform: translateY(-2px);
}

/* Daily Joke Widget */
.daily-joke-widget {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.widget-badge {
    background: var(--coral);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Joke Teasers - optimerat för konvertering */
.joke-teaser {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.joke-teaser:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.joke-teaser h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.joke-teaser.featured h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.teaser-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    background: var(--foam);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--ocean);
}

.teaser-link {
    color: var(--coral);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.teaser-link:hover {
    text-decoration: underline;
}

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

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--ocean);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--navy);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Info Bar */
.info-bar {
    background: var(--foam);
    padding: 3rem 0;
}

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

.info-item h3 {
    color: var(--ocean);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-item a {
    color: var(--coral);
    font-weight: 600;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* SEO Content Section */
.seo-content {
    background: white;
    padding: 4rem 0;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.content-columns p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.tag-cloud a {
    background: var(--foam);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--ocean);
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background: var(--ocean);
    color: white;
}

/* Article Styles */
.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.toc {
    background: var(--foam);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 3rem;
}

.toc ol {
    margin-left: 1.5rem;
}

.toc a {
    color: var(--ocean);
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

.article-body section {
    margin-bottom: 4rem;
}

.fact-box {
    background: var(--sand);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.example-teaser {
    background: var(--foam);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

/* CTA Sections */
/* Förbättrad CTA-sektion med mer space */
.cta-section {
    text-align: center;
    background: var(--sand);
    padding: 4rem 3rem; /* Ökat från 3rem */
    border-radius: var(--radius-xl);
    margin: 4rem 0; /* Ökat från 3rem 0 */
    position: relative;
    overflow: hidden;
}

/* Lägg till en subtil gradient för djup */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 74, 0.05));
    pointer-events: none;
}

.cta-section h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--ocean);
    position: relative;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem; /* Ökat från standardvärdet */
    color: var(--navy);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn.coral.large {
    padding: 1.3rem 3rem; /* Större knapp */
    font-size: 1.15rem;
    margin-top: 0.5rem; /* Extra space ovanför knappen */
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

/* Mobil-anpassning */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
    
    .cta-section h3 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1.05rem;
    }
}

.cta-inline {
    background: var(--foam);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 2rem 0;
}

/* Footer - förbättrad version */
.site-footer {
    background: linear-gradient(180deg, #1A2332 0%, #0A1118 100%);
    color: var(--foam);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ocean), transparent);
}

.footer-simple {
    text-align: center;
}

.footer-simple h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-simple p {
    margin: 0.5rem 0;
    color: rgba(232, 245, 242, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-simple a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-simple a:hover {
    color: var(--coral-glow);
    text-decoration: underline;
}

.footer-nav {
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(232, 245, 242, 0.1);
    border-bottom: 1px solid rgba(232, 245, 242, 0.1);
}

.footer-nav a {
    color: rgba(232, 245, 242, 0.7);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: white;
}

.footer-vitskusten {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2.5rem auto;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    /* VIKTIGT: Centrerar innehållet */
}

.footer-vitskusten img {
    height: 80px;
    margin: 0 auto 1.5rem;
    /* Centrerar loggan */
    display: block;
    opacity: 0.8;
    filter: brightness(0.9);
}

.footer-vitskusten p {
    font-size: 1.05rem;
    color: rgba(232, 245, 242, 0.85);
    margin-bottom: 1.5rem;
}

/* Footer specific classes */
.footer-highlight {
    margin: 2rem 0;
}

.footer-cta-wrapper {
    margin-top: 1rem;
}

.footer-copyright {
    opacity: 0.5;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* FIX för CTA-knappen i footern */
.footer-vitskusten .btn.coral {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    background: var(--coral) !important;
    /* Säkerställer synlighet */
    color: white !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-vitskusten .btn.coral:hover {
    background: var(--coral-glow) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35);
    text-decoration: none !important;
}

/* Copyright text */
.footer-simple>p:last-child {
    opacity: 0.5;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Mobile menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-simple {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        gap: 0.5rem;
    }

    .nav-simple.active {
        display: flex;
    }

    .nav-simple a {
        padding: 0.8rem 1rem;
        border-radius: var(--radius-sm);
        transition: background 0.2s;
    }

    .nav-simple a:hover {
        background: var(--foam);
    }

    .nav-simple .btn.coral {
        margin-top: 0.5rem;
        text-align: center;
    }

    /* Other mobile adjustments */
    .content-columns {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .trust-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .comparison-table {
        flex-direction: column;
    }

    /* Hero adjustments for mobile */
    .hero-landing {
        padding: 2rem 0 3rem;
    }

    h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .wave-divider svg {
        height: 30px;
    }
}

/* === RADBRYTNINGS-FIXAR === */
/* Klistra in denna kompletta sektion i slutet av din main.css */

/* Fix för textradbrytningar i article-body */
.article-body p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* Förbättra radbrytningar för citat */
blockquote {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Säkerställ att långa ord bryts korrekt */
.article-content {
    word-break: normal;
    overflow-wrap: break-word;
}

/* Specifika fixar för historia-sektionen */
#historia {
    max-width: 100%;
}

#historia h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#historia p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix för exempel-sektionen */
#exempel .joke-card {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--foam);
    border-radius: var(--radius-sm);
}

#exempel .joke-question {
    margin-bottom: 0.5rem;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#exempel .reveal-link {
    color: var(--ocean);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

#exempel .reveal-link:hover {
    color: var(--coral);
    text-decoration: underline;
}

/* ============================================
   HISTORIA.PHP - KOMPLETT STYLING
   ============================================ */

/* Hero för historia */
.hero-historia {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Intro sektion */
.intro-historia {
    padding: 3rem 0;
    text-align: center;
}

.big-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--navy);
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
    background: var(--pearl);
}

.timeline-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Vertikal linje genom hela tidslinjen */
.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--coral), var(--ocean));
    opacity: 0.3;
}

.timeline-era {
    position: relative;
    padding: 2rem 0 2rem 150px;
    margin-bottom: 3rem;
}

.era-marker {
    position: absolute;
    left: 0;
    top: 2rem;
    background: var(--coral);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.3);
    min-width: 120px;
    text-align: center;
}

.timeline-era h3 {
    color: var(--ocean);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.era-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--coral);
}

.era-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

/* Faktaboxar inom tidslinjen */
.historical-fact,
.culture-impact,
.glenn-stats,
.digital-impact {
    background: var(--foam);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.historical-fact h4,
.culture-impact h4,
.glenn-stats h4,
.digital-impact h4 {
    color: var(--ocean);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.key-figures {
    margin: 1.5rem 0;
}

.key-figures h4 {
    color: var(--ocean);
    margin-bottom: 0.8rem;
}

.key-figures ul {
    list-style: none;
    padding: 0;
}

.key-figures li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.key-figures li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
}

.glenn-stats ul {
    list-style: none;
    padding: 0;
}

.glenn-stats li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.glenn-stats li::before {
    content: '📊';
    position: absolute;
    left: 0;
}

/* Historiska citat */
.historical-quote {
    font-style: italic;
    border-left: 4px solid var(--coral);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--navy);
}

.historical-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--ocean);
    font-size: 0.9rem;
}

.modern-classics blockquote {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin: 0.5rem 0;
    border-left: 3px solid var(--coral);
    font-style: italic;
}

/* Academic Section */
.academic-section {
    padding: 4rem 0;
    background: white;
}

.academic-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 2rem;
}

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

.research-card {
    background: var(--pearl);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.research-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.research-card h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.research-card p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-card cite {
    display: block;
    color: var(--coral);
    font-size: 0.9rem;
    font-style: italic;
}

/* Heritage Section */
.heritage-section {
    padding: 4rem 0;
    background: var(--foam);
}

.heritage-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 1rem;
}

.heritage-section>.wrap>p {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

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

.preservation-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s;
}

.preservation-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.preservation-item h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.preservation-item p {
    line-height: 1.6;
    color: var(--navy);
}

/* History CTA Section */
.history-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--sand), white);
    text-align: center;
}

.history-cta h2 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.history-cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.history-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.history-cta .btn.ghost.large {
    background: transparent;
    border: 2px solid var(--ocean);
    color: var(--ocean);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.history-cta .btn.ghost.large:hover {
    background: var(--ocean);
    color: white;
}

/* Mobile responsiveness för historia */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-era {
        padding-left: 50px;
    }

    .era-marker {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .timeline-era h3 {
        font-size: 1.5rem;
    }

    .era-content {
        padding: 1.5rem;
    }

    .research-grid,
    .preservation-grid {
        grid-template-columns: 1fr;
    }

    .history-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .history-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animationer för historia-sidan */
@keyframes fadeInHistory {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-era {
    animation: fadeInHistory 0.6s ease-out;
    animation-fill-mode: both;
}

.timeline-era:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-era:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-era:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-era:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-era:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-era:nth-child(6) {
    animation-delay: 0.6s;
}

/* Fix för mobil - viktigt! */
@media (max-width: 768px) {
    .article-body {
        padding: 0 1rem;
    }
    
    .article-body p,
    .article-body blockquote {
        max-width: 100%;
        word-break: break-word;
        text-align: left; /* Bättre för mobil */
        font-size: 1rem;
    }
    
    .joke-card {
        padding: 0.8rem;
    }
    
    /* Extra fix för långa ord på mobil */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    /* Specifik fix för artikel-innehåll på mobil */
    .article-content {
        padding: 0 1rem;
        word-break: break-word;
    }
    
    /* Säkerställ att inga element går utanför viewport */
    .wrap {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ============================================
   TOPPLISTA-SIDA - Komplett CSS
   ============================================ */

/* Hero för topplista */
.hero-toplist {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-toplist h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-toplist .lead {
    font-size: 1.4rem;
    color: white;
    margin: 1rem 0;
    opacity: 0.95;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
}

/* Voting stats */
.voting-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    color: white;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.voting-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Voting info section */
.voting-info {
    padding: 3rem 0;
    background: var(--pearl);
}

.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.info-box h2 {
    color: var(--ocean);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--navy);
}

/* Podium Section */
.podium-section {
    background: linear-gradient(180deg, var(--foam) 0%, white 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.podium-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ocean);
}

.podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.podium-place {
    flex: 1;
    text-align: center;
    position: relative;
    animation: slideUp 0.6s ease-out;
}

.podium-place.first {
    animation-delay: 0.2s;
}

.podium-place.second {
    animation-delay: 0.1s;
}

.podium-place.third {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.medal {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    display: block;
}

.podium-joke {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    min-height: 150px;
}

.podium-joke h3 {
    color: var(--ocean);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.joke-answer {
    color: var(--coral);
    font-weight: 500;
    margin: 0.8rem 0;
    font-size: 1.05rem;
}

.podium-bar {
    background: linear-gradient(180deg, var(--ocean) 0%, var(--ocean-light) 100%);
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.podium-place.first .podium-bar {
    height: 200px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
}

.podium-place.second .podium-bar {
    height: 150px;
    background: linear-gradient(180deg, #C0C0C0 0%, #808080 100%);
}

.podium-place.third .podium-bar {
    height: 100px;
    background: linear-gradient(180deg, #CD7F32 0%, #8B4513 100%);
}

/* Komplett topplista */
.toplist-section {
    padding: 4rem 0;
    background: white;
}

.toplist-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--navy);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.toplist {
    max-width: 800px;
    margin: 0 auto;
}

.toplist-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toplist-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ocean);
    opacity: 0;
    transition: opacity 0.3s;
}

.toplist-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.toplist-item:hover::before {
    opacity: 1;
}

.toplist-item[data-rank="1"] .rank-number,
.toplist-item[data-rank="2"] .rank-number,
.toplist-item[data-rank="3"] .rank-number {
    font-size: 2rem;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ocean);
    min-width: 60px;
    text-align: center;
}

.joke-content {
    flex: 1;
}

.joke-content h3 {
    color: var(--ocean);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.joke-content .joke-answer {
    color: var(--coral);
    font-weight: 500;
    margin: 0.5rem 0;
}

.joke-meta {
    margin-top: 0.8rem;
}

.joke-meta .category {
    display: inline-block;
    background: var(--foam);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--ocean);
}

/* Share Section */
.share-section {
    background: var(--sand);
    padding: 4rem 0;
    text-align: center;
}

.share-section h2 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.share-section p {
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.facebook:hover {
    background: #0C63D4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.twitter:hover {
    background: #0C85D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.share-btn.copy {
    background: var(--ocean);
    color: white;
}

.share-btn.copy:hover {
    background: var(--ocean-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 79, 99, 0.3);
}

/* Categories Section på topplista */
.categories-section {
    padding: 4rem 0;
    background: white;
}

.categories-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 2rem;
}

/* Mobile responsiveness för topplista */
@media (max-width: 768px) {
    .podium {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }
    
    .podium-place {
        width: 100%;
        max-width: 300px;
    }
    
    .podium-bar {
        display: none;
    }
    
    .toplist-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .rank-number {
        min-width: 40px;
        font-size: 1.2rem;
    }
    
    .voting-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 250px;
    }
}

/* ============================================
   GLENN-SIDA SPECIFIK CSS
   Lägg till detta FÖRE Glenn generator synlighet
   ============================================ */

/* Glenn Hero Section */
.hero-glenn {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-glenn h1 {
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-glenn .lead {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Glenn Intro Section */
.glenn-intro {
    padding: 3rem 0;
}

.glenn-intro .intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--navy);
}

.fun-fact {
    background: var(--foam);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.fun-fact h2 {
    color: var(--ocean);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.fun-fact ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.fun-fact li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Glenn Stats Section */
.glenn-stats {
    padding: 3rem 0;
    background: white;
}

.glenn-stats h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--foam), white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card .big-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: var(--navy);
    opacity: 0.8;
    font-size: 0.95rem;
}

.glenn-stats .source {
    text-align: center;
    color: var(--navy);
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.chart-container {
    background: var(--foam);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.chart-container h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

/* Glenn Origin Section */
.glenn-origin {
    padding: 3rem 0;
    background: var(--pearl);
}

.glenn-origin h2 {
    margin-bottom: 1.5rem;
}

.glenn-origin>p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.theory-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.theory {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.theory h3 {
    color: var(--ocean);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.theory p {
    line-height: 1.6;
}

.glenn-origin blockquote {
    background: var(--sand);
    padding: 2rem;
    border-left: 4px solid var(--coral);
    margin: 2rem 0;
    border-radius: var(--radius-sm);
}

.glenn-origin blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: var(--ocean);
}

/* Glenn Jokes Section */
.glenn-jokes {
    padding: 3rem 0;
    background: white;
}

.glenn-jokes h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.glenn-jokes>p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--navy);
}

.joke-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.joke-teaser.glenn-special {
    background: linear-gradient(135deg, white, var(--foam));
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.joke-teaser.glenn-special:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.joke-teaser .question {
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.reveal-link {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.reveal-link:hover {
    color: var(--coral-glow);
    text-decoration: underline;
}

.cta-glenn {
    background: var(--sand);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 3rem;
}

.cta-glenn h3 {
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

.cta-glenn p {
    margin-bottom: 1.5rem;
}

/* Famous Glenns Section */
.famous-glenns {
    padding: 3rem 0;
    background: var(--pearl);
}

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

.glenn-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--coral);
}

.glenn-card h3 {
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

/* Glenn Generator Section */
.glenn-generator {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.glenn-generator h2 {
    margin-bottom: 1rem;
}

.glenn-generator>p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.generator-box {
    background: var(--foam);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    max-width: 500px;
    margin: 0 auto;
}

.generator-box button {
    margin-bottom: 2rem;
}

/* Glenn result */
#glenn-result {
    margin-top: 2rem;
}

#glenn-result h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.glenn-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--coral);
    margin-bottom: 1rem;
}

.glenn-description {
    font-style: italic;
    color: var(--navy);
    line-height: 1.4;
}

/* Glenn FAQ Section */
.glenn-faq {
    padding: 3rem 0;
    background: var(--pearl);
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.6;
    color: var(--navy);
}

/* ============================================
   GLENN HYSÉN ORDVITSAR - Ny sektion
   Lägg till efter befintlig Glenn CSS
   ============================================ */

/* Glenn Hysén Section */
.glenn-hysen-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--foam), white);
    position: relative;
    overflow: hidden;
}

.glenn-hysen-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--coral), transparent);
    opacity: 0.1;
    border-radius: 50%;
}

.glenn-hysen-section h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
}

.glenn-hysen-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.glenn-hysen-intro p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--navy);
}

/* Glenn Hysén joke grid */
.glenn-hysen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.glenn-hysen-special {
    position: relative;
    background: white;
    border: 2px solid var(--foam);
    transition: all 0.3s ease;
}

.glenn-hysen-special:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.15);
}

.glenn-hysen-special .joke-number {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--coral);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

.glenn-hysen-special .question {
    padding-top: 0.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    line-height: 1.5;
}

.glenn-hysen-special .reveal-link {
    color: var(--ocean);
    border-top: 1px solid var(--foam);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    display: block;
    font-weight: 600;
    transition: all 0.2s;
}

.glenn-hysen-special .reveal-link:hover {
    color: var(--coral);
    padding-left: 10px;
}

/* Glenn Hysén CTA */
.cta-glenn-hysen {
    background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
    color: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(10, 79, 99, 0.2);
}

.cta-glenn-hysen h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-glenn-hysen p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-glenn-hysen .btn.coral {
    background: white;
    color: var(--ocean);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-glenn-hysen .btn.coral:hover {
    background: var(--coral);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 74, 0.4);
}

/* Mobile anpassning för Glenn Hysén */
@media (max-width: 768px) {
    .glenn-hysen-section {
        padding: 3rem 1rem;
    }

    .glenn-hysen-section h2 {
        font-size: 2rem;
    }

    .glenn-hysen-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .glenn-hysen-special .joke-number {
        top: -10px;
        left: 15px;
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .cta-glenn-hysen {
        padding: 2rem 1.5rem;
    }

    .cta-glenn-hysen h3 {
        font-size: 1.6rem;
    }
}

/* Animations för Glenn Hysén jokes */
@keyframes glennHysenFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glenn-hysen-special {
    animation: glennHysenFadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.glenn-hysen-special:nth-child(1) {
    animation-delay: 0.1s;
}

.glenn-hysen-special:nth-child(2) {
    animation-delay: 0.15s;
}

.glenn-hysen-special:nth-child(3) {
    animation-delay: 0.2s;
}

.glenn-hysen-special:nth-child(4) {
    animation-delay: 0.25s;
}

.glenn-hysen-special:nth-child(5) {
    animation-delay: 0.3s;
}

.glenn-hysen-special:nth-child(6) {
    animation-delay: 0.35s;
}

.glenn-hysen-special:nth-child(7) {
    animation-delay: 0.4s;
}

.glenn-hysen-special:nth-child(8) {
    animation-delay: 0.45s;
}

.glenn-hysen-special:nth-child(9) {
    animation-delay: 0.5s;
}


/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--sand), var(--foam));
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 3rem 0;
}

.final-cta h2 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

/* Viktiga radbrytnings-fixar för Glenn-sidan */
.glenn-intro p,
.glenn-origin p,
.glenn-jokes p,
.glenn-generator p,
.glenn-faq p,
.final-cta p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    max-width: 100%;
}

/* Fix för alla h2 och h3 på Glenn-sidan */
.article-content h2,
.article-content h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

/* Mobile responsive för Glenn-sidan */
@media (max-width: 768px) {

    .glenn-intro,
    .glenn-stats,
    .glenn-origin,
    .glenn-jokes,
    .famous-glenns,
    .glenn-generator,
    .glenn-faq {
        padding: 2rem 1rem;
    }

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

    .theory-cards {
        grid-template-columns: 1fr;
    }

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

    .glenn-list {
        grid-template-columns: 1fr;
    }

    .generator-box {
        padding: 2rem 1.5rem;
    }

    .glenn-name {
        font-size: 1.5rem;
    }

    /* Extra säkerhet för mobil radbrytning */
    .article-content {
        padding: 0 1rem;
        word-break: break-word;
    }

    .article-content p {
        text-align: left;
        line-height: 1.6;
    }

    blockquote {
        padding: 1.5rem;
    }
}

/* ============================================
   GLENN GENERATOR SYNLIGHET
   Lägg till detta i main.css
   ============================================ */

/* Initial hidden state */
.glenn-result-hidden,
#glenn-result {
    display: none;
}

/* Visible state */
.glenn-result-visible {
    display: block !important;
    animation: fadeInUp 0.5s ease-out;
}

/* Animation för när namnet visas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Extra animations för Glenn-sidan */
.glenn-special {
    opacity: 0;
    animation: slideInLeft 0.6s ease-out forwards;
}

.glenn-special:nth-child(1) {
    animation-delay: 0.1s;
}

.glenn-special:nth-child(2) {
    animation-delay: 0.2s;
}

.glenn-special:nth-child(3) {
    animation-delay: 0.3s;
}

.glenn-special:nth-child(4) {
    animation-delay: 0.4s;
}

.glenn-special:nth-child(5) {
    animation-delay: 0.5s;
}

.glenn-special:nth-child(6) {
    animation-delay: 0.6s;
}

.glenn-special:nth-child(7) {
    animation-delay: 0.7s;
}

.glenn-special:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

    .glenn-result-visible,
    .glenn-special {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   CSS FÖR ALLA UNDERSIDOR - Lägg till i main.css
   ============================================ */

/* GOTEBORGSKA.PHP STYLES */
.dialect-characteristics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.characteristic h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--ocean);
}

.dictionary-section {
    padding: 3rem 0;
    background: var(--pearl);
}

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

.word-entry {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.word-entry h3 {
    color: var(--ocean);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pronunciation {
    color: var(--coral);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.definition {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.example {
    background: var(--foam);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-style: italic;
}

.phrases-section {
    padding: 3rem 0;
    background: white;
}

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

.phrase-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.phrase-card h3 {
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

.usage {
    display: inline-block;
    background: var(--sand);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.pronunciation-guide {
    padding: 3rem 0;
    background: var(--pearl);
}

.pronunciation-table table {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pronunciation-table th {
    background: var(--ocean);
    color: white;
    padding: 1rem;
    text-align: left;
}

.pronunciation-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--foam);
}

.practice-section {
    padding: 3rem 0;
    background: white;
}

.practice-exercises {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Practice exercises visibility */
.answer-hidden {
    display: none;
}

.answer-visible {
    display: block;
}

.exercise {
    margin-bottom: 2rem;
}

.exercise .original {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.exercise .answer {
    background: var(--foam);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-weight: 500;
}

.dialect-facts {
    padding: 3rem 0;
    background: var(--foam);
}

.dialect-facts .facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.dialect-facts .fact {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.fact-number {
    display: block;
    font-size: 3rem;
    color: var(--coral);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dialect-intro audio {
    margin-top: 1rem;
}

.dialect-intro p {
    color: white;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* HISTORIA.PHP STYLES */
.timeline-section {
    padding: 3rem 0;
    background: var(--pearl);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    /* Ändra från 100px till 60px */
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--coral), var(--ocean));
    opacity: 0.3;
}

.timeline-era {
    position: relative;
    padding: 0 0 2rem 150px;
    /* Ändra från 2rem 0 2rem 150px */
    margin-bottom: 3rem;
}

.era-marker {
    position: absolute;
    left: 0;
    top: 0;
    /* Ändra från 2rem till 0 */
    background: var(--coral);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.3);
    min-width: 120px;
    text-align: center;
    z-index: 2;
    /* Lägg till detta så den ligger över linjen */
}

.era-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.historical-fact,
.culture-impact,
.glenn-stats {
    background: var(--foam);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

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

.research-card,
.preservation-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.historical-quote {
    font-style: italic;
    border-left: 4px solid var(--coral);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* KAL-OCH-ADA.PHP STYLES */
.heritage-badge {
    text-align: center;
    margin-top: 1rem;
    color: white;
    opacity: 0.9;
}

.character-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.character {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.character.kal {
    border-top: 4px solid var(--ocean);
}

.character.ada {
    border-top: 4px solid var(--coral);
}

.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.milestone {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.milestone .year {
    background: var(--coral);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
}

.sketch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sketch-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.sketch-card blockquote {
    background: var(--foam);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-style: italic;
}

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

.impact-item,
.legacy-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.impact-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

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

.quote-card {
    background: var(--sand);
    padding: 2rem;
    border-radius: var(--radius);
}

.quote-card blockquote {
    font-style: italic;
    line-height: 1.8;
}

/* ============================================
   KAL OCH ADA - KOMPLETTERANDE STYLES
   Lägg till efter befintlig KAL-OCH-ADA.PHP STYLES
   ============================================ */

/* Intro section */
.kal-ada-intro {
    padding: 3rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.big-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

.character-traits {
    line-height: 1.6;
}

.character-traits strong {
    color: var(--ocean);
}

/* Kal och Ada History section */
.kal-ada-history {
    background: var(--pearl);
    padding: 3rem 0;
}

.kal-ada-history h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.history-timeline .milestone h3 {
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

.history-timeline .milestone p {
    line-height: 1.6;
    color: var(--navy);
}

/* Classic Jokes Collection */
.classic-jokes {
    padding: 3rem 0;
    background: white;
}

.classic-jokes h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.jokes-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.joke-card {
    background: white;
    border: 2px solid var(--foam);
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.joke-card:hover {
    border-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.joke-card h3 {
    color: var(--coral);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.joke-content {
    line-height: 1.7;
}

.joke-content p {
    margin-bottom: 0.8rem;
    color: var(--navy);
}

.joke-content p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--ocean);
}

/* Famous Sketches - Full content styling */
.famous-sketches {
    background: var(--foam);
    padding: 3rem 0;
}

.famous-sketches h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 1rem;
}

.famous-sketches>.wrap>p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.sketch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sketch-card.full-sketch {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.sketch-card.full-sketch:hover {
    box-shadow: var(--shadow-md);
}

.sketch-card.full-sketch h3 {
    color: var(--ocean);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--foam);
}

.sketch-content {
    line-height: 1.8;
}

.sketch-content p {
    margin-bottom: 0.8rem;
    color: var(--navy);
}

.sketch-content p:first-child {
    font-style: italic;
    color: var(--ocean);
    opacity: 0.8;
}

/* Cultural Impact section styling */
.cultural-impact {
    background: white;
    padding: 3rem 0;
}

.cultural-impact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Quotes Section styling */
.quotes-section {
    background: var(--pearl);
    padding: 3rem 0;
}

.quotes-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.quotes-carousel blockquote {
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--navy);
}

/* Modern Legacy styling */
.modern-legacy {
    background: white;
    padding: 3rem 0;
}

.modern-legacy h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.modern-legacy>.wrap>p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.legacy-item h3 {
    color: var(--ocean);
    margin: 1rem 0;
}

.legacy-item p {
    line-height: 1.6;
}

/* CTA Section for Kal och Ada */
.kal-ada-cta {
    background: linear-gradient(135deg, var(--sand), var(--foam));
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
    text-align: center;
}

.kal-ada-cta h2 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.kal-ada-cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn.ghost.large {
    background: transparent;
    border: 2px solid var(--ocean);
    color: var(--ocean);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.cta-buttons .btn.ghost.large:hover {
    background: var(--ocean);
    color: white;
    border-color: var(--ocean);
}

/* Mobile responsive för Kal och Ada specifika element */
@media (max-width: 768px) {
    .jokes-collection {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .sketch-card.full-sketch {
        padding: 1.5rem;
    }

    .joke-card {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .big-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .classic-jokes,
    .famous-sketches,
    .cultural-impact,
    .quotes-section,
    .modern-legacy,
    .kal-ada-history {
        padding: 2rem 0;
    }
}

/* Animations för Kal och Ada sidan */
@keyframes fadeInKalAda {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.joke-card,
.sketch-card {
    animation: fadeInKalAda 0.5s ease-out;
    animation-fill-mode: both;
}

.joke-card:nth-child(1) {
    animation-delay: 0.1s;
}

.joke-card:nth-child(2) {
    animation-delay: 0.15s;
}

.joke-card:nth-child(3) {
    animation-delay: 0.2s;
}

.joke-card:nth-child(4) {
    animation-delay: 0.25s;
}

.joke-card:nth-child(5) {
    animation-delay: 0.3s;
}

.joke-card:nth-child(6) {
    animation-delay: 0.35s;
}

/* ============================================
   KAL OCH ADAS HISTORIA - TIDSLINJE FIX
   ============================================ */

.kal-ada-history {
    background: var(--pearl);
    padding: 4rem 0;
}

.kal-ada-history h2 {
    text-align: center;
    color: var(--ocean);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: white;
    padding: 1rem 2rem;
    display: inline-block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.kal-ada-history .wrap>h2 {
    display: block;
    text-align: center;
}

.history-timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.history-timeline .milestone {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
    position: relative;
}

.history-timeline .milestone .year {
    background: var(--coral);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.3);
}

.history-timeline .milestone h3 {
    color: var(--ocean);
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.history-timeline .milestone p {
    line-height: 1.7;
    color: var(--navy);
    margin: 0;
    font-size: 1.05rem;
}

/* Innehållsdelen för varje milstolpe */
.history-timeline .milestone>div:last-child {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    position: relative;
    border-left: 3px solid var(--coral);
}

/* Lägg till en kopplande linje mellan årtalen */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--coral), var(--ocean));
    opacity: 0.3;
}

/* Responsiv design för mobil */
@media (max-width: 768px) {
    .kal-ada-history h2 {
        font-size: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .history-timeline {
        padding: 1rem 0;
    }

    .history-timeline::before {
        display: none;
    }

    .history-timeline .milestone {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .history-timeline .milestone .year {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .history-timeline .milestone>div:last-child {
        padding: 1.2rem 1.5rem;
        border-left: none;
        border-top: 3px solid var(--coral);
    }

    .history-timeline .milestone h3 {
        font-size: 1.3rem;
    }

    .history-timeline .milestone p {
        font-size: 1rem;
    }
}

/* Animation för tidslinjen */
@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.history-timeline .milestone {
    animation: slideInTimeline 0.6s ease-out;
    animation-fill-mode: both;
}

.history-timeline .milestone:nth-child(1) {
    animation-delay: 0.1s;
}

.history-timeline .milestone:nth-child(2) {
    animation-delay: 0.2s;
}

.history-timeline .milestone:nth-child(3) {
    animation-delay: 0.3s;
}

.history-timeline .milestone:nth-child(4) {
    animation-delay: 0.4s;
}

.history-timeline .milestone:nth-child(5) {
    animation-delay: 0.5s;
}

.history-timeline .milestone:nth-child(6) {
    animation-delay: 0.6s;
}

/* ORDVITSAR.PHP STYLES */
.wordplay-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.wordplay-badges span {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
}

.anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.anatomy-part {
    text-align: center;
}

.anatomy-part .number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--coral);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.type-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

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

.ordvits-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.2s;
}

.ordvits-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ordvits-number {
    position: absolute;
    top: 50px;
    right: 20px;
    background: var(--coral);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
}

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

/* Workshop CTA styling */
.workshop-cta {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.workshop-cta h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.workshop-cta .btn.ghost {
    background: transparent;
    border: 2px solid var(--ocean);
    color: var(--ocean);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s;
}

.workshop-cta .btn.ghost:hover {
    background: var(--ocean);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 79, 99, 0.2);
}


.step {
    background: var(--foam);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.step-number {
    display: inline-block;
    background: var(--ocean);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.fact-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* PAPPASKAMT.PHP STYLES  */
.hero-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-meta .badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
}

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.pappa-test {
    background: var(--foam);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
}

.featured-joke-card {
    background: linear-gradient(135deg, white, var(--foam));
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.featured-badge {
    display: inline-block;
    background: var(--coral);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.jokes-grid.pappa-special {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.joke-teaser.pappa-style {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.2s;
}

.joke-teaser.pappa-style:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.groan-meter {
    color: var(--ocean);
    font-size: 0.9rem;
}

.timeline-pappa {
    position: relative;
    padding: 2rem 0;
}

.timeline-pappa .timeline-item {
    margin-bottom: 2rem;
    padding-left: 80px;
    position: relative;
}

.timeline-pappa .year {
    position: absolute;
    left: 0;
    background: var(--coral);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
}

#generated-joke {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Mobile responsive för alla undersidor */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-era {
        padding-left: 50px;
    }
    
    .era-marker {
        font-size: 0.9rem;
    }
    
    .character-profiles {
        grid-template-columns: 1fr;
    }
    
    .wordplay-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: center;
    }
}

.generator-result-hidden {
    display: none;
}

/* Hero för Om-sidan */
.hero-about {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-about h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    line-height: 1.2;
}

.hero-about .lead {
    font-size: 1.3rem;
    color: white;
    margin: 1rem 0;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumbs för Om-sidan */
.hero-about .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-about .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-about .breadcrumbs a:hover {
    color: white;
}

.hero-about .breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   OM-SIDA SPECIFIKA STYLES
   ============================================ */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.big-intro {
    font-size: 1.3rem;
    line-height: 1.8;
}

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

.mission-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.mission-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--coral);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vitskusten-section {
    background: var(--foam);
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
}

.vitskusten-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.vitskusten-logo {
    text-align: center;
}

.vitskusten-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    color: var(--coral);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--ocean);
}

.team-values {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.team-values ul {
    list-style: none;
    padding: 0;
}

.team-values li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-option {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-option h3 {
    margin-bottom: 1rem;
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--ocean), var(--coral));
    color: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
}

.about-cta h2 {
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile responsiveness för Om-sidan */
@media (max-width: 768px) {
    .hero-about {
        padding: 2rem 0 3rem;
    }

    .hero-about h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .vitskusten-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
/* ============================================
   404-SIDA SPECIFIKA STYLES
   ============================================ */

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.error-content {
    max-width: 600px;
}

/* Fix för textfärger */
.error-404 h1 {
    color: var(--ocean);
    font-size: 2rem;
    margin: 1rem 0;
}

.error-404 .lead {
    color: var(--navy);
    font-size: 1.2rem;
    margin: 1rem 0;
    opacity: 0.8;
}

.error-404 p {
    color: var(--navy);
    line-height: 1.6;
}

.error-404 strong {
    color: var(--ocean);
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.error-joke {
    background: var(--foam);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
}

.error-joke h2 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.joke-question {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--navy);
}

.joke-answer {
    font-size: 1.2rem;
    color: var(--coral);
    font-weight: bold;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Extra styling för ocean button */
.btn.ocean {
    background: var(--ocean);
    color: white;
    box-shadow: 0 2px 10px rgba(10, 79, 99, 0.25);
}

.btn.ocean:hover {
    background: var(--ocean-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(10, 79, 99, 0.35);
}

.suggested-pages {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.suggested-pages h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

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

.page-link {
    padding: 1rem;
    background: var(--foam);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ocean);
    transition: all 0.2s;
    font-weight: 500;
    text-align: center;
}

.page-link:hover {
    background: var(--ocean);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Mobile responsiveness för 404-sidan */
@media (max-width: 768px) {
    .error-404 {
        padding: 2rem 1rem;
    }

    .error-404 h1 {
        font-size: 1.6rem;
    }

    .error-404 .lead {
        font-size: 1.1rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-joke {
        padding: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .suggested-pages {
        padding: 1.5rem;
    }
}

/* Animations för 404-sidan */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.error-code {
    animation: bounceIn 0.6s ease-out;
}

@keyframes fadeInUp404 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-joke {
    animation: fadeInUp404 0.8s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.suggested-pages {
    animation: fadeInUp404 0.8s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

/* ============================================
   SAJTKARTA SPECIFIKA STYLES
   ============================================ */

/* Hero för sajtkarta */
.hero-sitemap {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--coral) 100%);
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-sitemap h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    line-height: 1.2;
}

.hero-sitemap .lead {
    font-size: 1.3rem;
    color: white;
    margin: 1rem 0;
    opacity: 0.95;
}

/* Breadcrumbs för sajtkarta */
.hero-sitemap .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-sitemap .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-sitemap .breadcrumbs a:hover {
    color: white;
}

.hero-sitemap .breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
}

/* Sitemap Content */
.sitemap-section {
    padding: 4rem 0;
    background: var(--pearl);
}

.sitemap-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sitemap-category {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sitemap-category h2 {
    color: var(--ocean);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--foam);
}

.category-intro {
    margin-bottom: 1.5rem;
    color: var(--navy);
    line-height: 1.6;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--foam);
    transition: all 0.2s;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list li:hover {
    padding-left: 1rem;
    background: var(--foam);
    margin: 0 -1rem;
    padding-right: 1rem;
}

.sitemap-list a {
    color: var(--ocean);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sitemap-list a:hover {
    color: var(--coral);
}

.sitemap-list a svg {
    opacity: 0.5;
}

.page-description {
    display: block;
    color: var(--navy);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-top: 0.3rem;
    padding-left: 0;
}

/* Externa länkar styling */
.sitemap-external {
    background: var(--foam);
    border: 2px solid var(--ocean);
}

.sitemap-external a[target="_blank"] {
    color: var(--ocean-light);
}

/* Sitemap info box */
.sitemap-info {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-top: 3rem;
}

.sitemap-info h3 {
    color: var(--ocean);
    margin-bottom: 1rem;
}

.sitemap-info p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: var(--navy);
}

.sitemap-info a {
    color: var(--coral);
    text-decoration: none;
}

.sitemap-info a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness för sajtkarta */
@media (max-width: 768px) {
    .hero-sitemap {
        padding: 2rem 0 3rem;
    }

    .hero-sitemap h1 {
        font-size: 2rem;
    }

    .sitemap-section {
        padding: 2rem 0;
    }

    .sitemap-category {
        padding: 1.5rem;
    }

    .sitemap-category h2 {
        font-size: 1.5rem;
    }

    .sitemap-list a {
        font-size: 1rem;
    }

    .sitemap-list li:hover {
        padding-left: 0.5rem;
        margin: 0 -0.5rem;
        padding-right: 0.5rem;
    }
}