/*
Theme Name: aquaform
Author: Sopchy
Author URI: https://sopchy.com
Template: twentytwentyfive
Version: 1.0
*/
/* Root - START*/
:root {
  /* --------------------------------
       TWOJE ISTNIEJĄCE ZMIENNE
    -------------------------------- */
  --bs-primary: #0073bd;
  --bs-body-color: #151515;
  --bs-dark: #151515;
  --primary-opacity: #eff6fb;

  --dark-gray: #6c6c6c;
  --light-gray: #a4a4a4;
  --bg-light-gray: #f7f7f7;
  --bg--dark-gray: #f0f0f0;
  /* dodatkowe */
  --color-white: #fff;
  --color-light-border: #f1f1f1;
  --color-primary-border-light: #0073bd50;
  --color-green: #5b9c8d;
  --color-red: #b3171e;
  /* ===========================================
       TYPOGRAPHY – FONT SIZES
    ============================================ */
  --fs-xxs: 10px;
  /* np. badge cart */
  --fs-xs: 12px;
  /* badge, kategorie, ceny regular-price */
  --fs-sm: 14px;
  /* paragrafy, większość UI */
  --fs-md: 16px;
  /* slider desc, modal title */
  --fs-lg: 20px;
  /* nagłówki h2 z custom text */
  --fs-xl: 22px;
  /* custom text h1 */
  --fs-xxl: 24px;
  /* nagłówki kategorii */
  --fs-hero: 58px;
  /* duży tytuł slidera */
  /* ===========================================
       TYPOGRAPHY – FONT WEIGHTS
    ============================================ */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;
  /* ===========================================
       RADIUSY
    ============================================ */
  --radius-sm: 4px;
  /* większość kart, buttonów */
  --radius-md: 8px;
  /* slider, search bar, bannery */
  --radius-lg: 12px;
  /* ewentualne większe elementy */
  /* ===========================================
       SPACING – ODSTĘPY
    ============================================ */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 40px;
  --sp-7: 80px;
  /* ===========================================
       PRZYCISKI – DEKLARATYWNE ZMIENNE
    ============================================ */
  --btn-font-size: 14px;
  --btn-line-height: 24px;
  --btn-radius: var(--radius-sm);
  /* ===========================================
       KOLORY – ROZSZERZENIA (opcjonalne)
    ============================================ */
  --color-white: #fff;
  --color-light-border: #f1f1f1;
  --color-primary-border-light: #0073bd50;
}

/* Root - END*/

/* global - START */
* {
  user-select: none;
}

.wp-site-blocks>main {
  margin: 40px 0 !important;
  flex: 1;
}

header :where(.wp-site-blocks :focus) {
  outline-width: 0px;
}

:where(.wp-site-blocks :focus) {
  outline-width: 0px !important;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
  text-decoration: none;
  color: var(--bs-primary);
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) span {
  color: var(--bs-primary);
}

body>.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* gloabal- END */

/* blog miniature - START */
.wp-block-post.format-standard {
  position: relative;
}

.wp-block-post.format-standard .wp-block-post-excerpt__more-link {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  opacity: 0;
}

.wp-block-post.format-standard .wp-block-post-excerpt__more-text {
  margin: 0px !important;
}

/* blog miniature - END */

/* blog desc - START */
.post-template-default.single.single-post .entry-content p,
.post-template-default.single.single-post .entry-content ul,
.post-template-default.single.single-post .entry-content ol {
  margin-block-start: 8px !important;
}

.post-template-default.single.single-post .entry-content li {
  margin-block-start: 4px !important;
}

/* blog desc - END */

/* header - START */
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 20px 12px;
}

@media (max-width: 992px) {
  .wp-block-site-logo .custom-logo-link img {
    max-width: 160px;
  }
}

/* header - END */

/* footer - START */
.copy-wrapper .wp-block-group {
  justify-content: space-between;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  text-decoration: none;
  border: none;
  height: 30px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.social-facebook:hover svg path,
a.social-youtube:hover svg path,
a.social-tiktok:hover svg path {
  stroke: #0073bd;
}

a.social-instagram:hover svg path {
  fill: #0073bd;
}

@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
  }

  .copy-wrapper .wp-block-group {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 599px) {
  .wp-block-template-part .wp-block-group:has(> .wp-block-site-logo) {
    justify-content: space-between;
  }

  .wp-block-navigation__responsive-container-content ul {
    gap: 16px !important;
    width: 100%;
  }

  .wp-block-navigation__responsive-container-content ul li {
    width: 100%;
  }

  .wp-block-navigation__responsive-container-content ul li a {
    width: 100%;
  }
}

/* footer - END */

/* Post list - START */
.layout-align-start {
  align-items: flex-start !important;
}

.layout-align-start.custom-layout .wp-block-query {
  flex: 4;
}

.layout-align-start.custom-layout>.wp-block-group {
  flex: 1;
}

.custom-layout:not(:has(.taxonomy-post_tag))>.wp-block-group p:last-of-type {
  display: none;
}

@media (max-width: 1200px) {
  .columns-4.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .columns-2.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 992px) {
  .columns-4.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .custom-layout {
    flex-direction: column;
    margin-top: 24px !important;
  }

  .layout-align-start.custom-layout .wp-block-query .wp-block-group.is-style-default.is-layout-flow {
    margin-top: 0px;
  }

  .layout-align-start.custom-layout>.wp-block-group {
    width: 100%;
  }
}

@media (max-width: 600px) {
  /* .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  } */
}

@media (max-width: 420px) {
  .columns-4.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .columns-2.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

/* Post list - END */

/* Post site - START */

.wp-block-post-terms a,
.wp-block-post-terms a {
  border-radius: 2px;
  background: var(--bg-light-gray);
  border: navajowhite;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--dark-gray);
}

.wp-block-post-terms.taxonomy-category a {
  color: var(--bs-primary);
  background: var(--primary-opacity);
}

.post-template-default.single.single-post:not(:has(.taxonomy-post_tag)) .tag-title {
  display: none !important;
}

@media (max-width: 768px) {
  .wp-block-post-featured-image {
    height: auto !important;
  }
}

/* Post site - END */

/* SUBMENU - START */
nav .wp-block-navigation .wp-block-navigation-item {
  height: 36px !important;
}

nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
  margin-top: 0px !important;
  left: -16px !important;
  border-radius: 8px;
  padding: 8px 0px;
}

nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li {
  height: initial !important;
}

nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li:first-of-type a,
nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li:first-of-type {
  border-radius: 8px 8px 0 0;
}

nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li:last-of-type a,
nav ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li:last-of-type {
  border-radius: 0 0 8px 8px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content span.wp-block-navigation-item__label {
  color: #6c6c6c;
  line-height: 1;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item:hover>.wp-block-navigation-item__content span.wp-block-navigation-item__label {
  color: #0073bd;
}

/* SUBMENU - END */