/* FOODLERS: "Najnowsze przepisy" – only the two small cards. */
.foodlers-mini-kafel-fix {
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.foodlers-mini-kafel-fix * { box-sizing: border-box; }
.foodlers-mini-kafel-fix [data-foodlers-mini-heading="1"] {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    overflow: hidden !important;
    text-overflow: ellipsis;
    max-height: 2.4em !important;
    min-height: 0 !important;
    font-size: clamp(13.5px, 1vw, 16px) !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    overflow-wrap: anywhere;
}
.foodlers-mini-kafel-fix p:not(.recipe-meta):not(.post-meta):not(.entry-meta) {
    display: none !important;
}
.foodlers-mini-kafel-fix :is(.card-content, .card-body, .content, .text, .info, .recipe-info, .post-info) {
    min-width: 0;
}
@media (max-width: 700px) {
    .foodlers-mini-kafel-fix [data-foodlers-mini-heading="1"] { font-size: 15px !important; }
}

/* FOODLERS: large feature recipe card – full-bleed photography.
 * The original ratio of a portrait-ish food image cannot fill a very wide
 * banner without cropping. Cover is preferable to narrow centred image and
 * blurred side stripes. Keep the theme's frame dimensions intact. */
.foodlers-duzy-kafel-foto {
    position: relative !important;
    overflow: hidden !important;
    background: #f4eee7;
}
.foodlers-duzy-kafel-foto img.foodlers-duzy-kafel-obraz {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}
.foodlers-duzy-kafel-foto .foodlers-duzy-kafel-tlo {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .foodlers-duzy-kafel-foto img.foodlers-duzy-kafel-obraz { transition: none !important; }
}

/* Keep the section visible below a sticky WordPress header. */
#foodlers-najnowsze-przepisy { scroll-margin-top: 110px; }


/* Only used if the original promo tile did not have an action button. */
.foodlers-reklama-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 17px;
    margin-top: 10px;
    background: #007c19;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}
.foodlers-reklama-cta:hover,
.foodlers-reklama-cta:focus-visible { background: #005b16; }
.foodlers-reklama-cta:focus-visible { outline: 3px solid #dc6a27; outline-offset: 3px; }
.foodlers-reklama-link-label { display: block; font-weight: 700; margin-top: 9px; }

/* Kafel reklamowy – tylko jeden wskazany kafel na stronie głównej. */
.foodlers-kafel-reklama [data-foodlers-ad-title="1"] {
  margin-bottom: 10px !important;
  text-wrap: balance;
}
.foodlers-kafel-reklama .foodlers-reklama-opis {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  line-height: 1.55;
  max-width: 46ch;
}
.foodlers-kafel-reklama .foodlers-reklama-etykieta {
  display: none !important;
}
.foodlers-kafel-reklama :is(.foodlers-reklama-cta, .foodlers-reklama-link-label) {
  font-weight: 700;
}

/* Contact idea tile: preserve every original font, icon and position.
 * The overlay is transparent and absolutely positioned, so it never enters
 * the grid/flex layout and cannot push the heading or the green arrow away. */
.foodlers-pomysl-kafel { position: relative !important; }
.foodlers-pomysl-kafel > .foodlers-pomysl-kafel-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.foodlers-pomysl-kafel > .foodlers-pomysl-kafel-link:focus-visible {
  outline: 3px solid #08752d !important;
  outline-offset: -4px !important;
  border-radius: inherit !important;
}
