/* nacani-blog-templates.css v1.0 — Mobile-first */

/* ── Reset / Base ────────────────────────────────────────────── */
.nbt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.nb-breadcrumbs {
    font-family: JosefineSansLight, sans-serif;
    font-size: 12px;
    color: #8a7e79;
    margin-bottom: 20px;
    line-height: 1.4;
}
.nb-breadcrumbs a {
    color: #8a7e79;
    text-decoration: none;
}
.nb-breadcrumbs a:hover {
    color: #BD6F89;
}
.nb-breadcrumbs__sep {
    margin: 0 6px;
    color: #ccc;
}
.nb-breadcrumbs__current {
    color: #3f3638;
}

/* ── Header ──────────────────────────────────────────────────── */
.nbt__header {
    margin-bottom: 24px;
}
/* h1 specificity needed to override .elementor-kit-14406 h1 (line-height: 27em!) */
.nbt h1.nbt__title {
    font-family: JosefineSans, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #3f3638;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px 0 0;
    line-height: 1.3;
}
.nbt h2.nbt__subtitle {
    font-family: JosefineSansLight, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #8a7e79;
    margin: 8px 0 0;
    line-height: 1.4;
}

/* ── Category Tags ───────────────────────────────────────────── */
.nb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.nb-tag {
    font-family: JosefineSans, sans-serif;
    font-size: 11px;
    color: #BD6F89;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}
.nb-tag:hover {
    color: #a95d76;
}

/* ── Meta (Date, Reading Time, Author) ───────────────────────── */
.nb-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-family: JosefineSansLight, sans-serif;
    font-size: 13px;
    color: #8a7e79;
}
.nb-meta__sep {
    margin: 0 4px;
}

/* ── Hero Image ──────────────────────────────────────────────── */
.nbt__hero {
    position: relative;
    margin-bottom: 28px;
    border-radius: 4px;
    overflow: hidden;
}
.nbt__hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.nbt__hero-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: PlayfairDisplay, serif;
    font-size: 16px;
    font-style: italic;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
    letter-spacing: 1px;
}

/* ── Table of Contents ───────────────────────────────────────── */
.nb-toc {
    background: #f5f3f1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 28px;
}
.nb-toc__title {
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3f3638;
    margin: 0 0 12px;
}
.nb-toc__list {
    margin: 0;
    padding-left: 20px;
}
.nb-toc__list li {
    margin-bottom: 8px;
}
.nb-toc__list a {
    font-family: JosefineSansLight, sans-serif;
    font-size: 14px;
    color: #BD6F89;
    text-decoration: none;
    line-height: 1.4;
}
.nb-toc__list a:hover {
    text-decoration: underline;
}

/* ── Article Content ─────────────────────────────────────────── */
.nbt__content {
    font-family: JosefineSansLight, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3f3638;
}
.nbt__content h2 {
    font-family: JosefineSans, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #3f3638;
    margin: 32px 0 12px;
    letter-spacing: 0.5px;
}
.nbt__content h3 {
    font-family: JosefineSans, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #3f3638;
    margin: 24px 0 8px;
}
.nbt__content p {
    margin: 0 0 16px;
}
.nbt__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 16px 0;
}
.nbt__content ul,
.nbt__content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.nbt__content li {
    margin-bottom: 6px;
}
.nbt__content a {
    color: #BD6F89;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nbt__content a:hover {
    color: #a95d76;
}
.nbt__content blockquote {
    border-left: 3px solid #BD6F89;
    padding: 12px 16px;
    margin: 20px 0;
    background: #fdf5f7;
    font-style: italic;
}

/* ── Author Box ──────────────────────────────────────────────── */
.nb-author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin: 32px 0;
    background: #f5f3f1;
    border-radius: 4px;
}
.nb-author-box__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.nb-author-box__label {
    font-family: JosefineSansLight, sans-serif;
    font-size: 11px;
    color: #8a7e79;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 2px;
}
.nb-author-box__name {
    font-family: JosefineSans, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #3f3638;
    display: block;
}
.nb-author-box__bio {
    font-family: JosefineSansLight, sans-serif;
    font-size: 13px;
    color: #8a7e79;
    line-height: 1.5;
    margin: 6px 0 0;
}

@media (min-width: 768px) {
    .nb-author-box { padding: 24px 28px; gap: 20px; }
    .nb-author-box__photo { width: 80px; height: 80px; }
}

/* ── Fazit Box ───────────────────────────────────────────────── */
.nb-fazit {
    background: #fdf5f7;
    border-left: 3px solid #BD6F89;
    border-radius: 0 4px 4px 0;
    padding: 20px 24px;
    margin: 32px 0;
}
.nb-fazit__heading {
    font-family: PlayfairDisplay, serif;
    font-size: 18px;
    font-weight: 400;
    color: #BD6F89;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.nb-fazit__text {
    font-family: JosefineSansLight, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #3f3638;
}
.nb-fazit__text p:last-child {
    margin-bottom: 0;
}

/* ── Related Posts ────────────────────────────────────────────── */
.nb-related {
    margin: 40px 0;
}
.nb-related__heading {
    font-family: PlayfairDisplay, serif;
    font-size: 18px;
    font-weight: 400;
    color: #BD6F89;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px;
}
.nb-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.nb-related__card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.nb-related__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.nb-related__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.nb-related__content {
    padding: 16px;
}
.nb-related__tag {
    font-family: JosefineSans, sans-serif;
    font-size: 11px;
    color: #BD6F89;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nb-related__title {
    font-family: JosefineSans, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #3f3638;
    margin: 6px 0 0;
    line-height: 1.3;
}

/* ── Product Slider ──────────────────────────────────────────── */
.nb-product-slider {
    margin: 40px 0;
    overflow: hidden;
}
.nb-product-slider__heading {
    font-family: PlayfairDisplay, serif;
    font-size: 18px;
    font-weight: 400;
    color: #BD6F89;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px;
}
.nb-ps-card {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    transition: box-shadow .2s;
}
.nb-ps-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.nb-ps-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 12px;
}
.nb-ps-card__name {
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3f3638;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px;
    display: block;
}
.nb-ps-card__price {
    font-family: JosefineSans, sans-serif;
    font-size: 14px;
    color: #BD6F89;
}
.nb-product-slider .swiper-button-prev,
.nb-product-slider .swiper-button-next {
    color: #BD6F89;
    width: 32px;
    height: 32px;
}
.nb-product-slider .swiper-button-prev::after,
.nb-product-slider .swiper-button-next::after {
    font-size: 16px;
}

/* ── Sidebar Products ────────────────────────────────────────── */
.nb-sidebar-products {
    margin-bottom: 24px;
}
.nb-sidebar-products__title {
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3f3638;
    margin: 0 0 12px;
}
.nb-sidebar-product {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #e6e6e6;
}
.nb-sidebar-product:first-of-type {
    border-top: 1px solid #e6e6e6;
}
.nb-sidebar-product:hover .nb-sidebar-product__name {
    color: #BD6F89;
}
.nb-sidebar-product__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}
.nb-sidebar-product__name {
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3f3638;
    display: block;
    transition: color .2s;
}
.nb-sidebar-product__price {
    font-family: JosefineSansLight, sans-serif;
    font-size: 13px;
    color: #BD6F89;
    display: block;
    margin-top: 2px;
}

/* ── Newsletter CTA ──────────────────────────────────────────── */
.nb-newsletter {
    text-align: center;
    padding: 32px 20px;
    margin: 40px 0 0;
    background: #f5f3f1;
    border-radius: 4px;
}
.nb-newsletter__heading {
    font-family: PlayfairDisplay, serif;
    font-size: 18px;
    font-weight: 400;
    color: #BD6F89;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.nb-newsletter__text {
    font-family: JosefineSansLight, sans-serif;
    font-size: 15px;
    color: #3f3638;
    margin: 0 0 16px;
    line-height: 1.5;
}
.nb-newsletter__button {
    display: inline-block;
    background: #BD6F89;
    color: #fff;
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 24px;
    text-decoration: none;
    border: none;
    transition: background .2s;
}
.nb-newsletter__button:hover {
    background: #a95d76;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   Template: Klassisch (legacy — matches old Elementor [675] layout)
   2-column: Left 62% content, Right 38% related posts sidebar
   ══════════════════════════════════════════════════════════════ */
.nbt--klassisch {
    max-width: 1280px;
    padding: 0 20px 40px;
}

/* Grid: 2 columns on desktop */
.nbt-klassisch__grid {
    display: block;
}

/* Back arrow (mobile only) */
.nbt-klassisch__back {
    margin: 20px 0 10px;
}
.nbt-klassisch__arrow {
    display: inline-block;
    font-size: 24px;
    color: #877F7A;
    text-decoration: none;
}
.nbt-klassisch__mobile-only {
    display: block;
}

/* Category tags (bordered, like nacani.de original) */
.nbt-klassisch__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 18px;
}
.nbt-klassisch__cat-tag {
    font-family: JosefineSans, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #877F7A;
    border: 1px solid #877F7A;
    padding: 5px 9px 2px;
    text-decoration: none;
    display: inline-block;
}
.nbt-klassisch__cat-tag:hover {
    color: #BD6F89;
    border-color: #BD6F89;
}

/* Post title — PlayfairDisplay 34px rosa, matches Elementor [675] */
/* h1 specificity needed to override .elementor-kit-14406 h1 global */
.nbt--klassisch h1.nbt-klassisch__title {
    font-family: PlayfairDisplay, serif;
    font-size: 34px;
    font-weight: 400;
    color: #BD6F89;
    text-transform: uppercase;
    letter-spacing: 10px;
    line-height: 1.2;
    margin: 0 0 24px;
}

/* Hero image */
.nbt-klassisch__hero {
    margin: 0 0 30px;
}
.nbt-klassisch__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content body */
.nbt-klassisch__body {
    font-family: JosefineSansLight, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #3f3638;
    margin-bottom: 30px;
}
.nbt-klassisch__body h2 {
    font-family: JosefineSans, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #3f3638;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2em 0 0.8em;
}
.nbt-klassisch__body h3 {
    font-family: JosefineSans, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #3f3638;
    margin: 1.5em 0 0.6em;
}
.nbt-klassisch__body p {
    margin-bottom: 1.2em;
}
.nbt-klassisch__body a {
    color: #BD6F89;
    text-decoration: underline;
}
.nbt-klassisch__body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 16px 0;
}
.nbt-klassisch__body ul,
.nbt-klassisch__body ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
}
.nbt-klassisch__body li {
    margin-bottom: 0.4em;
}
.nbt-klassisch__body blockquote {
    border-left: 3px solid #BD6F89;
    padding: 16px 24px;
    margin: 24px 0;
    background: #fdf5f7;
    font-style: italic;
}
.nbt-klassisch__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.nbt-klassisch__body th,
.nbt-klassisch__body td {
    padding: 10px 14px;
    border: 1px solid #e6e6e6;
    text-align: left;
}
.nbt-klassisch__body th {
    background: #fdf5f7;
    color: #BD6F89;
    font-family: JosefineSans, sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Sidebar: Related Posts */
.nbt-klassisch__sidebar {
    margin-top: 40px;
}
.nbt-klassisch__related {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.nbt-klassisch__related-item {
    display: block;
    padding: 17px 0;
    border-bottom: 1px solid #e6e6e6;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nbt-klassisch__related-item:first-child {
    border-top: 1px solid #e6e6e6;
}
.nbt-klassisch__related-item:hover {
    opacity: 0.7;
}
.nbt-klassisch__related-cat {
    display: block;
    font-family: JosefineSans, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #877F7A;
    margin-bottom: 4px;
}
.nbt-klassisch__related-title {
    display: block;
    font-family: PlayfairDisplay, Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 6.7px;
    color: #BD6F89;
    line-height: 1.3;
}

/* ── Desktop: 2-column grid ── */
@media (min-width: 768px) {
    .nbt--klassisch {
        padding: 0 80px 40px;
    }
    .nbt-klassisch__grid {
        display: flex;
        gap: 0;
    }
    .nbt-klassisch__content {
        flex: 0 0 61.7%;
        max-width: 61.7%;
        padding-right: 30px;
    }
    .nbt-klassisch__sidebar {
        flex: 0 0 38.3%;
        max-width: 38.3%;
        padding-top: 100px;
        padding-left: 50px;
        margin-top: 0;
    }
    .nbt--klassisch h1.nbt-klassisch__title {
        font-size: 34px;
        letter-spacing: 10px;
    }
    .nbt-klassisch__mobile-only {
        display: none;
    }
}

/* ── Tablet adjustments ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .nbt--klassisch {
        padding: 0 30px 40px;
    }
    .nbt-klassisch__content {
        padding-right: 20px;
    }
    .nbt-klassisch__sidebar {
        padding-left: 30px;
        padding-top: 50px;
    }
}

/* ── Mobile: back arrow visible, title smaller ── */
@media (max-width: 767px) {
    .nbt--klassisch {
        padding: 0 20px 40px;
    }
    .nbt--klassisch h1.nbt-klassisch__title {
        font-size: 22px;
        letter-spacing: 3px;
        margin-top: 9px;
    }
    .nbt-klassisch__categories {
        margin-top: 20px;
    }
    .nbt-klassisch__related-title {
        font-size: 16px;
        letter-spacing: 4px;
    }
}

/* ══════════════════════════════════════════════════════════════
   Template: Standard (full-width)
   ══════════════════════════════════════════════════════════════ */
.nbt--standard .nbt__article {
    max-width: 780px;
    margin: 0 auto;
}
.nbt--standard .nbt__hero {
    max-width: 100%;
}
.nbt--standard .nbt__products,
.nbt--standard .nb-related,
.nbt--standard .nb-newsletter {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════
   Template: Magazin (sidebar)
   ══════════════════════════════════════════════════════════════ */
.nbt--magazin .nbt__header {
    max-width: 780px;
}
.nbt--magazin .nbt__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.nbt--magazin .nbt__main {
    min-width: 0;
}
.nbt--magazin .nbt__sidebar {
    order: -1;
}

/* ══════════════════════════════════════════════════════════════
   Template: Anleitung (Steps)
   ══════════════════════════════════════════════════════════════ */
.nbt--anleitung .nbt__article {
    max-width: 780px;
    margin: 0 auto;
}

/* Steps overview (replaces normal TOC) */
.nbt__steps-overview {
    background: #fdf5f7;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 28px;
    border-left: 3px solid #BD6F89;
}
.nbt__steps-title {
    font-family: JosefineSans, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #BD6F89;
    margin: 0 0 12px;
}
.nbt__steps-list {
    margin: 0;
    padding-left: 20px;
}
.nbt__steps-list li {
    margin-bottom: 8px;
    font-family: JosefineSansLight, sans-serif;
    font-size: 14px;
    color: #3f3638;
}
.nbt__steps-list a {
    color: #3f3638;
    text-decoration: none;
}
.nbt__steps-list a:hover {
    color: #BD6F89;
}

/* Numbered step headings */
.nbt__content--steps h2.nbt-step {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nbt__content--steps h2.nbt-step::before {
    content: attr(data-step);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #BD6F89;
    color: #fff;
    font-family: JosefineSans, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   Desktop (768px+)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .nbt {
        padding: 32px 24px 60px;
    }

    .nbt h1.nbt__title {
        font-size: 32px;
        letter-spacing: 4px;
    }
    .nbt h2.nbt__subtitle {
        font-size: 18px;
    }

    .nbt__hero-overlay {
        font-size: 20px;
        bottom: 24px;
        left: 24px;
    }

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

    .nb-product-slider__heading,
    .nb-related__heading,
    .nb-newsletter__heading {
        font-size: 20px;
        letter-spacing: 6.7px;
    }

    .nb-fazit {
        padding: 28px 32px;
    }
    .nb-fazit__heading {
        font-size: 20px;
        letter-spacing: 6.7px;
    }

    .nb-newsletter {
        padding: 40px 32px;
    }

    /* Magazin: side-by-side */
    .nbt--magazin .nbt__grid {
        flex-direction: row;
        gap: 32px;
    }
    .nbt--magazin .nbt__main {
        flex: 1 1 65%;
    }
    .nbt--magazin .nbt__sidebar {
        flex: 0 0 280px;
        order: 0;
    }
    .nbt--magazin .nbt__sidebar-inner {
        position: sticky;
        top: 100px;
    }

    /* Anleitung: larger step circles */
    .nbt__content--steps h2.nbt-step::before {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* ══════════════════════════════════════════════════════════════
   Large Desktop (1024px+)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .nbt--magazin .nbt__sidebar {
        flex: 0 0 320px;
    }
}
