/* ==========================================================================
   Wien24 — single article (art-), uses the tokens from main.css
   ========================================================================== */

/* Slim breadcrumb band */
.art-hero { padding: 26px 0; background: var(--wz-dark-bg); background-color: var(--wz-dark); }
.art-hero__container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.art-hero__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--wz-w60); }
.art-hero__breadcrumb a { color: var(--wz-white); transition: color .3s ease; }
.art-hero__breadcrumb a:hover { color: var(--wz-or); }
.art-hero__breadcrumb > span:last-child { color: var(--wz-or-soft); }

/* Layout */
.art-main { padding: 64px 0 110px; background: var(--wz-white); }
.art-main__container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.art { max-width: 880px; margin: 0 auto; }

/* Header */
.art__category { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border: 1px solid var(--wz-or-soft); border-radius: var(--wz-pill); color: var(--wz-or); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.art__category img { width: 16px; height: 16px; }
.art__title { margin-top: 22px; font-size: 46px; line-height: 1.25; font-weight: 600; color: var(--wz-dark); }
.art__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--wz-d10); font-size: 15px; color: var(--wz-ink); }
.art__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.art__meta-item img { width: 18px; height: 18px; }

/* Lead image */
.art__image { margin: 34px 0 0; }
.art__image > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--wz-r24); background: var(--wz-grey); }
.art__image-caption { margin-top: 12px; font-size: 14px; color: var(--wz-ink); text-align: center; }

/* Intro */
.art__intro { margin-top: 34px; padding-left: 22px; border-left: 4px solid var(--wz-or); }
.art__intro p { font-size: 19px; line-height: 1.7; font-weight: 500; color: var(--wz-dark); }

/* Rich text from markdown */
.art__content { margin-top: 30px; color: var(--wz-ink); font-size: 16.5px; line-height: 1.8; }
.art__content > * + * { margin-top: 18px; }
.art__content h2 { margin-top: 46px; font-size: 30px; line-height: 1.35; color: var(--wz-dark); }
.art__content h3 { margin-top: 34px; font-size: 22px; line-height: 1.4; color: var(--wz-dark); }
.art__content h4 { margin-top: 26px; font-size: 18px; color: var(--wz-dark); }
.art__content strong { color: var(--wz-dark); }
.art__content a { color: var(--wz-or); text-decoration: underline; text-underline-offset: 3px; }
.art__content a:hover { color: var(--wz-dark); }
.art__content ul, .art__content ol { display: grid; gap: 10px; padding: 0; }
.art__content ul > li { position: relative; padding-left: 26px; }
.art__content ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--wz-or); }
.art__content ol { counter-reset: art-ol; }
.art__content ol > li { position: relative; padding-left: 40px; counter-increment: art-ol; }
.art__content ol > li::before { content: counter(art-ol); position: absolute; left: 0; top: .15em; width: 28px; height: 28px; border-radius: 50%; background: var(--wz-or); color: var(--wz-white); font-size: 14px; font-weight: 600; line-height: 28px; text-align: center; }
.art__content blockquote { margin: 26px 0 0; padding: 22px 26px; border-left: 4px solid var(--wz-or); border-radius: 0 var(--wz-r15) var(--wz-r15) 0; background: var(--wz-grey); color: var(--wz-dark); font-size: 17px; font-weight: 500; }
.art__content blockquote p { margin: 0; }
.art__content img { border-radius: var(--wz-r15); }
.art__content hr { border: 0; border-top: 1px solid var(--wz-d10); }
.art__content table { width: 100%; border-collapse: collapse; border: 1px solid var(--wz-d10); border-radius: var(--wz-r15); overflow: hidden; font-size: 15px; line-height: 1.55; }
.art__content th { padding: 14px 18px; background: var(--wz-dark); color: var(--wz-white); text-align: left; font-weight: 500; }
.art__content td { padding: 14px 18px; border-top: 1px solid var(--wz-d10); vertical-align: top; }
.art__content tbody tr:nth-child(even) td { background: var(--wz-grey); }

/* Conclusion */
.art__conclusion { margin-top: 46px; padding: 34px 34px 30px; border-radius: var(--wz-r15); background: var(--wz-grey); border: 1px solid var(--wz-d10); }
.art__conclusion-title { font-size: 25px; line-height: 1.36; color: var(--wz-dark); }
.art__conclusion p { margin-top: 12px; font-size: 16.5px; line-height: 1.75; color: var(--wz-ink); }
.art__conclusion a { color: var(--wz-or); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Tags */
.art__tags { position: relative; margin-top: 26px; padding: 16px 20px 16px 50px; border: 1px dashed var(--wz-d20); border-radius: var(--wz-r10); font-size: 14px; color: var(--wz-ink); }
.art__tags img { position: absolute; left: 20px; top: 18px; width: 18px; height: 18px; }

/* Call to action */
.art__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: center; margin-top: 46px; padding: 40px 42px; border-radius: var(--wz-r24); background: var(--wz-dark-bg); background-color: var(--wz-dark); color: var(--wz-w80); }
.art__cta-tag { display: inline-block; padding: 5px 18px; border: 1px solid var(--wz-or); border-radius: var(--wz-pill); color: var(--wz-or); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.art__cta-title { margin-top: 16px; font-size: 26px; line-height: 1.36; color: var(--wz-white); }
.art__cta-text { margin-top: 10px; font-size: 15.5px; line-height: 1.7; }
.art__cta-actions { display: grid; gap: 12px; }
.art__cta-actions .wz-btn { justify-content: space-between; }

/* Related articles */
.art-related { max-width: 1280px; margin: 100px auto 0; }
.art-related__title { font-size: 36px; line-height: 1.35; color: var(--wz-dark); text-align: center; }
.art-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 40px; }
.art-related__card { min-width: 0; border: 1px solid var(--wz-d10); border-radius: var(--wz-r15); background: var(--wz-white); overflow: hidden; transition: transform .3s ease-out, border-color .3s ease; }
.art-related__card:hover { transform: translateY(-6px); border-color: var(--wz-or); }
.art-related__link { display: flex; flex-direction: column; height: 100%; }
.art-related__img { overflow: hidden; background: var(--wz-dark); }
.art-related__img > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art-related__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.art-related__card-title { font-size: 19px; line-height: 1.4; color: var(--wz-dark); }
.art-related__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--wz-or); font-weight: 500; }
.art-related__more img { width: 16px; height: 16px; }

/* Responsive */
@media (max-width: 1024px) {
    .art-main { padding: 56px 0 96px; }
    .art__title { font-size: 38px; }
    .art__cta { grid-template-columns: minmax(0, 1fr); }
    .art__cta-actions { grid-template-columns: repeat(2, minmax(0, max-content)); }
    .art-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 768px) {
    .art-hero { padding: 20px 0; }
    .art-main { padding: 40px 0 76px; }
    .art-main__container { padding: 0 12px; }
    .art__title { font-size: 30px; line-height: 1.3; }
    .art__image > img { aspect-ratio: 16 / 10; border-radius: var(--wz-r15); }
    .art__intro p { font-size: 17px; }
    .art__content { font-size: 16px; }
    .art__content h2 { font-size: 25px; margin-top: 38px; }
    .art__content h3 { font-size: 20px; }
    .art__content table { font-size: 14px; }
    .art__content th, .art__content td { padding: 10px; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
    .art__conclusion { padding: 26px 20px 24px; }
    .art__cta { padding: 32px 22px; }
    .art__cta-actions { grid-template-columns: minmax(0, 1fr); }
    .art-related { margin-top: 70px; }
    .art-related__title { font-size: 28px; }
    .art-related__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
    .art-hero__container { padding: 0 16px; }
    .art__title { font-size: 27px; }
    .art__meta { gap: 8px 18px; font-size: 14px; }
    .art__cta-title { font-size: 22px; }
}
@media (max-width: 375px) {
    .art__title { font-size: 25px; }
}
