/* Shared typography, editorial modules and service-plugin surfaces. */
@font-face {
    font-family: "LZ Headline";
    src: url("assets/fonts/RobotoCondensed.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.publication { --display: "LZ Headline", "Arial Narrow", Arial, sans-serif; }
.masthead .header-actions { margin-inline-start: auto; flex-shrink: 0; }
.masthead .header-picks { margin-inline-start: auto; }
.masthead .header-picks + .header-actions { margin-inline-start: 0; }
.masthead .icon-button:hover { background: #f6ecf0; }
.lzp-menu-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--lz-berry); padding-bottom: 10px; }
.lzp-menu-top img { display: block; height: auto; }
.lz-dialog { max-height: min(85dvh, 700px); }
.lz-dialog nav a { padding-block: 9px; border-bottom: 1px solid #eadde2; }
.lz-dialog .lz-search { align-items: end; }
.lz-dialog .lz-search input { min-height: 44px; border: 1px solid #a9949c; }
.lz-dialog .lz-search button { min-height: 44px; }

.lzp-reading-post .article-heading { margin-bottom: 20px; }
.lzp-reading-post .byline {
    display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
    border-top: 1px solid #e6dae0; margin-top: 17px; padding-top: 11px;
    font: 500 13px/1.45 Arial, sans-serif; color: #65565e;
}
.lzp-reading-post .byline a { color: #8a2345; font-weight: 700; }
.lzp-reading-post figure.article-hero { margin: 0 0 24px; }
.lzp-reading-post .article-hero > img { display: block; }
.lzp-reading-post .article-hero figcaption { display: flex; flex-wrap: wrap; gap: 5px 14px; padding: 10px 0; border-bottom: 1px solid #e6dae0; color: #65565e; font: 13px/1.45 Arial, sans-serif; }
.lzp-reading-post figcaption strong,.lzp-reading-post .article-source strong { margin-inline-end: 5px; }
.lzp-reading-post .article-body .article-source { margin: 22px 0 0; padding: 12px 0; border-top: 1px solid #e6dae0; color: #65565e; font: 14px/1.5 Arial, sans-serif; }
.lzp-article-end { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.lzp-article-end a { border: 1px solid #e6dae0; padding: 5px 9px; color: #852344; font-size: 13px; }

.article-body .lz-read { padding: 0; border: 1px solid #e1ced6; border-inline-start: 3px solid var(--lz-berry); margin-block: 20px; background: #fbf6f8; }
.article-body .lz-read a { display: flex; justify-content: flex-start; gap: 12px; padding: 10px; line-height: 1.15; }
.article-body .lz-read a > img { flex: 0 0 auto; width: clamp(76px, 25%, 132px); height: auto; aspect-ratio: 16 / 10; display: block; margin: 0; object-fit: cover; }
.article-body .lz-read a > span { min-width: 0; display: grid; gap: 3px; }
.article-body .lz-read strong { font: 750 clamp(18px, 3vw, 23px)/1.12 var(--display); color: #251f24; }
.lzp-reading-list h2 { margin: 0; padding-block: 9px; border-top: 2px solid var(--lz-berry); font: 760 26px/1.12 var(--display); color: #251f24; }
.lzp-reading-list ul { margin: 0; padding: 0; list-style: none; }
.lzp-reading-list li + li { border-top: 1px solid #e6dae0; }
.lzp-reading-list li a { display: flex; min-height: 58px; align-items: center; gap: 12px; padding-block: 8px; color: #251f24; font: 720 18px/1.2 var(--display); }
.lzp-reading-list img { width: 72px; height: 50px; object-fit: cover; flex: 0 0 auto; display: block; }
.lzp-reading-post .article-recommendations { margin-top: 24px; }
.lzp-reading-post .article-recommendations img { width: 104px; height: 63px; }

.lz-shell .lzp-listing { align-items: start; }
.lzp-listing .archive-header { display: block; margin: 0; padding: 8px 0 14px; border-bottom: 2px solid var(--lz-berry); }
.lzp-listing .archive-header h1,.lzp-listing .lz-archive-grid h2,.lz-rail .side-events h3 {
    color: #251f24; font-family: var(--display); opacity: 1;
}
.lzp-listing .lz-archive-grid { row-gap: 20px; margin-block: 16px 24px; }
.lzp-listing .lz-archive-grid h2 { margin-block: 7px 0; }
.lzp-listing .lz-archive-grid .story { align-self: start; min-width: 0; }
.lz-shell .pagination .nav-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lz-shell .pagination .page-numbers { border: 1px solid #e7d8de; padding: 5px 9px; color: #79213e; }
.lz-shell .pagination .current { background: #f6eaf0; font-weight: 700; }

/* Render the same palette around the markup of each service plugin. */
.lz-shell :is(.lzs,.lzc,.lzm,.lzh,.lze) {
    --lz-section-line: #e7d8df;
    margin-inline: auto; min-width: 0;
}
.lz-shell :is(.lzs-hero,.lzs-entry-hero,.lzs-list-heading,.lzc-hero,.lzm-hero,.lzm-profile-hero,.lzm-page-head,.lzh-hero,.lze-hero) {
    margin-block: 0 20px; padding: clamp(14px, 3vw, 28px); background: #faf4f7;
    border: 1px solid #e5d5dd; border-top: 3px solid var(--lz-berry); border-radius: 0;
    color: #251f24;
}
.lz-shell :is(.lzs,.lzc,.lzm,.lzh,.lze) :is(h1,h2,h3) {
    font-family: var(--display); color: #251f24; text-wrap: pretty;
}
.lz-shell :is(.lzs,.lzc,.lzm,.lzh,.lze) h1 { font-size: clamp(29px, 4.4vw, 52px); letter-spacing: -.015em; line-height: 1.06; }
.lz-shell :is(.lzs,.lzc,.lzm,.lzh,.lze) :is(input:not([type=radio],[type=checkbox]),select) {
    max-width: 100%; min-width: 0; border-color: #ae969f;
}
.lz-shell :is(.lzs,.lzc,.lzm,.lzh,.lze) :is(button[type=submit],input[type=submit]) {
    background: #8f274a; border-color: #8f274a; color: #fff;
}
.lzp-service-offer { margin: 24px auto 0; max-width: 680px; }
.lzp-service-offer .sidebar-placement { width: min(100%, 480px); margin-inline: auto; }
.lzp-service-offer .heureka-native { width: min(100%, 480px); margin-inline: auto; }

/* Affiliate fallback follows its creative. Full tower height is used only by a delivered display unit. */
.lz-rail .lz-slot { margin: 0 auto; border: 1px solid #e6dae0; }
.lz-rail .lz-square { display: block; height: auto; min-height: 0; }
.lz-rail .lz-square .lz-house { height: auto; padding: 14px; }
.lz-rail .lz-square .lz-house img { height: auto; aspect-ratio: 16 / 9; }
.lz-rail .lz-tower:has(.lz-delivery:empty) { height: auto; }
.lz-rail .lz-tower .lz-house { min-height: 84px; flex-direction: row; text-align: left; gap: 10px; }
.lz-rail .lz-tower .lz-house strong { font-size: 20px; }
.lz-rail .lzp-google-display { display: block; width: 100%; }
.lz-rail .lz-tower .lzp-google-display { width: 300px; height: 600px; }
.lz-rail .lz-tower:has(.lz-delivery:not(:empty)) { border: 0; }
.dz-bf-active:has(.vz-bf-campaign) .lz-rail .lz-tower { position: relative; top: auto; }
.lz-shell .lzma-preview { max-width: 100%; }
.lz-shell .lzma-stage { max-width: 100%; }
.lz-shell .lzp-listing .article-deck { margin-bottom: 0; }
.lz-band .story-copy { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .lz-rail .lz-square,.lz-rail .lz-tower { width: 100%; }
    .lz-rail .lz-square .lz-house { flex-direction: row; text-align: left; gap: 12px; }
    .lz-rail .lz-square .lz-house img { width: 35%; }
    .lz-rail .lz-square .lz-house strong { font-size: 22px; }
    .lz-rail .lz-tower:has(.lz-delivery:empty) { display: none; }
}
@media (max-width: 360px) {
    .lz-band .three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1099px), (max-height: 659px), (hover: none), (pointer: coarse) {
    .lz-rail .lz-tower[data-lzp-google-slot] { display: none; }
}
