/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
  --bl-dark: #0f1b3d;
  --bl-primary: #2d4fbf;
  --bl-primary-light: #4a6fe0;
  --bl-accent: #ffd480;
  --bl-white: #ffffff;
  --bl-icon-size: 44px;
  --bl-radius-icon: 10px;
  --bl-radius-btn: 6px;
}

.zmiana {
  font-family: "Roboto", sans-serif;
  color: #29cc2e;
  font-size: 40px;
}

@media screen and (max-width: 1024px) {
  .cta_image {
    display: none;
  }
}

.dsw a {
  cursor: pointer;
  background: #324a6d;
}

#blogPost-toc #ez-toc-container .ez-toc-title-container {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8693ad;
}

#blogPost-toc #ez-toc-container {
  border: 1px solid #eaf0f8;
  border-radius: 14px;
  padding: 22px;
}

#blogPost-toc #ez-toc-container .ez-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#blogPost-toc #ez-toc-container .ez-toc-list li {
  margin: 0;
  padding: 0;
}

#blogPost-toc #ez-toc-container .ez-toc-list a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  line-height: 1.4;
  color: #4a5773;
  text-decoration: none;

  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

#blogPost-toc #ez-toc-container .ez-toc-list a:hover {
  color: #2d4fbf;
  border-left-color: #2d4fbf;
  transform: translateX(2px);
}

#blogPost-toc #ez-toc-container .ez-toc-list a.ez-toc-active {
  border-left-color: #2d4fbf;
  color: #111827;
  font-weight: 600;
}

.read-time {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  text-transform: none;
  line-height: 1.5em;
  letter-spacing: 0;
  color: #8693ad;
  font-size: 12.8px;
}

.related-posts .elementor-post__meta-data {
  display: flex;
  justify-content: space-between;
}

#ez-toc-container ul ul,
.ez-toc div.ez-toc-widget-container ul ul {
  margin-left: 0.7em !important;
}

.bl-stickybar {
  position: sticky;
  bottom: 0;
  z-index: 9999;
  padding: 12px 16px;
}

.bl-stickybar-inner {
  background: var(--bl-dark);
  color: var(--bl-white);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 1200px;
  margin: 0 auto;
}

.bl-stickybar-inner .widget {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .bl-stickybar-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .bl-stickybar-inner div {
    flex-direction: column;
  }
}

.bl-stickybar-content {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  width: 100%;
}

.bl-stickybar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bl-stickybar-icon {
  width: var(--bl-icon-size);
  height: var(--bl-icon-size);
  border-radius: var(--bl-radius-icon);
  background: linear-gradient(
    135deg,
    var(--bl-primary-light),
    var(--bl-primary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .bl-stickybar-icon {
    display: none;
  }
}

.bl-stickybar-title {
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.bl-stickybar-subtitle {
  font-size: 13px;
  opacity: 0.75;
}

.bl-stickybar-price {
  color: var(--bl-accent);
  font-weight: 600;
}

.bl-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--bl-radius-btn);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.bl-btn-primary {
  background: var(--bl-white);
  color: var(--bl-primary);
}

/* Social media shortcode grid */
.bl-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bl-social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #2d4fbf;
  text-decoration: none;
  border: 1px solid rgb(234, 240, 248);
  border-radius: 12px;
  background: #fff;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.bl-social-card:hover {
  border-color: #c5d3f5;
  box-shadow: 0 2px 10px rgba(45, 79, 191, 0.08);
}

.bl-social-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgb(225, 233, 251);
  color: #2d4fbf;
  overflow: hidden;
}

.bl-social-card-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.bl-social-card-icon .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.bl-social-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d4fbf;
  line-height: 1.3;
}

.bl-social-card-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: rgb(134, 147, 173);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .bl-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bl-social-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

nav.rank-math-breadcrumb a {
  color: #4a5773;
}

nav.rank-math-breadcrumb span.last {
  color: rgb(15, 27, 61);
  font-weight: 500;
}

/* CTA mały - shortcode */

.blog-banner-container {
  width: 100%;
  margin: 2rem auto;
  box-sizing: border-box;
  border-radius: 16px;
  background-image: linear-gradient(
    135deg,
    var(--e-global-color-primary, #1e3a8a) 0%,
    #4a6fe0 100%
  );
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74, 111, 224, 0.15);
}

.blog-banner-text-side {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blog-banner-image-side {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 28px 15px 28px 0;
}

.blog-banner-badge {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: #ff0000;
  padding: 6px 10px 5px 10px;
  border-radius: 8px 8px 8px 8px;
}

.blog-banner-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-banner-title {
  color: #ffffff !important;
  margin: 0 !important;
  font-weight: 700;
  line-height: 1.3;
  font-size: 1.5rem;
  line-height: 1.1em;
}

.blog-banner-desc {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.4;
}

.blog-banner-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #025d9c !important;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

.blog-banner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-banner-icon {
  width: 12px;
  height: 12px;
  fill: #4a6fe0;
}

.blog-banner-price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.blog-banner-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}

@media (max-width: 600px) {
  .blog-banner-container {
    display: flex;
  }

  .blog-banner-image-side {
    display: none;
    visibility: hidden;
  }

  .blog-banner-badge {
    margin-bottom: 0.5em;
  }

  .blog-banner-text-side {
    padding: 20px;
  }

  .blog-banner-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .blog-banner-text-side {
    gap: 10px;
  }

  .blog-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

.post-content h1 {
    font-size: 32px !important;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.post-content h2 {
    font-size: 24px !important;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.post-content h3 {
    font-size: 20px !important;
    line-height: 1.35;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.post-content h4 {
    font-size: 18px !important;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.post-content h5 {
    font-size: 16px !important;
    line-height: 1.4;
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 8px;
}

.post-content h6 {
    font-size: 14px !important;
    letter-spacing: 0.05em;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 24px;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .post-content h1 { font-size: 28px !important; }
    .post-content h2 { font-size: 22px !important; }
    .post-content h3 { font-size: 19px !important; }
    .post-content h4 { font-size: 17px !important; }
}

@media (max-width: 767px) {
    .post-content h1, .post-content h2 {
        font-size: 20px !important;
        line-height: 1.25;
    }
    .post-content h3 { font-size: 18px !important; }
    .post-content h4 { font-size: 16px !important; }
}