/* A gunluk kiraye ad's top on a computer (frontend/src/components/listing/DailyHero.tsx, App\Front\Parts\DailyHero),
   in the way of a holiday-rental site: the title, its address and the usual back / short link / save above; under them a mosaic -
   the owner's first photo large on the left (about 600 x 460), up to four more beside it, "Butun sekiller" on the
   last; nothing written on the photos. Beside it the page's own head (title, share bar) and gallery are hidden - the
   hero is both. Under 1025px there is no side column: the hero is not shown and the page is the usual one. Linked
   only on such an ad (ListingDetailPage::head). ASCII only. */
.daily-hero,
.daily-promo{display:none}

@media (min-width:1025px){
  .daily-hero{display:block;margin-top:18px}
  .daily-hero ~ .detail-head,
  .daily-hero ~ .detail-layout .gallery{display:none}

  .daily-hero__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
  .daily-hero__titles{min-width:0}
  .daily-hero__title{margin:0;font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.02em;color:var(--ink);text-wrap:pretty}
  .daily-hero__sub{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:6px;font-size:14px;color:var(--ink-2)}
  .daily-hero__sub span{display:inline-flex;gap:6px;align-items:center}
  .daily-hero__sub i{font-size:15px;color:var(--ink-3)}
  .daily-hero__head .detail-actions{flex:none}

  /* the mosaic: the large photo on the left over both rows, the small ones in a grid beside it */
  .daily-hero__media{position:relative;display:grid;gap:8px;height:460px;margin-top:16px;border-radius:16px;overflow:hidden}
  .daily-hero__media--5{grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}
  .daily-hero__media--4{grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}
  .daily-hero__media--4 picture:nth-child(4){grid-column:2 / 4}
  .daily-hero__media--3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
  .daily-hero__media picture{display:block;min-width:0;min-height:0;overflow:hidden;background:var(--line-soft)}
  .daily-hero__media picture:first-child{grid-row:1 / 3}
  .daily-hero__media img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in;transition:filter .2s}
  .daily-hero__media picture:hover img{filter:brightness(.92)}
  .daily-hero__all{position:absolute;right:16px;bottom:16px;display:inline-flex;gap:8px;align-items:center;height:38px;padding:0 14px;border:1px solid var(--ink);border-radius:9px;background:var(--white);color:var(--ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.12)}
  .daily-hero__all i{font-size:16px}
  .daily-hero__all:hover{background:var(--paper)}

  .daily-hero ~ .detail-layout{margin-top:28px}
  /* with the gallery hidden the panel is the column's first block: its gap under the gallery went, so its top meets
     the price card's */
  .daily-hero ~ .detail-layout .detail-panel{margin-top:0}

  /* the card's contact buttons a pixel smaller (14.5 -> 13.5px) */
  .daily-hero ~ .detail-layout .price-card .pc-actions .btn{font-size:13.5px}

  /* the specs in one column: in a half row "Hayat evi / Bag evi" either broke in two or pressed against its label */
  .daily-hero ~ .detail-layout .features{grid-template-columns:1fr}
  .daily-hero ~ .detail-layout .feature:nth-child(n){padding-left:0;padding-right:0;border-right:0;border-bottom:1px solid var(--line-soft)}
  .daily-hero ~ .detail-layout .features > .feature:last-child{border-bottom:0}

  /* the boosts under the price card (not inside it, not on the crumbs' line over the photo): one plate of two halves
     with a hairline between, in the card's colours; a crumbs'-line copy of them, where a page has one, is hidden */
  .detail-top .pc-boost--row{display:none}
  .daily-promo{display:block;margin-top:12px}
  .daily-promo .pc-boost{display:flex;gap:0;margin:0;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white) linear-gradient(var(--line),var(--line)) center/1px 56% no-repeat;overflow:hidden;box-shadow:0 2px 8px -2px rgba(27,25,22,.1),0 1px 2px rgba(27,25,22,.06)}
  /* a signed-in seller's hidden pay forms beside the buttons (PayChooser) stay hidden */
  .daily-promo .pc-boost > [hidden]{display:none}
  .daily-promo .pc-boost > :not([hidden]){display:flex;flex:1;min-width:0}
  .daily-promo .pc-boost-btn{flex:1;width:100%;height:100%;justify-content:center;gap:7px;padding:0 14px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--ink);font-size:13px;font-weight:600;transition:none}
  .daily-promo .pc-boost-btn i{font-size:16px}
  .daily-promo .pc-boost-btn b{margin-left:2px;color:var(--ink-3);font-weight:600}
  /* hover: the ground and the colour change together; Ireli cek turns pink, Premium gold */
  @media (hover:hover) and (pointer:fine){
    .daily-promo .pc-boost-btn:hover{background:rgba(var(--ink-rgb),.04);color:var(--accent)}
    .daily-promo .pc-boost-btn--gold:hover{color:color-mix(in srgb,var(--gold,#d4af37) 78%,var(--ink))}
  }
}
