
/* HobbyWorld.at â€“ custom.css Version 2.0 */

:root {
    --hw-primary: #018be4;
    --hw-primary-dark: #0073bd;
    --hw-text: #30343a;
    --hw-heading: #15181c;
    --hw-muted: #66707a;
    --hw-border: #dfe5ea;
    --hw-surface-soft: #f6f8fa;
    --hw-radius: 12px;
    --hw-image-radius: 8px;
    --hw-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --hw-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--hw-text);
    font-family: var(--hw-font);
    font-size: 17px;
    line-height: 1.8;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, ul, ol, dl, blockquote, table { margin-bottom: 1.35rem; }

a {
    color: var(--hw-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    transition: color 0.2s ease;
}

a:hover, a:focus { color: var(--hw-primary-dark); }

h1, h2, h3, h4, h5, h6 {
    color: var(--hw-heading);
    font-family: var(--hw-font);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2rem); margin: 3rem 0 1.1rem; }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.6rem); margin: 2rem 0 0.8rem; }
h4 { font-size: 1.2rem; margin: 1.7rem 0 0.7rem; }

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    font-size: 17px;
    line-height: 1.45;
}

.sp-main-body { padding: 30px 0 50px; }

.breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--hw-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.breadcrumb a { color: var(--hw-muted); }
.breadcrumb a:hover, .breadcrumb a:focus { color: var(--hw-primary); }

.breadcrumb .icon-location {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.article-details { font-size: 1rem; }

.article-details .article-fulltext > p,
.article-details .article-fulltext > ul,
.article-details .article-fulltext > ol,
.article-details .article-fulltext > blockquote,
.article-details .article-fulltext > table,
.article-details .article-introtext > p,
.article-details .article-introtext > ul,
.article-details .article-introtext > ol {
    max-width: 900px;
}

.article-details p { margin-bottom: 1.35rem; }
.article-details ul, .article-details ol { padding-left: 1.4rem; }
.article-details li { margin-bottom: 0.45rem; }

.article-details blockquote {
    max-width: 900px;
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--hw-primary);
    border-radius: 0 var(--hw-radius) var(--hw-radius) 0;
    background: var(--hw-surface-soft);
}

.article-details hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid var(--hw-border);
}

/* Nur echte Artikelbilder formatieren, keine Galeriebilder */
.article-details figure,
.article-details .article-full-image,
.article-details .article-intro-image {
    margin: 2rem 0;
}

.article-details figure > img,
.article-details .article-full-image > img,
.article-details .article-intro-image > img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--hw-image-radius);
}

.article-details figcaption {
    margin-top: 0.55rem;
    color: var(--hw-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.article-details iframe,
.article-details video { max-width: 100%; }

/* Kategorie- und BlogÃ¼bersichten */
.article-list .article {
    overflow: hidden;
    margin-bottom: 28px;
    border-color: var(--hw-border);
    border-radius: var(--hw-radius);
    box-shadow: 0 4px 18px rgba(20, 38, 55, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-list .article:hover {
    transform: translateY(-2px);
    box-shadow: var(--hw-shadow);
}

.article-list .article .article-header h2,
.article-list .article .article-header h3 {
    margin-top: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
}

.article-list .article .article-intro-image,
.article-list .article .article-full-image {
    width: 100%;
    margin: 0 0 1.25rem;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f4f6;
}

.article-list .article .article-intro-image img,
.article-list .article .article-full-image img {
    display: block;
    width: 100%;
    height: 280px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    transition: transform 0.25s ease;
}

.article-list .article:hover .article-intro-image img,
.article-list .article:hover .article-full-image img {
    transform: scale(1.03);
}


/* Buttons */
.btn, button, input[type="submit"], input[type="button"] {
    border-radius: 8px;
    font-family: var(--hw-font);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
    transition: 0.2s ease;
}

.btn-primary, button.btn-primary, input[type="submit"] {
    border-color: var(--hw-primary);
    background-color: var(--hw-primary);
}

.btn-primary:hover, .btn-primary:focus,
button.btn-primary:hover, button.btn-primary:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
    border-color: var(--hw-primary-dark);
    background-color: var(--hw-primary-dark);
    box-shadow: 0 6px 18px rgba(1, 139, 228, 0.22);
    transform: translateY(-1px);
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(1, 139, 228, 0.35);
    outline-offset: 3px;
}

/* Formulare */
input[type="text"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], select, textarea {
    border: 1px solid #cfd7de;
    border-radius: 8px;
    color: var(--hw-text);
    font-family: var(--hw-font);
    font-size: 16px;
    line-height: 1.5;
}

input[type="text"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], select { min-height: 44px; }

textarea { min-height: 160px; }

input:focus, select:focus, textarea:focus {
    border-color: var(--hw-primary);
    box-shadow: 0 0 0 3px rgba(1, 139, 228, 0.13);
}

/* Tabellen */
.article-details table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.article-details th, .article-details td {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--hw-border);
    vertical-align: top;
}

.article-details th {
    background: var(--hw-surface-soft);
    color: var(--hw-heading);
    font-weight: 700;
}

/* HobbyWorld-Module */
.sp-module-title {
    color: var(--hw-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.hobbyrelated-item,
.hw-related-item,
[class*="hobbyrelated"] article,
[class*="hobby-related"] article {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hobbyrelated-item:hover,
.hw-related-item:hover,
[class*="hobbyrelated"] article:hover,
[class*="hobby-related"] article:hover {
    transform: translateY(-2px);
}

.hobbyrelated-label,
.hw-related-label,
[class*="hobbyrelated"] .badge,
[class*="hobby-related"] .badge {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

/* Kontakt-/Instagram-Modul bewusst unverÃ¤ndert */

/* Bestehende Anpassungen */
.article-ratings-social-share { display: none !important; }

.article-list .article .featured-article-badge,
.article-details .featured-article-badge {
    display: none;
    visibility: hidden;
}

.keine-trennlinien li { border-bottom: none !important; }

/* JO Related Articles â€“ kompakte Legacy-Liste */
#jo-related-articles .row {
    display: block !important;
    margin: 0 !important;
}

#jo-related-articles .col-md-12 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
}

#jo-related-articles .article-item {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#jo-related-articles h3.article-title {
    display: block !important;
    position: relative;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

#jo-related-articles h3.article-title::before {
    content: "â€¢";
    position: absolute;
    left: 0;
    top: 0;
}

#jo-related-articles h3.article-title a {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: none;
}

#jo-related-articles h3.article-title a:hover,
#jo-related-articles h3.article-title a:focus {
    color: var(--hw-primary) !important;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 991.98px) {
    body { font-size: 17px; line-height: 1.72; }
    .sp-main-body { padding-top: 22px; padding-bottom: 38px; }
    h1 { font-size: clamp(2rem, 8vw, 2.45rem); }
    h2 { margin-top: 2.2rem; }
}

@media (max-width: 767.98px) {
    .breadcrumb { display: none; }

    .article-list .article { margin-bottom: 24px; }

    .article-details h1,
    .article-header h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .article-details h2 {
        margin-top: 2.5rem;
        margin-bottom: 18px;
    }

    .article-list .article .article-intro-image,
    .article-list .article .article-full-image {
        height: auto;
        overflow: visible;
        background: transparent;
    }

    .article-list .article .article-intro-image img,
    .article-list .article .article-full-image img {
        width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center;
        border-radius: 8px;
        transform: none;
    }

    .btn, button, input[type="submit"], input[type="button"] {
        width: 100%;
        min-height: 46px;
    }

    .hobbyrelated-item img,
    .hw-related-item img,
    [class*="hobbyrelated"] img,
    [class*="hobby-related"] img {
        width: 110px;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
    }

    .hobbyrelated-label,
    .hw-related-label,
    [class*="hobbyrelated"] .badge,
    [class*="hobby-related"] .badge {
        font-size: 11px;
    }

    footer, #sp-footer {
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 14px;
    }

  
}

@media (max-width: 575.98px) {
    body { font-size: 16.5px; line-height: 1.68; }
    .sp-main-body { padding-top: 18px; padding-bottom: 30px; }
    h1 { font-size: 2rem; line-height: 1.15; }
    h2 { font-size: 1.65rem; margin-top: 2rem; }
    h3 { font-size: 1.35rem; }
    .article-details p { margin-bottom: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================================
   JO Image Gallery – Plugin-Größen beibehalten
   ========================================================================== */

.joimagegallery .gallery-item {
    overflow: hidden;
}

/* Nur den allgemeinen Hover-Zoom unterbinden */
.joimagegallery .gallery-item img {
    transform: none !important;
}