/* ==========================================================================
   Kolibri Immobilien – Druckansicht der Inserate
   Wird per media="print" eingebunden, greift daher nur beim Drucken.
   ========================================================================== */

/* Nicht druckbare Bereiche */
.site-header,
.site-footer,
.skip-link,
.lightbox,
.screen-only {
    display: none !important;
}

/* Nur im Druck sichtbare Bereiche */
.print-only {
    display: flex !important;
}

@page {
    margin: 2cm;
}

body {
    padding: 0.5cm 1.5cm !important;
    background: #fff !important;
    color: #00055E !important;
    font-size: 11pt;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Kopfbereich: Bild links, Titel und Kurzfakten rechts
   ========================================================================== */

.print-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 2rem;
    margin-bottom: 2rem !important;
}

.print-header__image {
    width: 50%;
    flex-shrink: 0;
}

.print-header__image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.print-header__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
}

.print-header__content h1 {
    margin: 0 0 1rem !important;
    color: #00055E !important;
    font-size: 18pt !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.print-header__details {
    color: #00055E !important;
    font-size: 11pt;
}

.print-header__details p {
    margin: 0 0 0.25rem !important;
}

.print-header--no-image {
    border-bottom: 2px solid #00055E;
    padding-bottom: 1.5rem;
}

.print-header--no-image .print-header__content {
    justify-content: flex-start;
}

.print-header + .property-content {
    margin-top: 0 !important;
}


/* Inhaltsbereich
   ========================================================================== */

.property-content {
    padding: 0 !important;
}

/* Briefkopf des Exposés */
.print-brand {
    display: block !important;
    margin-bottom: 1.5rem;
}

.logo--print {
    width: 200px !important;
}

.property-content__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem !important;
}

.property-content__main,
.property-content__aside {
    width: 50% !important;
}

.property-content__block {
    margin-bottom: 1.5rem !important;
    page-break-inside: avoid;
}

.property-content__block h2 {
    margin-bottom: 0.5rem !important;
    color: #B3153A !important;
    font-size: 11pt !important;
    font-weight: 700 !important;
}

.property-content__block p,
.property-content__block ul {
    margin-bottom: 0;
    color: #00055E !important;
    font-size: 10pt;
    line-height: 1.6;
}

.property-content__block ul {
    padding-left: 1.25rem;
    margin: 0;
}

.property-content__block ul li {
    margin-bottom: 0.2rem;
}

.property-specs {
    color: #00055E !important;
    font-size: 10pt;
    line-height: 1.7;
}

.property-specs p {
    margin: 0 0 0.25rem !important;
}


/* Galerie
   ========================================================================== */

.property-gallery {
    padding: 1.5rem 0 0 !important;
    margin-top: 1.5rem;
}

.property-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.8rem !important;
}

.property-gallery__item {
    display: block;
    page-break-inside: avoid;
}

.property-gallery__item img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    margin-bottom: 0 !important;
}


/* Ansprechpartner
   ========================================================================== */

.property-contact {
    display: block !important;
    padding: 1.5rem 0 0 !important;
    margin-top: 1.5rem !important;
    border-top: 1px solid #ccc;
    background: none !important;
}

.property-contact__inner {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 2rem !important;
}

.property-contact__text {
    text-align: left !important;
}

.property-contact p {
    margin: 0 0 0.2rem !important;
    color: #00055E !important;
    font-size: 10pt;
}

.property-contact__label {
    font-weight: 700 !important;
}

.property-contact .btn {
    display: none !important;
}


/* Allgemein
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
}

* {
    box-shadow: none !important;
}

a {
    color: #00055E !important;
    text-decoration: none !important;
}
