/*
 * Akropol brand footer styles.
 *
 * Relocated from rendart-core-theme (the generic parent) so brand-specific
 * CSS lives with the child theme. Loaded after the parent stylesheet on the
 * front end and registered as an editor style in functions.php.
 *
 * Compiled output copied verbatim from the parent's assets/styles/style.css
 * (flattened plain CSS — this child theme has no build step).
 */

.site-footer .footer-columns--akropol {
  column-gap: clamp(20px, 2.8vw, 52px);
  row-gap: 22px;
  margin: 0;
  width: 100%;
}
.site-footer .footer-columns--akropol .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}
.site-footer .footer-columns--akropol .wp-block-column h4 {
  color: var(--wp--preset--color--szary-500, #969696);
  font-family: "Abacaxi Latin VF", var(--adobe-font-family, "Montserrat"), sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.site-footer .footer-columns--akropol .wp-block-column p {
  color: var(--wp--preset--color--szary-800, #1a1a1a);
  font-family: "Abacaxi Latin VF", var(--adobe-font-family, "Montserrat"), sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 4px;
}
.site-footer .footer-columns--akropol .footer-nav {
  width: 100%;
  /* Footer nav should not duplicate phone links from the contact column/menu. */
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation__container {
  gap: 0;
  width: 100%;
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item {
  margin: 0 0 4px;
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content {
  color: var(--wp--preset--color--szary-800, #1a1a1a);
  font-family: "Abacaxi Latin VF", var(--adobe-font-family, "Montserrat"), sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  padding: 0;
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content:hover,
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--wp--preset--color--primary, #ca8a3c);
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content[href^="tel:"] {
  display: none;
}
.site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item:has(> .wp-block-navigation-item__content[href^="tel:"]) {
  display: none;
}
.site-footer .footer-columns--akropol .footer-social {
  gap: 8px;
  margin-top: 16px;
}
.site-footer .footer-columns--akropol .footer-social .wp-social-link {
  align-items: center;
  background: transparent;
  border: 1px solid var(--wp--preset--color--szary-200, #d4d4d4);
  border-radius: 40px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.site-footer .footer-columns--akropol .footer-social .wp-social-link:hover {
  background: transparent;
  transform: none;
}
.site-footer .footer-columns--akropol .footer-social .wp-social-link a {
  color: var(--wp--preset--color--szary-500, #969696);
}
.site-footer .footer-columns--akropol .footer-social .wp-social-link:hover a,
.site-footer .footer-columns--akropol .footer-social .wp-social-link a:hover {
  color: var(--wp--preset--color--primary, #ca8a3c);
}

@media (max-width: 960px) {
  .site-footer .footer-columns--akropol {
    align-items: center;
    row-gap: 96px;
  }
  .site-footer .footer-columns--akropol .wp-block-column {
    flex-basis: 100% !important;
    margin: 0;
    text-align: center;
  }
  .site-footer .footer-columns--akropol .wp-block-column h4,
  .site-footer .footer-columns--akropol .wp-block-column p,
  .site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content {
    text-align: center;
  }
  .site-footer .footer-columns--akropol .footer-social {
    align-items: center;
    justify-content: center;
  }
  .site-footer .footer-columns--akropol .footer-nav {
    display: block;
  }
  .site-footer .footer-columns--akropol .footer-nav .wp-block-navigation__container,
  .site-footer .footer-columns--akropol .footer-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
    align-items: center;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }
  .site-footer .footer-columns--akropol .footer-nav .wp-block-navigation-item__content {
    text-align: center;
  }
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container-open,
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container {
    background: transparent !important;
    color: inherit !important;
    display: block !important;
    inset: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
  }
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open),
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container.hidden-by-default {
    display: block !important;
    position: relative !important;
    z-index: auto !important;
  }
  .site-footer .footer-columns--akropol .footer-nav.wp-block-navigation .wp-block-navigation__responsive-container-content {
    display: block !important;
    padding: 0 !important;
  }
}

/*
 * "O nas" section (page 39) — responsive horizontal rhythm.
 * The desktop design uses a 200px right padding and a 200px gap between the
 * image and text columns. On narrower viewports those fixed 200px values
 * crush the two columns (the text column collapsed to ~148px at 800px). Both
 * scale down with one clamp, reaching 200px only near 1920px so the approved
 * desktop layout is untouched. Kept in CSS (not inline / blockGap) because:
 *   - WordPress drops clamp()/calc() from a columns blockGap value (falls back
 *     to the default gap), so the gap cannot live in the block attributes;
 *   - the compound selector beats the generated layout rule
 *     (.wp-container-...{gap:0 200px}) and the root-padding rules on
 *     specificity, so no !important is needed.
 * Loaded on the front end and as an editor style, so both stay in sync.
 */
.wp-block-columns.akropol-about {
  padding-right: clamp(24px, calc(-72px + 14.2vw), 200px);
  column-gap: clamp(24px, calc(-72px + 14.2vw), 200px);
}
