/**
 * VisitKD Design System
 * Version: 1.0.0
 *
 * Bas-typografi + komponenter för visitkarlskogadegerfors.se
 * Alla klasser prefixade med .vkd- för att inte krocka med tema.
 */

/* ============================================================
   BAS-TYPOGRAFI
   ============================================================ */
.vkd-content {
    font-size: 18px;
    line-height: 1.7;
    color: #2d3748;
}

.vkd-content p {
    font-size: 18px;
    line-height: 1.7;
}

.vkd-content h2 {
    font-size: 1.85em;
    margin-top: 2.2em;
    margin-bottom: 0.6em;
    color: #0f4c4a;
    border-bottom: 2px solid #5eead4;
    padding-bottom: 0.3em;
    line-height: 1.25;
}

.vkd-content h3 {
    font-size: 1.4em;
    margin-top: 1.6em;
    color: #0f766e;
    line-height: 1.3;
}

/* ============================================================
   HERO-BOX
   ============================================================ */
.vkd-hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6f7f5 100%);
    border-left: 5px solid #14b8a6;
    padding: 26px 30px;
    margin: 24px 0;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1.7;
}

.vkd-hero p {
    margin: 0 0 12px;
    font-size: 18px;
}

.vkd-hero p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   SNABBFAKTA-TABELL
   ============================================================ */
.vkd-quickfacts {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
    font-size: 17px;
}

.vkd-quickfacts caption {
    background: #0f4c4a;
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 18px;
    text-align: left;
    caption-side: top;
}

.vkd-quickfacts td {
    padding: 13px 18px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    font-size: 17px;
}

.vkd-quickfacts tr:last-child td {
    border-bottom: none;
}

.vkd-quickfacts tr:nth-child(even) {
    background: #f9fafb;
}

.vkd-quickfacts td:first-child {
    font-weight: 600;
    color: #0f4c4a;
    width: 38%;
}

/* ============================================================
   INFOBOX (orange, för fakta om plats)
   ============================================================ */
.vkd-infobox {
    background: #fefcf3;
    border: 1px solid #fcd34d;
    border-left: 5px solid #d97706;
    padding: 22px 28px;
    margin: 28px 0;
    border-radius: 6px;
    font-size: 17px;
    line-height: 1.65;
}

.vkd-infobox h4 {
    margin: 0 0 14px;
    color: #92400e;
    font-size: 20px;
    letter-spacing: 0.3px;
}

.vkd-infobox p {
    margin: 8px 0;
    font-size: 17px;
}

.vkd-infobox ul {
    margin: 8px 0 0;
    padding-left: 22px;
    font-size: 17px;
}

.vkd-infobox li {
    margin: 7px 0;
    font-size: 17px;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.vkd-quote {
    border-left: 4px solid #0f766e;
    background: #f0fdfa;
    padding: 24px 30px 24px 60px;
    margin: 28px 0;
    font-style: italic;
    font-size: 20px;
    line-height: 1.55;
    color: #134e4a;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.vkd-quote::before {
    content: "\201C";
    font-size: 4em;
    color: #5eead4;
    position: absolute;
    left: 14px;
    top: -4px;
    font-family: Georgia, serif;
    line-height: 1;
    font-style: normal;
}

.vkd-quote p {
    margin: 0;
    font-size: 20px;
}

.vkd-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 15px;
    color: #0f766e;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================================
   STATISTIK-GRID
   ============================================================ */
.vkd-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.vkd-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 22px 16px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease;
}

.vkd-stat:hover {
    transform: translateY(-2px);
}

.vkd-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #0f766e;
    line-height: 1.1;
}

.vkd-stat-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

/* ============================================================
   TIDSLINJE
   ============================================================ */
.vkd-timeline {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    position: relative;
    font-size: 17px;
}

.vkd-timeline::before {
    content: "";
    position: absolute;
    left: 78px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #5eead4;
}

.vkd-timeline li {
    position: relative;
    padding: 0 0 20px 115px;
    margin: 0;
    list-style: none;
    font-size: 17px;
    line-height: 1.55;
}

.vkd-timeline li::before {
    content: "";
    position: absolute;
    left: 72px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: #0f766e;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0f766e;
}

.vkd-timeline .vkd-year {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #0f4c4a;
    width: 64px;
    text-align: right;
    font-size: 17px;
}

/* ============================================================
   CALLOUT (blå, för tips och visste-du-fakta)
   ============================================================ */
.vkd-callout {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 17px;
    line-height: 1.65;
}

.vkd-callout strong {
    color: #1e40af;
}

.vkd-callout p {
    margin: 0;
    font-size: 17px;
}

/* ============================================================
   JÄMFÖRELSE-TABELL (mörk header)
   ============================================================ */
.vkd-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 17px;
}

.vkd-compare th {
    background: #1e293b;
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 17px;
}

.vkd-compare td {
    padding: 13px 18px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    font-size: 17px;
}

.vkd-compare tr:last-child td {
    border-bottom: none;
}

.vkd-compare tr:nth-child(even) td {
    background: #f8fafc;
}

.vkd-compare td:first-child {
    font-weight: 600;
    color: #1e293b;
    width: 32%;
}

/* ============================================================
   ICONLIST (med checkmark-cirklar)
   ============================================================ */
.vkd-iconlist {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}

.vkd-iconlist li {
    padding: 13px 0 13px 46px;
    position: relative;
    border-bottom: 1px dashed #e5e7eb;
    list-style: none;
    font-size: 17px;
    line-height: 1.55;
}

.vkd-iconlist li:last-child {
    border-bottom: none;
}

.vkd-iconlist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 13px;
    width: 28px;
    height: 28px;
    background: #0f766e;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    line-height: 28px;
    font-weight: 700;
}

.vkd-iconlist strong {
    color: #0f4c4a;
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
}

/* ============================================================
   TVÅKOLUMN-KORT
   ============================================================ */
.vkd-twocol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.vkd-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px 24px;
    border-top: 4px solid #0f766e;
    font-size: 17px;
    line-height: 1.65;
}

.vkd-card h4 {
    margin: 0 0 10px;
    color: #0f4c4a;
    font-size: 19px;
}

.vkd-card p {
    margin: 0 0 8px;
    font-size: 17px;
}

.vkd-card p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   MOBILE (max 600px)
   ============================================================ */
@media (max-width: 600px) {
    .vkd-content,
    .vkd-content p,
    .vkd-hero,
    .vkd-hero p {
        font-size: 17px;
    }
    .vkd-hero {
        padding: 20px 22px;
    }
    .vkd-content h2 {
        font-size: 1.55em;
    }
    .vkd-content h3 {
        font-size: 1.25em;
    }
    .vkd-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .vkd-stat-number {
        font-size: 24px;
    }
    .vkd-timeline::before {
        left: 56px;
    }
    .vkd-timeline li {
        padding-left: 90px;
    }
    .vkd-timeline li::before {
        left: 50px;
    }
    .vkd-timeline .vkd-year {
        width: 42px;
        font-size: 15px;
    }
    .vkd-quickfacts td:first-child,
    .vkd-compare td:first-child {
        width: 42%;
    }
    .vkd-quote {
        padding: 20px 22px 20px 48px;
        font-size: 18px;
    }
    .vkd-quote p {
        font-size: 18px;
    }
    .vkd-quote::before {
        font-size: 3em;
        left: 10px;
    }
    .vkd-quickfacts td,
    .vkd-compare td,
    .vkd-infobox li,
    .vkd-iconlist li,
    .vkd-card {
        font-size: 16px;
    }
}
