﻿/* Extracted from blade – uses ah-tokens.css */

/* Grundlayout */
#mt-main {
    background: #fff;
    background-image: none;
    border-top: 0;
}

.ah-card,
.ah-reklam {
    background: #fff;
    border: 1px solid var(--ah-border);
    box-shadow: var(--ah-shadow-sm);
}

.ah-card {
    border-radius: var(--ah-radius);
}

/* Einheitlicher, kompakter Abstand zwischen den HauptblÃ¶cken */
.ah-ad-detail-page {
    --ah-block-gap: .7rem;
}

.ah-detail-stack {
    display: grid;
    align-content: start;
    gap: var(--ah-block-gap);
}

.ah-ad-detail-page .ah-detail-content-layout {
    --bs-gutter-y: var(--ah-block-gap);
}

.ah-detail-stack > .ah-card {
    margin-bottom: 0 !important;
}

.ah-ad-detail-page .ah-related-results {
    margin-top: var(--ah-block-gap) !important;
    margin-bottom: var(--ah-block-gap) !important;
}

.ah-card-header {
    padding: 1rem 1.25rem;
    color: var(--ah-text);
    font-weight: 700;
    border-bottom: 1px solid var(--ah-border);
}

.ah-card-body {
    padding: 1.25rem;
}

.ah-gallery-card,
.ah-reklam {
    overflow: hidden;
}

.ah-reklam {
    border-radius: 1.5rem;
}

.ah-reklam img {
    display: block;
    width: 100%;
}

/* Hero und Breadcrumb */
.ah-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 1.1rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 165, 0, .96), rgba(242, 160, 0, .86)),
        linear-gradient(180deg, #fff, #f8fafc);
    border: 1px solid var(--ah-border);
    border-radius: 1.75rem;
    box-shadow: var(--ah-shadow);
}

.ah-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, .10);
    border-radius: 50%;
    filter: blur(4px);
}

/* Kompakter Titelbereich der Inseratdetailseite */
.ah-detail-up-hero {
    padding: .65rem .9rem;
    border-radius: 1.5rem;
}

.ah-detail-up-hero .ah-hero-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.ah-breadcrumb,
.ah-hero-meta,
.ah-tag-wrap,
.ah-tab-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.ah-breadcrumb {
    gap: .45rem;
    margin-bottom: .75rem;
    font-size: .92rem;
}

.ah-breadcrumb a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
}

.ah-breadcrumb span {
    opacity: .9;
}

.ah-page-title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.ah-hero-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}

.ah-hero-meta-clean {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .85rem 1.25rem;
    margin-top: 0;
}

.ah-hero-meta-clean span {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .94);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.ah-hero-meta-clean i {
    opacity: .95;
}

.ah-hero-meta-clean span + span {
    position: relative;
}

.ah-hero-meta-clean span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -.72rem;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .55);
    border-radius: 50%;
    transform: translateY(-50%);
}

.ah-detail-up-hero .ah-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .78);
    font-size: .85rem;
}

.ah-detail-up-hero .ah-breadcrumb a {
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    text-decoration: none;
}

.ah-detail-up-hero .ah-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ah-detail-up-hero .ah-breadcrumb span {
    color: rgba(255, 255, 255, .72);
}

.ah-detail-up-hero .title {
    color: #fff;
    font-size: clamp(1.55rem, 1.25rem + .7vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.ah-detail-hero-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.ah-detail-hero-title-row .title {
    flex: 1 1 auto;
    min-width: 280px;
    margin: 0;
}

.ah-detail-hero-meta-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
    margin-left: auto;
}

.ah-detail-hero-date {
    display: flex;
    justify-content: flex-start;
}

.ah-detail-hero-meta span,
.ah-detail-hero-meta-right span,
.ah-detail-hero-date span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .3rem .7rem;
    color: rgba(255, 255, 255, .95);
    font-weight: 600;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.ah-detail-hero-meta-right span,
.ah-detail-hero-date span {
    white-space: nowrap;
}

/* Pills, Tags und Buttons */
.ah-pill,
.ah-tag {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    border-radius: 999px;
}

.ah-pill {
    gap: .45rem;
    padding: .6rem .9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
}

.ah-tag {
    padding: .5rem .85rem;
    color: #8a5a00;
    font-size: .92rem;
    text-decoration: none;
    background: #fff8e6;
    border: 1px solid rgba(245, 159, 0, .22);
}

.btn-ah-primary,
.btn-ah-soft,
.btn-ah-outline {
    padding: .85rem 1.1rem;
    font-weight: 700;
    border-radius: 999px;
}

.btn-ah-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--ah-accent), #ffb11c);
    border: 0;
    box-shadow: 0 .75rem 1.5rem rgba(245, 159, 0, .25);
}

.btn-ah-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--ah-accent-dark), #f6a400);
}

.btn-ah-soft {
    color: #8a5a00;
    background: var(--ah-accent-soft);
    border: 1px solid rgba(245, 159, 0, .20);
}

.btn-ah-soft:hover {
    color: #6c4700;
    background: rgba(245, 159, 0, .18);
}

.btn-ah-outline {
    color: var(--ah-text);
    background: #fff;
    border: 1px solid var(--ah-border-strong);
}

.btn-ah-outline:hover {
    color: var(--ah-accent-dark);
    background: #fffaf0;
    border-color: var(--ah-accent);
}

.ah-translate-btn {
    padding: .7rem 1rem;
    white-space: nowrap;
    border-radius: 999px;
}

.ah-edit-btn {
    min-height: 46px;
    padding: .62rem .95rem;
    font-size: .98rem;
    line-height: 1.15;
    box-shadow: 0 .4rem 1rem rgba(245, 159, 0, .16);
}

/* Galerie */
.ah-gallery-main,
.ah-seller-logo,
.ah-map-box,
.ah-popular-thumb {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ah-border);
}

.ah-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(400px, 34vw, 540px);
    min-height: 0;
    border-radius: 1rem;
}

.ah-gallery-main img,
.ah-seller-logo img,
.ah-popular-thumb img,
.ah-thumbs .ah-thumb img {
    display: block;
    width: 100%;
    height: 100%;
}

.ah-gallery-main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    background: #fff;
}

.ah-gallery-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ah-gallery-arrow {
    position: absolute;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    pointer-events: auto;
    background: rgba(15, 23, 42, .66);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 .6rem 1.5rem rgba(15, 23, 42, .25);
    transform: translateY(-50%);
    transition: .2s ease;
}

.ah-gallery-arrow:hover {
    background: rgba(15, 23, 42, .88);
}

.ah-gallery-arrow.prev {
    left: 1rem;
}

.ah-gallery-arrow.next {
    right: 1rem;
}

.ah-gallery-counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .45rem .8rem;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    background: rgba(15, 23, 42, .72);
    border-radius: 999px;
}

.ah-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.ah-thumbs .ah-thumb {
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 1rem;
    box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .06);
    transition: .2s ease;
}

.ah-thumbs .ah-thumb img {
    height: 78px;
    object-fit: cover;
}

.ah-thumbs .ah-thumb.is-active {
    border-color: var(--ah-accent);
    box-shadow: 0 0 0 .25rem var(--ah-accent-soft);
}

/* Preis und Schnellinformationen */
.ah-price-card {
    position: sticky;
    top: 1rem;
}

.ah-price {
    margin: 0 0 1rem;
    color: var(--ah-text);
    font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem);
    font-weight: 900;
    line-height: 1;
}

.ah-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.ah-quick-card .ah-card-body {
    padding: .75rem;
}

.ah-quick-card .ah-quick-grid {
    gap: .65rem;
    margin: 0;
}

.ah-quick-item {
    padding: .5rem .75rem;
    background: linear-gradient(180deg, #fff, #fbfdff);
    border: 1px solid var(--ah-border);
    border-radius: 1rem;
}

.ah-quick-card .ah-quick-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
}

.ah-quick-item small {
    display: block;
    margin-bottom: .1rem;
    color: var(--ah-muted);
    line-height: 1.2;
}

.ah-quick-item strong {
    margin-bottom: 0;
    color: var(--ah-text);
    font-weight: 700;
    line-height: 1.2;
}

.ah-action-stack,
.ah-info-list,
.ah-filter-grid,
.ah-seller {
    display: grid;
    gap: .75rem;
}

.ah-action-stack {
    gap: .5rem;
    margin-top: 0;
    margin-bottom: .5rem;
}

.ah-action-stack:empty {
    display: none;
    margin-top: 0;
}

.ah-info-row {
    display: flex;
    justify-content: space-between;
    gap: .3rem;
    padding: .2rem .5rem;
    border-bottom: 1px dashed var(--ah-border);
}

.ah-info-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ah-info-label {
    color: var(--ah-muted);
    font-weight: 600;
}

.ah-info-value {
    color: var(--ah-text);
    font-weight: 700;
    text-align: right;
}

/* VerkÃ¤ufer und Seitenleisten */
.ah-seller-top,
.ah-popular-item {
    display: flex;
    gap: 1rem;
}

.ah-seller-top {
    align-items: center;
}

.ah-seller-logo {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 1.25rem;
}

.ah-seller-logo img,
.ah-popular-thumb img {
    object-fit: cover;
}

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

.ah-sidebar-list li + li {
    margin-top: .75rem;
}

.ah-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    color: var(--ah-text);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--ah-border);
    border-radius: 1rem;
}

.ah-sidebar-link:hover {
    color: var(--ah-accent-dark);
    background: #fffbf3;
    border-color: rgba(245, 159, 0, .28);
}

.ah-popular-item {
    gap: .85rem;
    color: inherit;
    text-decoration: none;
}

.ah-popular-item + .ah-popular-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ah-border);
}

.ah-popular-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 72px;
    border-radius: 1rem;
}

.ah-popular-title {
    margin-bottom: .3rem;
    color: var(--ah-text);
    font-weight: 700;
    line-height: 1.35;
}

.ah-popular-price {
    color: var(--ah-accent-dark);
    font-weight: 900;
}

/* Tabs und Inhalt */
.ah-tab-nav {
    gap: .75rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.ah-tab-btn,
.ah-listing-tab-btn {
    color: var(--ah-text);
    font-weight: 800;
    background: #fff;
    border: 1px solid var(--ah-border);
    border-radius: 999px;
    transition: .2s ease;
}

.ah-tab-btn {
    padding: .75rem 1rem;
}

.ah-listing-tab-btn {
    padding: .72rem 1rem;
}

.ah-tab-btn.active,
.ah-listing-tab-btn.active {
    color: #8a5a00;
    background: var(--ah-accent-soft);
    border-color: rgba(245, 159, 0, .28);
    box-shadow: 0 0 0 .22rem rgba(245, 159, 0, .10);
}

.ah-tab-pane,
.ah-listing-tab-pane {
    display: none;
}

.ah-tab-pane.active,
.ah-listing-tab-pane.active {
    display: block;
}

.ah-tab-toolbar,
.ah-listing-tabs-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ah-tab-toolbar .ah-tab-nav {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.ah-listing-tabs-card {
    margin-top: 1.5rem;
}

.ah-listing-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.ah-description {
    color: #334155;
    font-size: 1rem;
    line-height: 1.75;
}

/* Karte */
.ah-map-note {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    color: #8a5a00;
    font-weight: 600;
    background: #fff9e7;
    border: 1px solid rgba(245, 159, 0, .22);
    border-radius: 1rem;
}

.ah-map-box {
    min-height: 340px;
    background: #f8fafc;
    border-radius: 1.25rem;
}

#map {
    width: 100%;
    height: 340px;
    min-height: 340px;
}

.leaflet-container {
    width: 100%;
    height: 100%;
    font-family: inherit;
    border-radius: 1.25rem;
}

/* Kompakte Ã¤hnliche Inserate: Desktop 5, Tablet 3, Mobil 2 */
.ah-related-results .ah-results-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.ah-related-results .ah-ilan-item {
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
}

.ah-related-results .ah-card--compact {
    min-width: 0;
    overflow: hidden;
}

.ah-related-results .ah-card--compact .ah-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.ah-related-results .ah-card--compact .ah-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-related-results .ah-card--compact .ah-card-body {
    padding: .85rem .9rem;
}

.ah-related-results .ah-card--compact .ah-card-title {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    font-size: .98rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ah-related-results .ah-card--compact .ah-card-price {
    font-size: 1rem;
}

.ah-related-results .ah-card--compact .ah-fav {
    width: 40px;
    height: 40px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.ah-related-results .ah-card--compact .ah-fav i {
    margin: 0 !important;
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 1199.98px) {
    .ah-related-results .ah-results-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991.98px) {
    .ah-related-results .ah-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .ah-related-results .ah-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .75rem;
    }
}

/* Formulare und Benachrichtigungen */
.ah-filter-money {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: .65rem;
}

.ah-toast-wrap {
    position: fixed;
    right: auto;
    bottom: 1rem;
    left: 1rem;
    z-index: 1085;
    display: grid;
    gap: .75rem;
}

.ah-toast {
    min-width: 280px;
    max-width: 380px;
    padding: 1rem 1.1rem;
    color: #0f172a;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .28);
    opacity: 0;
    transform: translateY(10px);
    transition: .25s ease;
}

.ah-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Ãœbersetzungsmodal */
#adTranslateModal {
    z-index: 2000 !important;
}

#adTranslateModal .modal-dialog {
    position: relative;
    z-index: 2001 !important;
}

#adTranslateModal .modal-content {
    position: relative;
    z-index: 2002 !important;
}

#adTranslateModal .btn-close,
#adTranslateModal button,
#adTranslateModal a {
    position: relative;
    z-index: 2003 !important;
}

.modal-backdrop.show {
    z-index: 1990 !important;
}

.ah-translate-dialog {
    max-width: 520px;
}

#adTranslateDescription {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ah-detail-hero-title-row,
    .ah-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ah-detail-hero-meta-right {
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
    }

    .ah-hero-meta-clean {
        justify-content: flex-start;
        width: 100%;
    }

    .ah-gallery-main {
        height: clamp(340px, 52vw, 460px);
        min-height: 0;
    }

    .ah-price-card {
        position: static;
    }

}

@media (max-width: 575.98px) {
    .ah-detail-hero {
        padding: 1.15rem;
        border-radius: 1.25rem;
    }

    /* Kompakter Inseratkopf auf MobilgerÃ¤ten */
    .ah-detail-up-hero {
        padding: .65rem .7rem;
        border-radius: 1.1rem;
    }

    .ah-detail-up-hero .ah-hero-icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .ah-detail-up-hero .ah-hero-icon i {
        font-size: 1.2rem !important;
    }

    .ah-detail-up-hero .ah-breadcrumb {
        gap: .3rem;
        margin-bottom: .18rem;
        font-size: .73rem;
        line-height: 1.2;
    }

    .ah-detail-up-hero .title {
        min-width: 0;
        font-size: 1.2rem;
        line-height: 1.08;
    }

    .ah-detail-hero-title-row {
        gap: .45rem;
    }

    .ah-detail-hero-title-row .title {
        width: 100%;
        min-width: 0;
    }

    .ah-detail-hero-meta-right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: .35rem;
        margin-left: 0;
    }

    .ah-detail-hero-meta-right span {
        justify-content: center;
        width: auto;
        min-width: 0;
        min-height: 28px;
        padding: .2rem .4rem;
        overflow: hidden;
        font-size: .75rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ah-detail-hero-date span {
        justify-content: flex-start;
        width: 100%;
        min-height: 28px;
        padding: .2rem .5rem;
        font-size: .75rem;
        white-space: normal;
    }

    .ah-detail-up-hero .d-flex.align-items-start.gap-3 {
        gap: .6rem !important;
    }

    .ah-card-header,
    .ah-card-body {
        padding: 1rem;
    }

    .ah-detail-hero-meta span {
        justify-content: flex-start;
        width: 100%;
    }

    .ah-quick-grid {
        grid-template-columns: 1fr;
    }

    .ah-gallery-main {
        height: clamp(260px, 70vw, 330px);
        min-height: 0;
    }

    .ah-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .ah-filter-money {
        grid-template-columns: 1fr 78px;
    }

    .ah-quick-card .ah-quick-item {
        min-height: auto;
    }

    .ah-tab-toolbar {
        align-items: stretch;
    }

    .ah-translate-btn {
        justify-content: center;
        width: 100%;
    }

    .ah-hero-meta-clean {
        gap: .55rem 1rem;
    }

    .ah-hero-meta-clean span {
        font-size: .95rem;
    }

    .ah-hero-meta-clean span + span::before {
        display: none;
    }


    .ah-related-results {
        margin-top: 1.5rem !important;
    }

    .ah-related-results .ah-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .6rem;
    }

    .ah-related-results .ah-card--compact {
        border-radius: .9rem;
    }

    .ah-related-results .ah-card--compact .ah-card-body {
        padding: .65rem .7rem;
    }

    .ah-related-results .ah-card--compact .ah-card-title {
        min-height: 2.6em;
        font-size: .82rem;
        line-height: 1.3;
    }

    .ah-related-results .ah-card--compact .ah-card-price {
        font-size: .9rem;
    }

    .ah-related-results .ah-card--compact .ah-fav {
        top: .45rem;
        right: .45rem;
        width: 34px;
        height: 34px;
    }
}

/* Kompakter Seiten- und Inseratkopf */
.ah-ad-detail-page {
    overflow-x: clip;
    padding-top: .125rem;
    padding-bottom: 1.75rem;
    background: #fff;
}

.ah-ad-detail-page .ah-detail-up-hero {
    margin-bottom: .7rem;
    padding: .55rem .8rem;
    border-radius: 1.3rem;
}

.ah-ad-detail-page .ah-detail-up-hero-content,
.ah-ad-detail-page .ah-detail-up-hero-main {
    min-width: 0;
}

.ah-ad-detail-page .ah-detail-up-hero .ah-hero-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.ah-ad-detail-page .ah-detail-up-hero .ah-hero-icon i {
    font-size: 1.2rem !important;
}

.ah-ad-detail-page .ah-detail-up-hero .ah-breadcrumb {
    gap: .32rem;
    margin-bottom: .22rem;
    font-size: .78rem;
    line-height: 1.2;
}

.ah-ad-detail-page .ah-detail-up-hero .title {
    font-size: clamp(1.35rem, 1.15rem + .55vw, 1.65rem);
    line-height: 1.08;
}

.ah-ad-detail-page .ah-detail-hero-title-row {
    gap: .5rem .8rem;
}

.ah-ad-detail-page .ah-detail-hero-meta-right {
    gap: .4rem;
}

.ah-ad-detail-page .ah-detail-hero-meta-right span,
.ah-ad-detail-page .ah-detail-hero-date span {
    min-height: 28px;
    padding: .2rem .55rem;
    font-size: .82rem;
    line-height: 1.15;
}

.ah-ad-detail-page .ah-detail-hero-date {
    margin-top: .4rem !important;
}

@media (max-width: 575.98px) {
    .ah-ad-detail-page {
        --ah-block-gap: .55rem;
        padding-top: 0;
        padding-bottom: 1rem;
    }

    .ah-ad-detail-page > .container {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .ah-ad-detail-page .ah-detail-up-hero {
        margin-bottom: .55rem;
        padding: .5rem .65rem;
        border-radius: 1.05rem;
    }

    .ah-ad-detail-page .ah-detail-up-hero-content {
        gap: .55rem !important;
    }

    .ah-ad-detail-page .ah-detail-up-hero .ah-hero-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .ah-ad-detail-page .ah-detail-up-hero .ah-hero-icon i {
        font-size: 1rem !important;
    }

    .ah-ad-detail-page .ah-detail-up-hero .ah-breadcrumb {
        gap: .25rem;
        margin-bottom: .15rem;
        font-size: .68rem;
    }

    .ah-ad-detail-page .ah-detail-up-hero .title {
        font-size: 1.08rem;
        line-height: 1.06;
    }

    .ah-ad-detail-page .ah-detail-hero-title-row {
        gap: .35rem;
    }

    .ah-ad-detail-page .ah-detail-hero-meta-right {
        gap: .3rem;
    }

    .ah-ad-detail-page .ah-detail-hero-meta-right span,
    .ah-ad-detail-page .ah-detail-hero-date span {
        min-height: 26px;
        padding: .18rem .4rem;
        font-size: .7rem;
    }

    .ah-ad-detail-page .ah-detail-content-layout {
        --bs-gutter-x: 0;
        --bs-gutter-y: var(--ah-block-gap);
    }
}