/*
 * The rules of the Customizer's "Dodatkowy CSS" (Wygląd → Dostosuj) that still shape a page of the academy, moved here
 * on 25 November 2026 so the field can be emptied and every rule of the academy's look lives in this theme. Loaded
 * last, as the field was (WordPress prints it after every stylesheet), so each rule wins where it won before.
 *
 * Copied as they were, colours included, so no page moves: a page measured element by element with the field and
 * with this file instead of it came out the same. What the new look draws itself (the bar, the footer, the library,
 * the article) never needed them. Left out as dead: Herald's header and menu, the menu's icons, the mobile menu,
 * the social icons, Herald's footer and the table of contents (switched off in its plugin).
 *
 * What still reads them: the static pages (banners, the questionnaire, Thank you), the author's and a tag's
 * archive, the 404 page and the content of articles (quotes, preformatted blocks). Each one is a page Herald still
 * draws; give it the look and its rules here can go.
 */

/* The page's frame. */
.herald-site-content {
  min-height: 90vh;
}
.herald-site-content,
.herald-slide {
  padding: 0 !important;
  background-color: transparent;
}
.herald-section,
.herald-site-content {
  width: 100%;
  max-width: 1448px;
  margin: 0 auto;
}
.herald-single {
  margin-top: 1%;
}

/* Herald's tiles of posts (an author's or a tag's archive). */
.row-eq-height.herald-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 576px) {
  .row-eq-height.herald-posts {
    gap: 0;
  }
  .row-eq-height.herald-posts article {
    width: 100% !important;
  }
}
@media (min-width: 577px) and (max-width: 1448px) {
  .row-eq-height.herald-posts {
    gap: 0;
  }
  .row-eq-height.herald-posts article {
    width: calc(25% - 1px);
  }
}
@media (max-width: 1748px) {
  .row-eq-height.herald-posts {
    gap: 0;
  }
  .row-eq-height.herald-posts article {
    width: calc(25% - 1px);
  }
}
.herald-mod-head .herald-mod-title .herald-mod-h {
  text-transform: uppercase;
}

.ez-toc-mobile-toggle-btn {
  display: none !important;
}

img[src$='.svg'] {
  width: 171px;
  height: 40px;
}

/* The date of a post. */
.herald-calendar i.fa-calendar {
  display: none !important;
}
.herald-calendar {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13.333px !important;
  font-weight: 400;
  color: #6c6e71;
}

/* Herald's white boxes of content. */
.herald-section.container {
  background: #fff;
  box-shadow: rgba(65, 69, 88, 0.1) 0px 10px 14px 5px;
  border-radius: 6px;
  padding-top: 16px;
  margin: 12px;
}
@media (max-width: 600px) {
  .herald-section.container {
    width: calc(100vw - 28px);
    margin-left: 12px;
    margin-right: 8px;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    max-width: 100%;
  }
}
@media (max-width: 1447px) {
  .herald-section.container {
    width: calc(100vw - 28px);
    margin-left: 12px;
    margin-right: 8px;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* Herald's headings of a module. */
.h6.herald-mod-h.herald-color {
  color: #6c6e71;
  background: #fff;
}
.herald-mod-title {
  background: #fff;
  padding: 3px;
  border-radius: 2px;
}
.herald-mod-title .herald-mod-h a {
  color: #6c6e71;
  text-decoration: none;
  font-weight: bold;
}
.herald-mod-head[class*='herald-cat-']:after {
  background-color: rgb(216, 226, 239);
  height: 1px;
  display: block;
  content: '';
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.herald-post-thumbnail {
  background: #fff;
}

.herald-no-sid .herald-lay-k {
  width: 242px;
}
.herald-no-sid .herald-lay-k img {
  width: 203px;
}

/* Widgets' titles. */
h4.widget-title.h6::after {
  content: none;
}
.herald-mod-title .herald-color,
.widget-title span {
  color: rgb(51, 51, 51);
  font-size: 105%;
  font-family: 'Poppins';
  padding: 3px 6px;
  background: rgb(247, 250, 252);
  border-radius: 10px;
}
.widget li:before {
  color: transparent;
  background: transparent;
  border: none;
}

/* The questionnaire's page shows no title. */
.page-id-8969 h1.entry-title.h1 {
  display: none !important;
}

/* Herald's "View all" button of a module. */
.herald-all-link {
  background-color: #0288d1;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.herald-all-link:hover {
  background-color: #0277bd;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 136, 209, 0.3);
}
.herald-mod-actions {
  text-align: right;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(68, 68, 68, 0.1);
}

/* In an article: a preformatted block and the quote of the PZU and Beta articles. */
.wp-block-preformatted {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  margin-left: 4rem;
}
blockquote.atlas-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 2rem 1.5rem 2.5rem;
  background-color: #f2f7ff;
  font-style: italic;
  border-left: 6px solid #1976d2;
}
blockquote.atlas-quote p {
  margin: 0 0 0.75rem 0;
}
blockquote.atlas-quote footer {
  margin-top: 0.5rem;
  font-style: normal;
  color: #555;
}
blockquote.atlas-quote footer::before {
  content: '— ';
}
